[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Understanding the hibernation sequence



I'm trying to debug / figure out why resuming from hibernation often
results in a kernel panic on my machine. One thing I don't understand,
although I don't know whether it is in any way related to the problem,
is why the hibernate script seems to only sometimes actually do what
its supposed to do

E.g., sometimes I get this, which looks right:

Starting suspend at Tue Feb 7 15:59:02 EST 2012
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureUSuspendCapable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [89] Executing SaveKernelModprobe ...
Saved /proc/sys/kernel/modprobe is /sbin/modprobe
hibernate: [91] Executing ModulesUnloadBlacklist ...
Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules
Module version for ipw2100 is
Module version for ipw2200 is
Unloading blacklisted module psmouse (and dependencies)
Unloading psmouse ...
Removing modules with rmmod.
Unloading blacklisted module ehci_hcd (and dependencies)
Unloading ehci_hcd ...
Unloading blacklisted module uhci_hcd (and dependencies)
Unloading uhci_hcd ...
Module version for snd_bt_sco is
Module version for ndiswrapper is
Unloading blacklisted module mac80211 (and dependencies)
Unloading iwl4965 ...
Unloading iwl_legacy ...
Unloading mac80211 ...
hibernate: [95] Executing XHacksSuspendHook2 ...
xhacks: changing console from 7 to 15
hibernate: [98] Executing CheckRunlevel ...
hibernate: [99] Executing DoUSuspend ...
hibernate: Running /usr/sbin/s2disk ...

And then on resume:

hibernate: [90] Executing ModulesLoad ...
Loading module psmouse (from auto)...
Loading module ehci_hcd (from auto)...
Loading module uhci_hcd (from auto)...
Loading module iwl4965 (from auto)...
Loading module iwl_legacy (from auto)...
Loading module mac80211 (from auto)...
hibernate: [89] Executing RestoreKernelModprobe ...
hibernate: [85] Executing XHacksResumeHook2 ...
xhacks: changing console back to 7
hibernate: [70] Executing ClockRestore ...
hibernate: [59] Executing RemountXFSBootRW ...
hibernate: [11] Executing XHacksResumeHook1 ...
hibernate: [01] Executing NoteLastResume ...
hibernate: [01] Executing LockFilePut ...
Resumed at Tue Feb 7 15:59:38 EST 2012

But sometimes I just get the 'hibernate' lines, but no action seems to
actually occur:

Starting suspend at Tue Feb 7 15:55:11 EST 2012
hibernate: [01] Executing CheckLastResume ... 
hibernate: [01] Executing CheckRunlevel ... 
hibernate: [01] Executing LockFileGet ... 
hibernate: [01] Executing NewKernelFileCheck ... 
hibernate: [10] Executing EnsureUSuspendCapable ... 
hibernate: [11] Executing XHacksSuspendHook1 ... 
hibernate: [59] Executing RemountXFSBootRO ... 
hibernate: [89] Executing SaveKernelModprobe ... 
hibernate: [91] Executing ModulesUnloadBlacklist ... 
hibernate: [95] Executing XHacksSuspendHook2 ... 
hibernate: [98] Executing CheckRunlevel ... 
hibernate: [99] Executing DoUSuspend ... 
hibernate: Running /usr/sbin/s2disk ...
hibernate: [90] Executing ModulesLoad ... 
hibernate: [89] Executing RestoreKernelModprobe ... 
hibernate: [85] Executing XHacksResumeHook2 ... 
hibernate: [70] Executing ClockRestore ... 
hibernate: [59] Executing RemountXFSBootRW ... 
hibernate: [11] Executing XHacksResumeHook1 ... 
hibernate: [01] Executing NoteLastResume ... 
hibernate: [01] Executing LockFilePut ... 
Resumed at Tue Feb 7 15:55:53 EST 2012

Does this mean that for some reason, the bad modules are not getting
unloaded (among other things)? If so, I suppose that this could be
causing my problems - but why is this happening? I can find no rhyme or
reason for when things happen and when they don't.

Celejar


Reply to: