How to debug system freeze?
Hi,
I'm experiencing strange bug when I close lid of my laptop - system freezes (no reaction on keys, no response form ssh) hard and displays some strange colour effects. The kernel log (after reboot) shows nothing. My question is - how to debug it? Maybe there's a way to track last called kernel function or something similar?
Thanks,
Lukasz Sowa
Hi...
Quoted 7 lines · ?ukasz Sowa
Hi,
I'm experiencing strange bug when I close lid of my laptop - system freezes (no reaction on keys, no response form ssh) hard and displays some strange colour effects. The kernel log (after reboot) shows nothing. My question is - how to debug it? Maybe there's a way to track last called kernel function or something similar?
Hm, sounds like a bug during suspend. Perhaps you can do "strace pm-suspend". And/or enable CONFIG_DETECT_SOFTLOCKUP. And hopefully you can pinpoint the related syscall or kernel instruction that leads to the bug
Signature · 7 lines
regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
Quoted 6 lines
Hm, sounds like a bug during suspend. Perhaps you can do "strace pm-suspend". And/or enable
CONFIG_DETECT_SOFTLOCKUP. And hopefully you can pinpoint the related syscall or kernel instruction that leads to the bug
It's not that easy. The problem occurs only when I'm going to suspend with closing laptop's lid and it does not happen every time (but mostly yes). I'll try to enable CONFIG_DETECT_SOFTLOCKUP but if it's hard freeze, will I see the output?
Regards,
Lukasz Sowa
Hi Lukasz :)
Quoted 4 lines · ?ukasz Sowa
It's not that easy. The problem occurs only when I'm going to suspend with closing laptop's lid and it does not happen every time (but mostly yes). I'll try to enable
CONFIG_DETECT_SOFTLOCKUPbut if it's hard freeze, will I see the output?
not everytime...ok that makes situation harder. Maybe you need serial console and hook another computer to see the kernel log.
Signature · 7 lines
regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
Thanks Mulyadi,
Quoted 11 lines
Hi Lukasz :)
Quoted 4 lines · ?ukasz Sowa
It's not that easy. The problem occurs only when I'm going to suspend with closing laptop's lid and it does not happen every time (but mostly yes). I'll try to enable
CONFIG_DETECT_SOFTLOCKUPbut if it's hard freeze, will I see the output?not everytime...ok that makes situation harder. Maybe you need serial console and hook another computer to see the kernel log.
I'll try to dump memory using FireWire because that's only useful port I have in my laptop. Is that ok?
Regards,
Lukasz Sowa
Hi Lukasz :)
Quoted 2 lines · ?ukasz Sowa
I'll try to dump memory using FireWire because that's only useful port I have in my laptop. Is that ok?
I can't tell for sure, but that sounds feasible. Good luck....
Signature · 7 lines
regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
Quoted 9 lines · ?ukasz Sowa
Hi,
I'm experiencing strange bug when I close lid of my laptop - system freezes (no reaction on keys, no response form ssh) hard and displays some strange colour effects. The kernel log (after reboot) shows nothing. My question is - how to debug it? Maybe there's a way to track last called kernel function or something similar?
Maybe you can try the pm_test framework (see Documentation/power/basic-pm- debugging.txt) to narrow down the problem.
Regards,
Srivatsa S. Bhat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120228/cea3beec/attachment-0001.html