Re: Fatal trap 12: page fault while in kernel mode

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Tue, 22 Jul 2003 11:32:57 -0600 (MDT)
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
: > _at__at_ -800,7 +800,7 _at__at_
: >  	}
: >
: >  	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
Received on Tue Jul 22 2003 - 08:33:20 UTC

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