Re: Debugging hard lockups (hardware?)

mikpe@csd.uu.se
Sun, 6 Apr 2003 12:12:38 +0200 (MEST)


On Sun, 06 Apr 2003 14:32:27 +0800, Nick Urbanik wrote:
>This machine locks up solid every few days. Caps Lock, Num Lock, Scroll Lock do
>not respond. The NMI watchdog does not kick in. Alt-SysRq-keys do not
>respond. Logs show no hint of any problem (that I recognise) before lockup.
>Occurs often during scrolling e.g., Mozilla. I swapped the Radeon 7000 for a
>7500, then an Nvidia.
...
>flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
>pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm

You didn't supply your .config.

It could be local APIC breakage. Try the following:

1. Disable fancy power management support in the kernel.
If you're using APM, either disable it completely, or keep
only APM_DO_ENABLE enabled. Specifically, CPU_IDLE and
DISPLAY_BLANK should be disabled.
The problem is that power management calls into the BIOS
_without_ disabling the local APIC before the call.
I know that several of my machines used to hang due to
the local APIC timer interrupt occurring while graphics
card BIOS code was running because of APM.

2. If the above doesn't help, disable local APIC support.

If neither of these help, then the problem isn't the local APIC.

/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/