only 'umount -l' works with one of my usb sticks
Hi,
On my Sarge machine running 2.6.9 kernel and gnome when I insert a USB
stick it mounts automatically fine, I get it's desktop icon and I am
able to read/write it. However, when I right click on the usb stick's
icon and click on "unmount volume" it gives an error that the device is
busy. Running 'umount /media/usbdisk' as root also doesn't work and
gives the same message. But, "umount -l /media/usbdisk" works (as root)
to umount the USB stick. I wonder what is going on here.
Another interesting thing, if I try this with another of my USB sticks,
all goes fine!
Here is what I get in /var/log/syslog when I insert the offending USB stick:
kernel: usb 1-2: new full speed USB device using address 10
kernel: scsi9 : SCSI emulation for USB Mass Storage devices
kernel: Vendor: LEXAR Model: JUMPDRIVE ELITE Rev: 1000
kernel: Type: Direct-Access ANSI SCSI revision: 02
kernel: SCSI device sda: 502880 512-byte hdwr sectors (257 MB)
kernel: sda: assuming Write Enabled
kernel: sda: assuming drive cache: write through
kernel: /dev/scsi/host9/bus0/target0/lun0: p1
kernel: Attached scsi removable disk sda at scsi9, channel 0, id 0, lun 0
scsi.agent[25041]: sd_mod: loaded sucessfully (for disk)
kernel: USB Mass Storage device found at 10
udev[25011]: configured rule in
'/etc/udev/rules.d/z_hal-plugdev.rules[2]' applied, 'sda' becomes '%k'
udev[25011]: creating device node '/dev/sda'
udev[25060]: configured rule in
'/etc/udev/rules.d/z_hal-plugdev.rules[2]' applied, 'sda1' becomes '%k'
udev[25060]: creating device node '/dev/sda1'
usb.agent[25068]: usb-storage: already loaded
Here are some relevant packages I have installed:
$> dpkg -l hotplug gnome gnome-volume-* dbus-1 hal pmount mount udev |
grep ^ii
ii hotplug 0.0.20040329-2 Linux Hotplug Scripts
ii gnome 64 The GNOME Desktop Environment, with
extra co
ii gnome-volume-m 1.2.0-1 GNOME daemon to auto-mount and manage
media
ii dbus-1 0.23.2-3 simple interprocess messaging system
ii hal 0.4.7-3 Hardware Abstraction Layer
ii pmount 0.7.1-1 mount removable devices as normal user
ii mount 2.12-10 Tools for mounting and manipulating
filesyst
ii udev 0.056-2 /dev/ management daemon
thanks,
->HS
--
Please remove the underscores ( the '_' symbols) from my email address
to obtain the correct one. Apologies, but the fudging is to remove spam.
Reply to: