Subject: Re: DOM0 Page fault trap in NetBSD 3.0
To: TlorD <tld@tld.digitalcurse.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 03/07/2006 20:11:03
On Tue, Mar 07, 2006 at 04:35:12PM +0100, TlorD wrote:
> Greetings,
> I am trying to deploy a XEN machine which has an Adaptec 2410SA SATA
> RAID controller.
> NetBSD 3.0/i386 works like a charm (if using GENERIC.MPACPI), but
> 3.0/xen (enriched with aac0 and ld0 driver definitions bluntly copied
> from GENERIC.MPACPI) panics shortly after the card is recognized.
>
> Is there anything I can do to correctly use the card?
>
> Thanks for the attention.
>
>
> Here is the short version of the error it produces:
>
> uvm_fault (0xc061fd60, 0xc9c1b000, 0, 1) -> 0xe
> kernel: page fault trap, code=0
> Stopped in pid 0.1 (swapper) at netbsd:aac_intr+0x23: cmpb $0,0x3184(%eax)
> aac_intr(c08d7400,0,c08bdf9c,0c06e9ef8) at netbsd:aac_intr+0x23
> pirq_interrupt(c0854970,c06e9ef4,0,11,c03b0031) at netbsd:pirq_interrupt+0xf
> Xresume_xenev4() at netbsd:Xresume_xenev4+0x34
Can you try to narrow down where it gets the fault, and why ?
It's probably dereferencing a NULL pointer but we need to find which one.
In my local build aac_intr+0x23 is line 790 in sys/dev/ic/aac.c
but it may not match your kernel (at last at first glance I can't see why
this would cause a fault).
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--