[Hardy] [regression] ehci_hcd.ko breaks suspend-to-ram
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | linux (Ubuntu) |
Medium
|
Unassigned | ||
| | Hardy |
Medium
|
Unassigned | ||
Bug Description
When I am using kernel 2.6.24-13 or 2.6.24-14 on my Asus A6L, the resume from STR is not working anymore. The computer goes to suspend normally, but after waking it up, the screen remains blank (the backlight is turned on), and the kernel is not responding - sysrq is not working, and mouse is not shining. It works fine with kernel 2.6.24-12 (I have them installed all, so it is not caused by other packages in Ubuntu).
The problem is identified to be the ehci_hcd.ko module, after unloading it normal suspend-to-ram behavior is restored.
| Petr Dlouhý (petr-dlouhy) wrote : | #2 |
(but the problem was alredy present on kernel 2.6.24-13)
| Petr Dlouhý (petr-dlouhy) wrote : | #3 |
Of course, here it is.
(but the problem was alredy present on kernel 2.6.24-13)
| Petr Dlouhý (petr-dlouhy) wrote : | #4 |
Here is lspci, the dmesg will take me little more time.
| Petr Dlouhý (petr-dlouhy) wrote : | #5 |
Here is dmesg.
I tried to unload some modules from kernel before suspending, and I find out, that the problem is in ehci_hcd module (after unloading this and only this module, the resume works again).
| Changed in linux: | |
| status: | Incomplete → New |
| Karl Martin (klein-km) wrote : | #6 |
I can confirm this bug on a Thinkpad T61 8889-2BG with Hardy 2.6.24-15. On resume, the backlinght turns on but nothing more happens. With 2.6.24-12 resume worked fine although, sometimes, instead of the password dialog a white screen was displayed.
After removing ehci_hcd resume worked again in 2.6.24-15 (many thanks for the hint). Unfortunately, blacklisting this module in acpi-support did not help as Hardy does not use this file. Does anybody know where I can blacklist this module in Hardy?
| Karl Martin (klein-km) wrote : | #7 |
| Karl Martin (klein-km) wrote : | #8 |
| Karl Martin (klein-km) wrote : | #9 |
| Changed in linux: | |
| status: | New → Confirmed |
| Fabian Neumann (fneumann) wrote : | #10 |
@Karl Martin
AFAIK Hardy replaces (to some extend) acpi-support with pm-utils. You might use pm-utils config files to blacklist ehci_hcd. See http://
I've got a T61 myself -- but cannot really confirm this bug. I can confirm the blank screen after resuming with kernel -12, though.
| Karl Martin (klein-km) wrote : | #11 |
@Fabian Neumann
Thank you very much for the information. I just found out that resume is working fine when nothing is connected to the usb ports. However, if I connect my hub with mouse, keyboard and dvd burner to the usb port resume does not work anymore. Even with these devices connected resume was working fine in 2.6.24-12.
Unfortunately, kernel version 2.6.24-15 does not solve the other bug mentioned above displaying sometimes a white screen instead of the password dialog after resuming. I am wondering whether this bug is related to the nvidia driver or to X. Do you have a NVIDIA card too?
| Fabian Neumann (fneumann) wrote : | #12 |
Yes, I think this is a bug in the binary nvidia driver. Just search for "ubuntu nvidia blank screen". Cannot name a bug, there're probably many of them...
But I mixed some things up. Resume works for me, but quick-user-
| Petr Dlouhý (petr-dlouhy) wrote : | #13 |
No, I have intel card. It seems to me, tha this bug is issue only of the ehci_hcd module.
| Karl Martin (klein-km) wrote : | #14 |
I think that the bug reported initially in this thread is caused by the ehci_hcd module.
The other bug that I mentioned seams to be different from the one mentioned by Fabian Neumann. I do not see a black screen after resume but a white screen where the mouse pointer is correctly displayed and can be moved. However, the screen is otherwise completely white and no password dialog is displayed. I can then enter the password blindly and after that the desktop is shown correctly. As the mouse pointer is shown correctly on the white screen I am not sure that this bug is related to the nvidia driver. Perhaps there is a problem with the initialization of X.
| Gregor Burger (burger-gregor) wrote : | #15 |
hi i can confirm this bug on a clevo m72r. the workaround unloading the ehci_hcd module works too for me.
| Petr Dlouhý (petr-dlouhy) wrote : | #16 |
With 2.6.24-16 is it still broken.
| Daryl (daryl-ball) wrote : | #17 |
confirm that this is still broken in 2.6.24-16
USB ports not working after resume on Dell Inspiron E1705/9400 with 2.6.24-16.
version.log:
Ubuntu 2.6.24-
Fix mentioned by Fabian Neumann seems to work. http://
sudo nano /etc/pm/
SUSPEND_
Reboot, and it seems to work pretty well.
| c_t (chefturner) wrote : | #20 |
I can confirm this bug with Ubuntu 2.6.24-
SUSPEND_
in some file in /etc/pm/config.d/ works, however only when suspending using the kde-guidance-
| Alex (loxal) wrote : Re: [Hardy] [regresion] [SOLUTION] resume from suspend (to ram) is not working with kernel 2.6.24-13 - 2.6.24-16 | #21 |
Same kernel, same problem on my Lenovo 3000 V200 notebook.
c_t: "putting the line SUSPEND_
Yep, works fine for me :)
I would suggest a file name like "/etc/pm/
sudo echo SUSPEND_
| c_t (chefturner) wrote : Re: [Hardy] [regresion] resume from suspend (to ram) is not working with kernel 2.6.24-13 and 2.6.24-14 | #22 |
I don't know why but since today's upgrade suspend/resume works fine for me even *without* removing the ehci_hcd module... Although it doesn't seem like linux-image has been upgraded today :/... Can anybody confirm that suspend is working again?
| Petr Dlouhý (petr-dlouhy) wrote : | #23 |
It is still broken for me (2.6.16). Had you some usb devices plugged-in before suspending?
| c_t (chefturner) wrote : | #24 |
I even suspended my laptop using
$ echo mem > /sys/power/state
(so no pm-utils or other stuff should interfere) and all my usb devices (keyboard, mouse, external hd) are working perfectly (before and after suspend). I have no idea why this is... I have no files in /etc/pm/ at all and MODULES="" in /etc/default/
$ cat /proc/version_
Ubuntu 2.6.24-
| DaveAbrahams (boostpro) wrote : | #25 |
When I have USB devices plugged into my IBM Advanced Mini Dock, it breaks suspend unless I have ehci_hcd in MODULES. However, if I do add ehci_hcd to MODULES, the USB ports on my dock become unavailable forevermore after a suspend.
| c_t (chefturner) wrote : | #26 |
Ok, it's broken again for me too. I can't explain, why it worked for some days, but since upgrading to 8.04 final and rebooting ehci_hcd must be blacklisted again in order to get usb devices working after resume.
$ cat /proc/version_
Ubuntu 2.6.24-
| Erik Andrén (erik-andren) wrote : | #27 |
I can confirm this bug on a Clevo M720R, C2D 2.4 GHz, Intel 965GMA onboard graphics.
| description: | updated |
| DaveAbrahams (boostpro) wrote : | #28 |
I may have just been getting lucky with the unload of ehci_hcd, because resume just failed again with USB devices plugged into my dock.
| Changed in linux: | |
| assignee: | nobody → ubuntu-kernel-team |
| importance: | Undecided → Medium |
| status: | Confirmed → Triaged |
| reagle (joseph.reagle) wrote : | #29 |
The 'SUSPEND_
| Alex (loxal) wrote : | #30 |
The behavior have not changed with 2.6.24-17-generic :( The workaround is still necessary.
| tomaszr (tomasz-rosinski) wrote : | #31 |
i confirm this problem
using solution from Alex Strabala (https:/
everything works perfect
| Zaar Hai (haizaar) wrote : | #32 |
Confirming the problem. System Dell XPS m1330 Nvidia 8400M GS. 2.6.24-16-generic.
Suspend worked OK, but there was no USB after resume.
Proposed fix (https:/
| tully (tuly-seznam) wrote : | #33 |
Confirming the problem.
this is working for me:
http://
hp nx6125
cat /proc/version_
Ubuntu 2.6.24-
| Petr Dlouhý (petr-dlouhy) wrote : | #34 |
I updated to Intrepid, and it seems to be fixed in "kernel 2.6.26-1.5".
| Nick B. (futurepilot) wrote : | #35 |
Still present in 2.6.24-19. If anything is plugged into my USB hub, the resume from suspend process hangs at a blank screen with a blinking cursor and does not respond. As others have mentioned unloading ehci_hcd before suspending fixes the problem.
| Leann Ogasawara (leannogasawara) wrote : | #36 |
Petr, thanks for testing Intrepid and the feedback. I'm going to mark this "Fix Released" against Intrepid. I'll open a nomination for a Hardy stable release update, but the likelyhood of a SRU ( https:/
| Changed in linux: | |
| status: | Triaged → Fix Released |
| assignee: | nobody → ubuntu-kernel-team |
| importance: | Undecided → Medium |
| status: | New → Triaged |
| Angus Turnbull (angus-twinhelix) wrote : | #37 |
This problem also affects my Toshiba Tecra M3. Suspend/resume worked under Gutsy but fails with all release Hardy kernels and the current Intrepid kernel. They would resume to a blank screen without accepting any input necessitating a hard reboot.
Adding this to /etc/pm/
SUSPEND_
fixes the problem. LSPCI output is attached. /proc/version_
I found this out using the pm_trace function, the relevant portion of dmesg output is:
[ 1.851860] Magic number: 0:250:259
[ 1.851865] hash matches /build/
[ 1.851884] tty ttyx1: hash matches
[ 1.851958] pci 0000:00:1d.7: hash matches
[ 1.852017] rtc_cmos 00:08: setting system clock to 2068-04-03 03:15:29 UTC (3100648529)
I presume this bug is the correct place to file the issue, if anyone wants to report under Intrepid please do so :).
Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https:/
| Petr Dlouhý (petr-dlouhy) wrote : | #39 |
The bug doesn't appear any more (in fact, for long time now). Feel free to open it again, if somebody is experiencing it.
| Changed in linux (Ubuntu Hardy): | |
| status: | Triaged → Fix Released |


Hi Petr,
Per the kernel team's bug policy, can you please attach the following information. Please be sure to attach each file as a separate attachment.
* cat /proc/version_ signature > version.log
* sudo lspci -vvnn > lspci-vvnn.log
Also, can you attach your dmesg output (dmesg > dmesg.log) after an attempted suspend/resume cycle as outlined here: https:/ /wiki.ubuntu. com/DebuggingKe rnelSuspend .
For more information regarding the kernel team bug policy, please refer to https:/ /wiki.ubuntu. com/KernelTeamB ugPolicies . Thanks again and we appreciate your help and feedback.