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

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Mon, 21 Jul 2003 16:04:52 +0000 (UTC)
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 ?

-- 
Greetings

Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
56 69 73 69 74				http://www.zabbadoz.net/
Received on Mon Jul 21 2003 - 07:28:39 UTC

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