Re: PCI irq fix

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Thu Apr 27 2000 - 11:54:26 EST


Benjamin Close wrote:
>
> Hello,
> I have a Toshiba 320 CDS laptop (i386 arch). When I try and run a
> 2.3 kernel (2.3.99-pre6) it panics on boot. I've tracked the problem back
> to a null pointer deference in pci-irq.c If I prevent this derefernce it
> boots ok. Attached is a patch to solve the problem. Comment, suggestions
> and even a correct fix (I'm no kernel hacker) would be nice in the next
> pre release.

Can you turn on PCI debugging and post the result from 'dmesg' ? See
attached patch for an example of how to enable debug info.

Also the top part of your .config would help (everything about CONFIG_PM
basically)

        Jeff

-- 
Jeff Garzik              | Nothing cures insomnia like the
Building 1024            | realization that it's time to get up.
MandrakeSoft, Inc.       |        -- random fortune

--- arch/i386/kernel/pci-i386.h.orig Thu Apr 27 12:52:50 2000 +++ arch/i386/kernel/pci-i386.h Thu Apr 27 12:52:59 2000 @@ -4,7 +4,7 @@ * (c) 1999 Martin Mares <mj@ucw.cz> */ -#undef DEBUG +#define DEBUG 1 #ifdef DEBUG #define DBG(x...) printk(x)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:13 EST