From owner-freebsd-current@FreeBSD.ORG Wed Jun 18 18:28:19 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 DB46A37B401 for ; Wed, 18 Jun 2003 18:28:19 -0700 (PDT) Received: from amonsul.esperi.net (amonsul.esperi.net [194.216.214.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01C3F43FBD for ; Wed, 18 Jun 2003 18:28:17 -0700 (PDT) (envelope-from nicolai@esperi.org) Received: from nicolai by amonsul.esperi.net with local (Exim 4.20) id 19SoDm-0001fU-Vs; Thu, 19 Jun 2003 02:28:14 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16113.4526.893326.692043@amonsul.esperi.net> Date: Thu, 19 Jun 2003 02:28:14 +0100 From: Nicolai E M Plum To: Soeren Schmidt In-Reply-To: <200306172146.h5HLkYcg060768@spider.deepcore.dk> References: <16111.34597.145917.481769@amonsul.esperi.net> <200306172146.h5HLkYcg060768@spider.deepcore.dk> X-Mailer: VM 7.07 under Emacs 21.3.1 cc: freebsd-current@FreeBSD.ORG Subject: Re: ATA DMA broken/kernel panic with 5.1-R/5.1-C and VIA 82C586B 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: Thu, 19 Jun 2003 01:28:20 -0000 Soeren Schmidt writes: > It seems Nicolai E M Plum wrote: > > I noticed some ATA problems solved in -current recently, so I tried > > compiling a kernel from sources about 2 days ago. Booting from that > > (GENERIC) kernel, I do not get "Mounting root..", instead I get > > (approximately, can't cut/paste that console): > > > > Fatal trap 12: page fault while in kernel mode > > fault virtual address = 0xdeadc0de > > fault code = supervisor read, page not present > > instruction pointer = 0x8:0xdeadcode > > stack pointer = 0x10:0xc736bc38 > > frame pointer = 0x19:0xc736bc50 > > .... > > current process = 21 (irc14: ata0) > > kernel: type 12 trap, code=0 > > > > Is this a known problem, perhaps specific to the 82C586B ATA controller? > > This looks strange, I dont have semilar HW here to verify the problem > so I'm a bit in the dark. Is it possible you can build a kernel with > ddb in it so we can get a traceback of the panic ? I get the following (copied by hand, hopefully no typos): db> trace 0 mi_switch(c05bdfc0,4c,c0316220,c05bdfc0,0) at mi_switch+0x210 msleep(c0acb2c4,0,4c,c05dce9f,1) at msleep+0x484 ad_attach(c0acb2c4,1,c14d47c0,c058fef0,c06f7d80) at ad_attach+0x21b ata_boot_attach(0,6fc000,c06f7d80,c03220ba,0) at ata_boot_attach+0x186 run_interrupt_driven_config_hooks(0,6f4000,6f4c00,6f4000,0) at run_interrupt_driven_config_hooks+0x2b mi_startup() at mi_startup+0xb5 begin() at begin+0x2c db> Is that any help? Nicolai