From owner-freebsd-hackers Fri Aug 23 20:19:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37E1737B400 for ; Fri, 23 Aug 2002 20:19:04 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id A056F43E75 for ; Fri, 23 Aug 2002 20:19:02 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id A3980812D8; Sat, 24 Aug 2002 12:49:00 +0930 (CST) Date: Sat, 24 Aug 2002 12:49:00 +0930 From: Greg 'groggy' Lehey To: Patrick O'Reilly Cc: freebsd-hackers@freebsd.org Subject: Re: ! Fatal trap 12: System Crash twice in last 2 days Message-ID: <20020824031900.GS87563@wantadilla.lemis.com> References: <025201c24833$3144f550$b50d030a@PATRICK> <20020821052147.GF78608@wantadilla.lemis.com> <07c801c24ac2$3fb0d6e0$b50d030a@PATRICK> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <07c801c24ac2$3fb0d6e0$b50d030a@PATRICK> User-Agent: Mutt/1.3.99i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday, 23 August 2002 at 18:29:21 +0200, Patrick O'Reilly wrote: > From: "Greg 'groggy' Lehey" > > >>> --- >>> Fatal trap 12: page fault while in kernel mode >>> --- >>> Unfortunately this means nothing to me :( >> >> It doesn't mean much to me by itself. >> >> None of this is much help. You need to build a debug kernel and get a >> dump and a stack trace, then we can see what's going on. >> >> Greg > > Greg, > > After learning how to do this stuff, I'm back :) > > I am now at 10 crashes since Sunday, and counting. > > Anyway, I don't know much about gdb, but here is what I was able to get > from my most recently dumped kernel: > > http://docs.perimeter.co.za/crash/20020823_1623_d Hmm. This shows a known crash in Vinum. I've never been able to reproduce it, so it's possible that it's I/O failure related. It's very likely that it's related to this bug report: http://www.freebsd.org/cgi/query-pr.cgi?pr=41740 This report contains a patch. Could you try that, please, and see if it solves the problem. I'm particularly interested in crashes with the kind of backtrace in http://docs.perimeter.co.za/crash/20020823_1623_d: #5 0xc026dd47 in trap (frame={tf_fs = 0x10, tf_es = 0x10, tf_ds = 0x10, tf_edi = 0xc139b400, tf_esi = 0x1, tf_ebp = 0xcc970d4c, tf_isp = 0xcc970d24, tf_ebx = 0xc1315a20, tf_edx = 0xc1178800, tf_ecx = 0x0, tf_eax = 0x0, tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xc10c075d, tf_cs = 0x8, tf_eflags = 0x10286, tf_esp = 0xc1178800, tf_ss = 0xc10b0000}) at /usr/src/sys/i386/i386/trap.c:458 #6 0xc10c075d in launch_requests (rq=0xc122b940, reviveok=0x0) at /usr/src/sys/modules/vinum/../../dev/vinum/vinumrequest.c:396 #7 0xc10c0582 in vinumstart (bp=0xc593a348, reviveok=0x0) at /usr/src/sys/modules/vinum/../../dev/vinum/vinumrequest.c:291 #8 0xc10c03ea in vinumstrategy (bp=0xc593a348) at /usr/src/sys/modules/vinum/../../dev/vinum/vinumrequest.c:164 You've had others, but getting rid of this one would be worthwhile. > There was a suggestion that the fault might lie in the fact that one > of my IDE controllers is "falling back to PIO" because I don't have > the ATA100 compliant cable on device ata1. I'm hoping to get to the > server on Monday to replace that. I'm pretty sure it's not the cable. We've seen random IDE problems with 4.x and AMD chipsets, and that's what I currently suspect. My guess is that the Vinum problem is triggered by another bug. Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message