Bug 18387

Summary: when performing certain vinum operations, GENERIC kernel crashes
Product: Base System Reporter: rhuber <rhuber>
Component: kernAssignee: Greg Lehey <grog>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-RELEASE   
Hardware: Any   
OS: Any   

Description rhuber 2000-05-04 17:50:03 UTC
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 rx0, 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.
Comment 1 Greg Lehey freebsd_committer freebsd_triage 2000-05-05 00:49:23 UTC
State Changed
From-To: open->feedback

Waiting for additional information from submitter. 


Comment 2 Greg Lehey freebsd_committer freebsd_triage 2000-05-05 00:49:23 UTC
Responsible Changed
From-To: freebsd-bugs->grog

grog handles vinum PRs. 

Comment 3 Greg Lehey 2000-05-05 01:00:10 UTC
>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 rx0, 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
Comment 4 Greg Lehey freebsd_committer freebsd_triage 2000-11-28 07:04:56 UTC
State Changed
From-To: feedback->closed

No feedback from submitter.