From nobody@FreeBSD.org  Thu May  4 09:45:58 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id 44FA437C0F1
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  4 May 2000 09:45:58 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id JAA91231;
	Thu, 4 May 2000 09:45:58 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200005041645.JAA91231@freefall.freebsd.org>
Date: Thu, 4 May 2000 09:45:58 -0700 (PDT)
From: rhuber@rbs-electronic.com
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: when performing certain vinum operations, GENERIC kernel crashes
X-Send-Pr-Version: www-1.0

>Number:         18387
>Category:       kern
>Synopsis:       when performing certain vinum operations, GENERIC kernel crashes
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    grog
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May  4 09:50:03 PDT 2000
>Closed-Date:    Mon Nov 27 23:04:56 PST 2000
>Last-Modified:  Mon Jul 05 16:02:40 GMT 2004
>Originator:     Reinhold Huber
>Release:        3.4-RELEASE
>Organization:
rbs electronic Vertriebs GmbH
>Environment:
FreeBSD grisu.<domain of customer> 3.4-RELEASE FreeBSD
	       3.4-RELEASE #0: Thu Dec 30 02:57:15 GMT 1999
	       jhk@higwig.cdrom.com:/usr/src/sys/compile/GENERIC i386
>Description:

I created a mirroring configuration according to the description in
the printed "Complete FreeBSD" which came with the CD set, but I
repeated the "volume <vol_name>" line in front of the 2nd plex
definition which is missing in the FreeBSD Handbook vinum
documentation.  The 2nd plex (with its single subdisk) is up, but the
1st one is state "crashed", so I typed "init var.p0" on the vinum
prompt to initialize it. Then, there is a message:

  vinum [390] initializing subdisk /dev/vinum/rsd/var.p0.s0

I assume this is a console log message. Immediately after that, I get:

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x48
fault code = supervisor write, page not present
instruction pointer = 0x8:0xc0a564cd
stack pointer = 0x10:0xc5e2ddac
frame pointer = 0x10:0xc5e2ddc0
code segment = base 0x0, limit 0xfffff, type 0x1b
             = DPLO, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL=0
current process = 390 (vinum)  #!!!
interrupt mask =
trap number = 12
panic: page fault

syncing disks 5 5 done
...

This was with the generic kernel. If you'd like me to find out the
symbol names to the addresses, I hope I find out how to do it reading
the handbook.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: grog 
State-Changed-When: Thu May 4 16:49:23 PDT 2000 
State-Changed-Why:  
Waiting for additional information from submitter. 


Responsible-Changed-From-To: freebsd-bugs->grog 
Responsible-Changed-By: grog 
Responsible-Changed-When: Thu May 4 16:49:23 PDT 2000 
Responsible-Changed-Why:  
grog handles vinum PRs. 

From: Greg Lehey <grog@lemis.com>
To: rhuber@rbs-electronic.com
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/18387: when performing certain vinum operations, GENERIC kernel crashes
Date: Fri, 5 May 2000 09:30:10 +0930

 >Number:         18387
 >Category:       kern
 >Synopsis:       when performing certain vinum operations, GENERIC kernel crashes
 >Confidential:   no
 >Severity:       critical
 >Priority:       medium
 >Responsible:    grog
 >State:          feedback
 >Quarter:
 >Keywords:
 >Date-Required:
 >Class:          sw-bug
 >Submitter-Id:   current-users
 >Arrival-Date:   Thu May  4 09:50:03 PDT 2000
 >Closed-Date:
 >Last-Modified:  Thu May  4 16:57:54 PDT 2000
 >Originator:     Reinhold Huber
 >Release:        3.4-RELEASE
 >Organization:
 rbs electronic Vertriebs GmbH
 > Environment: FreeBSD grisu.<domain of customer> 3.4-RELEASE FreeBSD
                3.4-RELEASE #0: Thu Dec 30 02:57:15 GMT 1999
                jhk@higwig.cdrom.com:/usr/src/sys/compile/GENERIC i386
 >Environment:
 >Description:
 
 I created a mirroring configuration according to the description in
 the printed "Complete FreeBSD" which came with the CD set, but I
 repeated the "volume <vol_name>" line in front of the 2nd plex
 definition which is missing in the FreeBSD Handbook vinum
 documentation.  The 2nd plex (with its single subdisk) is up, but the
 1st one is state "crashed", so I typed "init var.p0" on the vinum
 prompt to initialize it. Then, there is a message:
 
   vinum [390] initializing subdisk /dev/vinum/rsd/var.p0.s0
 
 I assume this is a console log message. Immediately after that, I get:
 
 Fatal trap 12: page fault while in kernel mode
 fault virtual address = 0x48
 fault code = supervisor write, page not present
 instruction pointer = 0x8:0xc0a564cd
 stack pointer = 0x10:0xc5e2ddac
 frame pointer = 0x10:0xc5e2ddc0
 code segment = base 0x0, limit 0xfffff, type 0x1b
              = DPLO, pres 1, def32 1, gran 1
 processor eflags = interrupt enabled, resume, IOPL=0
 current process = 390 (vinum)  #!!!
 interrupt mask =
 trap number = 12
 panic: page fault
 
 syncing disks 5 5 done
 ...
 
 This was with the generic kernel. If you'd like me to find out the
 symbol names to the addresses, I hope I find out how to do it reading
 the handbook.
 
 >How-To-Repeat:
 
 >Fix:
 
 
 >Release-Note:
 >Audit-Trail:
 State-Changed-From-To: open->feedback
 State-Changed-By: grog
 State-Changed-When: Thu May 4 16:49:23 PDT 2000
 State-Changed-Why:
 Waiting for additional information from submitter.
 
 
 Responsible-Changed-From-To: freebsd-bugs->grog
 Responsible-Changed-By: grog
 Responsible-Changed-When: Thu May 4 16:49:23 PDT 2000
 Responsible-Changed-Why:
 grog handles vinum PRs.
 >Unformatted:
 Greg Lehey, 5 May 2000
 
 Changed category from misc to kern.  A kernel trap is always kern.
 
 Corrected format damage (one line per paragraph).
 
 Assigned to myself.
 
 Please supply the exact configuration, not a verbal description of
 changes.  It sounds as if you have created two volumes, not a volume
 with two plexes.  Please check the man page or
 http://www.lemis.com/how-to-debug.html for details of what information
 is needed.  Please also state whether this problem is repeatable or
 not.
 
 -- 
 Finger grog@lemis.com for PGP public key
 See complete headers for address and phone numbers
 
State-Changed-From-To: feedback->closed 
State-Changed-By: grog 
State-Changed-When: Mon Nov 27 23:04:56 PST 2000 
State-Changed-Why:  
No feedback from submitter. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18387 
>Unformatted:
Greg Lehey, 5 May 2000

Changed category from misc to kern.  A kernel trap is always kern.

Corrected format damage (one line per paragraph).

Assigned to myself.

Please supply the exact configuration, not a verbal description of
changes.  It sounds as if you have created two volumes, not a volume
with two plexes.  Please check the man page or
http://www.lemis.com/how-to-debug.html for details of what information
is needed.  Please also state whether this problem is repeatable or
not.

Greg Lehey, 28 November 2000

This PR has been in feedback for over 6 months.  I can only assume
that the problem has gone away.  If you have any further problems,
please submit a new PR.

PR closed.
