[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

USB pen drives and KDE



Hi,

I just upgraded to KDE 3.4 specifically so that I could use the USB 
automounting goodies but I can't seem to get it to work as I want it to.

When I plug the pen drive in I get this in the sys log

*************SNIP*******************
Sep 15 14:05:12 localhost kernel: usb 1-8.1: new full speed USB device using 
ohci_hcd and address 11
Sep 15 14:05:12 localhost kernel: scsi10 : SCSI emulation for USB Mass Storage 
devices
Sep 15 14:05:12 localhost kernel: usb-storage: device found at 11
Sep 15 14:05:12 localhost kernel: usb-storage: waiting for device to settle 
before scanning
Sep 15 14:05:13 localhost usb.agent[23835]:      usb-storage: already loaded
Sep 15 14:05:17 localhost kernel:   Vendor: Generic   Model: USB Flash Drive   
Rev: %%z!Y
Sep 15 14:05:17 localhost kernel:   Type:   Direct-Access                      
ANSI SCSI revision: 02
Sep 15 14:05:17 localhost kernel: SCSI device sdb: 128640 512-byte hdwr 
sectors (66 MB)
Sep 15 14:05:17 localhost kernel: sdb: Write Protect is off
Sep 15 14:05:17 localhost kernel: sdb: Mode Sense: 0b 00 00 08
Sep 15 14:05:17 localhost kernel: sdb: assuming drive cache: write through
Sep 15 14:05:17 localhost kernel: SCSI device sdb: 128640 512-byte hdwr 
sectors (66 MB)
Sep 15 14:05:17 localhost kernel: sdb: Write Protect is off
Sep 15 14:05:17 localhost kernel: sdb: Mode Sense: 0b 00 00 08
Sep 15 14:05:17 localhost kernel: sdb: assuming drive cache: write through
Sep 15 14:05:17 localhost kernel:  /dev/scsi/host10/bus0/target0/lun0: p1
Sep 15 14:05:17 localhost kernel: Attached scsi removable disk sdb at scsi10, 
channel 0, id 0, lun 0
Sep 15 14:05:17 localhost kernel: usb-storage: device scan complete
Sep 15 14:05:17 localhost scsi.agent[23881]:      sd_mod: loaded successfully 
(for disk)
Sep 15 14:05:18 localhost usbmount[23940]: executing command: mount -tvfat 
-osync,noexec,nodev,noatime /dev/sdb1 /media/usb0
Sep 15 14:05:19 localhost usbmount[23940]: executing command: 
run-parts /etc/usbmount/mount.d
*************SNIP*******************

and the device is automagically mounted at /media/usb0. The problem is that 
when I try and copy a file onto the drive I get this in the sys log

*************SNIP*******************
Sep 15 14:07:01 localhost kernel: scsi9 (0:0): rejecting I/O to dead device
Sep 15 14:07:01 localhost kernel: FAT: Directory bread(block 253) failed
Sep 15 14:07:01 localhost kernel: scsi9 (0:0): rejecting I/O to dead device
Sep 15 14:07:01 localhost kernel: FAT: Directory bread(block 254) failed
Sep 15 14:07:01 localhost kernel: scsi9 (0:0): rejecting I/O to dead device
Sep 15 14:07:01 localhost kernel: FAT: Directory bread(block 255) failed
*************SNIP*******************

if I am regular user. If I am root everything works fine and dandy and I can 
copy files to and from the drive.

I can see the drive in konqueror under media:/ (is there supposed to be a 
media tab because I have to type that in manually?) however I can't safely 
unmount it from there as I get this error message

umount: /media/usb0 is not in the fstab (and you are not root)

I was under the impression that it would all just work with KDE 3.4 but it 
doesn't seem to.

I have pmount, hal, udev, hotplug and usbutils installed.

Many thanks, Graham



Reply to: