Re: ATA DMA broken/kernel panic with 5.1-R/5.1-C and VIA 82C586B

From: Nicolai E M Plum <nicolai_at_esperi.org>
Date: Thu, 19 Jun 2003 02:28:14 +0100
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
Received on Wed Jun 18 2003 - 16:28:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:12 UTC