I was having this problem also. What happens is that wpa_supplicant
keeps the interface device open, while the acpi sleep script does the
pccardctl eject command. After that there are several processes in D
state, and the system is stuck. You can still reboot, but it will not
stop all the way, as not all processes can be killed (they are in the D
state). It seems the new rt2x00 driver can not cope with this situation
(my other laptop with ipw3945 works fine though).

I managed to fix this with the following patch to 
/etc/acpi/suspend.d/55-down-interfaces.sh
 
  # Get rid of any currently running dhclients
  killall dhclient dhclient3 2>/dev/null
+ killall wpa_supplicant 2>/dev/null

this kills the wpa_supplicant process, frees the device before it is too
late, and the machine suspends/resumes fine (as with the legacy driver
(not using wpa_supplicant)).

hope this helps for others, please test, and report back, so this small
fix (which should not hinder other setups I think) may be incorporated.

-- 
[gutsy] NetworkManager causes hang when suspending
https://bugs.launchpad.net/bugs/137666
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to