From owner-freebsd-current Mon Oct 29 12:18:47 2001 Delivered-To: freebsd-current@freebsd.org Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by hub.freebsd.org (Postfix) with ESMTP id 4CEA437B401 for ; Mon, 29 Oct 2001 12:18:44 -0800 (PST) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id MAA11897; Mon, 29 Oct 2001 12:18:39 -0800 (PST) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [162.62.64.10]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id MAA18946; Mon, 29 Oct 2001 12:04:25 -0800 (PST) Received: from hollin.btc.adaptec.com (hollin [162.62.149.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id NAA10907; Mon, 29 Oct 2001 13:18:37 -0700 (MST) Received: (from scottl@localhost) by hollin.btc.adaptec.com (8.11.6/8.11.4) id f9TKDj407174; Mon, 29 Oct 2001 13:13:45 -0700 (MST) (envelope-from scottl) Date: Mon, 29 Oct 2001 13:13:45 -0700 From: Scott Long To: Eric P Liedtke Cc: freebsd-current@freebsd.org Subject: Re: GENERIC Kernel Panic Message-ID: <20011029131345.E6878@hollin.btc.adaptec.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Oct 29, 2001 at 02:19:16PM +0000, Eric P Liedtke wrote: > I own and MSI 694D Pro MoBo. It's a VIA 694x chip based dual P-III board. > I recently installed a version of 5.0 from March, and it was running fine. > I cvsup'd and rebuilt everything Friday night. When I tried to boot the new > kernel it was panicing on a call to destroy_dev() on device 154/0 which I > believe is an asr device (Adaptec Scsi controller of some sort). Here is > what it looked like This is a known problem that was recently exposed. If you don't have an asr card you can just remove the driver from your kernel. I'll have a fix into CVS within a few hours. Scott > > > Pentium Pro MTRR support enabled > Warning: devsm() called on 154/0 > Warning: Driver mistake: destroy_dev on 154/0 > panic don't do that > debugger ("panic") > Stopped at Debugger + 0x44: pushl %ebx > db> > > So I found the code in kern_conf.c that makes the call to panic and just > commented out the panic and rebuilt the kernel. I did this based on the cvs > log entry about 2 file revs back and also the fact that I noticed the > orginial kernel I installed from March had the same warnings but no panic > and seemed to run ok. This seemed to work. I still got the warnings but no > panic. So I built a custom kernel without scsi, since there isn't any in > this machine. And now it runs like a champ. a dmesg from the currently good > CUSTOM kernel is attatched. I am guessing it was erroneously trying to > build an asr device then realizing there wasn't one and destroying it. Is > this correct? If you need any more info on this from the debugger let me > know I still have a copy of a GENERIC kernel with this problem. > > -Eric Liedtke > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message