From nobody@FreeBSD.org  Wed Nov 10 03:43:55 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 6D8CD16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 10 Nov 2004 03:43:55 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5EA1143D45
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 10 Nov 2004 03:43:55 +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 iAA3htZg011392
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 10 Nov 2004 03:43:55 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id iAA3htvk011387;
	Wed, 10 Nov 2004 03:43:55 GMT
	(envelope-from nobody)
Message-Id: <200411100343.iAA3htvk011387@www.freebsd.org>
Date: Wed, 10 Nov 2004 03:43:55 GMT
From: Chris Jones <cdjones@novusordo.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: vinum fails to load from rc.conf and kernel panics; works fine if started after boot
X-Send-Pr-Version: www-2.3

>Number:         73757
>Category:       kern
>Synopsis:       [vinum] vinum fails to load from rc.conf and kernel panics; works fine if started after boot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    le
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 10 03:50:26 GMT 2004
>Closed-Date:    Sun Aug 21 15:34:37 GMT 2005
>Last-Modified:  Sun Aug 21 15:34:37 GMT 2005
>Originator:     Chris Jones
>Release:        5.3
>Organization:
Novus Ordo Systems
>Environment:
FreeBSD isis.novusordo.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Tue Nov  9 19:29:27 MST 2004     root@isis.novusordo.net:/usr/obj/usr/src/sys/ISIS  i386
>Description:
Fresh 5.3 install on a Dell Poweredge 750.  The ISIS kernel uses the same configuration as GENERIC --- I copied it over in hopes that a quick recompile might solve the problem below.  It didn't.

When 'start_vinum="YES"' is in /etc/rc.conf, FreeBSD fails to boot, with the following error message:

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x60
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc05e8a2f
stack pointer           = 0x10:0xe8172a1c
frame pointer           = 0x10:0xe8172a1c
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 643 (vinum)
trap number             = 12
panic: page fault


Removing 'start_vinum="YES"' from rc.conf permits FreeBSD to boot.  Once booted, vinum is able to start without problems.
>How-To-Repeat:
Repeats as long as vinum_start="YES" is in /etc/rc.conf.
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Ruslan Ermilov <ru@FreeBSD.org>
To: Chris Jones <cdjones@novusordo.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: misc/73757: vinum fails to load from rc.conf and kernel panics; works fine if started after boot
Date: Wed, 10 Nov 2004 08:55:30 +0200

 On Wed, Nov 10, 2004 at 03:43:55AM +0000, Chris Jones wrote:
 > 
 > Fresh 5.3 install on a Dell Poweredge 750.  The ISIS kernel uses
 > the same configuration as GENERIC --- I copied it over in hopes
 > that a quick recompile might solve the problem below.  It didn't.
 > 
 > When 'start_vinum="YES"' is in /etc/rc.conf, FreeBSD fails to
 > boot, with the following error message:
 > 
 > Fatal trap 12: page fault while in kernel mode
 > fault virtual address   = 0x60
 > fault code              = supervisor read, page not present
 > instruction pointer     = 0x8:0xc05e8a2f
 > stack pointer           = 0x10:0xe8172a1c
 > frame pointer           = 0x10:0xe8172a1c
 > code segment            = base 0x0, limit 0xfffff, type 0x1b
 >                         = DPL 0, pres 1, def32 1, gran 1
 > processor eflags        = interrupt enabled, resume, IOPL = 0
 > current process         = 643 (vinum)
 > trap number             = 12
 > panic: page fault
 > 
 Please see http://www.FreeBSD.org/releases/5.3R/errata.html
 for a workaround.
 
 
 Cheers,
 -- 
 Ruslan Ermilov
 ru@FreeBSD.org
 FreeBSD committer

From: Chris Jones <cdjones@novusordo.net>
To: Ruslan Ermilov <ru@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: misc/73757: vinum fails to load from rc.conf and kernel panics;
 works fine if started after boot
Date: Wed, 10 Nov 2004 01:05:07 -0700

 Ruslan Ermilov wrote:
 > On Wed, Nov 10, 2004 at 03:43:55AM +0000, Chris Jones wrote:
 > 
 >>Fresh 5.3 install on a Dell Poweredge 750.  The ISIS kernel uses
 >>the same configuration as GENERIC --- I copied it over in hopes
 >>that a quick recompile might solve the problem below.  It didn't.
 >>
 >>When 'start_vinum="YES"' is in /etc/rc.conf, FreeBSD fails to
 >>boot, with the following error message:
 >>
 >>Fatal trap 12: page fault while in kernel mode
 >>fault virtual address   = 0x60
 >>fault code              = supervisor read, page not present
 >>instruction pointer     = 0x8:0xc05e8a2f
 >>stack pointer           = 0x10:0xe8172a1c
 >>frame pointer           = 0x10:0xe8172a1c
 >>code segment            = base 0x0, limit 0xfffff, type 0x1b
 >>                        = DPL 0, pres 1, def32 1, gran 1
 >>processor eflags        = interrupt enabled, resume, IOPL = 0
 >>current process         = 643 (vinum)
 >>trap number             = 12
 >>panic: page fault
 >>
 > 
 > Please see http://www.FreeBSD.org/releases/5.3R/errata.html
 > for a workaround.
 
 
 Hi, Ruslan --- I tried adding 'vinum_load="YES"' into my 
 /boot/loader.conf, as errata.html suggests, but this didn't help with 
 getting vinum to load properly; I still got trap 12 on booting. 
 Unfortunately, I don't have the exact addresses for the {instruction, 
 stack, frame} pointers from that attempt handy at the moment, but I'll 
 send them your way as soon as possible.

From: Kevin Dorne <sweetpea@tentacle.net>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/73757: [vinum] vinum fails to load from rc.conf and kernel panics; works fine if started after boot
Date: Mon, 21 Feb 2005 00:33:02 +1300

 I have similar problems, except that instead of the fatal trap 12, I 
 get a "unmount: dangling vnode" panic.
 
Responsible-Changed-From-To: freebsd-bugs->le 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Apr 3 09:06:55 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73757 
State-Changed-From-To: open->closed 
State-Changed-By: le 
State-Changed-When: Sun Aug 21 15:34:27 GMT 2005 
State-Changed-Why:  
Switching to geom_vinum will solve this problem. 

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