From owner-freebsd-stable@FreeBSD.ORG Wed Mar 23 03:46:36 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE7FA16A4CE; Wed, 23 Mar 2005 03:46:36 +0000 (GMT) Received: from farside.isc.org (farside.isc.org [204.152.187.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D08343D41; Wed, 23 Mar 2005 03:46:36 +0000 (GMT) (envelope-from Peter_Losher@isc.org) Received: from [IPv6:2001:4f8:3:bb::37] (tardis.isc.org [IPv6:2001:4f8:3:bb::37]) by farside.isc.org (Postfix) with ESMTP id 780D6677F6; Wed, 23 Mar 2005 03:46:36 +0000 (UTC) (envelope-from Peter_Losher@isc.org) Message-ID: <4240E6BF.5010809@isc.org> Date: Tue, 22 Mar 2005 19:47:11 -0800 From: Peter Losher User-Agent: Mozilla Thunderbird 1.0 (X11/20050210) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Watson References: In-Reply-To: X-Enigmail-Version: 0.89.6.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5CDAD4E190CADEE701C0D1A0" cc: freebsd-stable@freebsd.org Subject: Re: Panic when ifconfig'ing nge card. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2005 03:46:37 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5CDAD4E190CADEE701C0D1A0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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" --------------enig5CDAD4E190CADEE701C0D1A0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCQOa/PtVx9OgEjQgRAuvSAJ4pYivV0fHIL4842Znqy5GBNp+PxgCglgnX 6Z/JCpsq0xm5zpNrVEonfD8= =iqxp -----END PGP SIGNATURE----- --------------enig5CDAD4E190CADEE701C0D1A0--