having usb modules loaded may cause failure to resume from disk

Bug #53308 reported by Emilio Scalise
2
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Invalid
High
Unassigned

Bug Description

By default uhci_hcd, ehci_hcd and ohci_hcd are loaded in initramfs on boot, also when the system has to be resumed from suspend to disk (swsusp1).
This cause a failure on usb wakeup on my machines (an acer 2012wlmi laptop and a desktop computer, P5ND2-SLI (nforce 4 intel edition) with a P4).

If I set mkinitramfs to load only the list of strictly necessary modules usb will survive after resume (it handles well wakeup).

I know that usb modules can't be easily removed from an initrd as someone could boot from usb disks... but what you think about adding an option to select to not include them? Or at least document this behaviour.....

Bye

Revision history for this message
Matthew Garrett (mjg59) wrote :

Can you describe the failure? What does dmesg look like?

Revision history for this message
Emilio Scalise (emisca) wrote :

You can find another user that have the same problem...
http://<email address hidden>/msg00742.html

Jun 4 00:29:28 aidualc kernel: [4294885.180000] ehci_hcd 0000:00:1d.7: EHCI
Host Controller
Jun 4 00:29:28 aidualc kernel: [4294885.181000] ehci_hcd 0000:00:1d.7: debug
port 15 IN USE
Jun 4 00:29:28 aidualc kernel: [4294885.181000] PCI: cache line size of 32 is
not supported by device 0000:00:1d.7
Jun 4 00:29:28 aidualc kernel: [4294885.205000] ehci_hcd 0000:00:1d.7: new USB
bus registered, assigned bus number 1
Jun 4 00:29:28 aidualc kernel: [4294885.205000] ehci_hcd 0000:00:1d.7: irq 66,
io mem 0xee444000
Jun 4 00:29:28 aidualc kernel: [4294885.205000] ehci_hcd 0000:00:1d.7: startup
error -19
Jun 4 00:29:28 aidualc kernel: [4294885.205000] ehci_hcd 0000:00:1d.7: USB bus
1 deregistered
Jun 4 00:29:28 aidualc kernel: [4294885.206000] ACPI: PCI interrupt for device
0000:00:1d.7 disabled
Jun 4 00:29:28 aidualc kernel: [4294885.206000] ehci_hcd 0000:00:1d.7: init
0000:00:1d.7 fail, -19

It's the same error I have fixed........

Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Thank you for your bug report. Do you still have this issue with the latest release of Ubuntu ?

Changed in linux-source-2.6.15:
importance: Undecided → High
status: Unconfirmed → Needs Info
Revision history for this message
Emilio Scalise (emisca) wrote :

Unfortunately I have sold that notebook last month. Perhaps I tried with edgy's 2.6.17 kernel, and the behaviour was the same.
We could ask on laptop mailing list if someone has a similar acer notebook..

Bye...

Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Well, I will close this, if someone still has this issue, feel free to reopen.

Changed in linux-source-2.6.15:
status: Needs Info → Rejected
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.