From owner-freebsd-current@FreeBSD.ORG Thu Dec 9 20:33:38 2004 Return-Path: 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 9EFF816A4CE; Thu, 9 Dec 2004 20:33:38 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A99E643D49; Thu, 9 Dec 2004 20:33:36 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iB9KXZbj099596; Thu, 9 Dec 2004 22:33:35 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 79527-18; Thu, 9 Dec 2004 22:33:34 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iB9KXYYT099593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 9 Dec 2004 22:33:34 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iB9KXYCP091602; Thu, 9 Dec 2004 22:33:35 +0200 (EET) (envelope-from ru) Date: Thu, 9 Dec 2004 22:33:34 +0200 From: Ruslan Ermilov To: Max Laier Message-ID: <20041209203334.GB74745@ip.net.ua> References: <200412090411.42258.max@love2party.net> <20041209101524.GC62331@ip.net.ua> <200412091234.19912.max@love2party.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3lcZGd9BuhuYXNfi" Content-Disposition: inline In-Reply-To: <200412091234.19912.max@love2party.net> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: gnn@FreeBSD.org cc: Robert Watson cc: current@FreeBSD.org Subject: Re: protocol timer running before protocol is fully initialized (again) (was re: panic: mtx_lock() of spin mutex ...) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 09 Dec 2004 20:33:38 -0000 --3lcZGd9BuhuYXNfi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Max, On Thu, Dec 09, 2004 at 12:34:08PM +0100, Max Laier wrote: [...] > in ip_input() - that's not good! Can you send me the trace? I was under t= he=20 > impression that net send and esp. reveice is off during this part of the= =20 > initialization. Crashing ip_input() would question that assumption. >=20 I don't have a serial attached to this notebook (all my serial cables are at work), so this is hand-copied from the screen: Timecounters tick every 1.000 msec panic: mtx_lock() of spin mutex (null) @ /usr/src/sys/netinet/ip_input.c:10= 96 KDB: enter: panic [thread pid 27 tid 100001 ] Stopped at kdb_enter+0x32: leal 0(%esi),%esi db> where Tracing pid 27 tid 100001 td 0xc1219180 kdb_enter(...) at kdb_enter+0x32 panic(...) at panic+0x14d _mtx_lock_flags(...) at _mtx_lock_flags+0x114 ip_slowtimo(...) at ip_slowtimo+0x2f pfslowtimo(...) at pfslowtimo+0x82 softclock(...) at softclock+0x12f ithread_loop(...) at ithread_loop+0x210 fork_exit(...) at fork_exit+0xa9 fork_trampoline(...) at fork_trampoline+0x8 --- trap 0x1, eip =3D 0, esp =3D 0xcdbbbd7c, ebp =3D 0 --- PID 27 is "[CPU 0] swi4: clock sio Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --3lcZGd9BuhuYXNfi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBuLaeqRfpzJluFF4RAgwRAJ4/AB/AYOGWn3ERa/0y4qOxD/3rDgCcCsjT yMO/Qyg3itWP5wCKKSlA1lY= =QHAG -----END PGP SIGNATURE----- --3lcZGd9BuhuYXNfi--