From owner-freebsd-current@FreeBSD.ORG Mon Aug 27 19:08:39 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8EF31065676 for ; Mon, 27 Aug 2012 19:08:38 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from zcs04.jnb1.cloudseed.co.za (zcs04.jnb1.cloudseed.co.za [41.154.0.161]) by mx1.freebsd.org (Postfix) with ESMTP id 243F18FC24 for ; Mon, 27 Aug 2012 19:08:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zcs04.jnb1.cloudseed.co.za (Postfix) with ESMTP id 5217C2A82A77 for ; Mon, 27 Aug 2012 21:08:36 +0200 (SAST) X-Virus-Scanned: amavisd-new at zcs04.jnb1.cloudseed.co.za Received: from zcs04.jnb1.cloudseed.co.za ([127.0.0.1]) by localhost (zcs04.jnb1.cloudseed.co.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6vI+V4RXxeW3 for ; Mon, 27 Aug 2012 21:08:32 +0200 (SAST) Received: from clue.co.za (unknown [41.154.88.19]) by zcs04.jnb1.cloudseed.co.za (Postfix) with ESMTPSA id 51DFB2A82A60 for ; Mon, 27 Aug 2012 21:08:32 +0200 (SAST) Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.76 (FreeBSD)) (envelope-from ) id 1T64fn-0000Vd-34 for current@freebsd.org; Mon, 27 Aug 2012 21:08:31 +0200 To: current@freebsd.org From: "Ian FREISLICH" X-Attribution: BOFH Date: Mon, 27 Aug 2012 21:08:31 +0200 Message-Id: Cc: Subject: Panic on use of "deleted" route. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 27 Aug 2012 19:08:39 -0000 Hi I was wondering if anyone else is seeing this... I get a panic shortly after ppp(8) exits. I haven't been able to get a crashdump from a recent -CURRENT system, so in that absence, I'll include output from an older system. Interestingly, the route partially persists past the destruction of the interface. And the panic is triggered apparently by the use of the route. I've also been unable to delete routes added on the system. We're running a kernel compiled with options RADIX_MPATH. [root@pbx ~]# pppctl -p pass 3000 quit all Connection closed [root@pbx ~]# ifconfig tun0 ifconfig: interface tun0 does not exist [root@pbx ~]# netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default tun0 US 0 4 Here's the crash from another system: KDB: stack backtrace: #0 0xffffffff8051ed16 at kdb_backtrace+0x66 #1 0xffffffff804e828e at panic+0x1ce #2 0xffffffff806dcff0 at trap_fatal+0x290 #3 0xffffffff806dd327 at trap_pfault+0x1e7 #4 0xffffffff806dd92e at trap+0x3be #5 0xffffffff806c792f at calltrap+0x8 #6 0xffffffff805a975c at rn_walktree+0x7c #7 0xffffffff805b085e at sysctl_rtsock+0x2ee #8 0xffffffff804f1bd8 at sysctl_root+0x128 #9 0xffffffff804f1eb5 at userland_sysctl+0x145 #10 0xffffffff804f23ea at sys___sysctl+0xaa #11 0xffffffff806dc910 at amd64_syscall+0x530 #12 0xffffffff806c7c17 at Xfast_syscall+0xf7 Uptime: 2d12h15m1s #0 doadump (textdump=Variable "textdump" is not available. ) at pcpu.h:229 229 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump (textdump=Variable "textdump" is not available. ) at pcpu.h:229 #1 0xffffffff804e7d74 in kern_reboot (howto=260) at /usr/src.pflock/sys/kern/kern_shutdown.c:449 #2 0xffffffff804e8267 in panic (fmt=0x1
) at /usr/src.pflock/sys/kern/kern_shutdown.c:637 #3 0xffffffff806dcff0 in trap_fatal (frame=0xc, eva=Variable "eva" is not available. ) at /usr/src.pflock/sys/amd64/amd64/trap.c:853 #4 0xffffffff806dd327 in trap_pfault (frame=0xffffff82355bf6b0, usermode=0) at /usr/src.pflock/sys/amd64/amd64/trap.c:770 #5 0xffffffff806dd92e in trap (frame=0xffffff82355bf6b0) at /usr/src.pflock/sys/amd64/amd64/trap.c:458 #6 0xffffffff806c792f in calltrap () at /usr/src.pflock/sys/amd64/amd64/exception.S:228 #7 0xffffffff805ae525 in sysctl_dumpentry (rn=0xfffffe0007398e10, vw=Variable "vw" is not available. ) at /usr/src.pflock/sys/net/rtsock.c:1527 #8 0xffffffff805a975c in rn_walktree (h=Variable "h" is not available. ) at /usr/src.pflock/sys/net/radix.c:1112 #9 0xffffffff805b085e in sysctl_rtsock (oidp=Variable "oidp" is not available. ) at /usr/src.pflock/sys/net/rtsock.c:1888 #10 0xffffffff804f1bd8 in sysctl_root (oidp=Variable "oidp" is not available. ) at /usr/src.pflock/sys/kern/kern_sysctl.c:1513 #11 0xffffffff804f1eb5 in userland_sysctl (td=Variable "td" is not available. ) at /usr/src.pflock/sys/kern/kern_sysctl.c:1623 #12 0xffffffff804f23ea in sys___sysctl (td=0xfffffe0007189000, uap=0xffffff82355bfb70) at /usr/src.pflock/sys/kern/kern_sysctl.c:1549 #13 0xffffffff806dc910 in amd64_syscall (td=0xfffffe0007189000, traced=0) at subr_syscall.c:135 #14 0xffffffff806c7c17 in Xfast_syscall () at /usr/src.pflock/sys/amd64/amd64/exception.S:387 #15 0x0000000801debc6c in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) -- Ian Freislich