ehci_hcd: usb disk detection requires un/loading

Bug #184382 reported by Alexander Horz on 2008-01-19
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu
Undecided
Unassigned

Bug Description

With kernel 2.6.22-14-generic a SanDisk Titanium (4GB) USB stick is detected properly; a Prolific (128MB) USB stick is NOT (although it had been with previous Ubuntu versions): The Prolific stick cannot be (manually) mounted and it is not listed by "fdisk -l". However, a simple loading (or removing) of ehci_hcd causes perfect automounting of the stick. Here, the excerpt from kern.log from a scenario of (1) inserting the stick without proper detection, (2) executing "modprobe -r ehci_hcd" resulting in proper detection and automounting, (3) unmounting and removel of the stick, (4) second insertion of the stick again without proper detection, and (5) executing "modprobe ehci_hcd" resulting again in detection and automounting.

[159566.920000] usb-storage: device found at 6
[159566.920000] usb-storage: waiting for device to settle before scanning
[159571.920000] usb-storage: device scan complete
[159571.920000] scsi scan: INQUIRY result too short (5), using 36
[159571.920000] scsi 23:0:0:0: Direct-Access Prolific UsbFlashDisk PROL PQ: 0 ANSI: 0
[159571.920000] sd 23:0:0:0: [sdb] Attached SCSI disk
[159571.920000] sd 23:0:0:0: Attached scsi generic sg2 type 0
[159597.672000] ehci_hcd 0000:00:1d.7: remove, state 1
[159597.672000] usb usb5: USB disconnect, address 1
[159597.672000] usb 5-2: USB disconnect, address 5
[159597.672000] usb 5-2.1: USB disconnect, address 6
[159597.676000] ehci_hcd 0000:00:1d.7: USB bus 5 deregistered
[159597.676000] ACPI: PCI interrupt for device 0000:00:1d.7 disabled
[159597.956000] usb 1-2: new full speed USB device using uhci_hcd and address 12
[159598.128000] usb 1-2: configuration #1 chosen from 1 choice
[159598.132000] hub 1-2:1.0: USB hub found
[159598.136000] hub 1-2:1.0: 1 port detected
[159598.452000] usb 1-2.1: new full speed USB device using uhci_hcd and address 13
[159598.588000] usb 1-2.1: configuration #1 chosen from 1 choice
[159598.592000] scsi24 : SCSI emulation for USB Mass Storage devices
[159598.592000] usb-storage: device found at 13
[159598.592000] usb-storage: waiting for device to settle before scanning
[159603.592000] usb-storage: device scan complete
[159603.596000] scsi scan: INQUIRY result too short (5), using 36
[159603.596000] scsi 24:0:0:0: Direct-Access Prolific UsbFlashDisk PROL PQ: 0 ANSI: 0
[159603.600000] sd 24:0:0:0: [sdb] 256000 512-byte hardware sectors (131 MB)
[159603.604000] sd 24:0:0:0: [sdb] Write Protect is off
[159603.604000] sd 24:0:0:0: [sdb] Mode Sense: 03 00 00 00
[159603.604000] sd 24:0:0:0: [sdb] Assuming drive cache: write through
[159603.608000] sd 24:0:0:0: [sdb] 256000 512-byte hardware sectors (131 MB)
[159603.612000] sd 24:0:0:0: [sdb] Write Protect is off
[159603.612000] sd 24:0:0:0: [sdb] Mode Sense: 03 00 00 00
[159603.612000] sd 24:0:0:0: [sdb] Assuming drive cache: write through
[159603.612000] sdb: sdb1
[159603.620000] sd 24:0:0:0: [sdb] Attached SCSI disk
[159603.620000] sd 24:0:0:0: Attached scsi generic sg2 type 0
[159662.000000] usb 1-2: USB disconnect, address 12
[159662.000000] usb 1-2.1: USB disconnect, address 13
[159730.628000] usb 1-2: new full speed USB device using uhci_hcd and address 14
[159730.804000] usb 1-2: configuration #1 chosen from 1 choice
[159730.808000] hub 1-2:1.0: USB hub found
[159730.812000] hub 1-2:1.0: 1 port detected
[159731.124000] usb 1-2.1: new full speed USB device using uhci_hcd and address 15
[159731.260000] usb 1-2.1: configuration #1 chosen from 1 choice
[159731.264000] scsi25 : SCSI emulation for USB Mass Storage devices
[159731.264000] usb-storage: device found at 15
[159731.264000] usb-storage: waiting for device to settle before scanning
[159736.264000] usb-storage: device scan complete
[159736.268000] scsi scan: INQUIRY result too short (5), using 36
[159736.268000] scsi 25:0:0:0: Direct-Access Prolific UsbFlashDisk PROL PQ: 0 ANSI: 0
[159736.272000] sd 25:0:0:0: [sdb] Attached SCSI disk
[159736.272000] sd 25:0:0:0: Attached scsi generic sg2 type 0
[159744.992000] ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 19 (level, low) -> IRQ 23
[159744.992000] PCI: Setting latency timer of device 0000:00:1d.7 to 64
[159744.992000] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[159744.996000] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 5
[159744.996000] ehci_hcd 0000:00:1d.7: debug port 1
[159744.996000] PCI: cache line size of 32 is not supported by device 0000:00:1d.7
[159744.996000] ehci_hcd 0000:00:1d.7: irq 23, io mem 0xee404000
[159745.000000] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[159745.000000] usb usb5: configuration #1 chosen from 1 choice
[159745.000000] hub 5-0:1.0: USB hub found
[159745.000000] hub 5-0:1.0: 8 ports detected
[159745.004000] usb 1-2: USB disconnect, address 14
[159745.004000] usb 1-2.1: USB disconnect, address 15
[159745.372000] usb 5-2: new high speed USB device using ehci_hcd and address 2
[159745.516000] usb 5-2: configuration #1 chosen from 1 choice
[159745.516000] hub 5-2:1.0: USB hub found
[159745.516000] hub 5-2:1.0: 1 port detected
[159745.864000] usb 4-2: USB disconnect, address 14
[159746.104000] usb 4-2: new full speed USB device using uhci_hcd and address 15
[159746.280000] usb 4-2: configuration #1 chosen from 1 choice
[159746.484000] usb 5-2.1: new high speed USB device using ehci_hcd and address 4
[159746.588000] usb 5-2.1: configuration #1 chosen from 1 choice
[159746.588000] scsi26 : SCSI emulation for USB Mass Storage devices
[159746.588000] usb-storage: device found at 4
[159746.588000] usb-storage: waiting for device to settle before scanning
[159751.588000] usb-storage: device scan complete
[159751.588000] scsi scan: INQUIRY result too short (5), using 36
[159751.588000] scsi 26:0:0:0: Direct-Access Prolific UsbFlashDisk PROL PQ: 0 ANSI: 0
[159751.588000] sd 26:0:0:0: [sdb] 256000 512-byte hardware sectors (131 MB)
[159751.588000] sd 26:0:0:0: [sdb] Write Protect is off
[159751.588000] sd 26:0:0:0: [sdb] Mode Sense: 03 00 00 00
[159751.588000] sd 26:0:0:0: [sdb] Assuming drive cache: write through
[159751.592000] sd 26:0:0:0: [sdb] 256000 512-byte hardware sectors (131 MB)
[159751.592000] sd 26:0:0:0: [sdb] Write Protect is off
[159751.592000] sd 26:0:0:0: [sdb] Mode Sense: 03 00 00 00
[159751.592000] sd 26:0:0:0: [sdb] Assuming drive cache: write through
[159751.592000] sdb: sdb1
[159751.592000] sd 26:0:0:0: [sdb] Attached SCSI disk
[159751.592000] sd 26:0:0:0: Attached scsi generic sg2 type 0

Alexander Horz (info-horz) wrote :

Bug title should be "ehci_hcd: usb disk detection requires UN/loading" (sorry)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers