From owner-freebsd-current@FreeBSD.ORG Thu Aug 26 13:51:25 2004 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 9AB4516A4CE for ; Thu, 26 Aug 2004 13:51:25 +0000 (GMT) Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id A003743D53 for ; Thu, 26 Aug 2004 13:51:19 +0000 (GMT) (envelope-from jhay@icomtek.csir.co.za) Received: from zibbi.icomtek.csir.co.za (localhost [127.0.0.1]) i7QDpEO9004036 for ; Thu, 26 Aug 2004 15:51:14 +0200 (SAST) (envelope-from jhay@zibbi.icomtek.csir.co.za) Received: (from jhay@localhost)i7QDpEQ9004035 for freebsd-current@freebsd.org; Thu, 26 Aug 2004 15:51:14 +0200 (SAST) (envelope-from jhay) Date: Thu, 26 Aug 2004 15:51:14 +0200 From: John Hay To: freebsd-current@freebsd.org Message-ID: <20040826135114.GA4004@zibbi.icomtek.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: panic: unmount: dangling vnode 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: Thu, 26 Aug 2004 13:51:25 -0000 Hi, I'm trying to upgrade my May-month-current box to 5.3-BETA and rebooting in multi-user mode with a new kernel+modules and with old or new /sbin/vinum produces the panic: panic: unmount: dangling vnode The interesting thing is if I boot in single-user mode and do the following: mount -u -w / mount -u -r / exit The box will then happily go into multiusermode and everything seems to work just fine. If i skip the two mount commands, it will panic just as if you boot directly into multi-user mode. Incase it matters, I have /usr /var and /home as vinum partitions. Anybody got any ideas? John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org OK boot /boot/kernel/acpi.ko text=0x406a8 data=0x1bc4+0x110c syms=[0x4+0x72d0+0x4+0x9754] GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-BETA1 #5: Thu Aug 26 12:55:54 SAST 2004 jhay@dolphin.icomtek.csir.co.za:/export/obj/usr/src/sys/DOLPHIN WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz (1794.19-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf12 Stepping = 2 Features=0x3febfbff real memory = 1073180672 (1023 MB) avail memory = 1044926464 (996 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe8000000-0xebffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc80-0xdcff mem 0xff7ffc00-0xff7ffc7f irq 5 at device 12.0 on pci2 miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:06:5b:55:e8:51 xl0: [GIANT-LOCKED] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0xff80-0xff9f irq 9 at device 31.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ufm0: GemTek Corp USB FM Radio, rev 1.00/4.10, addr 2 ichsmb0: port 0xccd0-0xccdf irq 10 at device 31.3 on pci0 ichsmb0: [GIANT-LOCKED] smbus0: on ichsmb0 smb0: on smbus0 uhci1: port 0xff60-0xff7f irq 9 at device 31.4 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pcm0: port 0xcc40-0xcc7f,0xc800-0xc8ff irq 10 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A, console sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0 port 0x778-0x77f,0x378-0x37f irq 7 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: at iomem 0xca000-0xcbfff,0xc0000-0xc9fff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x0> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1794187912 Hz quality 800 Timecounters tick every 10.000 msec ad0: 38166MB [77545/16/63] at ata0-master UDMA100 ad1: 38166MB [77545/16/63] at ata0-slave UDMA100 ATAPI_RESET time = 20us ATAPI_RESET time = 30us acd0: DVDROM <_NEC DV-5800A/1.0A> at ata1-master UDMA33 acd1: CDRW <_NEC CD-RW NR-7900A/1.08> at ata1-slave UDMA33 pcm0: measured ac97 link rate at 55942 Hz Mounting root from ufs:/dev/ad0s1a Loading configuration files. Entropy harvesting: interrupts ethernet point_to_point. vinum: loaded panic: unmount: dangling vnode KDB: enter: panic [thread 100043] Stopped at kdb_enter+0x2b: nop db> tr kdb_enter(c05d92b0) at kdb_enter+0x2b panic(c05e1047,c1f7c205,e4a709e8,c04e877b,c1fad800) at panic+0xbb vfs_mount_destroy(c1fad800,c1eaddc0) at vfs_mount_destroy+0x1d getdiskbyname(c1f7c200,e4a70a14,c04b8ab5,61,c1f7c200) at getdiskbyname+0x173 open_drive(c1f7c200,c1eaddc0,0,c2197247,c1f7c200) at open_drive+0x21 init_drive(c1f7c200,0,61,1,c1f7c200) at init_drive+0x1c read_drive_label(c1f7c200,0,e4a70a74,2,61) at read_drive_label+0x11 check_drive(c1f7e800,c1f7e808,408,c21a3f26,1) at check_drive+0x4c vinum_scandisk(c1f81b10,c1fad000,c218d210,c2125b00,e4a70b3c) at vinum_scandisk+0x220 vinum_super_ioctl(c2125b00,c400464b,c1fad000,c0629500,1) at vinum_super_ioctl+0x4d0 vinumioctl(c2125b00,c400464b,c1fad000,3,c1eaddc0) at vinumioctl+0x39 spec_ioctl(e4a70b88,e4a70c34,c04f5c77,e4a70b88,c0620520) at spec_ioctl+0x152 spec_vnoperate(e4a70b88) at spec_vnoperate+0x13 vn_ioctl(c215f374,c400464b,c1fad000,c1e5fe00,c1eaddc0) at vn_ioctl+0x19f ioctl(c1eaddc0,e4a70d14,3,5,292) at ioctl+0x3e0 syscall(2f,2f,2f,0,1) at syscall+0x217 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x82a0b4b, esp = 0xbfbfe4cc, ebp = 0xbfbfe8f8 --- db> reset