Bug#627951: linux-image-2.6.39-1-amd64: Resume from hibernate
Gilles Grandou
gilles at grandou.net
Tue Aug 16 17:27:13 UTC 2011
I'm experiencing the same issue on my lenovo T410.
starting from debian kernel 2.6.39, resume from hibernate almost always
leads to a reset upon resume from hibernate.
The issue sitll exists today with update testing
(linux-image-3.0.0-1-amd64 3.0.0-1-amd64 and nvidia-kernel-dkms 280.13-1)
I was suspecting nvidia driver as well, so I've switched nouveau driver
(which is a bit of regression in term of features, but well, it's
another story).
2 or 3 resumes went fine, but I've started to experience spurious reset
as well. so nvidia driver might not be so guilty.
I've tried to bisect kernel between linus' 2.6.39 (good) and 3.0.0-rc1
(bad), but after numerous iterations, I've ended up nowhere on pausible
candidate.
Anyway, the good/bad iterations led me to suspect wifi merges into
linus' tree.
so that, I've made experiments by rmmod'ing iwlagn module before going
to hibernate. So far, I no longer experience bad resumes!
Here is my "fix" file:
-------------------------------------------------
$ cat /etc/pm/sleep.d/80_fix_buggy_iwlagn
#!/bin/sh
# gg.
# remove iwlagn upon hibernation
PATH=/sbin:/usr/sbin:/bin:/usr/bin
case "${1}" in
hibernate)
modprobe -r iwlagn
;;
resume|thaw)
modprobe iwlagn
;;
esac
-------------------------------------------------
Could other affected people try this to see if we are speaking about the
same issue or not ?
Gilles.
More information about the pkg-nvidia-devel
mailing list