Date: Fri, 22 Oct 2004 17:38:05 -0700 From: Andrew Konstantinov <abkonstantinov@earthlink.net> To: freebsd-current@freebsd.org Subject: 5.2.1 -> 5.3 ==> vinum start -> panic: unmount: dangling vnode Message-ID: <20041023003805.GA2649@root.kableu.com>
next in thread | raw e-mail | index | archive | help
--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 <ST380011A/3.06> ATA/ATAPI rev 6 Slave: acd0 <MAD DOG MD-16XDVD9/2.F6> ATA/ATAPI rev 0 ATA channel 1: Master: ad2 <ST380011A/3.06> ATA/ATAPI rev 6 Slave: acd1 <CD-W58E/1.0A> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE= ,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> AMD Features=3D0xc0400000<AMIE,DSP,3DNow!> 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: <math processor> on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 11 entries at 0xc00fdeb0 pcib0: <Host to PCI bridge> at pcibus 0 on motherboard pci0: <PCI bus> on pcib0 agp0: <NVIDIA nForce2 AGP Controller> mem 0xd8000000-0xdbffffff at device 0= .0 on pci0 pci0: <memory, RAM> at device 0.1 (no driver attached) pci0: <memory, RAM> at device 0.2 (no driver attached) pci0: <memory, RAM> at device 0.3 (no driver attached) pci0: <memory, RAM> at device 0.4 (no driver attached) pci0: <memory, RAM> at device 0.5 (no driver attached) isab0: <PCI-ISA bridge> at device 1.0 on pci0 isa0: <ISA bus> on isab0 pci0: <serial bus, SMBus> at device 1.1 (no driver attached) ohci0: <OHCI (generic) USB controller> mem 0xe0003000-0xe0003fff irq 11 at = device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> mem 0xe0004000-0xe0004fff irq 5 at d= evice 2.1 on pci0 usb1: OHCI version 1.0, legacy support usb1: <OHCI (generic) USB controller> 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: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> 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: <NVIDIA nForce MCP2 Networking Adapter> 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: <MII bus> on nv0 rlphy0: <RTL8201L 10/100 media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: <Nvidia nForce2> port 0xd800-0xd87f,0xd400-0xd4ff mem 0xe0001000-0xe0= 001fff irq 5 at device 6.0 on pci0 pcm0: <Avance Logic ALC650 AC97 Codec> pcib1: <PCIBIOS PCI-PCI bridge> at device 8.0 on pci0 pci1: <PCI bus> on pcib1 pci_cfgintr: 1:7 INTA BIOS irq 11 pci_cfgintr: 1:8 INTA BIOS irq 5 dc0: <ADMtek AN985 10/100BaseTX> 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: <MII bus> on dc0 ukphy0: <Generic IEEE 802.3u media interface> on miibus1 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc1: <ADMtek AN985 10/100BaseTX> 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: <MII bus> on dc1 ukphy1: <Generic IEEE 802.3u media interface> on miibus2 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto atapci0: <nVidia nForce2 UDMA133 controller> 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: <PCI-PCI bridge> at device 30.0 on pci0 pci2: <PCI bus> on pcib2 pci_cfgintr: 0:30 INTA routed to irq 11 pcib2: slot 0 INTA is routed to irq 11 pci2: <display, VGA> at device 0.0 (no driver attached) orm0: <Option ROMs> at iomem 0xd0000-0xd17ff,0xc0000-0xcf7ff on isa0 pmtimer0 on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model IntelliMouse Explorer, device ID 4 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: <Parallel port bus> on ppc0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: <PNP0303> can't assign resources (port) unknown: <PNP0f13> can't assign resources (irq) unknown: <PNP0501> can't assign resources (port) unknown: <PNP0401> can't assign resources (port) unknown: <PNP0501> can't assign resources (port) Timecounter "TSC" frequency 2091637364 Hz quality 800 Timecounters tick every 1.000 msec IPsec: Initialized Security Association Processing. IP Filter: v3.4.31 initialized. Default =3D block all, Logging =3D enabled GEOM: create disk ad0 dp=3D0xc48ffd60 ad0: 76319MB <ST380011A> [155061/16/63] at ata0-master UDMA100 acd0: DVDR <MAD DOG MD-16XDVD9> at ata0-slave UDMA33 GEOM: create disk ad2 dp=3D0xc48ff660 ad2: 76319MB <ST380011A> [155061/16/63] at ata1-master UDMA100 acd1: CDRW <CD-W58E> at ata1-slave WDMA2 GEOM: create disk cd0 dp=3D0xc47d8e00 GEOM: create disk cd1 dp=3D0xc47d8600 cd0 at ata0 bus 0 target 1 lun 0 cd0: <MAD DOG MD-16XDVD9 2.F6> Removable CD-ROM SCSI-0 device=20 cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present cd1 at ata1 bus 0 target 1 lun 0 cd1: <TEAC CD-W58E 1.0A> Removable CD-ROM SCSI-0 device=20 cd1: 16.000MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present Mounting root from ufs:/dev/ad0s2a -------- Andrew --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBeafr5Jhyz2/cFigRAgiwAJ47m+8xHmHyjV7lUbjQfMEbA1NqugCg8Ctq ipscxtH1rFUWhVslNK61JsY= =ae4z -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041023003805.GA2649>