Re: [PATCH] [6/50] i386: clean up oops/bug reports

From: Jan Engelhardt
Date: Sat Sep 22 2007 - 05:47:54 EST



On Sep 21 2007 18:41, Chuck Ebbert wrote:
>On 09/21/2007 06:32 PM, Andi Kleen wrote:
>> From: Pavel Emelyanov <xemul@xxxxxxxxxx>
>>
>> Typically the oops first lines look like this:
>>
>> BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
>> printing eip:
>> c049dfbd
>> *pde = 00000000
>> Oops: 0002 [#1]
>> PREEMPT SMP
>> ...
>>
>> Such output is gained with some ugly if (!nl) printk("\n"); code and
>> besides being a waste of lines, this is also annoying to read. The
>> following output looks better (and it is how it looks on x86_64):
>>
>> BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000
>> printing eip: c049dfbd *pde = 00000000
>> Oops: 0002 [#1] PREEMPT SMP

In fact, the EIP can be left out, because it is printed later
as part of the register dump anyway.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/