From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 4 03:10:31 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64D2F16A4D1 for ; Sat, 4 Sep 2004 03:10:31 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38B5643D41 for ; Sat, 4 Sep 2004 03:10:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i843AVaJ021509 for ; Sat, 4 Sep 2004 03:10:31 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i843AVhA021508; Sat, 4 Sep 2004 03:10:31 GMT (envelope-from gnats) Resent-Date: Sat, 4 Sep 2004 03:10:31 GMT Resent-Message-Id: <200409040310.i843AVhA021508@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mark Derbyshire Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3767616A4CE for ; Sat, 4 Sep 2004 03:03:01 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F3B943D31 for ; Sat, 4 Sep 2004 03:03:01 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i84330gk021806 for ; Sat, 4 Sep 2004 03:03:00 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i84330u0021805; Sat, 4 Sep 2004 03:03:00 GMT (envelope-from nobody) Message-Id: <200409040303.i84330u0021805@www.freebsd.org> Date: Sat, 4 Sep 2004 03:03:00 GMT From: Mark Derbyshire To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/71357: Panic when starting vinum at boot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2004 03:10:31 -0000 >Number: 71357 >Category: kern >Synopsis: Panic when starting vinum at boot >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 04 03:10:30 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Mark Derbyshire >Release: FreeBSD 5.3-BETA2 >Organization: >Environment: FreeBSD newbsd.taom.com 5.3-BETA2 FreeBSD 5.3-BETA2 #1: Sat Aug 28 21:29:15 UTC 2004 root@mack.dcsl.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 ABIT VT7 mainboard >Description: When start_vinum="YES" is set in rc.conf, system panics on boot even when there are no vinum disks. Handcopied console messages: Mounting root from ufs:/dev/ad0s1a Pre-seeding PRNG: kickstart. Loading configuration files. Entropy harvesting: interrupts ethernet point_to_point kickstart. vinum: loaded panic: umount: dangling vnode cpuid = 0; KDB: enter: panic [thread 100063] stopped at kdb_enter+0x2b: nop db> trace kdb_enter+0x2b panic+0x131 vfs_mount_destroy+0x1d getdiskbyname+0x173 open_drive+0x21 init_drive+0x1c read_drive_label+0x11 check_drive+0x4c vinum_scan_disk+0x220 vinum_super_ioctl+0x4d0 vinum_ioctl+0x39 spec_ioctl+0x152 spec_vnoperate+0x13 vn_ioctl+0x19f ioctl+0x3e0 syscall(2f, 2f, 2f, 0, 1)+0x217 Xint0x80_syscall+0x1f >How-To-Repeat: Add start_vinum="YES" to rc.conf and reboot. My system configuration contained a PATA drive as IDE 1 bus master, a DVD as IDE 2 bus master. The mainboard has two SATA channels that normally attach to the vinum drives, but these were not connected at the time. >Fix: >Release-Note: >Audit-Trail: >Unformatted: