Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 1999 12:24:33 -0400 (EDT)
From:      Jim.Pirzyk@disney.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/14018: vinum & Raid 5 errors
Message-ID:  <199909281624.MAA33527@demons.faf.fa.disney.com>

next in thread | raw e-mail | index | archive | help

>Number:         14018
>Category:       kern
>Synopsis:       vinum + Raid5 Causes system panics and hangs
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 28 09:30:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Jim Pirzyk
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
>Environment:

	Setup a Raid 5 partition in vinum with 4 9GB drives.

	The raid5 configuration looked like this:

# Vinum configuration of demons.faf.fa.disney.com, saved at Tue Sep 28 08:11:34 1999
drive a device /dev/da0h
drive b device /dev/da1h
drive c device /dev/da2h
drive d device /dev/da3h
volume garage
	plex org raid5 256k
		sd drive a len 0
		sd drive b len 0
		sd drive c len 0
		sd drive d len 0

	A core dump is available.  System has been changed to use striped
	filesystem and is stable.  The filesystem also has quotas and softupdates.
	Removed softupdates from the partition and still failed.  Removed it
	from the kernel and the system still failed.  Only removing the raid5
	partition seems to have solved the problem.

>Description:

	The system would hang or panic after about 6 hours.  The system
	panic messages would say 'page fault while in kernel mode'

Here is what gdb says about one of the dumps:
	Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0x0
stack pointer           = 0x10:0xc024ca78
frame pointer           = 0x10:0xc024cab4
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         = Idle
interrupt mask          = bio 
trap number             = 12
panic: page fault

syncing disks... 

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x30
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01de294
stack pointer           = 0x10:0xc024c868
frame pointer           = 0x10:0xc024c86c
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         = Idle
interrupt mask          = bio 
trap number             = 12
panic: page fault

dumping to dev 20001, offset 786432
dump 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 

>How-To-Repeat:

	Do high volume filesystem accesses on the Raid 5 parition.

>Fix:

	Do not use raid5 plex organization in vinum.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909281624.MAA33527>