Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question
    
Which laptop model is that? Does disabling suspend-on-lid-close help? –  Renan Feb 22 '12 at 19:00
    
Similar problem here, I also wonder this question. Kernel 2.6.32-5-686 –  invert Feb 22 '12 at 19:20
    
It's Dell Studio 1555. I don't need any workarounds, I want to fix this problem :). If someone's interested how display looks after freeze: [1] dl.dropbox.com/u/22768404/DSC_0011.JPG [2] dl.dropbox.com/u/22768404/DSC_0012.JPG The rectangles are blurring and moving. –  Łukasz Sowa Feb 22 '12 at 19:34
    
Which is the video card on this laptop and what driver you are using for it? –  Renan Feb 22 '12 at 20:03
    
ATI Radeon 4570, Catalyst. Btw., fixing this particular problem is not the subject of the question, rather debugging system freeze :) –  Łukasz Sowa Feb 22 '12 at 21:43

1 Answer 1

The kernel probably did log some information, but they never made it on time to the disk. If your laptop has got a serial port, set the kernel to use it as console (add console=ttyS[X] as boot option); you will see the messages there from another machine as it happens. If not, you can use an Ethernet port and try netconsole.

In general, you have a problem with suspending you machine, which happens quite often. There a several guides on the internet about debugging it see here or here.

share|improve this answer
    
Yeah, and this link can be useful: wiki.openvz.org/Remote_console_setup –  poige Apr 15 '12 at 6:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.