Date: Mon, 1 Dec 2003 09:58:13 -0700 (MST) From: "Ryan" <ryans@gamersimpact.com> To: freebsd-current@freebsd.org Subject: Route LOR Message-ID: <49186.128.101.213.114.1070297893.squirrel@www2.neuroflux.com>
next in thread | raw e-mail | index | archive | help
------=_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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49186.128.101.213.114.1070297893.squirrel>