Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2001 10:13:07 +0100
From:      Mark Drayton <mark.drayton@izr.com>
To:        Greg Lehey <grog@FreeBSD.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: newfs/vinum kernel panic
Message-ID:  <20010725101307.A7475@drex.staff.izr.com>
In-Reply-To: <20010725084629.K75783@wantadilla.lemis.com>; from grog@FreeBSD.org on Wed, Jul 25, 2001 at 08:46:29AM %2B0930
References:  <20010724120439.A2885@drex.staff.izr.com> <20010725084629.K75783@wantadilla.lemis.com>

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

--x+6KMIRAuhnl3hBn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Greg Lehey (grog@FreeBSD.org) wrote:
> You didn't load the module symbols.  The most interesting frame here
> is #6, but there's no information:

Okay, new trace is attached.

> Look at the sizes of the subdisks.  They're different.  That shouldn't
> be possible, but it might be related to your problem.
> 
> > Nothing related to the crash in /var/log/messages or
> > /var/log/vinum_history.
> 
> I would have expected to find a comment about the subdisk sizes in
> both places.

I can't find any mention of 'size' in vinum_history. I overlooked this
in /var/log/messages:

Jul 24 15:42:51 cyrus /kernel: vinum: raid10.p0 must have equal sized subdisks
Jul 24 15:42:51 cyrus /kernel: vinum: raid10.p0 must have equal sized subdisks

I could well be the one to blame here. I presumed that vinum would
automatically set the subdisk length to the size of the smallest disk in
a striped plex. Is this correct?

Cheers,

-- 

Mark Drayton

--x+6KMIRAuhnl3hBn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="vinumtrace.txt"
Content-Transfer-Encoding: quoted-printable

Script started on Wed Jul 25 09:49:20 2001
=1B]0;root@cyrus.izr.com: /var/crash=07[root@cyrus crash]# gdb -k /sys/comp=
ile/CYRUS/kernel.debug vmcore.1=0D
GNU gdb 4.18=0D
Copyright 1998 Free Software Foundation, Inc.=0D
GDB is free software, covered by the GNU General Public License, and you ar=
e=0D
welcome to change it and/or distribute copies of it under certain condition=
s.=0D
Type "show copying" to see the conditions.=0D
There is absolutely no warranty for GDB.  Type "show warranty" for details.=
=0D
This GDB was configured as "i386-unknown-freebsd"...=0D
IdlePTD 3227648=0D
initial pcb at 292120=0D
panicstr: page fault=0D
panic messages:=0D
---=0D
Fatal trap 12: page fault while in kernel mode=0D
fault virtual address	=3D 0x1c=0D
fault code		=3D supervisor write, page not present=0D
instruction pointer	=3D 0x8:0xc0e024a5=0D
stack pointer	        =3D 0x10:0xcccaad14=0D
frame pointer	        =3D 0x10:0xcccaad20=0D
code segment		=3D base 0x0, limit 0xfffff, type 0x1b=0D
			=3D DPL 0, pres 1, def32 1, gran 1=0D
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0=0D
current process		=3D 325 (newfs)=0D
interrupt mask		=3D none=0D
trap number		=3D 12=0D
panic: page fault=0D
=0D
syncing disks... 2 =0D
done=0D
Uptime: 2m35s=0D
=0D
dumping to dev #da/0x20001, offset 499712=0D
dump 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 23=
9 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 2=
20 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 =
201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183=
 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 16=
4 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 1=
45 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 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 =0D
---=0D
#0  dumpsys () at ../../kern/kern_shutdown.c:469=0D
469		if (dumping++) {=0D
(kgdb) where=0D
#0  dumpsys () at ../../kern/kern_shutdown.c:469=0D
#1  0xc014ef8b in boot (howto=3D0x100) at ../../kern/kern_shutdown.c:309=0D
#2  0xc014f308 in poweroff_wait (junk=3D0xc026cb2f, howto=3D0xcb893d40) at =
../../kern/kern_shutdown.c:556=0D
#3  0xc0237fcd in trap_fatal (frame=3D0xcccaacd4, eva=3D0x1c) at ../../i386=
/i386/trap.c:951=0D
#4  0xc0237ca5 in trap_pfault (frame=3D0xcccaacd4, usermode=3D0x0, eva=3D0x=
1c) at ../../i386/i386/trap.c:844=0D
#5  0xc023788b in trap (frame=3D{tf_fs =3D 0x10, tf_es =3D 0xccca0010, tf_d=
s =3D 0xc0e00010, tf_edi =3D 0x18c, =0D
      tf_esi =3D 0xc0f5ef00, tf_ebp =3D 0xcccaad20, tf_isp =3D 0xcccaad00, =
tf_ebx =3D 0x0, tf_edx =3D 0x1878, =0D
      tf_ecx =3D 0xc0413000, tf_eax =3D 0x0, tf_trapno =3D 0xc, tf_err =3D =
0x2, tf_eip =3D 0xc0e024a5, tf_cs =3D 0x8, =0D
      tf_eflags =3D 0x10246, tf_esp =3D 0x1590, tf_ss =3D 0xc0eb8000}) at .=
./../i386/i386/trap.c:443=0D
#6  0xc0e024a5 in allocrqg (rq=3D0xc0f5ef00, elements=3D0x1)=0D
    at /usr/src/sys/modules/vinum/../../dev/vinum/vinumrequest.c:1054=0D
#7  0xc0e01a52 in bre (rq=3D0xc0f5ef00, plexno=3D0x0, diskaddr=3D0xcccaad88=
, diskend=3D0x3070240)=0D
    at /usr/src/sys/modules/vinum/../../dev/vinum/vinumrequest.c:571=0D
#8  0xc0e01e53 in build_write_request (rq=3D0xc0f5ef00) at /usr/src/sys/mod=
ules/vinum/../../dev/vinum/vinumrequest.c:774=0D
#9  0xc0e01432 in vinumstart (bp=3D0xc6068088, reviveok=3D0x0)=0D
    at /usr/src/sys/modules/vinum/../../dev/vinum/vinumrequest.c:272=0D
#10 0xc0e01306 in vinumstrategy (bp=3D0xc6068088) at /usr/src/sys/modules/v=
inum/../../dev/vinum/vinumrequest.c:164=0D
#11 0xc014b9c3 in physio (dev=3D0xc0ecba00, uio=3D0xcccaaed8, ioflag=3D0x80=
001) at ../../kern/kern_physio.c:111=0D
#12 0xc0185941 in spec_write (ap=3D0xcccaae68) at ../../miscfs/specfs/spec_=
vnops.c:283=0D
#13 0xc01f9b48 in ufsspec_write (ap=3D0xcccaae68) at ../../ufs/ufs/ufs_vnop=
s.c:1863=0D
#14 0xc01fa105 in ufs_vnoperatespec (ap=3D0xcccaae68) at ../../ufs/ufs/ufs_=
vnops.c:2391=0D
#15 0xc0181c0c in vn_write (fp=3D0xc0f62fc0, uio=3D0xcccaaed8, cred=3D0xc0f=
5c680, flags=3D0x0, p=3D0xcb893d40) at vnode_if.h:363=0D
#16 0xc015d165 in dofilewrite (p=3D0xcb893d40, fp=3D0xc0f62fc0, fd=3D0x3, b=
uf=3D0x806c4a0, nbyte=3D0x20000, =0D
    offset=3D0xffffffffffffffff, flags=3D0x0) at ../../sys/file.h:163=0D
#17 0xc015d01e in write (p=3D0xcb893d40, uap=3D0xcccaaf80) at ../../kern/sy=
s_generic.c:329=0D
#18 0xc0238279 in syscall2 (frame=3D{tf_fs =3D 0x2f, tf_es =3D 0x1002f, tf_=
ds =3D 0xbfbf002f, tf_edi =3D 0x2000, =0D
      tf_esi =3D 0x1e000, tf_ebp =3D 0xbfbfefe4, tf_isp =3D 0xcccaafd4, tf_=
ebx =3D 0x6, tf_edx =3D 0x6, tf_ecx =3D 0x0, =0D
      tf_eax =3D 0x4, tf_trapno =3D 0x7, tf_err =3D 0x2, tf_eip =3D 0x80625=
90, tf_cs =3D 0x1f, tf_eflags =3D 0x297, =0D
      tf_esp =3D 0xbfbfefc8, tf_ss =3D 0x2f}) at ../../i386/i386/trap.c:115=
0=0D
#19 0xc022a9c5 in Xint0x80_syscall ()=0D
#20 0x804c8a5 in ?? ()=0D
#21 0x804b73d in ?? ()=0D
#22 0x804b171 in ?? ()=0D
#23 0x804918f in ?? ()=0D
#24 0x8048135 in ?? ()=0D
(kgdb) quit=0D
=1B]0;root@cyrus.izr.com: /var/crash=07[root@cyrus crash]# exit=0D

Script done on Wed Jul 25 09:49:29 2001

--x+6KMIRAuhnl3hBn--

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




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