Date: Tue, 22 Mar 2005 19:47:11 -0800 From: Peter Losher <Peter_Losher@isc.org> To: Robert Watson <rwatson@FreeBSD.org> Cc: freebsd-stable@freebsd.org Subject: Re: Panic when ifconfig'ing nge card. Message-ID: <4240E6BF.5010809@isc.org> In-Reply-To: <Pine.NEB.3.96L.1050323024041.31147F-100000@fledge.watson.org> References: <Pine.NEB.3.96L.1050323024041.31147F-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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@isc.org | ISC | OpenPGP 0xE8048D08 | "The bits must flow"
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
iD8DBQFCQOa/PtVx9OgEjQgRAuvSAJ4pYivV0fHIL4842Znqy5GBNp+PxgCglgnX
6Z/JCpsq0xm5zpNrVEonfD8=
=iqxp
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4240E6BF.5010809>
