Fatal trap 12: page fault while in kernel mode

M. Warner Losh imp at bsdimp.com
Tue Jul 22 10:33:20 PDT 2003


In message: <Pine.BSF.4.53.0307211602420.45284 at e0-0.zab2.int.zabbadoz.net>
            "Bjoern A. Zeeb" <bzeeb-lists at lists.zabbadoz.net> writes:
: On Mon, 21 Jul 2003, Noriyoshi Kawano wrote:
: 
: > I have similar problem.
: > disable re-route interrupts.
: > It's works fine.
: >
: > --- /sys/dev/pci/pci.c.orig	Tue Jul  1 23:08:32 2003
: > +++ /sys/dev/pci/pci.c	Mon Jul 21 11:04:55 2003
: > @@ -800,7 +800,7 @@
: >  	}
: >
: >  	if (cfg->intpin > 0 && PCI_INTERRUPT_VALID(cfg->intline)) {
: > -#if defined(__ia64__) || (defined(__i386__) && !defined(SMP))
: > +#if defined(__ia64__)
: >  		/*
: >  		 * Try to re-route interrupts. Sometimes the BIOS or
: >  		 * firmware may leave bogus values in these registers.
: 
: 
: Thanks. This works fine. Is there any "global" solution to the problem
: so that I won't need to patch again the time 5.2R comes out ?

I'm just catching the tail end of this problem report.  What problem
is solved by not rotuing interrupts?

I'm guessing it is the "we don't setup things correctly to call some
BIOSes" or "some older pci bioses lie to us so we shoot our selves
when we believe the lies" or something like that.

Warner


More information about the freebsd-current mailing list