Panic when ifconfig'ing nge card.

Peter Losher Peter_Losher at
Tue Mar 22 19:46:37 PST 2005

Robert Watson wrote:

> The below is a NULL pointer dereference in the kernel.  Off-hand, it looks
> very likely to be a driver bug.  The question is -- where?  The best way
> to answer this is to compile with DDB/KDB, and do a stack trace from DDB,
> or get a dump and do similar things with gdb.

Here it is again with DDB/GDB compiled in and a stack trace:

Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0x8
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0561e4a
stack pointer           = 0x10:0xe7d1bc9c
frame pointer           = 0x10:0xe7d1bcac
code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 40 (irq29: nge0)
[thread pid 40 tid 100011 ]
Stopped at      nge_newbuf+0x6a:        movl    0x8(%ebx),%ecx
db> trace
Tracing pid 40 tid 100011 td 0xc56d9190
nge_newbuf(c5891c00,e9a49000,c5c6ec00) at nge_newbuf+0x6a
nge_rxeof(c5891c00) at nge_rxeof+0x10e
nge_intr(c5891c00) at nge_intr+0x15e
ithread_loop(c56d2e00,e7d1bd48) at ithread_loop+0x159
fork_exit(c060571c,c56d2e00,e7d1bd48) at fork_exit+0x75
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xe7d1bd7c, ebp = 0 ---

Best Wishes - Peter
Peter_Losher at | ISC | OpenPGP 0xE8048D08 | "The bits must flow"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-stable mailing list