[SATLUG] kernel 2.6.31 and external hard drives

John D Choate jdchoate at gmail.com
Fri Sep 25 12:11:29 CDT 2009


I have been having trouble mounting usb hard drives for a while now... since kernel 2.6.30, in any case. The problem used to be with all usb drives which got their power from the usb port, including thumb drives.
Thumb drives now mount fine, but external usb drives, such as Western Digital Passport, do not mount unless they are connected to an external power supply.
... by the way:
uname -a
Linux localhost 2.6.31-server-2mnb #1 SMP Mon Sep 14 21:41:44 EDT 2009 i686 AMD Turion(tm) 64 X2 Mobile Technology TL-58 GNU/Linux

Yes, I am using a server kernel on my laptop to get all of the 4Gig RAM available... but that's not a factor.

Normal behavior in KDE4 when plugging in an external drive is for the Device Notifier to show the connected device and, when clicked upon, opens a dialog which includes "Open with File Manager". This opens dolphin or konqueror or other default file manager and show the content of the mounted drive.... normally.
This process all seems normal until the file manager opens and displays the contents of ~/Documents instead of the external drive. Manual mounting results in:
mount -t vfat /dev/sdc1 /media/disk1
mount: /dev/sdc1 already mounted or /media/disk1 busy

But the drive is not mounted and /media/disk(1) is never created, which it should be (except for the manual mount, of course) :(

Do I just patiently await 2.6.32 and avoid external drives which rely on USB for their power? Or is there maybe something I can do to fix this?

/var/log/syslog shows the following:

Sep 25 11:45:26 localhost klogd: usb 1-2: new high speed USB device using ehci_hcd and address 22
Sep 25 11:45:26 localhost klogd: usb 1-2: New USB device found, idVendor=1058, idProduct=0705
Sep 25 11:45:26 localhost klogd: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 25 11:45:26 localhost klogd: usb 1-2: Product: External HDD    
Sep 25 11:45:26 localhost klogd: usb 1-2: Manufacturer: Western Digital 
Sep 25 11:45:26 localhost klogd: usb 1-2: SerialNumber: 57442D5758453330384A5630303139
Sep 25 11:45:26 localhost klogd: usb 1-2: configuration #1 chosen from 1 choice
Sep 25 11:45:26 localhost klogd: scsi24 : SCSI emulation for USB Mass Storage devices
Sep 25 11:45:26 localhost klogd: usb-storage: device found at 22
Sep 25 11:45:26 localhost klogd: usb-storage: waiting for device to settle before scanning
Sep 25 11:45:26 localhost klogd: input: Western Digital  External HDD     as /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.1/input/input12
Sep 25 11:45:26 localhost klogd: generic-usb 0003:1058:0705.0004: input,hidraw1: USB HID v1.10 Device [Western Digital  External HDD    ] on usb-0000:00:02.1-2/input1
Sep 25 11:45:26 localhost multipathd: no /block/ in '/devices/pci0000:00/0000:00:02.1/usb1/1-2' 
Sep 25 11:45:26 localhost multipathd: no /block/ in '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.1' 
Sep 25 11:45:26 localhost multipathd: no /block/ in '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.1/input/input12' 
Sep 25 11:45:26 localhost multipathd: no /block/ in '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.1/input/input12/event10' 
Sep 25 11:45:26 localhost multipathd: no /block/ in '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0' 
Sep 25 11:45:26 localhost multipathd: no /block/ in '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host24' 
Sep 25 11:45:26 localhost multipathd: no /block/ in '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host24/scsi_host/host24' 
Sep 25 11:45:26 localhost multipathd: no /block/ in '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.1/0003:1058:0705.0004' 
Sep 25 11:45:26 localhost multipathd: no /block/ in '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.1/0003:1058:0705.0004/hidraw/hidraw1' 
Sep 25 11:45:31 localhost multipathd: no /block/ in '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host24/target24:0:0' 
Sep 25 11:45:31 localhost klogd: scsi 24:0:0:0: Direct-Access     WD       3200BEV External 1.75 PQ: 0 ANSI: 0
Sep 25 11:45:31 localhost klogd: sd 24:0:0:0: Attached scsi generic sg3 type 0
Sep 25 11:45:31 localhost klogd: usb-storage: device scan complete
Sep 25 11:45:31 localhost klogd: sd 24:0:0:0: [sdc] 625142448 512-byte logical blocks: (320 GB/298 GiB)
Sep 25 11:45:31 localhost klogd: sd 24:0:0:0: [sdc] Write Protect is off
Sep 25 11:45:31 localhost klogd: sd 24:0:0:0: [sdc] Mode Sense: 23 00 00 00
Sep 25 11:45:31 localhost klogd: sd 24:0:0:0: [sdc] Assuming drive cache: write through
Sep 25 11:45:31 localhost klogd: sd 24:0:0:0: [sdc] Assuming drive cache: write through
Sep 25 11:45:31 localhost multipathd: no /block/ in '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host24/target24:0:0/24:0:0:0' 
Sep 25 11:45:31 localhost multipathd: no /block/ in '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host24/target24:0:0/24:0:0:0/scsi_device/24:0:0:0' 
Sep 25 11:45:31 localhost multipathd: no /block/ in '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host24/target24:0:0/24:0:0:0/scsi_generic/sg3' 
Sep 25 11:45:31 localhost multipathd: no /block/ in '/devices/virtual/bdi/8:32' 
Sep 25 11:45:31 localhost klogd:  sdc: sdc1
Sep 25 11:45:31 localhost klogd: sd 24:0:0:0: [sdc] Assuming drive cache: write through
Sep 25 11:45:31 localhost klogd: sd 24:0:0:0: [sdc] Attached SCSI disk
Sep 25 11:45:31 localhost multipathd: no /block/ in '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host24/target24:0:0/24:0:0:0/bsg/24:0:0:0' 
Sep 25 11:45:31 localhost multipathd: no /block/ in '/devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host24/target24:0:0/24:0:0:0/scsi_disk/24:0:0:0' 
Sep 25 11:45:31 localhost multipathd: sdc: add path (uevent) 
Sep 25 11:45:31 localhost multipathd: 1WD_3200BEV_External: load table [0 625142448 multipath 0 0 1 1 round-robin 0 1 1 8:32 1000] 
Sep 25 11:45:31 localhost multipathd: 1WD_3200BEV_External: event checker started 
Sep 25 11:45:31 localhost multipathd: no /block/ in '/devices/virtual/bdi/252:0' 
Sep 25 11:45:31 localhost multipathd: dm-0: add map (uevent) 
Sep 25 11:45:31 localhost multipathd: dm-0: devmap already registered 
Sep 25 11:45:32 localhost multipathd: discard event on /devices/pci0000:00/0000:00:02.1/usb1/1-2/1-2:1.0/host24/target24:0:0/24:0:0:0/block/sdc/sdc1


More information about the SATLUG mailing list