From owner-freebsd-current@FreeBSD.ORG Thu Nov 15 12:07:46 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5173616A418 for ; Thu, 15 Nov 2007 12:07:46 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 14EC513C447 for ; Thu, 15 Nov 2007 12:07:46 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 36DF81CCE3; Thu, 15 Nov 2007 13:07:44 +0100 (CET) Date: Thu, 15 Nov 2007 13:07:44 +0100 From: Ed Schouten To: Benno Rice Message-ID: <20071115120744.GT17028@hoeg.nl> References: <57A598F5-54A4-433D-9DB2-6141BC50B554@jeamland.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="28wbjzzu+2Xmo01Z" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Cc: current@freebsd.org Subject: Re: Repeatable crash with fdisk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2007 12:07:46 -0000 --28wbjzzu+2Xmo01Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Benno Rice wrote: > Fatal trap 12: page fault while in kernel mode > cpuid =3D 1; apic id =3D 01 > fault virtual address =3D 0x20 > fault code =3D supervisor read data, page not present > instruction pointer =3D 0x8:0xffffffff80256ac4 > stack pointer =3D 0x10:0xffffffff9ed19b80 > frame pointer =3D 0x10:0xffffffff9ed19bd0 > code segment =3D base 0x0, limit 0xfffff, type 0x1b > =3D DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > current process =3D 2 (g_event) > [thread pid 2 tid 100014 ] > Stopped at g_mbr_config+0x64: movq 0x20(%rax),%r15 > db> bt > Tracing pid 2 tid 100014 td 0xffffff00010946a0 > g_mbr_config() at g_mbr_config+0x64 > g_run_events() at g_run_events+0x1b8 > g_event_procbody() at g_event_procbody+0x57 > fork_exit() at fork_exit+0x11f > fork_trampoline() at fork_trampoline+0xe > --- trap 0, rip =3D 0, rsp =3D 0xffffffff9ed19d30, rbp =3D 0 --- > db> Are you running FreeBSD/i386? If so, I guess gsp is NULL in g_mbr_config(). Not sure. Can you run the following command: addr2line -e That will return the C statement where it went wrong. Thanks. Yours, --=20 Ed Schouten WWW: http://g-rave.nl/ --28wbjzzu+2Xmo01Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHPDaQ52SDGA2eCwURAk45AJ0S7iN5uPglqzoNHhWIT6BVCn8vmQCeLW+R oflWxZTSRKm3MZ4K7G99pbI= =SMUI -----END PGP SIGNATURE----- --28wbjzzu+2Xmo01Z--