From owner-freebsd-bugs Sat Aug 31 4:13:49 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 431F737B400 for ; Sat, 31 Aug 2002 04:13:47 -0700 (PDT) Received: from mx1.lublin.pl (mx1.lublin.pl [212.182.63.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87E9343E3B for ; Sat, 31 Aug 2002 04:13:46 -0700 (PDT) (envelope-from pawmal@unia.3lo.lublin.pl) Received: from proxy.zin.lublin.pl ([212.182.126.66]:16764 "EHLO towah-xp") by mx1.lublin.pl with ESMTP id ; Sat, 31 Aug 2002 13:13:34 +0200 From: "=?ISO-8859-2?Q?Pawe=B3_Ma=B3achowski?=" Organization: unidentified flying modems To: freebsd-bugs@FreeBSD.org Date: Sat, 31 Aug 2002 13:13:54 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-2 Content-transfer-encoding: 8BIT Comments: Sender has elected to use 8-bit data in this message. If problems arise, refer to postmaster at sender's site. Subject: Re: kern/42030: panic when zebra works on detaching tun interface Reply-To: pawmal@unia.3lo.lublin.pl In-reply-to: <200208261206.g7QC6Nh8077791@www.freebsd.org> X-mailer: Pegasus Mail for Win32 (v3.12b) Message-Id: <20020831111339Z2805811-15527+3@mx1.lublin.pl> Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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