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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sep 21 2007 18:41, Chuck Ebbert wrote:
>On 09/21/2007 06:32 PM, Andi Kleen wrote:
>> From: Pavel Emelyanov <[email protected]>
>> 
>> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux