Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2000 22:46:14 +0200
From:      Jesper Skriver <jesper@skriver.dk>
To:        Greg Lehey <grog@lemis.com>
Cc:        current@FreeBSD.ORG, Niels Christian Bank-Pedersen <ncbp@bank-pedersen.dk>
Subject:   Re: crash - perhaps vinum or sym related
Message-ID:  <20000429224614.A31885@skriver.dk>
In-Reply-To: <20000429181108.B30793@skriver.dk>; from jesper@skriver.dk on Sat, Apr 29, 2000 at 06:11:08PM %2B0200
References:  <20000428184908.A24463@skriver.dk> <20000429085324.D79469@freebie.lemis.com> <20000429142047.C29865@skriver.dk> <20000429181108.B30793@skriver.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 29, 2000 at 06:11:08PM +0200, Jesper Skriver wrote:
> On Sat, Apr 29, 2000 at 02:20:47PM +0200, Jesper Skriver wrote:
> > On Sat, Apr 29, 2000 at 08:53:24AM +0930, Greg Lehey wrote:
> > > On Friday, 28 April 2000 at 18:49:08 +0200, Jesper Skriver wrote:
> > > >
> > > > I'm not sure if this is a vinum problem, or a problem with the sym
> > > > driver, I hope someone is able to help us here.
> > > 
> > > It's difficult to tell from the backtrace.  The crash happens in the
> > > sym driver, but it is interrupted out of Vinum.  I'd need to look at
> > > the dump.
> > 
> > The box hangs now, so I'll need to go press the reset button, when I'm
> > there I'll reproduce the crash again - what exactly do you want ?
> > 
> > It it what you specify at http://www.lemis.com/vinum/how-to-debug.html#panic
> > or ? Just making sure I get the correct information to you.
> 
> We build a debug kernel, and enabled kernel dumps, as described in the 
> handbook (http://www.freebsd.org/handbook/kerneldebug.html#AEN20443),
> but it didn't write a kernel dump, can anyone see what we did wrong ?

I don't know what happened before, but now we got a kernel dump, I'll
sent you the URL's in a private email.

remie# gdb -k
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd".
(kgdb) symbol-file kernel.debug
Reading symbols from kernel.debug...done.
(kgdb)     exec-file /var/crash/kernel.0
(kgdb)     core-file /var/crash/vmcore.0
SMP 2 cpus
IdlePTD 3063808
initial pcb at 278820
panicstr: from debugger
panic messages:
---
Fatal trap 12: page fault while in kernel mode
mp_lock = 01000003; cpuid = 1; lapic.id = 00000000
fault virtual address   = 0x4
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc012f19c
stack pointer           = 0x10:0xc6233bdc
frame pointer           = 0x10:0xc6233be8
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         = 222 (vinum)
interrupt mask          = cam  <- SMP: XXX


Fatal trap 12: page fault while in kernel mode
mp_lock = 01000003; cpuid = 1; lapic.id = 00000000
fault virtual address   = 0x4
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc012f19c
stack pointer           = 0x10:0xc6233bdc
frame pointer           = 0x10:0xc6233be8
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         = 222 (vinum)
interrupt mask          = cam  <- SMP: XXX


Fatal trap 12: page fault while in kernel mode
mp_lock = 01000003; cpuid = 1; lapic.id = 00000000
fault virtual address   = 0x4
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc012f19c
stack pointer           = 0x10:0xc6233bdc
frame pointer           = 0x10:0xc6233be8
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         = 222 (vinum)
interrupt mask          = cam  <- SMP: XXX
panic: from debugger
mp_lock = 01000003; cpuid = 1; lapic.id = 00000000


Fatal trap 12: page fault while in kernel mode
mp_lock = 01000004; cpuid = 1; lapic.id = 00000000
fault virtual address   = 0x4
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc012f19c
stack pointer           = 0x10:0xc6233bdc
frame pointer           = 0x10:0xc6233be8
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         = 222 (vinum)
interrupt mask          = cam  <- SMP: XXX
panic: from debugger
mp_lock = 01000004; cpuid = 1; lapic.id = 00000000
boot() called on cpu#1
Uptime: 5m46s
(da5:sym0:0:0:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da6:sym0:0:1:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da7:sym0:0:2:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da8:sym0:0:3:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da9:sym0:0:4:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da10:sym0:0:5:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da11:sym0:0:6:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da12:sym0:0:8:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da13:sym0:0:9:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(noperiph:sym1:0:-1:-1): SCSI BUS reset detected.


Fatal trap 12: page fault while in kernel mode
mp_lock = 01000005; cpuid = 1; lapic.id = 00000000
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc012197c
stack pointer           = 0x10:0xc6233678
frame pointer           = 0x10:0xc6233680
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         = 222 (vinum)
interrupt mask          = cam  <- SMP: XXX
panic: from debugger
mp_lock = 01000005; cpuid = 1; lapic.id = 00000000
boot() called on cpu#1
Uptime: 51m3s
(da5:sym0:0:0:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da6:sym0:0:1:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da7:sym0:0:2:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da8:sym0:0:3:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da9:sym0:0:4:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da10:sym0:0:5:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da11:sym0:0:6:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da12:sym0:0:8:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da13:sym0:0:9:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da14:sym1:0:0:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da15:sym1:0:1:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da16:sym1:0:2:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da17:sym1:0:3:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da19:sym1:0:5:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da20:sym1:0:6:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da21:sym1:0:8:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da22:sym1:0:9:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
sym4: bad DSA (8ba600) in done queue.
sym4: bad DSA (8bae00) in done queue.
sym4:8: ERROR (81:0) (0-a7-80) (1f/9f) @ (mem 8:f000ff53).
sym4: regdump: da 10 80 9f 47 1f 08 03 04 00 80 a7 80 00 07 02 00 a0 7b 00 28 ff ff ff.
(noperiph:sym4:0:-1:-1): SCSI BUS reset detected.


Fatal trap 12: page fault while in kernel mode
mp_lock = 01000006; cpuid = 1; lapic.id = 00000000
fault virtual address   = 0x4
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc012f19c
stack pointer           = 0x10:0xc62336a4
frame pointer           = 0x10:0xc62336b0
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         = 222 (vinum)
interrupt mask          = cam  <- SMP: XXX
panic: from debugger
mp_lock = 01000006; cpuid = 1; lapic.id = 00000000
boot() called on cpu#1
Uptime: 2h16m34s
(da5:sym0:0:0:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da6:sym0:0:1:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da7:sym0:0:2:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da8:sym0:0:3:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da9:sym0:0:4:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da10:sym0:0:5:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da11:sym0:0:6:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da12:sym0:0:8:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da13:sym0:0:9:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da14:sym1:0:0:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da15:sym1:0:1:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da16:sym1:0:2:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da17:sym1:0:3:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da19:sym1:0:5:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da20:sym1:0:6:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da21:sym1:0:8:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da22:sym1:0:9:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da23:sym4:0:0:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da24:sym4:0:1:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da25:sym4:0:2:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da26:sym4:0:3:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da27:sym4:0:4:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da28:sym4:0:5:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da29:sym4:0:6:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da30:sym4:0:8:0): Synchronize cache failed, status == 0xb, scsi status == 0x0
(da31:sym4:0:9:0): Synchronize cache failed, status == 0xb, scsi status == 0x0

dumping to dev #da/0x20001, offset 393216
dump 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 
---
#0  boot (howto=260) at ../../kern/kern_shutdown.c:302
302                     dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=260) at ../../kern/kern_shutdown.c:302
#1  0xc014ae1d in panic (fmt=0xc0234254 "from debugger") at ../../kern/kern_shutdown.c:552
#2  0xc01296f9 in db_panic (addr=-1072500324, have_addr=0, count=1, modif=0xc6233a40 "") at ../../ddb/db_command.c:433
#3  0xc0129699 in db_command (last_cmdp=0xc025ac7c, cmd_table=0xc025aadc, aux_cmd_tablep=0xc0274b90) at ../../ddb/db_command.c:333
#4  0xc012975e in db_command_loop () at ../../ddb/db_command.c:455
#5  0xc012b91f in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71
#6  0xc020c88c in kdb_trap (type=12, code=0, regs=0xc6233b9c) at ../../i386/i386/db_interface.c:158
#7  0xc021f4d2 in trap_fatal (frame=0xc6233b9c, eva=4) at ../../i386/i386/trap.c:922
#8  0xc021f169 in trap_pfault (frame=0xc6233b9c, usermode=0, eva=4) at ../../i386/i386/trap.c:820
#9  0xc021eccf in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1064584964, tf_esi = -1064587264, tf_ebp = -970769432, tf_isp = -970769464, 
      tf_ebx = -1061524536, tf_edx = -1061524536, tf_ecx = -1064587264, tf_eax = 0, tf_trapno = 12, tf_err = 2, tf_eip = -1072500324, tf_cs = 8, tf_eflags = 66070, 
      tf_esp = -1061524536, tf_ss = -1064584964}) at ../../i386/i386/trap.c:426
#10 0xc012f19c in sym_flush_comp_queue (np=0xc08bb000, cam_status=14) at ../../dev/sym/sym_hipd.c:192
#11 0xc012daab in sym_flush_busy_queue (np=0xc08bb000, cam_status=14) at ../../dev/sym/sym_hipd.c:4644
#12 0xc012dba0 in sym_init (np=0xc08bb000, reason=1) at ../../dev/sym/sym_hipd.c:4705
#13 0xc012e809 in sym_intr1 (np=0xc08bb000) at ../../dev/sym/sym_hipd.c:5409
#14 0xc012e8bf in sym_intr (arg=0xc08bb000) at ../../dev/sym/sym_hipd.c:5453
#15 0xc0225aa8 in splx (ipl=3231304629) at ../../i386/isa/ipl_funcs.c:241
#16 0xc099cbb5 in ?? ()
#17 0xc099e117 in ?? ()
#18 0xc099f931 in ?? ()
#19 0xc099fcc1 in ?? ()
#20 0xc099a7d5 in ?? ()
#21 0xc018576e in spec_ioctl (ap=0xc6233de4) at ../../miscfs/specfs/spec_vnops.c:304
#22 0xc0185499 in spec_vnoperate (ap=0xc6233de4) at ../../miscfs/specfs/spec_vnops.c:117
#23 0xc01ec895 in ufs_vnoperatespec (ap=0xc6233de4) at ../../ufs/ufs/ufs_vnops.c:2305
#24 0xc0180f38 in vn_ioctl (fp=0xc0b353c0, com=3288352332, data=0xc0bca000 "\023", p=0xc5cd2040) at vnode_if.h:429
#25 0xc015ba6f in ioctl (p=0xc5cd2040, uap=0xc6233f80) at ../../sys/file.h:172
#26 0xc021f829 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 19, tf_esi = -1077939644, tf_ebp = -1077938428, tf_isp = -970768428, 
      tf_ebx = -1077938492, tf_edx = 134901864, tf_ecx = -11, tf_eax = 54, tf_trapno = 7, tf_err = 2, tf_eip = 134677660, tf_cs = 31, tf_eflags = 663, 
      tf_esp = -1077939688, tf_ss = 47}) at ../../i386/i386/trap.c:1126
#27 0xc020d22c in Xint0x80_syscall ()

/Jesper

-- 
Jesper Skriver, jesper(at)skriver(dot)dk  -  CCIE #5456
Work:    Network manager @ AS3292 (Tele Danmark DataNetworks)
Private: Geek            @ AS2109 (A much smaller network ;-)

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.


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




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