Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2004 18:44:54 +0100
From:      Pawel Jakub Dawidek <nick@garage.freebsd.pl>
To:        freebsd-current@freebsd.org
Cc:        sam@freebsd.org
Subject:   Route related panic.
Message-ID:  <20040127174454.GN565@garage.freebsd.pl>

next in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040127174454.GN565>