From owner-freebsd-current Fri Feb 14 13:19: 2 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D67D537B405; Fri, 14 Feb 2003 13:18:59 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-52.dsl.lsan03.pacbell.net [63.207.60.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C2F844371; Fri, 14 Feb 2003 13:15:04 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 9CB26679DC; Fri, 14 Feb 2003 13:14:14 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 6C0101080; Fri, 14 Feb 2003 13:14:14 -0800 (PST) Date: Fri, 14 Feb 2003 13:14:14 -0800 From: Kris Kennaway To: Kris Kennaway Cc: Thomas Moestl , Morten Rodal , current@FreeBSD.ORG, alfred@FreeBSD.org, tjr@FreeBSD.org Subject: Re: Panic in fork() Message-ID: <20030214211414.GC2655@rot13.obsecurity.org> References: <20030208092406.GA12104@rot13.obsecurity.org> <20030208110512.GB12696@rot13.obsecurity.org> <20030208141542.GC11725@slurp.rodal.no> <20030208151226.GB624@crow.dom2ip.de> <20030208220456.GB15257@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wzJLGUyc3ArbnUjN" Content-Disposition: inline In-Reply-To: <20030208220456.GB15257@rot13.obsecurity.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --wzJLGUyc3ArbnUjN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 08, 2003 at 02:04:56PM -0800, Kris Kennaway wrote: > OK, I suspected that. >=20 > tjr was looking into this last night and proposed the following patch: >=20 > http://people.freebsd.org/~tjr/kf.diff OK, I got another panic with this patch in place, so I guess that's not enough. Maybe I should try Alfred's suggestion of changing the locks to exclusive locks. Fatal trap 12: page fault while in kernel mode cpuid =3D 1; lapic.id =3D 00000000 fault virtual address =3D 0x14 fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc01a1e2d stack pointer =3D 0x10:0xe3639c74 frame pointer =3D 0x10:0xe3639cbc code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 97943 (sh) kernel: type 12 trap, code=3D0 Stopped at fork1+0x3fd: cmpl %ebx,0x14(%eax) db> trace fork1(ca1458c0,14,0,e3639cd4,ca179068) at fork1+0x3fd fork(ca1458c0,e3639d10,c03445dc,407,0) at fork+0x52 syscall(2f,2f,2f,0,80fe000) at syscall+0x28e Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (2, FreeBSD ELF32, fork), eip =3D 0x807bd63, esp =3D 0xbfbff9fc= , ebp =3D 0xbfbffa28 --- db> Kris --wzJLGUyc3ArbnUjN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+TVwlWry0BWjoQKURAghMAJ47pN31gX9+AQPfhUpftznLg9jXzgCfS2bK JlF3C8O85cKWAE7smAyHH4k= =0nU0 -----END PGP SIGNATURE----- --wzJLGUyc3ArbnUjN-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message