From owner-freebsd-stable Wed Dec 17 14:58:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA23663 for stable-outgoing; Wed, 17 Dec 1997 14:58:10 -0800 (PST) (envelope-from owner-freebsd-stable) Received: from word.smith.net.au (ppp9.portal.net.au [202.12.71.109]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA23653 for ; Wed, 17 Dec 1997 14:58:01 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id JAA01729; Thu, 18 Dec 1997 09:06:05 +1030 (CST) Message-Id: <199712172236.JAA01729@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Saad M. Waraich" cc: freebsd-stable@freebsd.org Subject: Re: Panic on stable In-reply-to: Your message of "Wed, 17 Dec 1997 20:13:47 +0500." <199712171513.UAA00838@isb.ncr.com.pk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 18 Dec 1997 09:06:05 +1030 From: Mike Smith Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Hi > I've 2.2.5-stable for a while now, cvsup'ing every once in a while. No problems > at all. The machine has continously up for over a year now, barring power > failures etc. > > The machine is a 486/100 NCR Globalyst 525 with an IDE disk, Adaptec 152x SCSI > card and a Seagate 2 gig scsi disk. That's a pretty amazing track record for a machine using that disk. > A short while ago the scsi disk spun down and the machine crashed (rather > panic'd). > > Relevant lines from /var/log/messages follow. Could someone please explain > them to me. > > ------------------------------------------------------------------------- > Dec 17 19:11:48 isb /kernel: aic at line 2404: unexpected busfree phase The 'aic' driver (the driver for the 152x card) was not expecting the bus to be free. This is probably due to the disk spinning down. > Dec 17 19:11:48 isb /kernel: Debugger("aic6360") called. > Dec 17 19:11:48 isb /kernel: panic: panic for historical reasons There is no debugger in your system, so the aic driver has paniced. It is at a complete loss as to what to do at this point. > Dec 17 19:11:48 isb /kernel: > Dec 17 19:11:48 isb /kernel: syncing disks... > Dec 17 19:11:48 isb /kernel: > Dec 17 19:11:48 isb /kernel: Fatal trap 12: page fault while in kernel mode The kernel is attempting to flush the cache to disk, but to do that it needs to use the 'aic' driver which is completely confused, causing a fatal trap ('system crash'). The 'aic' driver isn't particularly good at handling problems with disks. If your disk is spinning down, the system is going to follow it. The solution would be to replace the disk. If it's only a couple of years old, it may still be under warranty. mike