From owner-freebsd-current@FreeBSD.ORG Mon Dec 1 08:58:14 2003 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 D4CB716A4CE for ; Mon, 1 Dec 2003 08:58:14 -0800 (PST) Received: from mailserv1.neuroflux.com (mailserv1.neuroflux.com [204.228.228.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D6D043FEC for ; Mon, 1 Dec 2003 08:58:13 -0800 (PST) (envelope-from ryans@gamersimpact.com) Received: (qmail 91926 invoked by uid 89); 1 Dec 2003 16:58:13 -0000 Received: from unknown (HELO www2.neuroflux.com) (127.0.0.1) by localhost with SMTP; 1 Dec 2003 16:58:13 -0000 Received: from 128.101.213.114 (SquirrelMail authenticated user ryans@gamersimpact.com) by www2.neuroflux.com with HTTP; Mon, 1 Dec 2003 09:58:13 -0700 (MST) Message-ID: <49186.128.101.213.114.1070297893.squirrel@www2.neuroflux.com> Date: Mon, 1 Dec 2003 09:58:13 -0700 (MST) From: "Ryan" To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: multipart/mixed;boundary="----=_20031201095813_66128" X-Priority: 3 Importance: Normal Subject: Route LOR 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: Mon, 01 Dec 2003 16:58:14 -0000 ------=_20031201095813_66128 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit I know this has been mentioned a few times before but I think I was able to tie down what causes it more specifically. (Other reports of it just mention starting programs). For me the first time I try to set the default route I get the message. (DHClient doesn't like to set my route the first time I invoke it for some reason). I noticed the LOR in the syslog file but didn't know what caused it. Then the next two times after that I noticed it right after I explicitly set my route with "route change default ..." It seems to only happen the first time I change the default route after booting. I have 2 devices, Ethernet (xl) is static IP assigned through the rc scripts, and Wireless (wi) isn't brought up at boot. When I use the wirless I let dhclient bring the device up and then I usually have to tail /var/log/messages to get the router IP. I then issue the route command and that is when I get the LOR. However if I make subsequent calls to route, even changing the default route, I don't get the LOR. I've attached the LOR. If you need any other info please feel free to request it. -- Ryan "leadZERO" Sommers Gamer's Impact President ryans@gamersimpact.com ICQ: 1019590 AIM/MSN: leadZERO -= http://www.gamersimpact.com =- ------=_20031201095813_66128 Content-Type: text/plain; name="route-change-lor.txt" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="route-change-lor.txt" lock order reversal 1st 0xc4566264 rtentry (rtentry) @ /usr/src/sys/net/rtsock.c:387 2nd 0xc4481a7c radix node head (radix node head) @ /usr/src/sys/net/route.c:133 Stack backtrace: backtrace(c0692e54,c4481a7c,c069830a,c069830a,c0698360) at backtrace+0x17 witness_lock(c4481a7c,8,c0698360,85,c43f68a0) at witness_lock+0x672 _mtx_lock_flags(c4481a7c,0,c0698360,85,121) at _mtx_lock_flags+0xba rtalloc1(c474636c,1,0,436,0) at rtalloc1+0x79 rt_setgate(c4566200,c43f68a0,c474636c,184,0) at rt_setgate+0x258 route_output(c192fe00,c45c5870,80,c192fe00,1f80) at route_output+0x67f raw_usend(c45c5870,0,c192fe00,0,0) at raw_usend+0x73 rts_send(c45c5870,0,c192fe00,0,0) at rts_send+0x35 sosend(c45c5870,0,dc926c80,c192fe00,0) at sosend+0x44d soo_write(c456a8c4,dc926c80,c474ea80,0,c4543280) at soo_write+0x70 dofilewrite(c4543280,c456a8c4,3,804e940,80) at dofilewrite+0xfb write(c4543280,dc926d14,c06a6081,3ee,3) at write+0x6e syscall(2f,2f,2f,804e99c,80) at syscall+0x2c0 Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (4), eip = 0x280c20af, esp = 0xbfbfecec, ebp = 0xbfbfed08 --- ------=_20031201095813_66128--