From owner-freebsd-current@FreeBSD.ORG Sat Oct 23 00:35:32 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 7DC0616A4CE for ; Sat, 23 Oct 2004 00:35:32 +0000 (GMT) Received: from pop-a065c32.pas.sa.earthlink.net (pop-a065c32.pas.sa.earthlink.net [207.217.121.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C39B43D41 for ; Sat, 23 Oct 2004 00:35:32 +0000 (GMT) (envelope-from andrei@kableu.com) Received: from h-64-105-136-37.snvacaid.dynamic.covad.net ([64.105.136.37] helo=root.kableu.com) by pop-a065c32.pas.sa.earthlink.net with esmtp (Exim 3.33 #1) id 1CL9sZ-0001Pt-00 for freebsd-current@freebsd.org; Fri, 22 Oct 2004 17:35:31 -0700 Received: by root.kableu.com (Postfix, from userid 1001) id 3BE3F5C75; Fri, 22 Oct 2004 17:38:05 -0700 (PDT) Date: Fri, 22 Oct 2004 17:38:05 -0700 From: Andrew Konstantinov To: freebsd-current@freebsd.org Message-ID: <20041023003805.GA2649@root.kableu.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: 5.2.1 -> 5.3 ==> vinum start -> 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: Sat, 23 Oct 2004 00:35:32 -0000 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, Here is the sequence leading to the problem: 1) CVSup'ed to RELENG_5_3 couple hours ago 2) compiled kernel and world 3) booted into single user mode & installed new kernel 4) booted into single user mode using new kernel 5) performed "vinum start" in order to start raid1 (which I need to be up because it contains /usr) And the result that I got is: -------- Mounting root from ufs:/dev/ad0s2a Enter full pathname of shell or RETURN for /bin/sh: # kldstat Id Refs Address Size Name 1 2 0xc0400000 4614b0 kernel 2 1 0xc0862000 c9340 vinum.ko # vinum start panic: unmount: dangling vnode Uptime: 28s -------- Here is some additional info: -------- root# atacontrol list ATA channel 0: Master: ad0 ATA/ATAPI rev 6 Slave: acd0 ATA/ATAPI rev 0 ATA channel 1: Master: ad2 ATA/ATAPI rev 6 Slave: acd1 ATA/ATAPI rev 0 root# vinum printconfig # Vinum configuration of xxxx.xxxxxx.xxx, saved at Fri Oct 22 17:10:45 2004 drive disk2 device /dev/ad2s1a drive disk1 device /dev/ad0s1a volume usr plex name usr.p0 org striped 558s vol usr sd name usr.p0.s0 drive disk1 plex usr.p0 len 125818398s driveoffset 265s p= lexoffset 0s sd name usr.p0.s1 drive disk2 plex usr.p0 len 125818398s driveoffset 265s p= lexoffset 558s root# -------- Right now I'm running the old kernel from 5.2.1. The motherboard is: ASUS A7N8X-X root# uname -rsp FreeBSD 5.2.1-RELEASE-p11 i386 root# Please, let me know of any probable solutions or if more information is nee= ded. Here is the kernel configuration file which I used to compile the 5.3 kernel followed by 5.2.1 dmesg: -------- machine i386 cpu I686_CPU ident CUSTOM makeoptions DEBUG=3D-g #Build kernel with gdb(1) debug symbols options SCHED_4BSD #4BSD scheduler options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options MD_ROOT #MD is a potential root device options NFSCLIENT #Network Filesystem Client options NFSSERVER #Network Filesystem Server options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS #Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options SCSI_DELAY=3D15000 #Delay (in ms) before probing SCSI options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. options INVARIANT_SUPPORT #Extra sanity checks of internal structures, req= uired by INVARIANTS options INCLUDE_CONFIG_FILE options DEVICE_POLLING options HZ=3D1000 options QUOTA options MAC options MAC_BSDEXTENDED options MAC_IFOFF options MAC_SEEOTHERUIDS options IPSEC options IPSEC_ESP options IPFILTER options IPFILTER_LOG options IPFILTER_DEFAULT_BLOCK options GEOM_BDE options VESA options SC_PIXEL_MODE device ath # netgear wifi device ath_hal # netgear wifi device sound # audio device ehci # USB Enhanced Host Controller driver device apic # I/O APIC device isa device eisa device pci device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID #Static device numbering device atapicam # ATA =3D> SCSI device scbus # SCSI bus (required for SCSI) device da # Direct Access (disks) device cd # CD device pass # Passthrough device (direct SCSI access) device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support device sc device agp # support several AGP chipsets device npx device pmtimer device sio # 8250, 16[45]50 based serial ports device ppc device ppbus # Parallel port bus (required) device lpt # Printer device miibus # MII bus support device dc # DEC/Intel 21143 and various workalikes device wlan # 802.11 support device loop # Network loopback device mem # Memory and kernel memory devices device io # I/O device device random # Entropy device device ether # Ethernet support device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device bpf # Berkeley packet filter device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da -------- Here is the dmesg from 5.2.1: -------- 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.2.1-RELEASE-p11 #0: Tue Oct 19 18:24:23 PDT 2004 root@xxxx.xxxxxx.xxx:/usr/obj/usr/src/sys/CUSTOM Preloaded elf kernel "/boot/kernel.old/kernel" at 0xc0960000. Preloaded elf module "/boot/kernel.old/vinum.ko" at 0xc0960254. Preloaded elf module "/boot/kernel.old/if_nv.ko" at 0xc0960304. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) XP 3000+ (2091.64-MHz 686-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x6a0 Stepping =3D 0 Features=3D0x383fbff AMD Features=3D0xc0400000 real memory =3D 536805376 (511 MB) avail memory =3D 511762432 (488 MB) mptable_probe: MP Config Table has bad signature: \^O8\^O Security policy loaded: TrustedBSD MAC/ifoff (mac_ifoff) Security policy loaded: TrustedBSD MAC/seeotheruids (mac_seeotheruids) Security policy loaded: TrustedBSD MAC/BSD Extended (mac_bsdextended) Pentium Pro MTRR support enabled VESA: v3.0, 131072k memory, flags:0x1, mode table:0xc07e3dc2 (1000022) VESA: NVIDIA npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 11 entries at 0xc00fdeb0 pcib0: at pcibus 0 on motherboard pci0: on pcib0 agp0: mem 0xd8000000-0xdbffffff at device 0= .0 on pci0 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xe0003000-0xe0003fff irq 11 at = device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xe0004000-0xe0004fff irq 5 at d= evice 2.1 on pci0 usb1: OHCI version 1.0, legacy support usb1: on ohci1 usb1: USB revision 1.0 uhub1: (0x10de) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered ehci0: mem 0xe0005000-0xe00050ff irq 11= at device 2.2 on pci0 ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: (0x10de) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 6 ports with 6 removable, self powered nv0: port 0xd000-0xd007 mem 0xe0000= 000-0xe0000fff irq 11 at device 4.0 on pci0 nv0: Ethernet address 00:0e:a6:b2:ca:85 miibus0: on nv0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0xd800-0xd87f,0xd400-0xd4ff mem 0xe0001000-0xe0= 001fff irq 5 at device 6.0 on pci0 pcm0: pcib1: at device 8.0 on pci0 pci1: on pcib1 pci_cfgintr: 1:7 INTA BIOS irq 11 pci_cfgintr: 1:8 INTA BIOS irq 5 dc0: port 0xc000-0xc0ff mem 0xdf000000-0xdf0003= ff irq 11 at device 7.0 on pci1 dc0: Ethernet address: 00:04:5a:4d:b0:9f miibus1: on dc0 ukphy0: on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc1: port 0xc400-0xc4ff mem 0xdf001000-0xdf0013= ff irq 5 at device 8.0 on pci1 dc1: Ethernet address: 00:0c:41:21:51:c9 miibus2: on dc1 ukphy1: on miibus2 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci0: port 0xf000-0xf00f at device 9= .0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pcib2: at device 30.0 on pci0 pci2: on pcib2 pci_cfgintr: 0:30 INTA routed to irq 11 pcib2: slot 0 INTA is routed to irq 11 pci2: at device 0.0 (no driver attached) orm0: