Florian Beier wrote:
Am Donnerstag, 18. Mai 2006 08:17 schrieben Sie:

good old printk may help you to track a trace of where it's going.
-Amit


Watchdog doesn't work - indeed :(.

Given this is an x86 box, I suspect a configuration problem around the NMI rather than a double fault (which, I think, will force a reboot rather than a hang). It is also possible that the system is not as frozen as you are reporting...

Try this:

Before the failure, break in with a ^C and do a "bt". This should back trace to prior to the interrupt. If, instead, it back traces to the scheduler you are running a system with interrupt task handlers. There should be a way to configure KGDB to do direct interrupts for the ^C. I know I did this for one of the "rt" system configurations. Given this works (i.e. it bts into an interrupt) see below...

Make sure that you have the NMI watchdog properly configured. The easy way to do this is with an SMP box where you can use the APIC set up with the PIT interrupts. If it is not an SMP box, if you have a local APIC you can still use the APIC thing. Otherwise, you need a box with performance registers that can trigger NMI interrupts. Please see ../arch/ie86/kernel/nmi.c for details on this. First test along this line is to grep .config for NMI to see what actually is configured.


How can I make shure, that the printks are all written from the buffer to screen before the system freezes? Or is it possible to write any output directly to the serial interface?

I think that an untagged printk forces output prior to returning. Others may know more on this, but I am sure that, if the untagged printk does not wait, there is a tag (or a method) that will wait.

George
--

Florian

--
George Anzinger   [EMAIL PROTECTED]
HRT (High-res-timers):  http://sourceforge.net/projects/high-res-timers/


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to