[Bug 35213] Re: hibernate fails when not on AC power on HP Pavilion ZT3000 - regression from breezy

Michael Pardee launchpad at groovix.com
Wed Apr 26 19:17:03 UTC 2006


Here is a new easier workaround without removing all those packages (or using dpkg --force-all -r laptop-mode-tools, which will cause dependency problems later):

sudo mv /usr/sbin/laptop_mode /usr/sbin/laptop_mode.disabled

(of course upgrading to a new laptop-mode-tools package will put that file back into place, but hopefully it contains a fix for this by then)

Looking at that script, even when laptop mode is turned off in the config files it still writes some information to /proc/sys/... to shut laptop mode off, and I suspect that somehow that is screwing up the kernel/hard drive during hibernation writing.

So, we have two problems here: 
problem #1-- laptop mode screws things up even when it is completely "disabled"   in config files or "stopped" .  A quick fix for this would be to check if laptop-mode was never enabled and if not, do nothing for the "stop" action instead of "Adjusting 2.6 kernel parameters to disable laptop mode." (line 1038)
problem #2-- enabling laptop mode causes extremely slow hard drive writing during battery powered hibernation.  This sounds like it could be a lot harder to fix.

I won't be delving into this any further for a while, but I'd be happy to do more testing if there is a fix.

-- 
hibernate fails when not on AC power on HP Pavilion ZT3000 - regression from breezy
https://launchpad.net/bugs/35213




More information about the kernel-bugs mailing list