From tjs@Pluto.CDPA.nsysu.edu.tw  Mon Sep 27 16:08:37 2004
Return-Path: <tjs@Pluto.CDPA.nsysu.edu.tw>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CB1B516A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 27 Sep 2004 16:08:37 +0000 (GMT)
Received: from Pluto.CDPA.nsysu.edu.tw (Pluto.CDPA.nsysu.edu.tw [140.117.205.30])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4688F43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 27 Sep 2004 16:08:37 +0000 (GMT)
	(envelope-from tjs@Pluto.CDPA.nsysu.edu.tw)
Received: from Pluto.CDPA.nsysu.edu.tw (localhost [127.0.0.1])
	by Pluto.CDPA.nsysu.edu.tw (8.13.1/8.13.1) with ESMTP id i8RG8ZID003488
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Sep 2004 00:08:35 +0800 (CST)
	(envelope-from tjs@Pluto.CDPA.nsysu.edu.tw)
Received: (from root@localhost)
	by Pluto.CDPA.nsysu.edu.tw (8.13.1/8.13.1/Submit) id i8RG8ZEu003487;
	Tue, 28 Sep 2004 00:08:35 +0800 (CST)
	(envelope-from tjs)
Message-Id: <200409271608.i8RG8ZEu003487@Pluto.CDPA.nsysu.edu.tw>
Date: Tue, 28 Sep 2004 00:08:35 +0800 (CST)
From: tjs <tjs@cdpa.nsysu.edu.tw>
Reply-To: tjs <tjs@cdpa.nsysu.edu.tw>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: panic when starting vinum on system boot
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         72131
>Category:       kern
>Synopsis:       panic when starting vinum on system boot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    le
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 27 16:10:21 GMT 2004
>Closed-Date:    Sun Aug 21 15:39:51 GMT 2005
>Last-Modified:  Sun Aug 21 15:39:51 GMT 2005
>Originator:     Jin-Shan Tseng
>Release:        FreeBSD 5.3-BETA6 i386
>Organization:
NSYSU-CDPA
>Environment:
System: FreeBSD Pluto.CDPA.nsysu.edu.tw 5.3-BETA6 FreeBSD 5.3-BETA6 #0: Mon Sep 27 21:07:29 CST 2004 tjs@Pluto.CDPA.nsysu.edu.tw:/usr/obj/usr/src/sys/Pluto i386


	
>Description:
	When setting start_vinum="YES" in /etc/rc.conf, system will panic on boot.
    There are some messages.

<messages>
    SMP: AP CPU #1 Launched!
    Mounting root from ufs:/dev/da0s1a
    Pre-seeding PRNG: kickstart.
    Loading configuration files.
    Entropy harvesting: interrupts ethernet point_to_point kickstart.
    vinum: loaded
    panic: umount: dangling vnode
    cpuid = 1;
    Uptime: 19s
    Cannot dump. No dump device defined.
    Automatic reboot in 15 secounds - press a key on the console to abort
</messages>

    But, if I start vinum at prompt, it would not.

>How-To-Repeat:
	Set start_vinum="YES" in /etc/rc.conf and reboot.
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->le 
Responsible-Changed-By: le 
Responsible-Changed-When: Mon Sep 27 17:31:24 GMT 2004 
Responsible-Changed-Why:  
Grab another vinum PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72131 
State-Changed-From-To: open->feedback 
State-Changed-By: le 
State-Changed-When: Sat Nov 27 15:16:11 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=72131 

From: "Luiz Rogerio G. de Carvalho" <luiz@openit.com.br>
To: freebsd-gnats-submit@freebsd.org, tjs@cdpa.nsysu.edu.tw
Cc:  
Subject: Re: kern/72131: panic when starting vinum on system boot
Date: Fri, 03 Dec 2004 11:26:32 -0200

 Hello there,
 
 This is not necessary a follow up, but a clue and/or another
 workaround.
 
 I'm far from the machine now to test geom_vinum_enable. By the way,
 I couldn't find this variable in /etc/rc.d/* .
 
 I've got both two panic reported while starting vinum at boot.
 
 load_vinum="YES" at /boot/loader.conf did not work for me.
 
 # [ ! -d /etc/rc.conf.d ] && mkdir /etc/rc.conf.d/vinum
 # echo "fsck -p /" > /etc/rc.conf.d/vinum
 
 While in single user, I noted that only after a fsck -p / (only
 this one needed) the vinum start works fine. This was deterministic.
 
 This is for you, hackers :).
 
 Regards
 	Luiz R. G. de Carvalho
State-Changed-From-To: feedback->closed 
State-Changed-By: le 
State-Changed-When: Sun Aug 21 15:39:38 GMT 2005 
State-Changed-Why:  
Feedback time-out. 

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