suspend can take minutes with yenta_socket loaded

Bug #121416 reported by wvengen
4
Affects Status Importance Assigned to Milestone
linux-source-2.6.20 (Ubuntu)
Won't Fix
Undecided
Unassigned
linux-source-2.6.22 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When I suspend the notebook https://wiki.ubuntu.com/LaptopTestingTeam/SonyVGN-FE41E it can take up to several minutes from giving the suspend-command to the notebook actually suspending. The delay from suspend-command to actually suspending increases with every suspend-resume cycle (I'm not sure if this is always happening, but it is most of the time). When yenta_socket is blacklisted, however, the notebook suspends almost immediately.

Revision history for this message
wvengen (wvengen) wrote :
Revision history for this message
wvengen (wvengen) wrote :
Revision history for this message
wvengen (wvengen) wrote :
Revision history for this message
wvengen (wvengen) wrote :

This is the output of dmesg including a couple of suspend-resume cycles with yenta_socket blacklisted and not loaded.

Revision history for this message
wvengen (wvengen) wrote :

If you're a user who just wants a fast suspend, here's how you can work around it. It does disable your PCMCIA socket, however.
1. Create a file /etc/modprobe.d/pcmcia-suspend-workaround (the exact name is not important) with contents: blacklist yenta_socket
2. Reboot
This prevents loading of the PCMCIA kernel drivers, so it also prevents the suspend delay bug.

Revision history for this message
wvengen (wvengen) wrote :

This may be related: http://lists.infradead.org/pipermail/linux-pcmcia/2003-October/000323.html
someone running kernel 2.6.0 where yenta_socket prevents the machine (IBM ThinkPad T20) from suspending; no fix though

Revision history for this message
wvengen (wvengen) wrote :

dmesg from suspend-resume cycle with yenta_socket loaded, first time

Revision history for this message
wvengen (wvengen) wrote :

dmesg from suspend-resume cycle with yenta_socket loaded, second time

Revision history for this message
wvengen (wvengen) wrote :

dmesg from suspend-resume cycle with yenta_socket loaded, third time
this time the suspend delay was some tens of seconds, while the second time it took more than a minute

it seems that the suspend-resume logs are not too different; btw http://meld.sourceforge.net/ can diff three files at once

Revision history for this message
wvengen (wvengen) wrote :

Oops, I made a mistake in dmesg-susp-y01: it contains the last part of a suspend-resume cycle without yenta_socket. This file has the first part deleted.

Revision history for this message
wvengen (wvengen) wrote :

With Gutsy's kernel 2.6.22-8-generic this problem doesn't appear to occur anymore. Also, the pcmcia-related kernel message "unable to remove socket power" has vanished.

Revision history for this message
wvengen (wvengen) wrote :

Doesn't appear anymore in kernel 2.6.22.

Changed in linux-source-2.6.20:
status: New → Fix Committed
Changed in linux-source-2.6.22:
status: New → Fix Released
Changed in linux-source-2.6.20:
status: Fix Committed → Won't Fix
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.