Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: DOM0 Page fault trap in NetBSD 3.0



On Wed, Mar 08, 2006 at 12:07:43AM +0100, TLorD wrote:
> > 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).

I think you just need to add a few printfs in the kernel, in
the aac_intr() function. Maybe just adding
#define AAC_DEBUG 0xff
at the top of aacvar.h would be enouth for starting.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index