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 18:44:22 +1000


On Sat, 10 Aug 2002 09:08:04 +0100,
Russell King <rmk@arm.linux.org.uk> wrote:
>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.

ksymoops is scanning for (oops.c line 361)

"([<(]?)" /* 2 */
"([0-9a-fA-F]+)" /* 3 */
"[)>]?"
" *"

The trailing [)>] is required but any space after that is optional. It
works for me.

Code: e7973108 e1a02423 e5c42001 e5c43000 (e1a02823)

Code; c00160b8 No symbols available
00000000 <_EIP>:
Code; c00160b8 No symbols available
0: 08 31 or %dh,(%ecx)
Code; c00160ba No symbols available
2: 97 xchg %eax,%edi
Code; c00160bb No symbols available
3: e7 23 out %eax,$0x23
Code; c00160bd No symbols available
5: 24 a0 and $0xa0,%al
Code; c00160bf No symbols available
7: e1 01 loope a <_EIP+0xa> c00160c2 No symbols available
Code; c00160c1 No symbols available
9: 20 c4 and %al,%ah
Code; c00160c3 No symbols available
b: e5 00 in $0x0,%eax
Code; c00160c5 No symbols available
d: 30 c4 xor %al,%ah
Code; c00160c7 No symbols available <=====
f: e5 23 in $0x23,%eax <=====
Code; c00160c9 No symbols available
11: 28 a0 e1 00 00 00 sub %ah,0xe1(%eax)

Disassembling arm as i386 is pointless, but it shows that ksymoops
2.4.5 recognises () as the last code fragment.

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