Subject: Re: DOM0 Page fault trap in NetBSD 3.0
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: TLorD <tld@tld.digitalcurse.com>
List: port-xen
Date: 03/08/2006 00:07:43
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Manuel Bouyer wrote:
> On Tue, Mar 07, 2006 at 04:35:12PM +0100, TlorD wrote:

>> 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).

I'd love to, I just need to know how.
Do I have to send you the compiled kernel? Recompile with debug information
(will take ages to copy :P )?
As long as I can do that, I'll gladly help.
One thing I can safely say is that the halt happens at a later stage than aac0
attachment (it attaches the network cards after that and before the crash), so
I guess it's something interrupt-related, possibly the ld0 recognition (but
since I don't know how to scrollback, I'm quite helpless at that).

Thanks for the help!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEDhI/MiWEUf7YMGERAtxYAJ9Mz+z9q+3TczwjcAZuOS+1NaHiiQCeOUmj
YozAKtd8S5TBshGtNt3qTz8=
=5kkR
-----END PGP SIGNATURE-----