From owner-freebsd-current@FreeBSD.ORG Tue Jul 22 18:31:14 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D042C37B401 for ; Tue, 22 Jul 2003 18:31:14 -0700 (PDT) Received: from praetor.linc-it.com (hardtime.linuxman.net [66.147.26.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0064A43F75 for ; Tue, 22 Jul 2003 18:31:14 -0700 (PDT) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (adsl-156-171-30.jan.bellsouth.net [66.156.171.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by praetor.linc-it.com (Postfix) with ESMTP id 7094C1522E for ; Tue, 22 Jul 2003 20:31:12 -0500 (CDT) Received: by mortis.over-yonder.net (Postfix, from userid 100) id 2730020F22; Tue, 22 Jul 2003 20:31:10 -0500 (CDT) Date: Tue, 22 Jul 2003 20:31:09 -0500 From: "Matthew D. Fuller" To: current@freebsd.org Message-ID: <20030723013109.GA1162@over-yonder.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i-fullermd.1 X-Editor: vi X-OS: FreeBSD Subject: Panic in 5.1-R X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 23 Jul 2003 01:31:15 -0000 System runs ppp(8) for a PPPoE DSL connection. I fired up another copy of ppp for unrelated purposes (no args, just `ppp`), and got this panic: panic: Resource & flags out-of-sync cpuid = 1; lapic.id = 0c000000 boot() called on cpu#1 #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:238 #1 0xc0242863 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:370 #2 0xc0242c1f in panic () at /usr/src/sys/kern/kern_shutdown.c:543 #3 0xc02ae257 in tunopen (dev=0xc2818200, flag=3, mode=8192, td=0x0) at /usr/src/sys/net/if_tun.c:275 #4 0xc02089b9 in spec_open (ap=0xce7d2a64) at /usr/src/sys/fs/specfs/spec_vnops.c:203 #5 0xc0208778 in spec_vnoperate (ap=0x0) at /usr/src/sys/fs/specfs/spec_vnops.c:123 #6 0xc02a13b9 in vn_open_cred (ndp=0xce7d2bd8, flagp=0xce7d2cd8, cmode=3456, cred=0xc2edd000) at vnode_if.h:213 #7 0xc02a0f79 in vn_open (ndp=0x0, flagp=0x0, cmode=0) at /usr/src/sys/kern/vfs_vnops.c:85 #8 0xc029a96d in kern_open (td=0xc2a18980, path=0x0, pathseg=UIO_USERSPACE, flags=3, mode=134794642) at /usr/src/sys/kern/vfs_syscalls.c:684 #9 0xc029a820 in open (td=0x0, uap=0x0) at /usr/src/sys/kern/vfs_syscalls.c:649 #10 0xc03bb1ce in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134883928, tf_esi = 2, tf_ebp = -1077938856, tf_isp = -830657164, tf_ebx = -1077938840, tf_edx = 9, tf_ecx = 134794646, tf_eax = 5, tf_trapno = 12, tf_err = 2, tf_eip = 405215043, tf_cs = 31, tf_eflags = 531, tf_esp = -1077938900, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1021 #11 0xc03a2c5d in Xint0x80_syscall () at {standard input}:139 ---Can't read userspace from dump, or kernel process--- Actual source is at: #3 0xc02ae257 in tunopen (dev=0xc2818200, flag=3, mode=8192, td=0x0) at /usr/src/sys/net/if_tun.c:275 275 KASSERT(!(tp->tun_flags & TUN_OPEN), ("Resource & flags out-of-sync")); (kgdb) print dev->si_name $6 = 0xc2818290 "tun0" Keeping the dump around, if there's anything else useful I can pull out. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet"