Re: How to debug system freeze?

2012-02-26 Thread Łukasz Sowa
Thanks Mulyadi,

> Hi Lukasz :)
> 
> On Sat, Feb 25, 2012 at 07:17, Łukasz Sowa  wrote:
>> 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?
> 
> 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

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: How to debug system freeze?

2012-02-24 Thread Łukasz Sowa
> 
> 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

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


How to debug system freeze?

2012-02-23 Thread Ł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?

Thanks,
Lukasz Sowa

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies