From owner-freebsd-stable@FreeBSD.ORG Sat Dec 30 14:12:14 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9DD0A16A503 for ; Sat, 30 Dec 2006 14:12:14 +0000 (UTC) (envelope-from freebsd@orchid.homeunix.org) Received: from orchid.homeunix.org (aum95.neoplus.adsl.tpnet.pl [83.27.20.95]) by mx1.freebsd.org (Postfix) with ESMTP id EEF9A13C43E for ; Sat, 30 Dec 2006 14:12:13 +0000 (UTC) (envelope-from freebsd@orchid.homeunix.org) Received: from blackacidevil.orchid.homeunix.org (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.6/8.13.6) with ESMTP id kBUEBtGG008185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 30 Dec 2006 15:12:04 +0100 (CET) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <459673A4.8030009@orchid.homeunix.org> Date: Sat, 30 Dec 2006 15:11:48 +0100 From: Karol Kwiatkowski User-Agent: Thunderbird 2.0b1 (X11/20061222) MIME-Version: 1.0 To: Ivan Voras References: <20061230035722.L39715@thebighonker.lerctr.org> <4596543D.2090700@orchid.homeunix.org> In-Reply-To: X-Enigmail-Version: 0.94.1.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig89D7BC7ED112F0F66E0FD539" X-Virus-Scanned: ClamAV 0.88.7/2396/Sat Dec 30 12:57:43 2006 on orchid.homeunix.org X-Virus-Status: Clean Cc: freebsd-stable@freebsd.org Subject: Re: 6.2-PRE: Fatal Trap? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Dec 2006 14:12:14 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig89D7BC7ED112F0F66E0FD539 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ivan Voras wrote: > Karol Kwiatkowski wrote: >=20 >> This works: FreeBSD 6.2-PRERELEASE #0: Thu Dec 14 11:34:36 CET 2006 >> This doesn't: FreeBSD 6.2-PRERELEASE #0: Sat Dec 30 11:27:11 CET 2006 >=20 >> I'm not sure it that's all that matters, I can supply more information= >> if needed. >=20 > Yes, you'll need to send at least a kernel stack backtrace. See here: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ke= rneldebug-online-ddb.html >=20 > Get it to start the debugger on panic and post the backtrace (bt). Thanks for the link, I hope I've done it right. Here it is: Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x74 fault code =3D supervisor read, page not present instruction pointer =3D 0x20:0xc055d18d stack pointer =3D 0x28:0xe989dbbc frame pointer =3D 0x28:0xe989dbc0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D resume, IOPL =3D 0 current process =3D 637 (ntpd) [thread pid 637 tid 100059 ] Stopped at turnstile_setowner+0xd: movl 0x74(%ecx),%eax db> bt Tracing pid 637 tid 100059 td 0xc4de2780 turnstile_setowner(c4de9240,0,c4dc9240,c07201e0,c5102090,...) at turnstile_setowner+0xd turnstile_wait(c5101090,0,c5101000,c07234e0,e989dc24,...) at turnstile_wait+0xca _mtx_lock_sleep(c5102090,c4de2780,0,0,0,...) at _mtx_lock_sleep+0xb4 in_pcballoc(c4e892c8,c07234e0,10000,c06c8de5,38,...) at in_pcballoc+0xbe tcp_attach(c4e892c8,c4e8933c,c06c8de5,0,c4e892c8,...) at tcp_attach+0x58 tcp_usr_attach(c4e892c8,0,c4de2780,0,0,...) at tcp_usr_attach+0x63 socreate(2,e989dcb8,1,0,c4ab1c90,...) at socreate+0x167 socket(c4de2780,e989dd04,c,c4de2780,80d3000,...) at socket+0xb3 syscall(3b,3b,3b,0,7,...) at syscall+0x380 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (97, FreeBSD ELF32, socket), eip =3D 0x282939d3, esp =3D 0xbfbfeb1c, ebp =3D 0xbfbfebf8 --- db > HTH, Karol --=20 Karol Kwiatkowski OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc --------------enig89D7BC7ED112F0F66E0FD539 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.6 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFlnOqezeoPAwGIYsRCAoaAKCTPJMla3bGuCH53mkKxVNpgHIjqACfUjub OA71XRCRKP6EzUCw3vIaGY4= =fhH5 -----END PGP SIGNATURE----- --------------enig89D7BC7ED112F0F66E0FD539--