Messages in this thread | | | From | Ruth Ivimey-Cook <> | Subject | Re: [ANNOUNCE] [patch] kksymoops, in-kernel symbolic oopser, 2.5.38-B0 | Date | Thu, 26 Sep 2002 18:16:27 +0100 |
| |
On Wednesday 25 September 2002 20:56, Ingo Molnar wrote: > ------------[ cut here ]------------ > kernel BUG at time.c:99! > invalid operand: 0000 > CPU: 1 > EIP: 0060:[<c011bd14>] Not tainted > EFLAGS: 00010246 > EIP is at sys_gettimeofday+0x84/0x90 > eax: 0000004e ebx: cef9e000 ecx: 00000000 edx: 00000068 > esi: 00000000 edi: 00000000 ebp: bffffad8 esp: cef9ffa0 > ds: 0068 es: 0068 ss: 0068 > Process gettimeofday (pid: 549, threadinfo=cef9e000 task=cf84d860) > Stack: 4001695c bffff414 40156154 00000004 c0112a40 cef9e000 400168e4
Something that's been bugging me of late: the Oops output is quite expensive in lines on the terminal, which means if you get a couple of oops before the kernel stops, you're unlikely to see the one that fired first.
To help with this, would it be good to use the following form for the initial part:
kernel BUG at time.c:99, invalid operand: 0000 CPU 1: EIP: 0060:[<c011bd14>] Not tainted EIP is at sys_gettimeofday+0x84/0x90 eax: 0000004e ebx: cef9e000 ecx: 00000000 edx: 00000068 esi: 00000000 edi: 00000000 ebp: bffffad8 esp: cef9ffa0 ds: 0068 es: 0068 ss: 0068 eflags: 00010246 [textflags]
Where [textflags] is some arch-specific representation of the flags word.
Also, in the same vein I would like to be able to say (as a kernel option):
if kernel-oops { copy console output to [printer|serial] port }
[printer output == ascii only, of course]
Regards,
Ruth - 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/
| |