Date: Sat, 29 Apr 2000 18:11:08 +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: <20000429181108.B30793@skriver.dk> In-Reply-To: <20000429142047.C29865@skriver.dk>; from jesper@skriver.dk on Sat, Apr 29, 2000 at 02:20:47PM %2B0200 References: <20000428184908.A24463@skriver.dk> <20000429085324.D79469@freebie.lemis.com> <20000429142047.C29865@skriver.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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 ? remie# dumpon -v /dev/da0s1b dumpon: crash dumps to /dev/da0s1b (13, 131073) remie# Apr 29 17:49:59 remie su: ncbp to root on /dev/ttyp0 Apr 29 17:49:59 remie su: ncbp to root on /dev/ttyp0 Apr 29 17:50:06 remie /kernel: vinum: raid01.p1.s0 is reviving, not up Apr 29 17:50:06 remie /kernel: vinum: raid01.p1.s1 is reviving, not up Apr 29 17:50:06 remie /kernel: vinum: raid01.p1.s2 is reviving, not up Apr 29 17:50:06 remie /kernel: vinum: raid01.p1.s3 is reviving, not up Apr 29 sym0:3: ERROR (81:0) (8-0-0) (1f/9f) @ (mem 8:f000ff53). sym0: regdump: da 00 00 9f 47 1f 03 03 04 08 81 00 80 00 0f 02 00 aa 7b 00 02 ff ff ff. sym1: bad DSA (8bac00) in done queue. sym1:2: ERROR (81:0) (0-a7-80) (1f/9f) @ (mem 8:f000ff53). sym1: regdump: da 10 80 9f 47 1f 02 03 0c 00 88 a7 80 00 0f 02 00 a2 7b 00 08 ff ff ff. (noperiph:sym0:0:-1:-1): SCSI BUS reset detected. 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 kernel: type 12 trap, code=0 Stopped at sym_flush_comp_queue+0x1c: movl %edi,0x4(%eax) db> trace sym_flush_comp_queue(c08bb000,e,384,c08bb000,c6233c1c) at sym_flush_comp_queue+0x1c sym_flush_busy_queue(c08bb000,e,c08bb000,2,c09a1bfa) at sym_flush_busy_queue+0x53 sym_init(c08bb000,1,c0235510,c05a1690,6bf8) at sym_init+0xec sym_intr1(c08bb000,c6233cc0,c02102d5,c08bb000,0) at sym_intr1+0x119 sym_intr(c08bb000,0,c6230018,c6230010,c08c0010) at sym_intr+0xb Xresume16() at Xresume16+0x38 --- interrupt, eip = 0xc0225aa8, esp = 0xc6233c98, ebp = 0xc6233cc0 --- splx(24,c09a1bc0,c8,9c00,af80) at splx+0x30 vinumstart(c1d3cc4c,1,c0bca000,13,c0bca000) at vinumstart+0x45 revive_block(13,c0bca000,c098aa00,c5cd2040,0) at revive_block+0x363 start_object(c0bca000,0,c098aa00,c5cd2040,c621f6c0) at start_object+0x10d setstate(c0bca000,c6233de4,c098aa00,c0bca000,c6233db4) at setstate+0x205 vinumioctl(c098aa00,c400464c,c0bca000,3,c5cd2040) at vinumioctl+0x4f9 spec_ioctl(c6233de4,c6233dcc,c01ec895,c6233de4,c6233e74) at spec_ioctl+0x26 spec_vnoperate(c6233de4,c6233e74,c0180f38,c6233de4,c0b353c0) at spec_vnoperate+0x15 ufs_vnoperatespec(c6233de4,c0b353c0,0,400,c0258600) at ufs_vnoperatespec+0x15 vn_ioctl(c0b353c0,c400464c,c0bca000,c5cd2040,3) at vn_ioctl+0x110 ioctl(c5cd2040,c6233f80,bfbff6c4,bfbff244,13) at ioctl+0x20b syscall2(2f,2f,2f,13,bfbff244) at syscall2+0x219 Xint0x80_syscall() at Xint0x80_syscall+0x2c db> continue 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 kernel: type 12 trap, code=0 Stopped at sym_flush_comp_queue+0x1c: movl %edi,0x4(%eax) db> continue 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 kernel: type 12 trap, code=0 Stopped at sym_flush_comp_queue+0x1c: movl %edi,0x4(%eax) db> panic panic: from debugger mp_lock = 01000003; cpuid = 1; lapic.id = 00000000 Debugger("panic") Stopped at sym_flush_comp_queue+0x1c: movl %edi,0x4(%eax) db> continue 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 kernel: type 12 trap, code=0 Stopped at sym_flush_comp_queue+0x1c: movl %edi,0x4(%eax) db> panic panic: from debugger mp_lock = 01000004; cpuid = 1; lapic.id = 00000000 boot() called on cpu#1 Uptime: 5m46s Where it hung again ... /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?20000429181108.B30793>