From nobody@FreeBSD.org  Sat Sep  4 03:03:01 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3767616A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <mark@taom.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Panic when starting vinum at boot
X-Send-Pr-Version: www-2.3

>Number:         71357
>Category:       kern
>Synopsis:       [vinum] Panic when starting vinum at boot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    le
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 04 03:10:30 GMT 2004
>Closed-Date:    Sun Aug 21 15:38:15 GMT 2005
>Last-Modified:  Sun Aug 21 15:38:15 GMT 2005
>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:
Responsible-Changed-From-To: freebsd-bugs->le 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Sep 9 19:06:33 GMT 2004 
Responsible-Changed-Why:  
over to volunteer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71357 
State-Changed-From-To: open->feedback 
State-Changed-By: le 
State-Changed-When: Sat Nov 27 15:18:51 GMT 2004 
State-Changed-Why:  
Please put 

geom_vinum_load="YES" 

into /boot/loader.conf and report how that works for you. 

Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71357 
State-Changed-From-To: feedback->closed 
State-Changed-By: le 
State-Changed-When: Sun Aug 21 15:38:10 GMT 2005 
State-Changed-Why:  
Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71357 
>Unformatted:
