USB keys do not automount, cannot be manually mounted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mountmanager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mountmanager
dmesg reports that my USB key has been attached:
[ 1617.001891] scsi 14:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
[ 1617.002189] sd 14:0:0:0: Attached scsi generic sg11 type 0
[ 1617.003508] sd 14:0:0:0: [sdk] 7823296 512-byte logical blocks: (4.00 GB/3.72 GiB)
[ 1617.004752] sd 14:0:0:0: [sdk] Write Protect is off
[ 1617.004755] sd 14:0:0:0: [sdk] Mode Sense: 16 03 09 51
[ 1617.004757] sd 14:0:0:0: [sdk] Assuming drive cache: write through
[ 1617.008756] sd 14:0:0:0: [sdk] Assuming drive cache: write through
[ 1617.008759] sdk: sdk1 sdk2
[ 1617.010752] sd 14:0:0:0: [sdk] Assuming drive cache: write through
[ 1617.010755] sd 14:0:0:0: [sdk] Attached SCSI removable disk
However, it is not automounted by nautilus/gnome. Further, when I try to manually mount it, I get strange behaviour:
sudo mount /dev/sdk2 /tmp/usb
mount: special device /dev/sdk2 does not exist
And indeed, it does not exist:
ls /dev/sd*
/dev/sda /dev/sdb /dev/sdb2 /dev/sdc /dev/sdc2 /dev/sdc4 /dev/sdd1 /dev/sde1 /dev/sdg /dev/sdi
/dev/sda1 /dev/sdb1 /dev/sdb3 /dev/sdc1 /dev/sdc3 /dev/sdd /dev/sde /dev/sdf /dev/sdh /dev/sdj
lsusb does not see it.
usb-devices _does_ see it:
T: Bus=01 Lev=01 Prnt=01 Port=06 Cnt=03 Dev#= 11 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0951 ProdID=1603 Rev=01.00
S: Manufacturer=
S: Product=
S: SerialNumber=
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
This is reproducible with my other two USB keys, which have different manufacturers. All three mounted fine in karmic.
Actually I spoke too soon. My sandisk key mounts as a CDROM drive!
From dmesg:
[ 2393.506405] usb-storage: device found at 13
[ 2393.506406] usb-storage: waiting for device to settle before scanning
[ 2398.504168] usb-storage: device scan complete
[ 2398.506274] scsi 17:0:0:0: Direct-Access SanDisk Cruzer 7.01 PQ: 0 ANSI: 0 CCS
[ 2398.506646] scsi 17:0:0:1: CD-ROM SanDisk Cruzer 7.01 PQ: 0 ANSI: 0
[ 2398.506945] sd 17:0:0:0: Attached scsi generic sg11 type 0
[ 2398.508890] sd 17:0:0:0: [sdk] 7856127 512-byte logical blocks: (4.02 GB/3.74 GiB)
[ 2398.510136] sd 17:0:0:0: [sdk] Write Protect is off
[ 2398.510139] sd 17:0:0:0: [sdk] Mode Sense: 45 00 00 08
[ 2398.510141] sd 17:0:0:0: [sdk] Assuming drive cache: write through
[ 2398.511137] sr1: scsi3-mmc drive: 48x/48x tray
[ 2398.511207] sr 17:0:0:1: Attached scsi CD-ROM sr1
[ 2398.511243] sr 17:0:0:1: Attached scsi generic sg12 type 5
[ 2398.513134] sd 17:0:0:0: [sdk] Assuming drive cache: write through
[ 2398.513136] sdk: unknown partition table
[ 2398.516134] sd 17:0:0:0: [sdk] Assuming drive cache: write through
[ 2398.516136] sd 17:0:0:0: [sdk] Attached SCSI removable disk
Not sure from the above whether sdk* or sr1 is the device, but regardless it doesn't exist if I ls /dev.
usb-devices sees it as:
T: Bus=01 Lev=01 Prnt=01 Port=06 Cnt=03 Dev#= 13 Spd=480 MxCh= 0 SanDisk 2204620CD800141 A
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0781 ProdID=5406 Rev=02.00
S: Manufacturer=
S: Product=U3 Cruzer Micro
S: SerialNumber=
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
Again, lsusb does not see it.
---------------
My pico usb key has the same behaviour as the kingston.