From: "=?ISO-8859-2?Q?Pawe=B3_Ma=B3achowski?=" <pawmal@unia.3lo.lublin.pl> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/42030: panic when zebra works on detaching tun interface Message-ID: <20020831111339Z2805811-15527%2B3@mx1.lublin.pl> In-Reply-To: <200208261206.g7QC6Nh8077791@www.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26 Aug 02, at 5:06, Paweł Małachowski wrote: > The example vtund.conf section is: > foo-blah { > pass xxx; > device tun10; > up { > ifconfig "%% 10.61.7.254 10.61.7.253 netmask 255.255.255.255"; > }; > down { > ifconfig "%% delete 10.61.7.254"; > }; > } > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x4 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc0249839 > stack pointer = 0x10:0xcdf65d1c > frame pointer = 0x10:0xcdf65d28 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 306 (zebra) > interrupt mask = > trap number = 12 > panic: page fault > > syncing disks... 9 3 > done > Uptime: 5h7m18s > #6 0xc0249839 in arp_rtrequest (req=1, rt=0xc1857700, info=0xcdf65d98) > at ../../netinet/if_ether.c:188 > >How-To-Repeat: > As above, try to estabilish and disconnect tunnels when Zebra is running on it. > Note: kernel panic happens only sometimes. But when the panic comes, there is always zebra (not ospfd) process as "current process". > >Fix: > Don't know. I've noted this work-around works for me: Don't use down {} section in vtund to delete IP assingned to the tun interface. I've disabled `ifconfig delete' command in down {} section and no kernel panic related with zebra process occured. It seems arp_rtrequest() can cause (and does) kernel panic when IP address was removed from tun interface. -- Paweł Małachowski, mailto:pawmal#freebsd,lublin,pl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020831111339Z2805811-15527%2B3>