Re: kernel BUG at /usr/src/linux-2.5.30/include/linux/dcache.h:261!

Keith Owens (kaos@ocs.com.au)
Sat, 10 Aug 2002 11:09:42 +1000


On Fri, 09 Aug 2002 14:00:37 -0700,
Andrew Morton <akpm@zip.com.au> wrote:
>It would be much more useful if the oops code were to dump the
>text preceding the exception EIP rather than after it, actually.
>I think Keith said that ksymoops supports that.

Not only does ksymoops support it but some architectures already do
this. Mind you, they are not consistent :(

Alpha: Code: 44220001 f4200003 46520400 <a77d9c38> 6b9b4a40 a44803a8 42425401 42c10403 40603401
Arm: Code: e7973108 e1a02423 (e5c42001) e5c43000 e1a02823

If any instruction in the code line is enclosed in <> or () then
ksymoops assumes that the first byte is EIP. Otherwise the first byte
of the line is EIP. Anybody want to update i386/ia64/mips/... oops code
to dump context around the failing instruction? Maximum of 64 bytes in
the code line please.

-
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/