Bug 139317

Summary: USB device not accepted ("device not accepting address") until USB module is reloaded
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Ulrich Windl <Ulrich.Windl>
Component: KernelAssignee: Greg Kroah-Hartman <gregkh>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: RC 4   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 140904    
Attachments: Extract of /var/log/messages (host and user names changed for privacy/security)
Output of "hwinfo" (after rmmod ehci_hcd, ...; modprobe ehci_hcd)
Output of hwinfo after a reboot with the DVD writer attached
Output of lspci -vv

Description Ulrich Windl 2005-12-15 08:32:48 UTC
(This problem had been observed on a different hardware with the DVD-release kernel as well):
An USB device (DVD burner via USB 2.0 in this case, a USB memory stick via USB 1 on the other case) is not working after being connected, even though the same device was working with that hard and software before. Kernel messages say:
"device not accepting address". Unplugging and replugging the device doesn't help, but unloading the USB driver ("rmmod ehci_hcd" in this case) does help. The device is accepted then. See syslog messages that will be attached in a moment.
Comment 1 Ulrich Windl 2005-12-15 08:38:40 UTC
Created attachment 60936 [details]
Extract of /var/log/messages (host and user names changed for privacy/security)

The USB DVD burner was not accepted until the USB module was unloaded (the module did reload automatically).
Comment 2 Olaf Kirch 2005-12-19 11:14:38 UTC
Greg, any idea?
Comment 3 Greg Kroah-Hartman 2005-12-20 00:05:27 UTC
If you unload the ehci-hcd driver, it reconnects to the device using the uhci-hcd driver, which will run at 1.1 speeds (not very fast.)

Odd that your device isn't accepting the connection.  Does this device work properly in a different machine?  Does this machine accept any USB 2.0 devices connected to it?

Also, can you attach the output of the 'hwinfo' program?
Comment 4 Ulrich Windl 2005-12-23 07:19:10 UTC
OK, some hardware info: Computer is a HP Vectra VL with on-board USB 1. The add-on card for USB 2 is a "Digitus Connect USB 2.0 PCI Add-On Card" using a popular VIA chip (VIA 6212L I think).
Comment 5 Ulrich Windl 2005-12-23 07:20:59 UTC
Created attachment 61740 [details]
Output of "hwinfo" (after rmmod ehci_hcd, ...; modprobe ehci_hcd)
Comment 6 Greg Kroah-Hartman 2005-12-23 16:31:23 UTC
Ugh, not a VIA chip :(
Those are known to have issues with Linux, and as VIA will not work with the
Linux developers to workaround their bugs, there's not much we can do at all
here :(

One last thing, can you attach 'hwinfo' first thing after booting and 
without messing with the 'rmmod ehci-hcd' stuff?  That will give me a clearer
picture.
Comment 7 Ulrich Windl 2006-01-10 07:23:41 UTC
Created attachment 62521 [details]
Output of hwinfo after a reboot with the DVD writer attached

Boot was yesterday, device attached today. I hope that's OK.
Comment 8 Ulrich Windl 2006-01-10 07:24:35 UTC
Created attachment 62522 [details]
Output of lspci -vv

Just in case you want to have the "lspci -vv" output as well.
Comment 9 Greg Kroah-Hartman 2006-02-11 00:17:55 UTC
Still happen with Beta3 of the 10.1 release?
Comment 10 Ulrich Windl 2006-02-13 07:34:47 UTC
I got notified about http://bugzilla.kernel.org/show_bug.cgi?id=5777 which seems to deal with the same bug. I had no chance to test another release on that hardware, because i'm quite tight on diskspace here.
Comment 11 Greg Kroah-Hartman 2006-02-21 22:43:50 UTC
Can you just try the latest kernel of the day instead?  That should be all
that is needed to verify this.
Comment 12 Ulrich Windl 2006-02-22 07:35:23 UTC
Is there a "Kernel of the day HOWTO"? I need more details, please.
Comment 13 Greg Kroah-Hartman 2006-03-01 21:16:34 UTC
Not really, just download the rpm from the ftp site.  You can try the Beta6 rpm which is now public if you want to.
Comment 14 Greg Kroah-Hartman 2006-04-12 16:29:31 UTC
Am marking closed due to inactivity.  If you do test this on the latest kernel
and still have the problem, please reopen the bug.