From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 09:45:39 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 2611616A4CF; Tue, 27 Jan 2004 09:45:39 -0800 (PST) Received: from milla.ask33.net (milla.ask33.net [217.197.166.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69D4143D73; Tue, 27 Jan 2004 09:45:15 -0800 (PST) (envelope-from nick@milla.ask33.net) Received: by milla.ask33.net (Postfix, from userid 1001) id 559663ABB51; Tue, 27 Jan 2004 18:44:54 +0100 (CET) Date: Tue, 27 Jan 2004 18:44:54 +0100 From: Pawel Jakub Dawidek To: freebsd-current@freebsd.org Message-ID: <20040127174454.GN565@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="vdqwC0msT4ilQ2it" Content-Disposition: inline X-PGP-Key-URL: http://garage.freebsd.pl/jules.asc X-OS: FreeBSD 4.8-RELEASE-p13 i386 X-URL: http://garage.freebsd.pl User-Agent: Mutt/1.5.1i cc: sam@freebsd.org Subject: Route related panic. 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: Tue, 27 Jan 2004 17:45:39 -0000 --vdqwC0msT4ilQ2it Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello. I get this panic today: recurse on non-recursive lock (sleep mutex) rentry @ /usr/src/sys/net/route= .c:1297 first acquired @ /usr/src/sys/net/route.c:182 db> trace rt_check+0x19c ether_output+0x62 ip_output+0xc66 tcp_output+0xab3 tcp_timer_persist+0x129 softclock+0x1ad ithread_loop+0x177 fork_exit fork_trampoline How to repeat: I can reproduce this panic by removing all routes and adding for example: # route add -net 10.1.0.0/16 10.1.253.253 I got little patch for this, but I'm not sure if my fix is correct (it works for me, but maybe it's just a workaround): http://garage.freebsd.pl/patches/route.c.patch As you can see I added one more additional check for simlar situation, but maybe it's just useless. --=20 Pawel Jakub Dawidek pawel@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net --vdqwC0msT4ilQ2it Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iQCVAwUBQBajlj/PhmMH/Mf1AQEDDQP/U3R77+ITKFZMG3O0lwp6ccE2MjvW4yHv 4QETxR3EisDBVfBz3W1fGsPhrRGtKAspVf/7tGaJ6eO63mGOO1LU9x7eS29PX1c0 wRZ/qv7GSOJYkYcMg+x1HxAz3HueQMSD3J5NRKANJiogJnuCytPQPWWt+AmINpx6 id26Fj/YtYQ= =A9uk -----END PGP SIGNATURE----- --vdqwC0msT4ilQ2it--