NigelCunningham / tuxonice-kernel-old

Old TuxOnIce kernel tree - Now on Gitlab
http://tuxonice.nigelcunningham.com.au
Other
58 stars 21 forks source link

tuxonice does not remove recordfail from grubenv #16

Closed ysalmon closed 8 years ago

ysalmon commented 8 years ago

As it resumes from hibernation, tuxonice does not remove the recordfail=1 from /boot/grub/grubenv, which causes grub to wait for a longer time before booting during subsequent resuming processes.

This happens on two different machines.

On one of them, the "standard" hibernation of 4.4.0-30-generic does unset recordfail. Earlier versions of the standard kernel had a bug which prevented proper resuming at all ; this is why I am only reporting this in tuxonice now, but it has happened in all 4.x versions I have been using since March.

Maybe it is a configuration problem but I cannot find which one. My systems do have a /etc/pm/sleep.d/10_grub-common which contains code to unset recordfail.

ysalmon commented 8 years ago

Hmm, the standard hibernation procedure now exhibits the same behaviour. I will investigate more broadly.