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

From: Russell King (rmk@arm.linux.org.uk)
Date: Sat Aug 10 2002 - 03:08:04 EST


On Sat, Aug 10, 2002 at 11:09:42AM +1000, Keith Owens wrote:
> 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.

In 2.5, I changed ARM to indicate the last word as the EIP (so we get more
context as Andrew Morton suggests.) However, ksymoops now seems to ignore
the '()' !

At some point I plan to check what happens if its the second to last. I
suspect ksymoops is looking for the strings ' (' and ') ', the second of
which obviously doesn't exist.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

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



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:21 EST