Bug 537613

Summary: USB hotplugging stopped working
Product: [openSUSE] openSUSE 11.2 Reporter: Marcus Schneider <herr-schneider.m>
Component: HotplugAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: dimstar, juglist
Version: Milestone 8   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Marcus Schneider 2009-09-09 07:10:17 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-3.2 Firefox/3.5.2

Whenever I attach an USB device to the running system, it will not be shown in KDE's "newly added devices" taskbar applet, dmesg shows that it is found, manual mounting even as root does not work, as no device node is created.

Here is dmesg:

[47143.780094] usb 1-1: new high speed USB device using ehci_hcd and address 6
[47143.896059] usb 1-1: New USB device found, idVendor=1058, idProduct=0704
[47143.896092] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[47143.896116] usb 1-1: Product: External HDD
[47143.896131] usb 1-1: Manufacturer: Western Digital
[47143.896148] usb 1-1: SerialNumber: 57442D575846304135395731303739
[47143.896417] usb 1-1: configuration #1 chosen from 1 choice
[47143.898172] scsi11 : SCSI emulation for USB Mass Storage devices
[47143.898440] usb-storage: device found at 6
[47143.898448] usb-storage: waiting for device to settle before scanning
[47144.899638] scsi 11:0:0:0: Direct-Access     WD       3200BEV External 1.75 PQ: 0 ANSI: 4
[47144.900095] sd 11:0:0:0: Attached scsi generic sg2 type 0
[47144.901484] sd 11:0:0:0: [sdb] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[47144.902106] sd 11:0:0:0: [sdb] Write Protect is off
[47144.902125] sd 11:0:0:0: [sdb] Mode Sense: 23 00 00 00
[47144.902131] sd 11:0:0:0: [sdb] Assuming drive cache: write through
[47144.903508] sd 11:0:0:0: [sdb] Assuming drive cache: write through
[47144.903546]  sdb:
[47144.903661] usb-storage: device scan complete
[47144.937749]  sdb1
[47144.940104] sd 11:0:0:0: [sdb] Assuming drive cache: write through
[47144.940142] sd 11:0:0:0: [sdb] Attached SCSI disk


Now trying to mount /dev/sdb1 on some arbitrary mountpoint, system claims that the "special device /deb/sdb1" does not exist.

Having the device plugged in at system startup is no issue, device is recognized, device node created and mounting works like a charm.

This affects all USB devices, not only the one from above.

with 11.1 everything worked like charm...

Reproducible: Always

Steps to Reproduce:
1. Have recent factory
2. Start system
3. Plug In USB device
Comment 1 Marcus Schneider 2009-09-09 07:34:39 UTC
Note: this only applies to the 2.6.31-rc8 desktop kernel, not the 2.6.31-rc7-rt8 realtime kernel
Comment 2 Greg Kroah-Hartman 2009-09-09 12:51:37 UTC
Known bug, fixed in 2.6.31-rc9
Comment 3 Zachary Klein 2009-10-03 18:19:44 UTC
This bug still affects me on Milestone 8