From owner-freebsd-current@FreeBSD.ORG Tue Aug 26 17:27:20 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E4A116A4BF for ; Tue, 26 Aug 2003 17:27:20 -0700 (PDT) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0698C43FB1 for ; Tue, 26 Aug 2003 17:27:19 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.9/8.12.5) with ESMTP id h7R0REYU013312; Tue, 26 Aug 2003 18:27:14 -0600 (MDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.9/8.12.5/Submit) id h7R0RDjG013311; Tue, 26 Aug 2003 18:27:13 -0600 (MDT) (envelope-from ken) Date: Tue, 26 Aug 2003 18:27:13 -0600 From: "Kenneth D. Merry" To: Martin Message-ID: <20030827002713.GA13282@panzer.kdm.org> References: <1061938195.9309.65.camel@klotz.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1061938195.9309.65.camel@klotz.local> User-Agent: Mutt/1.4.1i cc: FreeBSD Current Subject: Re: Kernel panic with CAM on current (fatal trap 12) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 00:27:20 -0000 On Wed, Aug 27, 2003 at 00:49:56 +0200, Martin wrote: > > Hi, > > I compiled world and kernel tonight (Aug 26th) on my Thinkpad > R40 with a CD/RW drive. I tried my old settings with cam > enabled so I can use cdrecord. > > During boot I got a kernel panic about 10 seconds after the > kernel detected the CD/RW drive. Here some info: > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x0 > fault code = supervisor write, page not present > [...IP/SP reg values changing...] > 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 = 20 (swi3:cambio) > trap number = 12 > > In verbose mode it also showed some "non-retryable > errors" while accessing ata0 and sbp0, before the > kernel stops with the panic. > > I could start the latest kernel after removing > sbp, umass, cam-stuff and atapicam and recompiling > it. The last kernel without these effects was compiled > on Aug 18th. > > I hope it helps, if not, I can write down more > information for you. There are known problems with atapicam. Try enabling DDB in your kernel config, and get a stack trace. If you're panicing in free_hcb(), disable atapicam and try again. Ken -- Kenneth Merry ken@kdm.org