Does not detect hotplugged storage device

Bug #601351 reported by Iain Lane
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
udisks (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: udisks

My Nokia N96, presented as a mass storage device, is not automounted.

I see

  [2335109.261409] FAT: Directory bread(block 8253) failed

in dmesg, but when mounted manually, everything works fine.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: udisks 1.0.1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
Architecture: amd64
Date: Sat Jul 3 13:25:12 2010
GvfsMonitorLog: Monitoring events. Press Ctrl+C to quit.
HotplugNewDevices: /dev/sdf1 /dev/sdf /dev/sdg
HotplugNewMounts:

InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100215)
MachineType: System manufacturer System Product Name
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=a9c7370f-f9eb-4d31-bc7b-7fb3def0a4f8 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/usr/bin/zsh
SourcePackage: udisks
Symptom: storage
Title: Does not detect hotplugged storage device
UdisksMonitorLog: Monitoring activity from the disks daemon. Press Ctrl+C to cancel.
dmi.bios.date: 11/23/2007
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1226
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5B-Deluxe
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1226:bd11/23/2007:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5B-Deluxe:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Iain Lane (laney) wrote :
Revision history for this message
Jaakan Shorter (jaakanshorter) wrote :

Same when using Verizon HTC Incredible with 10.04 x64 / dell laptop vostro 1000

-- when I connected the phone "charge only"

Jul 20 20:51:48 jms1000 kernel: [342471.758054] usb 1-3: configuration #1 chosen from 1 choice
Jul 20 20:51:48 jms1000 kernel: [342471.780249] scsi25 : SCSI emulation for USB Mass Storage devices
Jul 20 20:51:53 jms1000 kernel: [342476.785703] scsi 25:0:0:0: Direct-Access HTC Android Phone 0100 PQ: 0 ANSI: 2
Jul 20 20:51:53 jms1000 kernel: [342476.787686] scsi 25:0:0:1: Direct-Access HTC Android Phone 0100 PQ: 0 ANSI: 2
Jul 20 20:51:53 jms1000 kernel: [342476.794565] sd 25:0:0:0: Attached scsi generic sg2 type 0
Jul 20 20:51:53 jms1000 kernel: [342476.797438] sd 25:0:0:1: Attached scsi generic sg3 type 0
Jul 20 20:51:53 jms1000 kernel: [342476.823811] sd 25:0:0:0: [sdb] Attached SCSI removable disk
Jul 20 20:51:53 jms1000 kernel: [342476.826794] sd 25:0:0:1: [sdc] Attached SCSI removable disk

-- when I set the phone to apply a computer to see the disks on the phone

Jul 20 22:00:54 jms1000 kernel: [346617.696525] sd 25:0:0:1: [sdc] 13844464 512-byte logical blocks: (7.08 GB/6.60 GiB)
Jul 20 22:00:54 jms1000 kernel: [346617.698517] sd 25:0:0:0: [sdb] 3862528 512-byte logical blocks: (1.97 GB/1.84 GiB)
Jul 20 22:00:54 jms1000 kernel: [346617.712511] sdc:
Jul 20 22:00:54 jms1000 kernel: [346617.714143] sdb:
Jul 20 22:00:54 jms1000 kernel: [346617.719746] sdb1

note that there should be a sdc1, it was there better udisks was updated

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :
Download full text (3.3 KiB)

microsd card in card reader:

[185774.656153] usb 2-5.4.2: new high speed USB device number 40 using ehci_hcd
[185774.777369] usb-storage 2-5.4.2:1.0: Quirks match for vid 05e3 pid 0723: 8000
[185774.777429] scsi38 : usb-storage 2-5.4.2:1.0
[185775.777682] scsi 38:0:0:0: Direct-Access Generic STORAGE DEVICE 9451 PQ: 0 ANSI: 0
[185775.778432] sd 38:0:0:0: Attached scsi generic sg8 type 0
[185775.974911] sd 38:0:0:0: [sdh] 15564800 512-byte logical blocks: (7.96 GB/7.42 GiB)
[185775.976032] sd 38:0:0:0: [sdh] Write Protect is off
[185775.976036] sd 38:0:0:0: [sdh] Mode Sense: 03 00 00 00
[185775.977158] sd 38:0:0:0: [sdh] No Caching mode page present
[185775.977162] sd 38:0:0:0: [sdh] Assuming drive cache: write through
[185775.981526] sd 38:0:0:0: [sdh] No Caching mode page present
[185775.981537] sd 38:0:0:0: [sdh] Assuming drive cache: write through
[185775.982804] sdh: sdh1 sdh2
[185775.986149] sd 38:0:0:0: [sdh] No Caching mode page present
[185775.986162] sd 38:0:0:0: [sdh] Assuming drive cache: write through
[185775.986167] sd 38:0:0:0: [sdh] Attached SCSI removable disk

usb thumb drive:

[187096.200167] usb 2-5.4.1: new high speed USB device number 41 using ehci_hcd
[187096.338792] scsi39 : usb-storage 2-5.4.1:1.0
[187097.337189] scsi 39:0:0:0: Direct-Access 0.00 PQ: 0 ANSI: 2
[187097.337943] sd 39:0:0:0: Attached scsi generic sg9 type 0
[187097.338662] sd 39:0:0:0: [sdi] 3788800 512-byte logical blocks: (1.93 GB/1.80 GiB)
[187097.339654] sd 39:0:0:0: [sdi] Write Protect is off
[187097.339659] sd 39:0:0:0: [sdi] Mode Sense: 00 00 00 00
[187097.340655] sd 39:0:0:0: [sdi] Asking for cache data failed
[187097.340660] sd 39:0:0:0: [sdi] Assuming drive cache: write through
[187097.346031] sd 39:0:0:0: [sdi] Asking for cache data failed
[187097.346035] sd 39:0:0:0: [sdi] Assuming drive cache: write through
[187097.458206] sdi: sdi1
[187097.577159] sd 39:0:0:0: [sdi] Asking for cache data failed
[187097.577164] sd 39:0:0:0: [sdi] Assuming drive cache: write through
[187097.577169] sd 39:0:0:0: [sdi] Attached SCSI removable disk

But:

11:23 hrw@puchatek:~$ udisks --dump|grep device-file
  device-file: /dev/sda
  device-file: /dev/sda3
  device-file: /dev/sdb
  device-file: /dev/sdb1
  device-file: /dev/sdc
  device-file: /dev/sdc1
  device-file: /dev/sdc2
  device-file: /dev/sdd
  device-file: /dev/sde
  device-file: /dev/sdf
  device-file: /dev/sdg
  device-file: /dev/sr0

While:

11:23 hrw@puchatek:~$ lsblk
NAME MAJ:MIN RM SIZE RO MOUNTPOINT
sda 8:0 0 465,8G 0
└─sda3 8:3 0 465,8G 0 /home/hrw/HDD
sdb 8:16 0 1,4T 0
└─sdb1 8:17 0 1,4T 0 /media/storage
sdc 8:32 0 55,9G 0
├─sdc1 8:33 0 30G 0 /
└─sdc2 8:34 0 25,9G 0 /home
sr0 11:0 1 3,7G 0
sdh 8:112 1 7,4G 0
├─sdh1 8:113 1 70,6M 0
└─sdh2 8:114 1 7,4G 0
sdi 8:128 1 1,8G 0
└─sdi1 8:129 1 1,8G 0

For me it looks like udisks are not able to recognize hotplugged...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in udisks (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.