From owner-freebsd-bugs Mon May 15 14:34:33 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA17153 for bugs-outgoing; Mon, 15 May 1995 14:34:33 -0700 Received: from jabba.fdn.org (jabba.fdn.org [193.55.4.70]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id OAA17131 for ; Mon, 15 May 1995 14:34:16 -0700 Received: (from uucp@localhost) by jabba.fdn.org (8.6.8/8.6.9) with UUCP id XAA22886; Mon, 15 May 1995 23:33:59 +0200 Received: (pb@localhost) by fasterix.frmug.fr.net (8.6.11/fasterix-941011) id XAA00401; Mon, 15 May 1995 23:31:01 +0200 From: Pierre Beyssac Message-Id: <199505152131.XAA00401@fasterix.frmug.fr.net> Subject: Re: panic in rtfree(): even more info To: wollman@halloran-eldar.lcs.mit.edu (Garrett Wollman) Date: Mon, 15 May 1995 23:30:59 +0200 (MET DST) Cc: pb@fasterix.freenix.fr, freebsd-bugs@freefall.cdrom.com, davidg@Root.COM In-Reply-To: <9505151848.AA18829@halloran-eldar.lcs.mit.edu> from "Garrett Wollman" at May 15, 95 02:48:05 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1184 Sender: bugs-owner@FreeBSD.org Precedence: bulk Garrett Wollman writes: > Peter Wemm suggested the following patch from Cornell: > ! if ((rt = saved_nrt)->rt_refcnt <= 0) > ! if ((rt = saved_nrt)) > > Since I have been unable to reproduce the problem, I'd like the people > experiencing the problem to see if this fixes anything... It seems to fix the problem, thanks ! Here is how to reproduce the panics (you will not always get a panic: rtfree, though) : Boot single, then : # ifconfig lo0 127.1 Repeat the following until the panic occurs (twice is generally enough) : # route add default 127.1 # ping 5.6.7.8 ^C # route delete default You can vary the ping (-c 1 for example) or do more than one between the route changes. I managed to get a panic: rtfree the first time using the following sequence, but it does not seem to work all the time : ifconfig lo0 alias 1.2.3.4 route add default 1.2.3.4 ping 5.6.7.8 ^C route delete default route add default 1.2.3.4 ping 5.6.7.8 -- Pierre Beyssac pb@fasterix.frmug.fr.net pb@fasterix.fdn.fr FreeBSD, NetBSD, Linux -- Il y a moins bien, mais c'est plus cher. You can also get less bang for more bucks. (translation F. Berjon)