Date: Sat, 13 Dec 1997 14:04:07 +0100 From: pb@fasterix.freenix.org (Pierre Beyssac) To: freebsd-current@freebsd.org Subject: panics when stopping pppd Message-ID: <19971213140407.LZ64565@@>
next in thread | raw e-mail | index | archive | help
I have a problem when using -current /usr/sbin/pppd, which panics
the machine when pppd is killed at the end of the connection. It
doesn't happen quite every time I try: I once killed pppd just
after connecting and it didn't panic. It makes me think this might
have to do with dynamic routes (I'm running gated to announce the
route to my /28 subnet to the outside and receive several others
/28 routes).
I have no idea if this bug is recent or not, this machine was a
FreeBSD 2.2.2 until yesterday.
Here's the kernel stack trace (ctm patch 3166 or 3167).
#3 0xf0190db4 in trap_pfault ()
#4 0xf0190a1f in trap ()
#5 0x6e655000 in ?? ()
#6 0xf014dd3c in in_ifadownkill ()
#7 0xf0147740 in rn_walktree ()
#8 0xf014dd80 in in_ifadown ()
#9 0xf015470b in rip_ctlinput ()
#10 0xf0123c2d in pfctlinput ()
#11 0xf013f3c9 in if_down ()
#12 0xf013f716 in ifioctl ()
#13 0xf011b39e in soo_ioctl ()
#14 0xf0118d43 in ioctl ()
#15 0xf01915b3 in syscall ()
The address in in_ifadownkill (0xf014dd3c) is the instruction just
after the call to rtroute, which seems to indicate that the real
culprit is rtroute:
0xf014dd35 <in_ifadownkill+37>: pushl $0x2
0xf014dd37 <in_ifadownkill+39>: call 0xf01482b0 <rtrequest>
0xf014dd3c <in_ifadownkill+44>: addl $0x18,%esp
0xf014dd3f <in_ifadownkill+47>: testl %eax,%eax
I'm trying to investigate some more. I'll keep the crash dump in
case anyone wants more details (registers or other).
Here are the routes when I'm not connected:
Destination Gateway Flags Refs Use Netif Expire
127 127.0.0.1 URc 0 0 lo0
127.0.0.1 127.0.0.1 UH 10 135 lo0
193.56.58.96/28 link#1 UC 0 0
Just after I connected:
Destination Gateway Flags Refs Use Netif Expire
default 193.56.58.33 UGSc 4 0 ppp0
127 127.0.0.1 URc 0 0 lo0
127.0.0.1 127.0.0.1 UH 10 136 lo0
193.56.58.33 193.56.58.97 UH 7 16 ppp0
193.56.58.96/28 link#1 UC 0 0
After gated receives the RIP announce for the other routes:
Destination Gateway Flags Refs Use Netif Expire
default 193.56.58.33 UGSc 3 0 ppp0
127 127.0.0.1 URc 0 0 lo0
127.0.0.1 127.0.0.1 UH 10 137 lo0
193.56.58.32/28 193.56.58.33 UGc 0 0 ppp0
193.56.58.33 193.56.58.97 UH 11 16 ppp0
193.56.58.48/28 193.56.58.33 UGc 0 0 ppp0
193.56.58.96/28 link#1 UC 0 0
193.56.58.112/28 193.56.58.33 UGc 0 0 ppp0
193.56.58.240/28 193.56.58.33 UGc 1 0 ppp0
--
Pierre Beyssac pb@fasterix.frmug.org pb@fasterix.freenix.org
{Free,Net,Open}BSD, Linux : il y a moins bien, mais c'est plus cher
Free domains: http://www.eu.org/ or mail dns-manager@EU.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971213140407.LZ64565>
