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/