Re: 2.6.1-mm2

From: Randy.Dunlap
Date: Thu Jan 15 2004 - 18:28:04 EST


On Tue, 13 Jan 2004 20:22:52 +0100 "Prakash K. Cheemplavam" <PrakashKC@xxxxxx> wrote:

| Andrew Morton wrote:
| > "Prakash K. Cheemplavam" <PrakashKC@xxxxxx> wrote:
| >
| >>>>kernel: Badness in pci_find_subsys at drivers/pci/search.c:132
| >>>>
| >>>>Any ideas? Or do you need detailed kernel config and dmesg? I thought
| >>>>you might have an idea which atch caused this... My and his system are
| >>>>quite differnt. Major Common element seems only use of Athlon XP. He has
| >>>>VIA KT based system and I have nforce2. I thought it might be APIC, but
| >>>>I also got a lock up without APIC. (Though it seems more stable without
| >>>>APIC.)
| >>>
| >>>
| >>>If you could send us the stack backtrace that would help. Make sure that
| >>>you have CONFIG_KALLSYMS enabled. If you have to type it by hand, just the
| >>>symbol names will suffice - leave out the hex numbers.
| >>
| >>Sorry, I am a noob about such things. Above option is enabled in my
| >>config, but I dunno how get the stack backtrace. Could you point to me
| >>to something helpful?
| >
| >
| > When the kernel prints that `badness' message it then prints a stack
| > backtrace. That's what we want.
|
| But how to get that? When the machine locks up, I don't see anything
| written and only *sometimes* I got above message in the log -whcih I
| can only see afterwards. But there is nothing else realted to it in the
| log...

(I didn't see any replies to this...)

The usual answer is to use a serial console to log the kernel messages,
but not everyone has that option available to them.

Depending on your system, you might be able to use kmsgdump to
capture the final kernel messages to a floppy disk (if you have a
"legacy" type floppy). If you are interested in trying that,
the kmsgdump patch is available at
http://developer.osdl.org/rddunlap/kmsgdump/

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