Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 1999 11:13:03 -0500 (EST)
From:      David Gilbert <dgilbert@velocet.ca>
To:        stable@freebsd.org
Subject:   vinum crash.
Message-ID:  <14402.42511.251303.652112@trooper.velocet.net>

next in thread | raw e-mail | index | archive | help
OK... havn't had a look at things yet, but here's the crash.  This was 
cased (and can be repeatedly caused) by doing:

dump -0af - /usr | team 1m 8 | restore rf -

This is 3.3-STABLE as of Saturday. The SCSI drives are on an Adaptec
2940 LVD controller.

My vinum configuration is:

# Vinum configuration of raid1.velocet.net, saved at Mon Nov 29 10:50:15 1999
# Current configuration:
# drive d1 device /dev/da2s1g
# drive d2 device /dev/da3s1g
# drive d3 device /dev/da4s1g
# drive d4 device /dev/da5s1g
# drive d5 device /dev/da6s1g
# drive d6 device /dev/da7s1g
# drive d7 device /dev/da8s1g
# drive d8 device /dev/da9s1g
# volume raid
# plex name raid.p0 org raid5 1024s vol raid
# sd name raid.p0.s0 drive d1 plex raid.p0 len 35872768s driveoffset 265s plexof
fset 0s
# sd name raid.p0.s1 drive d2 plex raid.p0 len 35872768s driveoffset 265s plexof
fset 1024s
# sd name raid.p0.s2 drive d3 plex raid.p0 len 35872768s driveoffset 265s plexof
fset 2048s
# sd name raid.p0.s3 drive d4 plex raid.p0 len 35872768s driveoffset 265s plexof
fset 3072s
# sd name raid.p0.s4 drive d5 plex raid.p0 len 35872768s driveoffset 265s plexof
fset 4096s
# sd name raid.p0.s5 drive d6 plex raid.p0 len 35872768s driveoffset 265s plexof
fset 5120s
# sd name raid.p0.s6 drive d7 plex raid.p0 len 35872768s driveoffset 265s plexof
fset 6144s
# sd name raid.p0.s7 drive d8 plex raid.p0 len 35872768s driveoffset 265s plexof
fset 7168s

Here's the crash:
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:0xc0240448
frame pointer           = 0x10:0xc0240484
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

(kgdb) bt
#0  boot (howto=260) at ../../kern/kern_shutdown.c:285
#1  0xc0152738 in at_shutdown (
    function=0xc0237182 <__set_sysinit_set_sym_memdev_sys_init+1050>, arg=0x0, 
    queue=12) at ../../kern/kern_shutdown.c:446
#2  0xc02093e5 in trap_fatal (frame=0xc023ffc8, eva=184)
    at ../../i386/i386/trap.c:942
#3  0xc02090c3 in trap_pfault (frame=0xc023ffc8, usermode=0, eva=184)
    at ../../i386/i386/trap.c:835
#4  0xc0208d66 in trap (frame={tf_es = -1058668528, tf_ds = -1072431088, 
      tf_edi = 256, tf_esi = 39187457, tf_ebp = -1071382504, 
      tf_isp = -1071382544, tf_ebx = 0, tf_edx = -971053936, tf_ecx = 100, 
      tf_eax = 200, tf_trapno = 12, tf_err = 0, tf_eip = -1072347325, 
      tf_cs = 8, tf_eflags = 66054, tf_esp = -1057173408, tf_ss = 9})
    at ../../i386/i386/trap.c:437
#5  0xc0154743 in tsleep (ident=0x255f401, priority=272, 
    wmesg=0xc022949d "vrlock", timo=200) at ../../kern/kern_synch.c:383
#6  0xc013dded in lockrange (stripe=39187457, bp=0xc61ee490, plex=0xc0e62800)
    at ../../dev/vinum/vinumlock.c:250
#7  0xc013ece2 in bre5 (rq=0xc1142340, plexno=0, diskaddr=0xc02401ac, 
    diskend=39190608) at ../../dev/vinum/vinumraid5.c:586
#8  0xc013fa6d in bre (rq=0xc1142340, plexno=0, diskaddr=0xc02401ac, 
    diskend=39190608) at ../../dev/vinum/vinumrequest.c:633
#9  0xc013fce4 in build_write_request (rq=0xc1142340)
    at ../../dev/vinum/vinumrequest.c:749
#10 0xc013f238 in vinumstart (bp=0xc61ee490, reviveok=0)
    at ../../dev/vinum/vinumrequest.c:276
#11 0xc013f0aa in vinumstrategy (bp=0xc61ee490)
    at ../../dev/vinum/vinumrequest.c:162
#12 0xc018094e in spec_strategy (ap=0xc0240224)
    at ../../miscfs/specfs/spec_vnops.c:540
#13 0xc01800cd in spec_vnoperate (ap=0xc0240224)
    at ../../miscfs/specfs/spec_vnops.c:129
#14 0xc01e37a5 in ufs_vnoperatespec (ap=0xc0240224)
    at ../../ufs/ufs/ufs_vnops.c:2318
#15 0xc016dc73 in bwrite (bp=0xc61ee490) at vnode_if.h:891
#16 0xc0172276 in vop_stdbwrite (ap=0xc024028c) at ../../kern/vfs_default.c:296
#17 0xc01720c1 in vop_defaultop (ap=0xc024028c) at ../../kern/vfs_default.c:130
#18 0xc01800cd in spec_vnoperate (ap=0xc024028c)
    at ../../miscfs/specfs/spec_vnops.c:129
#19 0xc01e37a5 in ufs_vnoperatespec (ap=0xc024028c)
    at ../../ufs/ufs/ufs_vnops.c:2318
#20 0xc016e61f in vfs_bio_awrite (bp=0xc61ee490) at vnode_if.h:1145
#21 0xc01dcafe in ffs_fsync (ap=0xc0240314) at ../../ufs/ffs/ffs_vnops.c:205
#22 0xc01daf87 in ffs_sync (mp=0xc0e66800, waitfor=2, cred=0xc0e79f80, 
    p=0xc03195cc) at vnode_if.h:499
#23 0xc0176b9b in sync (p=0xc03195cc, uap=0x0) at ../../kern/vfs_syscalls.c:549
#24 0xc01522f9 in boot (howto=256) at ../../kern/kern_shutdown.c:203
#25 0xc0152738 in at_shutdown (
    function=0xc0237182 <__set_sysinit_set_sym_memdev_sys_init+1050>, arg=0x0, 
    queue=12) at ../../kern/kern_shutdown.c:446
#26 0xc02093e5 in trap_fatal (frame=0xc024040c, eva=0)
    at ../../i386/i386/trap.c:942
#27 0xc02090c3 in trap_pfault (frame=0xc024040c, usermode=0, eva=0)
    at ../../i386/i386/trap.c:835
#28 0xc0208d66 in trap (frame={tf_es = -1055653872, tf_ds = 16, 
      tf_edi = -1073215488, tf_esi = -1058172928, tf_ebp = -1071381372, 
      tf_isp = -1071381452, tf_ebx = -1057715172, tf_edx = 0, 
      tf_ecx = -1057715172, tf_eax = -919485568, tf_trapno = 12, tf_err = 0, 
      tf_eip = 0, tf_cs = 8, tf_eflags = 66054, tf_esp = -1072236035, 
      tf_ss = -1057715172}) at ../../i386/i386/trap.c:437
#29 0x0 in ?? ()

Dave.

-- 
============================================================================
|David Gilbert, Velocet Communications.       | Two things can only be     |
|Mail:       dgilbert@velocet.net             |  equal if and only if they |
|http://www.velocet.net/~dgilbert             |   are precisely opposite.  |
=========================================================GLO================


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




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