From owner-freebsd-stable@FreeBSD.ORG Sun Nov 28 23:07:18 2004 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 C2EB616A4CE for ; Sun, 28 Nov 2004 23:07:18 +0000 (GMT) Received: from ms-dienst.rz.rwth-aachen.de (ms-2.rz.RWTH-Aachen.DE [134.130.3.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72CD643D46 for ; Sun, 28 Nov 2004 23:07:18 +0000 (GMT) (envelope-from chris@unixpages.org) Received: from r220-1 (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) with ESMTP id <0I7W00BGSW802A@ms-dienst.rz.rwth-aachen.de> for stable@freebsd.org; Mon, 29 Nov 2004 00:07:12 +0100 (MET) Received: from relay.rwth-aachen.de ([134.130.3.1]) by r220-1 (MailMonitor for SMTP v1.2.2 ) ; Mon, 29 Nov 2004 00:07:11 +0100 (MET) Received: from haakonia.hitnet.rwth-aachen.de (haakonia.hitnet.RWTH-Aachen.DE [137.226.181.92])iASN7BUV014712 for ; Mon, 29 Nov 2004 00:07:11 +0100 (MET) Received: from gondor.middleearth (gondor.middleearth [192.168.1.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))(Postfix) with ESMTP id 4A68D28442 for ; Mon, 29 Nov 2004 00:07:06 +0100 (CET) Received: by gondor.middleearth (Postfix, from userid 1001) id 080B622859; Mon, 29 Nov 2004 00:07:05 +0100 (CET) Date: Mon, 29 Nov 2004 00:07:05 +0100 From: Christian Brueffer To: stable@freebsd.org Message-id: <20041128230705.GC16796@unixpages.org> MIME-version: 1.0 Content-type: multipart/signed; boundary=bKyqfOwhbdpXa4YI; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 6.0-CURRENT X-PGP-Key: http://people.freebsd.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D Subject: panic: lock (sleep mutex) inp not locked 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: Sun, 28 Nov 2004 23:07:19 -0000 --bKyqfOwhbdpXa4YI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, got this panic today on an SMP system. Modifications to the kernel are polling and altq support for the sf driver and removed SMP ifdefs from sys/kern/kern_poll.c. FreeBSD haakonia.hitnet.RWTH-Aachen.DE 5.3-STABLE FreeBSD 5.3-STABLE #61: S= at Nov 27 02:59:01 CET 2004 chris@haakonia.hitnet.RWTH-Aachen.DE:/usr/home/build/usr/home/build/src/sys= /LORIEN i386 Sources are from November 22nd. Crashdump and debug kernel are available for further investigation. panic: lock (sleep mutex) inp not locked @ /usr/home/build/src/sys/netinet/= tcp_input.c:2521 cpuid =3D 1 KDB: enter: panic [thread 100034] Stopped at kdb_enter+0x2b: nop db> tr kdb_enter(c06c6c54) at kdb_enter+0x2b panic(c06caa02,c06db3d0,c06d57ce,c06d2493,9d9) at panic+0x127 witness_unlock(c3f4d57c,8,c06d2493,9d9) at witness_unlock+0xbc _mtx_unlock_flags(c3f4d57c,0,c06d2493,9d9,0) at _mtx_unlock_flags+0x5b tcp_input(c44bb000,14,5cb5e289,0,0) at tcp_input+0x2fb0 ip_input(c44bb000) at ip_input+0x52d netisr_dispatch(2,c44bb000,0,c44b0800,c1a93c00) at netisr_dispatch+0x58 ether_demux(c1a93c00,c44bb000,297,96,d74f6400) at ether_demux+0x292 ether_input(c1a93c00,c44bb000,c1a93e84,0,c0833d13) at ether_input+0x269 sf_rxeof(c1a93c00,c1a93c00,c1a93e84,c07276c0,d543ecbc) at sf_rxeof+0x183 sf_poll_locked(c1a93c00,0,5,c1a93e84,0) at sf_poll_locked+0x6b sf_poll(c1a93c00,0,5) at sf_poll+0x2e netisr_poll(0) at netisr_poll+0x188 swi_net(0) at swi_net+0x81 ithread_loop(c19e1080,d543ed48,c19e1080,c051aa34,0) at ithread_loop+0x124 fork_exit(c051aa34,c19e1080,d543ed48) at fork_exit+0xa4 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip =3D 0, esp =3D 0xd543ed7c, ebp =3D 0 --- db> show locks exclusive sleep mutex tcp r =3D 0 (0xc0755dac) locked @ /usr/home/build/src/sys/netinet/tcp_input.c:617 exclusive sleep mutex Giant r =3D 1 (0xc0728320) locked @ /usr/home/build/src/sys/kern/kern_poll.c:332 db> show pcpu cpuid =3D 1 curthread =3D 0xc19e3640: pid 38 "swi1: net" curpcb =3D 0xd543eda0 fpcurthread =3D none idlethread =3D 0xc19a84b0: pid 11 "idle: cpu1" APIC ID =3D 1 currentldt =3D 0x28 spin locks held: db> - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --bKyqfOwhbdpXa4YI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBqloZbHYXjKDtmC0RAleAAKDR55gjQBmEcQQdf73bpcN1HfaGWgCg1Nj9 BKmdZkKpkheK/PXejeRrigk= =yzeR -----END PGP SIGNATURE----- --bKyqfOwhbdpXa4YI--