Subject: Re: Libretto PCIBIOS Problems
To: None <>
From: Masanori Kanaoka <>
List: port-i386
Date: 11/14/2001 22:10:05

       From: Curt Sampson <>
    Subject: Libretto PCIBIOS Problems
      Date : Fri, 09 Nov 2001 18:40:22 +0900 (JST)
 Message-ID: <>

$ If someone were willing to help me out with this, I'd really appreciate
$ it. Unfortunately, I think the interrupt routing is going to be somewhat
$ screwed on my Libretto here until I can use the PCIBIOS to configure it.

My note PC has PIR table, but your machine does not have PIR table.

So I try to call get_intr_routing() from pcibios_pir_init() with next patch.
kernel failed boot with My note PC(Toshiba Satellite 2550X).
Message is below(copy by hand):

 uvm_fault(0xc03b2c20, 0x6000, 0, 3) -> e
 kernel: page fault trap, code = 0
 Stopped in pid 0(swapper) at 0xc0489e79: movw	%dx, 0x14(%bp)

I think that get_intr_routing() is not tested well,
because most Note PC has PIR table.

I don't know what non-Toshiba note PC happened with next patch.
Any suggestion??

# Sorry,My english is poor! but I'm interesting this problem.

 Masanori Kanaoka

Index: sys/arch/i386/pci/pcibios.c
RCS file: /ftp/cvs/syssrc/sys/arch/i386/pci/pcibios.c,v
retrieving revision 1.6
diff -u -r1.6 pcibios.c
--- sys/arch/i386/pci/pcibios.c 2001/07/06 18:04:58     1.6
+++ sys/arch/i386/pci/pcibios.c 2001/11/13 12:11:24
@@ -221,6 +221,7 @@
+#if 0
        char devinfo[256];
        paddr_t pa;
        caddr_t p;
@@ -291,7 +292,7 @@
         * If there was no PIR table found, try using the PCI BIOS
         * Get Interrupt Routing call.