> BUT......
> 
> I can't unmount it. I always get a "device busy" message. This happens 
> wether I call the perl script or I mount it manually as root. I suspect 
> tha problem lies with the kernel module called up when the stick is 
> plugged in. This has to attach the usb stick to the scsi drives.
> 
what do you get when you look at /var/log/messages?
usually I get the following when I plug in my usb thumb drive.

May 17 11:58:40 sammi kernel: usb 1-1: new full speed USB device using address
2
May 17 11:58:41 sammi kernel: Initializing USB Mass Storage driver...
May 17 11:58:41 sammi kernel: scsi0 : SCSI emulation for USB Mass Storage
devices
May 17 11:58:41 sammi kernel:   Vendor: USB 2.0   Model: Super Talent      Rev:
1000
May 17 11:58:41 sammi kernel:   Type:   Direct-Access                      ANSI
SCSI revision: 02
May 17 11:58:41 sammi kernel: Attached scsi generic sg0 at scsi0, channel 0, id
0, lun 0,  type 0
May 17 11:58:41 sammi kernel: drivers/usb/core/usb.c: registered new driver
usb-storage
May 17 11:58:41 sammi kernel: USB Mass Storage support registered.

then mandrake has some funky code in the hotplug area pointing the thumb drive
to being a scsi device.

May 17 11:58:41 sammi scsi.agent[7690]: disk at
/devices/pci0000:00/0000:00:07.2/usb1/1-1/1-1:1.0/host0/0:0:0:0
May 17 11:58:41 sammi modprobe: FATAL: Module scsimon not found. 
May 17 11:58:41 sammi kernel: SCSI device sda: 1014784 512-byte hdwr sectors
(520 MB)
May 17 11:58:41 sammi kernel: sda: assuming Write Enabled
May 17 11:58:41 sammi kernel: sda: assuming drive cache: write through
May 17 11:58:41 sammi kernel:  /dev/scsi/host0/bus0/target0/lun0: p1
May 17 11:58:41 sammi kernel: Attached scsi removable disk sda at scsi0, channel
0, id 0, lun 0
May 17 11:58:44 sammi perl: drakupdate_fstab called with --auto --add
/dev/scsi/host0/bus0/target0/lun0/part1 

Then after fstab resolves the thumbdrive gnome places a removable drive on my
desktop.


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to