** Reply to message from Dave Anderson <[email protected]> on Sun, 4 Apr 2010 20:30:15 -0400 (EDT)
>On Thu, 1 Apr 2010, Dave Anderson wrote: > >>On Thu, 1 Apr 2010, Dave Anderson wrote: >> >>>I've inherited an old notebook (Sony Vaio PCG-FX120) whose CardBus slots >>>are (presumably) unusable because their interrupts aren't mapped: >>> >>>cbb0 at pci1 dev 2 function 0 "Ricoh 5C476 CardBus" rev 0x80: couldn't \ >>>map interrupt >>>cbb1 at pci1 dev 2 function 1 "Ricoh 5C476 CardBus" rev 0x80: couldn't \ >>>map interrupt >>> >>>I've updated the BIOS to the latest version I can find, and am running >>>current (as of March 30th). This happens both with APM and with ACPI >>>(APM disabled); I've included both full dmesgs below. >>> >>>With ACPI there's one additional "couldn't map interrupt" for a device >>>which is configured properly with APM: >>> >>>uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x03: couldn't \ >>>map interrupt >> >>One more thing I should have mentioned: this system has a very simple >>BIOS with only a few tweakable settings; I've tried them all without >>changing this behavior. >> >>>I'd really like to get this working properly, since I can't afford to >>>buy a new system right now. If anyone is interested in looking into >>>this, I'd be happy to run any tests, patches or whatever; the system >>>isn't in use yet, so even complete reinstalls are fine. >>> >>>Thanks for any help, > >I bit of searching turned up 'UKC>change pcibios' and setting the flags >to 0x30; this 'verbose' dmesg plus pcidump -v ( both included below) >produce a bunch of interesting-looking information which, unfortunately, >I do not (yet) know enough to make sense of. > >I also found a truly gross hack used by someone in similar circumstances >(http://www.gratisoft.us/ftp/pub/todd/OpenBSD/srx77/cardbus.diff), which >I'll try to adapt if I don't find anything better. This is primarily for the record, though it may help someone with similar problems. After spending some time crawling through the code and reading PCI specs, I determined that the underlying problem is that the BIOS is reporting an incorrect PCI bus attachment for the Cardbus devices -- resulting in the 'how to attach interrupts' lookup failing. Since in my case all of the device numbers in the table from the BIOS are unique, a simple patch to match on only the device number (if there's only one entry with that device number, and if there's no match on both bus and device) corrects the problem and allows the interrupts to be properly connected. There's still a problem (which I haven't yet dug in to) where it appears that interrupts still don't work properly if the Cardbus device is in place when the system boots, but since it works if I hotplug it later this is something I can live with (at least for a while). Here's the patch (against -current as of a week or two ago): Index: sys/arch/i386/pci/pci_intr_fixup.c =================================================================== RCS file: /cvs/src/sys/arch/i386/pci/pci_intr_fixup.c,v retrieving revision 1.62 diff -u sys/arch/i386/pci/pci_intr_fixup.c --- sys/arch/i386/pci/pci_intr_fixup.c 7 Dec 2008 14:33:26 -0000 1.62 +++ sys/arch/i386/pci/pci_intr_fixup.c 1 May 2010 17:02:28 -0000 @@ -336,15 +336,29 @@ { struct pcibios_intr_routing *pir; int entry; + int dev_entry = -1; if (pcibios_pir_table == NULL) return (NULL); for (entry = 0; entry < pcibios_pir_table_nentries; entry++) { pir = &pcibios_pir_table[entry]; - if (pir->bus == bus && - PIR_DEVFUNC_DEVICE(pir->device) == device) - return (pir); + if (PIR_DEVFUNC_DEVICE(pir->device) == device) { + if (pir->bus == bus) + return (pir); + else if (dev_entry == -1) + dev_entry = entry; + else + dev_entry = -2; + } + } + + if (dev_entry >= 0) { + pir = &pcibios_pir_table[dev_entry]; + if (pcibios_flags & PCIBIOS_INTRDEBUG) + printf("pciintr_pir_lookup(%i,%i): matching bus %i\n", + bus, device, pir->bus); + return (pir); } return (NULL); ===== Dave >OpenBSD 4.7-current (GENERIC) #560: Wed Mar 24 00:26:42 MDT 2010 > [email protected]:/usr/src/sys/arch/i386/compile/GENERIC >cpu0: Intel Pentium III ("GenuineIntel" 686-class) 696 MHz >cpu0: >FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE >real mem = 534798336 (510MB) >avail mem = 508944384 (485MB) >User Kernel Config >UKC> chn\^H \^Hange pcibios >361 pcibios0 at bios0 flags 0x0 >change (y/n) ? >flags [0] ? 0x30 >361 pcibios0 changed >361 pcibios0 at bios0 flags 0x30 >UKC> quit >Continuing... >mainbus0 at root >bios0 at mainbus0: AT/286+ BIOS, date 03/06/02, BIOS32 rev. 0 @ >0xfd878, SMBIOS rev. 2.31 @ 0xd8010 (15 entries) >bios0: vendor Phoenix Technologies LTD version "R0232U0" date 03/06/02 >bios0: Sony Corporation PCG-FX120(UC) >apm0 at bios0: Power Management spec V1.2 >apm0: AC on, battery charge unknown >acpi at bios0 function 0x0 not configured >pcibios0 at bios0: rev 2.1 @ 0xfd860/0x7a0 >pcibios0: config mechanism [1][x], special cycles [x][x], last bus 1 >pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries) >PIR Entry 0: > Bus: 0 Device: 30 > INTA: link 0x60 bitmap 0x0200 > INTB: link 0x61 bitmap 0x0200 > INTC: link 0x62 bitmap 0x0200 > INTD: link 0x63 bitmap 0x0200 >PIR Entry 1: > Bus: 1 Device: 6 > INTA: link 0x62 bitmap 0x0200 > INTB: link 0x63 bitmap 0x0200 > INTC: link 0x60 bitmap 0x0200 > INTD: link 0x61 bitmap 0x0200 >PIR Entry 2: > Bus: 1 Device: 4 > INTA: link 0x61 bitmap 0x0200 > INTB: link 0x60 bitmap 0x0200 > INTC: link 0x62 bitmap 0x0200 > INTD: link 0x63 bitmap 0x0200 >PIR Entry 3: > Bus: 1 Device: 9 > INTA: link 0x62 bitmap 0x0200 > INTB: link 0x63 bitmap 0x0200 > INTC: link 0x00 bitmap 0x0200 > INTD: link 0x00 bitmap 0x0200 >PIR Entry 4: > Bus: 1 Device: 8 > INTA: link 0x68 bitmap 0x0200 > INTB: link 0x00 bitmap 0x0000 > INTC: link 0x00 bitmap 0x0000 > INTD: link 0x00 bitmap 0x0000 >PIR Entry 5: > Bus: 0 Device: 0 > INTA: link 0x60 bitmap 0x0200 > INTB: link 0x61 bitmap 0x0200 > INTC: link 0x62 bitmap 0x0200 > INTD: link 0x63 bitmap 0x0200 >PIR Entry 6: > Bus: 0 Device: 31 > INTA: link 0x60 bitmap 0x0200 > INTB: link 0x61 bitmap 0x0200 > INTC: link 0x6b bitmap 0x0200 > INTD: link 0x63 bitmap 0x0200 >PIR Entry 7: > Bus: 0 Device: 2 > INTA: link 0x60 bitmap 0xdef8 > INTB: link 0x61 bitmap 0xdef8 > INTC: link 0x00 bitmap 0xdef8 > INTD: link 0x00 bitmap 0xdef8 >PIR Entry 8: > Bus: 0 Device: 1 > INTA: link 0x60 bitmap 0xdef8 > INTB: link 0x61 bitmap 0xdef8 > INTC: link 0x00 bitmap 0xdef8 > INTD: link 0x00 bitmap 0xdef8 >pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00) >pciintr_link_init: bus 0 device 2 link 0x60: bad irq bitmap 0xdef8, should be >0x0200 >pciintr_link_init: bus 0 device 2 link 0x61: bad irq bitmap 0xdef8, should be >0x0200 >pciintr_link_init: bus 0 device 1 link 0x60: bad irq bitmap 0xdef8, should be >0x0200 >pciintr_link_init: bus 0 device 1 link 0x61: bad irq bitmap 0xdef8, should be >0x0200 >pciintr_link_fixup: PIRQ 0x00 is already connected to IRQ 9 >pciintr_link_fixup: PIRQ 0x01 is already connected to IRQ 9 >pciintr_link_fixup: PIRQ 0x02 is already connected to IRQ 10 >pciintr_link_fixup: PIRQ 0x03 is already connected to IRQ 10 >pciintr_link_fixup: PIRQ 0x04 is already connected to IRQ 9 >pciintr_link_fixup: PIRQ 0x07 is already connected to IRQ 9 >pciintr_link_fixup: piirq 0x0600 >001:02:0 1180:0476 >Mismatched primary bus: primary 0, secondary 0, subordinate 0 >PCI bus renumbering needed >PCI bridge 0: primary 1, secondary 2, subordinate 2 >PCI bridge 1: primary 1, secondary 3, subordinate 3 >PCI bridge 2: primary 0, secondary 1, subordinate 3 >pcibios0: PCI bus #3 is the last bus >[System BIOS Setting]----------------------- > device vendor product > register space address size >-------------------------------------------- >000:00:0 8086:1130 > [OK] >000:02:0 8086:1132 > 10h mem 0xf8000000 0x04000000 > 14h mem 0xf4000000 0x00080000 > [OK] >000:30:0 8086:2448 > [OK] >000:31:0 8086:244c > [OK] >000:31:1 8086:244a > 20h port 0x00001800 0x00000010 > [OK] >000:31:2 8086:2442 > 20h port 0x00001820 0x00000020 > [OK] >000:31:3 8086:2443 > 20h port 0x00001810 0x00000010 > [OK] >000:31:4 8086:2444 > 20h port 0x00002400 0x00000020 > [OK] >000:31:5 8086:2445 > 10h port 0x00001c00 0x00000100 > 14h port 0x00001840 0x00000040 > [OK] >000:31:6 8086:2446 > 10h port 0x00002000 0x00000100 > 14h port 0x00001880 0x00000080 > [OK] >001:00:0 104c:8021 > 10h mem 0xf4101000 0x00000800 > 14h mem 0xf4104000 0x00004000 > [OK] >001:02:0 1180:0476 > 10h mem 0x00000000 0x00001000 > [OK] >001:02:1 1180:0476 > 10h mem 0x00000000 0x00001000 > [OK] >001:08:0 8086:2449 > 10h mem 0xf4100000 0x00001000 > 14h port 0x00003000 0x00000040 > [OK] >000:00:0 8086:1130 > [OK] >000:02:0 8086:1132 > 10h mem 0xf8000000 0x04000000 > 14h mem 0xf4000000 0x00080000 > [OK] >000:30:0 8086:2448 > [OK] >000:31:0 8086:244c > [OK] >000:31:1 8086:244a > 20h port 0x00001800 0x00000010 > [OK] >000:31:2 8086:2442 > 20h port 0x00001820 0x00000020 > [OK] >000:31:3 8086:2443 > 20h port 0x00001810 0x00000010 > [OK] >000:31:4 8086:2444 > 20h port 0x00002400 0x00000020 > [OK] >000:31:5 8086:2445 > 10h port 0x00001c00 0x00000100 > 14h port 0x00001840 0x00000040 > [OK] >000:31:6 8086:2446 > 10h port 0x00002000 0x00000100 > 14h port 0x00001880 0x00000080 > [OK] >001:00:0 104c:8021 >disabled mem space at addr 0xf4101000 size 0x800 > 10h mem 0xf4101000 0x00000800 >disabled mem space at addr 0xf4104000 size 0x4000 > 14h mem 0xf4104000 0x00004000 > [OK] >001:02:0 1180:0476 > 10h mem 0x00000000 0x00001000 > [OK] >001:02:1 1180:0476 > 10h mem 0x00000000 0x00001000 > [OK] >001:08:0 8086:2449 > 10h mem 0xf4100000 0x00001000 > 14h port 0x00003000 0x00000040 > [OK] >--------------------------[ 0 devices bogus] > Physical memory end: 0x1fe7c000 > PCI memory mapped I/O space start: 0x1ff00000 >[PCIBIOS fixup stage]----------------------- > device vendor product > register space address size >-------------------------------------------- >000:00:0 8086:1130 > [OK] >000:02:0 8086:1132 > 10h mem 0xf8000000 0x04000000 > 14h mem 0xf4000000 0x00080000 > [OK] >000:30:0 8086:2448 > [OK] >000:31:0 8086:244c > [OK] >000:31:1 8086:244a > 20h port 0x00001800 0x00000010 > [OK] >000:31:2 8086:2442 > 20h port 0x00001820 0x00000020 > [OK] >000:31:3 8086:2443 > 20h port 0x00001810 0x00000010 > [OK] >000:31:4 8086:2444 > 20h port 0x00002400 0x00000020 > [OK] >000:31:5 8086:2445 > 10h port 0x00001c00 0x00000100 > 14h port 0x00001840 0x00000040 > [OK] >000:31:6 8086:2446 > 10h port 0x00002000 0x00000100 > 14h port 0x00001880 0x00000080 > [OK] >001:00:0 104c:8021 > 10h mem 0xf4101000 0x00000800 > 14h mem 0xf4104000 0x00004000 > [OK] >001:02:0 1180:0476 >pci_addr_fixup: 001:02:0 1180:0476 >new address 0x1ff00000 > 10h mem 0x1ff00000 0x00001000 > [OK] >001:02:1 1180:0476 >pci_addr_fixup: 001:02:1 1180:0476 >new address 0x1ff01000 > 10h mem 0x1ff01000 0x00001000 > [OK] >001:08:0 8086:2449 > 10h mem 0xf4100000 0x00001000 > 14h port 0x00003000 0x00000040 > [OK] >--------------------------[ 0 devices bogus] >bios0: ROM list: 0xc0000/0xc000 0xd8000/0x4000! 0xdc000/0x4000! >cpu0 at mainbus0: (uniprocessor) >pci0 at mainbus0 bus 0: configuration mode 1 (bios) >pchb0 at pci0 dev 0 function 0 "Intel 82815 Host" rev 0x11 >vga1 at pci0 dev 2 function 0 "Intel 82815 Video" rev 0x11 >wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) >wsdisplay0: screen 1-5 added (80x25, vt100 emulation) >intagp0 at vga1 >agp0 at intagp0: aperture at 0xf8000000, size 0x4000000 >ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x03 > >0:30:0 8086:2448 pin A clink 0x00 irq 9 stage 0 fixed up irq 9 > >0:30:0 8086:2448 pin B clink 0x01 irq 9 stage 0 fixed up irq 9 > >0:30:0 8086:2448 pin C clink 0x02 irq 10 stage 0 fixed up irq 10 > >0:30:0 8086:2448 pin D clink 0x03 irq 10 stage 0 fixed up irq 10 >pci1 at ppb0 bus 1 >mem address conflict 0x1ff00000/0x1000 >mem address conflict 0x1ff01000/0x1000 >"TI TSB43AA22 FireWire" rev 0x02 at pci1 dev 0 function 0 not configured >cbb0 at pci1 dev 2 function 0 "Ricoh 5C476 CardBus" rev 0x80Interrupt >not connected; no need to change.: couldn't map interrupt >cbb1 at pci1 dev 2 function 1 "Ricoh 5C476 CardBus" rev 0x80Interrupt >not connected; no need to change.: couldn't map interrupt >fxp0 at pci1 dev 8 function 0 "Intel 82562" rev 0x03 >1:8:0 8086:2449 pin A clink 0x04 irq 9 stage 0 WARNING: preserving irq 9 >pci_intr_route_link: route PIRQ 0x04 -> IRQ 9 preserved BIOS setting >, i82562: irq 9, address 08:00:46:14:eb:5a >inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 >ichpcib0 at pci0 dev 31 function 0 "Intel 82801BAM LPC" rev 0x03: 24-bit timer >at 3579545Hz >pciide0 at pci0 dev 31 function 1 "Intel 82801BAM IDE" rev 0x03: DMA, >channel 0 wired to compatibility, channel 1 wired to compatibility >wd0 at pciide0 channel 0 drive 0: <HITACHI_DK23BA-10> >wd0: 16-sector PIO, LBA, 9590MB, 19640880 sectors >wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 >atapiscsi0 at pciide0 channel 1 drive 0 >scsibus0 at atapiscsi0: 2 targets >cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, DVD-ROM SD-C2502, 1513> ATAPI 5/cdrom >removable >cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 >uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x03 >0:31:2 8086:2442 pin D clink 0x03 irq 9 stage 0 WARNING: preserving irq 9 >pci_intr_route_link: route PIRQ 0x03 -> IRQ 9 preserved BIOS setting >: irq 9 >ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x03 >0:31:3 8086:2443 pin B clink 0x01 irq 9 stage 0 WARNING: preserving irq 9 >pci_intr_route_link: route PIRQ 0x01 -> IRQ 9 preserved BIOS setting >: irq 9 >iic0 at ichiic0 >uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x03 >0:31:4 8086:2444 pin C clink 0x07 irq 9 stage 0 WARNING: preserving irq 9 >pci_intr_route_link: route PIRQ 0x07 -> IRQ 9 preserved BIOS setting >: irq 9 >auich0 at pci0 dev 31 function 5 "Intel 82801BA AC97" rev 0x03 >0:31:5 8086:2445 pin B clink 0x01 irq 9 stage 0 WARNING: preserving irq 9 >pci_intr_route_link: route PIRQ 0x01 -> IRQ 9 preserved BIOS setting >: irq 9, ICH2 AC97 >ac97: codec id 0x41445348 (Analog Devices AD1881A) >ac97: codec features headphone, Analog Devices Phat Stereo >audio0 at auich0 >"Intel 82801BA Modem" rev 0x03 at pci0 dev 31 function 6 not configured >pci_intr_post_fixup: PCI IRQs: 9 9 10 9 9 9; ISA IRQs: 0 1 2 3 4 5 6 7 8 11 12 >13 14 15 >isa0 at ichpcib0 >isadma0 at isa0 >com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo >pckbc0 at isa0 port 0x60/5 >pckbd0 at pckbc0 (kbd slot) >pckbc0: using irq 1 for kbd slot >wskbd0 at pckbd0: console keyboard, using wsdisplay0 >pms0 at pckbc0 (aux slot) >pckbc0: using irq 12 for aux slot >wsmouse0 at pms0 mux 0 >pcppi0 at isa0 port 0x61 >midi0 at pcppi0: <PC speaker> >spkr0 at pcppi0 >lpt0 at isa0 port 0x378/4 irq 7 >npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 >fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 >fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec >pcic0 at isa0 port 0x3e0/2 iomem 0xd0000/16384 >pcic0 controller 0: <Intel 82365SL rev 1> has sockets A and B >pcmcia0 at pcic0 controller 0 socket 0 >pcmcia1 at pcic0 controller 0 socket 1 >pcic0: irq 3, polling enabled >usb0 at uhci0: USB revision 1.0 >uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >usb1 at uhci1: USB revision 1.0 >uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >biomask ef65 netmask ef65 ttymask ffff >mtrr: Pentium Pro MTRR support >vscsi0 at root >scsibus1 at vscsi0: 256 targets >softraid0 at root >root on wd0a swap on wd0b dump on wd0b > > >Domain /dev/pci0: > 0:0:0: Intel 82815 Host > 0x0000: Vendor ID: 8086 Product ID: 1130 > 0x0004: Command: 0106 Status ID: 2090 > 0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 11 > 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 > 0x0010: BAR empty (00000000) > 0x0014: BAR empty (00000000) > 0x0018: BAR empty (00000000) > 0x001c: BAR empty (00000000) > 0x0020: BAR empty (00000000) > 0x0024: BAR empty (00000000) > 0x0028: Cardbus CIS: 00000000 > 0x002c: Subsystem Vendor ID: 104d Product ID: 80df > 0x0030: Expansion ROM Base Address: 00000000 > 0x0038: 00000000 > 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00 > 0x0088: Capability 0x09: Vendor Specific > 0:2:0: Intel 82815 Video > 0x0000: Vendor ID: 8086 Product ID: 1132 > 0x0004: Command: 0007 Status ID: 02b0 > 0x0008: Class: 03 Subclass: 00 Interface: 00 Revision: 11 > 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 > 0x0010: BAR mem prefetchable 32bit addr: 0xf8000000 > 0x0014: BAR mem 32bit addr: 0xf4000000 > 0x0018: BAR empty (00000000) > 0x001c: BAR empty (00000000) > 0x0020: BAR empty (00000000) > 0x0024: BAR empty (00000000) > 0x0028: Cardbus CIS: 00000000 > 0x002c: Subsystem Vendor ID: 104d Product ID: 80df > 0x0030: Expansion ROM Base Address: 00000000 > 0x0038: 00000000 > 0x003c: Interrupt Pin: 01 Line: 09 Min Gnt: 00 Max Lat: 00 > 0x00dc: Capability 0x01: Power Management > 0:30:0: Intel 82801BAM Hub-to-PCI > 0x0000: Vendor ID: 8086 Product ID: 2448 > 0x0004: Command: 0107 Status ID: 0080 > 0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 03 > 0x000c: BIST: 00 Header Type: 01 Latency Timer: 00 Cache Line Size: 00 > 0x0010: 00000000 > 0x0014: 00000000 > 0x0018: Primary Bus: 0 Secondary Bus: 1 Subordinate Bus: 3 > Secondary Latency Timer: 40 > 0x001c: I/O Base: 30 I/O Limit: 30 Secondary Status: 2280 > 0x0020: Memory Base: f410 Memory Limit: f410 > 0x0024: Prefetch Memory Base: fff0 Prefetch Memory Limit: 0000 > 0x0028: Prefetch Memory Base Upper 32 Bits: 00000000 > 0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000 > 0x0030: I/O Base Upper 16 Bits: 0000 I/O Limit Upper 16 Bits: 0000 > 0x0038: Expansion ROM Base Address: 00000000 > 0x003c: Interrupt Pin: 00 Line: 00 Bridge Control: 0004 > 0:31:0: Intel 82801BAM LPC > 0x0000: Vendor ID: 8086 Product ID: 244c > 0x0004: Command: 000f Status ID: 0280 > 0x0008: Class: 06 Subclass: 01 Interface: 00 Revision: 03 > 0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 00 > 0x0010: BAR empty (00000000) > 0x0014: BAR empty (00000000) > 0x0018: BAR empty (00000000) > 0x001c: BAR empty (00000000) > 0x0020: BAR empty (00000000) > 0x0024: BAR empty (00000000) > 0x0028: Cardbus CIS: 00000000 > 0x002c: Subsystem Vendor ID: 0000 Product ID: 0000 > 0x0030: Expansion ROM Base Address: 00000000 > 0x0038: 00000000 > 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00 > 0:31:1: Intel 82801BAM IDE > 0x0000: Vendor ID: 8086 Product ID: 244a > 0x0004: Command: 0005 Status ID: 0280 > 0x0008: Class: 01 Subclass: 01 Interface: 80 Revision: 03 > 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 > 0x0010: BAR empty (00000000) > 0x0014: BAR empty (00000000) > 0x0018: BAR empty (00000000) > 0x001c: BAR empty (00000000) > 0x0020: BAR io addr: 0x00001800 > 0x0024: BAR empty (00000000) > 0x0028: Cardbus CIS: 00000000 > 0x002c: Subsystem Vendor ID: 104d Product ID: 80df > 0x0030: Expansion ROM Base Address: 00000000 > 0x0038: 00000000 > 0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00 > 0:31:2: Intel 82801BA USB > 0x0000: Vendor ID: 8086 Product ID: 2442 > 0x0004: Command: 0005 Status ID: 0280 > 0x0008: Class: 0c Subclass: 03 Interface: 00 Revision: 03 > 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 > 0x0010: BAR empty (00000000) > 0x0014: BAR empty (00000000) > 0x0018: BAR empty (00000000) > 0x001c: BAR empty (00000000) > 0x0020: BAR io addr: 0x00001820 > 0x0024: BAR empty (00000000) > 0x0028: Cardbus CIS: 00000000 > 0x002c: Subsystem Vendor ID: 104d Product ID: 80df > 0x0030: Expansion ROM Base Address: 00000000 > 0x0038: 00000000 > 0x003c: Interrupt Pin: 04 Line: 09 Min Gnt: 00 Max Lat: 00 > 0:31:3: Intel 82801BA SMBus > 0x0000: Vendor ID: 8086 Product ID: 2443 > 0x0004: Command: 0001 Status ID: 0280 > 0x0008: Class: 0c Subclass: 05 Interface: 00 Revision: 03 > 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 > 0x0010: BAR empty (00000000) > 0x0014: BAR empty (00000000) > 0x0018: BAR empty (00000000) > 0x001c: BAR empty (00000000) > 0x0020: BAR io addr: 0x00001810 > 0x0024: BAR empty (00000000) > 0x0028: Cardbus CIS: 00000000 > 0x002c: Subsystem Vendor ID: 104d Product ID: 80df > 0x0030: Expansion ROM Base Address: 00000000 > 0x0038: 00000000 > 0x003c: Interrupt Pin: 02 Line: 09 Min Gnt: 00 Max Lat: 00 > 0:31:4: Intel 82801BA USB > 0x0000: Vendor ID: 8086 Product ID: 2444 > 0x0004: Command: 0005 Status ID: 0280 > 0x0008: Class: 0c Subclass: 03 Interface: 00 Revision: 03 > 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 > 0x0010: BAR empty (00000000) > 0x0014: BAR empty (00000000) > 0x0018: BAR empty (00000000) > 0x001c: BAR empty (00000000) > 0x0020: BAR io addr: 0x00002400 > 0x0024: BAR empty (00000000) > 0x0028: Cardbus CIS: 00000000 > 0x002c: Subsystem Vendor ID: 104d Product ID: 80df > 0x0030: Expansion ROM Base Address: 00000000 > 0x0038: 00000000 > 0x003c: Interrupt Pin: 03 Line: 09 Min Gnt: 00 Max Lat: 00 > 0:31:5: Intel 82801BA AC97 > 0x0000: Vendor ID: 8086 Product ID: 2445 > 0x0004: Command: 0005 Status ID: 0280 > 0x0008: Class: 04 Subclass: 01 Interface: 00 Revision: 03 > 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 > 0x0010: BAR io addr: 0x00001c00 > 0x0014: BAR io addr: 0x00001840 > 0x0018: BAR empty (00000000) > 0x001c: BAR empty (00000000) > 0x0020: BAR empty (00000000) > 0x0024: BAR empty (00000000) > 0x0028: Cardbus CIS: 00000000 > 0x002c: Subsystem Vendor ID: 104d Product ID: 80df > 0x0030: Expansion ROM Base Address: 00000000 > 0x0038: 00000000 > 0x003c: Interrupt Pin: 02 Line: 09 Min Gnt: 00 Max Lat: 00 > 0:31:6: Intel 82801BA Modem > 0x0000: Vendor ID: 8086 Product ID: 2446 > 0x0004: Command: 0001 Status ID: 0280 > 0x0008: Class: 07 Subclass: 03 Interface: 00 Revision: 03 > 0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00 > 0x0010: BAR io addr: 0x00002000 > 0x0014: BAR io addr: 0x00001880 > 0x0018: BAR empty (00000000) > 0x001c: BAR empty (00000000) > 0x0020: BAR empty (00000000) > 0x0024: BAR empty (00000000) > 0x0028: Cardbus CIS: 00000000 > 0x002c: Subsystem Vendor ID: 104d Product ID: 80df > 0x0030: Expansion ROM Base Address: 00000000 > 0x0038: 00000000 > 0x003c: Interrupt Pin: 02 Line: 09 Min Gnt: 00 Max Lat: 00 > 1:0:0: TI TSB43AA22 FireWire > 0x0000: Vendor ID: 104c Product ID: 8021 > 0x0004: Command: 0110 Status ID: 0210 > 0x0008: Class: 0c Subclass: 00 Interface: 10 Revision: 02 > 0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 08 > 0x0010: BAR mem 32bit addr: 0xf4101000 > 0x0014: BAR mem 32bit addr: 0xf4104000 > 0x0018: BAR empty (00000000) > 0x001c: BAR empty (00000000) > 0x0020: BAR empty (00000000) > 0x0024: BAR empty (00000000) > 0x0028: Cardbus CIS: 00000000 > 0x002c: Subsystem Vendor ID: 104d Product ID: 80df > 0x0030: Expansion ROM Base Address: 00000000 > 0x0038: 00000000 > 0x003c: Interrupt Pin: 01 Line: 09 Min Gnt: 03 Max Lat: 04 > 0x0044: Capability 0x01: Power Management > 1:2:0: Ricoh 5C476 CardBus > 0x0000: Vendor ID: 1180 Product ID: 0476 > 0x0004: Command: 0007 Status ID: 0210 > 0x0008: Class: 06 Subclass: 07 Interface: 00 Revision: 80 > 0x000c: BIST: 00 Header Type: 82 Latency Timer: 00 Cache Line Size: 00 > 0x0010: Cardbus Control Registers Base Address: f4102000 > 0x0018: Primary Bus: 1 Cardbus Bus: 2 Subordinate Bus: 2 > Cardbus Latency Timer: 00 > 0x001c: Memory Base 0: 00000000 > 0x0020: Memory Limit 0: 00000000 > 0x0024: Memory Base 1: 00000000 > 0x0028: Memory Limit 1: 00000000 > 0x002c: I/O Base 0: 00000000 > 0x0030: I/O Limit 0: 00000000 > 0x0034: I/O Base 1: 00000000 > 0x0038: I/O Limit 1: 00000000 > 0x003c: Interrupt Pin: 01 Line: 00 Bridge Control: 0700 > 0x0040: Subsystem Vendor ID: 104d Product ID: 80df > 0x0044: 16-bit Legacy Mode Base Address: 000003e1 > 0x00dc: Capability 0x01: Power Management > 1:2:1: Ricoh 5C476 CardBus > 0x0000: Vendor ID: 1180 Product ID: 0476 > 0x0004: Command: 0007 Status ID: 0210 > 0x0008: Class: 06 Subclass: 07 Interface: 00 Revision: 80 > 0x000c: BIST: 00 Header Type: 82 Latency Timer: 00 Cache Line Size: 00 > 0x0010: Cardbus Control Registers Base Address: f4103000 > 0x0018: Primary Bus: 1 Cardbus Bus: 3 Subordinate Bus: 3 > Cardbus Latency Timer: 00 > 0x001c: Memory Base 0: 00000000 > 0x0020: Memory Limit 0: 00000000 > 0x0024: Memory Base 1: 00000000 > 0x0028: Memory Limit 1: 00000000 > 0x002c: I/O Base 0: 00000000 > 0x0030: I/O Limit 0: 00000000 > 0x0034: I/O Base 1: 00000000 > 0x0038: I/O Limit 1: 00000000 > 0x003c: Interrupt Pin: 02 Line: 00 Bridge Control: 0700 > 0x0040: Subsystem Vendor ID: 104d Product ID: 80df > 0x0044: 16-bit Legacy Mode Base Address: 000003e1 > 0x00dc: Capability 0x01: Power Management > 1:8:0: Intel 82562 > 0x0000: Vendor ID: 8086 Product ID: 2449 > 0x0004: Command: 0117 Status ID: 0290 > 0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 03 > 0x000c: BIST: 00 Header Type: 00 Latency Timer: 42 Cache Line Size: 08 > 0x0010: BAR mem 32bit addr: 0xf4100000 > 0x0014: BAR io addr: 0x00003000 > 0x0018: BAR empty (00000000) > 0x001c: BAR empty (00000000) > 0x0020: BAR empty (00000000) > 0x0024: BAR empty (00000000) > 0x0028: Cardbus CIS: 00000000 > 0x002c: Subsystem Vendor ID: 8086 Product ID: 3013 > 0x0030: Expansion ROM Base Address: 00000000 > 0x0038: 00000000 > 0x003c: Interrupt Pin: 01 Line: 09 Min Gnt: 08 Max Lat: 38 > 0x00dc: Capability 0x01: Power Management > > >>>OpenBSD 4.7-current (GENERIC) #0: Tue Mar 30 11:36:17 EDT 2010 >>> [email protected]:/usr/src/sys/arch/i386/compile/GENERIC >>>cpu0: Intel Pentium III ("GenuineIntel" 686-class) 696 MHz >>>cpu0: >>>FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE >>>real mem = 534798336 (510MB) >>>avail mem = 509218816 (485MB) >>>mainbus0 at root >>>bios0 at mainbus0: AT/286+ BIOS, date 03/06/02, BIOS32 rev. 0 @ 0xfd878, >>>SMBIOS rev. 2.31 @ 0xd8010 (15 entries) >>>bios0: vendor Phoenix Technologies LTD version "R0232U0" date 03/06/02 >>>bios0: Sony Corporation PCG-FX120(UC) >>>apm0 at bios0: Power Management spec V1.2 >>>apm0: AC on, battery charge unknown >>>acpi at bios0 function 0x0 not configured >>>pcibios0 at bios0: rev 2.1 @ 0xfd860/0x7a0 >>>pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries) >>>pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00) >>>pcibios0: PCI bus #3 is the last bus >>>bios0: ROM list: 0xc0000/0xc000 0xd8000/0x4000! 0xdc000/0x4000! >>>cpu0 at mainbus0: (uniprocessor) >>>pci0 at mainbus0 bus 0: configuration mode 1 (bios) >>>pchb0 at pci0 dev 0 function 0 "Intel 82815 Host" rev 0x11 >>>vga1 at pci0 dev 2 function 0 "Intel 82815 Video" rev 0x11 >>>wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) >>>wsdisplay0: screen 1-5 added (80x25, vt100 emulation) >>>intagp0 at vga1 >>>agp0 at intagp0: aperture at 0xf8000000, size 0x4000000 >>>ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x03 >>>pci1 at ppb0 bus 1 >>>mem address conflict 0x1ff00000/0x1000 >>>mem address conflict 0x1ff01000/0x1000 >>>"TI TSB43AA22 FireWire" rev 0x02 at pci1 dev 0 function 0 not configured >>>cbb0 at pci1 dev 2 function 0 "Ricoh 5C476 CardBus" rev 0x80: couldn't map >>>interrupt >>>cbb1 at pci1 dev 2 function 1 "Ricoh 5C476 CardBus" rev 0x80: couldn't map >>>interrupt >>>fxp0 at pci1 dev 8 function 0 "Intel 82562" rev 0x03, i82562: irq 9, address >>>08:00:46:14:eb:5a >>>inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 >>>ichpcib0 at pci0 dev 31 function 0 "Intel 82801BAM LPC" rev 0x03: 24-bit >>>timer at 3579545Hz >>>pciide0 at pci0 dev 31 function 1 "Intel 82801BAM IDE" rev 0x03: DMA, >>>channel 0 wired to compatibility, channel 1 wired to compatibility >>>wd0 at pciide0 channel 0 drive 0: <HITACHI_DK23BA-10> >>>wd0: 16-sector PIO, LBA, 9590MB, 19640880 sectors >>>wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 >>>atapiscsi0 at pciide0 channel 1 drive 0 >>>scsibus0 at atapiscsi0: 2 targets >>>cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, DVD-ROM SD-C2502, 1513> ATAPI >>>5/cdrom removable >>>cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 >>>uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x03: irq 9 >>>ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x03: irq 9 >>>iic0 at ichiic0 >>>uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x03: irq 9 >>>auich0 at pci0 dev 31 function 5 "Intel 82801BA AC97" rev 0x03: irq 9, ICH2 >>>AC97 >>>ac97: codec id 0x41445348 (Analog Devices AD1881A) >>>ac97: codec features headphone, Analog Devices Phat Stereo >>>audio0 at auich0 >>>"Intel 82801BA Modem" rev 0x03 at pci0 dev 31 function 6 not configured >>>isa0 at ichpcib0 >>>isadma0 at isa0 >>>com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo >>>pckbc0 at isa0 port 0x60/5 >>>pckbd0 at pckbc0 (kbd slot) >>>pckbc0: using irq 1 for kbd slot >>>wskbd0 at pckbd0: console keyboard, using wsdisplay0 >>>pms0 at pckbc0 (aux slot) >>>pckbc0: using irq 12 for aux slot >>>wsmouse0 at pms0 mux 0 >>>pcppi0 at isa0 port 0x61 >>>midi0 at pcppi0: <PC speaker> >>>spkr0 at pcppi0 >>>lpt0 at isa0 port 0x378/4 irq 7 >>>npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 >>>fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 >>>fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec >>>pcic0 at isa0 port 0x3e0/2 iomem 0xd0000/16384 >>>pcic0 controller 0: <Intel 82365SL rev 1> has sockets A and B >>>pcmcia0 at pcic0 controller 0 socket 0 >>>pcmcia1 at pcic0 controller 0 socket 1 >>>pcic0: irq 3, polling enabled >>>usb0 at uhci0: USB revision 1.0 >>>uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >>>usb1 at uhci1: USB revision 1.0 >>>uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >>>biomask ef65 netmask ef65 ttymask ffff >>>mtrr: Pentium Pro MTRR support >>>vscsi0 at root >>>scsibus1 at vscsi0: 256 targets >>>softraid0 at root >>>root on wd0a swap on wd0b dump on wd0b >>> >>>OpenBSD 4.7-current (GENERIC) #0: Tue Mar 30 11:36:17 EDT 2010 >>> [email protected]:/usr/src/sys/arch/i386/compile/GENERIC >>>cpu0: Intel Pentium III ("GenuineIntel" 686-class) 696 MHz >>>cpu0: >>>FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE >>>real mem = 534798336 (510MB) >>>avail mem = 509218816 (485MB) >>>User Kernel Config >>>UKC> disable apm >>>358 apm0 disabled >>>UKC> quit >>>Continuing... >>>mainbus0 at root >>>bios0 at mainbus0: AT/286+ BIOS, date 03/06/02, BIOS32 rev. 0 @ 0xfd878, >>>SMBIOS rev. 2.31 @ 0xd8010 (15 entries) >>>bios0: vendor Phoenix Technologies LTD version "R0232U0" date 03/06/02 >>>bios0: Sony Corporation PCG-FX120(UC) >>>apm at bios0 function 0x15 not configured >>>acpi0 at bios0: rev 0 >>>acpi0: tables DSDT FACP BOOT >>>acpi0: wakeup devices PWRB(S5) LAN_(S3) CRD0(S3) CRD1(S3) EC0_(S5) COMA(S3) >>>USB1(S3) USB2(S3) MODE(S3) >>>acpitimer0 at acpi0: 3579545 Hz, 24 bits >>>acpiprt0 at acpi0: bus 0 (PCI0) >>>acpiprt1 at acpi0: bus 1 (HUB_) >>>acpiec0 at acpi0 >>>acpicpu0 at acpi0: C2 >>>acpitz0 at acpi0: critical temperature 99 degC >>>acpibtn0 at acpi0: LID_ >>>acpibtn1 at acpi0: PWRB >>>acpibat0 at acpi0: BAT1 type LION oem "Sony Corp." >>>acpibat1 at acpi0: BAT2 not present >>>acpiac0 at acpi0: AC unit online >>>acpivideo0 at acpi0: GCH0 >>>acpivout0 at acpivideo0: LFP_ >>>bios0: ROM list: 0xc0000/0xc000 0xd8000/0x4000! 0xdc000/0x4000! >>>cpu0 at mainbus0: (uniprocessor) >>>pci0 at mainbus0 bus 0: configuration mode 1 (bios) >>>pchb0 at pci0 dev 0 function 0 "Intel 82815 Host" rev 0x11 >>>vga1 at pci0 dev 2 function 0 "Intel 82815 Video" rev 0x11 >>>wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) >>>wsdisplay0: screen 1-5 added (80x25, vt100 emulation) >>>intagp0 at vga1 >>>agp0 at intagp0: aperture at 0xf8000000, size 0x4000000 >>>ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x03 >>>pci1 at ppb0 bus 1 >>>"TI TSB43AA22 FireWire" rev 0x02 at pci1 dev 0 function 0 not configured >>>cbb0 at pci1 dev 2 function 0 "Ricoh 5C476 CardBus" rev 0x80: couldn't map >>>interrupt >>>cbb1 at pci1 dev 2 function 1 "Ricoh 5C476 CardBus" rev 0x80: couldn't map >>>interrupt >>>fxp0 at pci1 dev 8 function 0 "Intel 82562" rev 0x03, i82562: irq 9, address >>>08:00:46:14:eb:5a >>>inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 >>>ichpcib0 at pci0 dev 31 function 0 "Intel 82801BAM LPC" rev 0x03 >>>pciide0 at pci0 dev 31 function 1 "Intel 82801BAM IDE" rev 0x03: DMA, >>>channel 0 wired to compatibility, channel 1 wired to compatibility >>>wd0 at pciide0 channel 0 drive 0: <HITACHI_DK23BA-10> >>>wd0: 16-sector PIO, LBA, 9590MB, 19640880 sectors >>>wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 >>>atapiscsi0 at pciide0 channel 1 drive 0 >>>scsibus0 at atapiscsi0: 2 targets >>>cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, DVD-ROM SD-C2502, 1513> ATAPI >>>5/cdrom removable >>>cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 >>>uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x03: couldn't map >>>interrupt >>>ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x03: irq 9 >>>iic0 at ichiic0 >>>uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x03: irq 9 >>>auich0 at pci0 dev 31 function 5 "Intel 82801BA AC97" rev 0x03: irq 9, ICH2 >>>AC97 >>>ac97: codec id 0x41445348 (Analog Devices AD1881A) >>>ac97: codec features headphone, Analog Devices Phat Stereo >>>audio0 at auich0 >>>"Intel 82801BA Modem" rev 0x03 at pci0 dev 31 function 6 not configured >>>isa0 at ichpcib0 >>>isadma0 at isa0 >>>com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo >>>pckbc0 at isa0 port 0x60/5 >>>pckbd0 at pckbc0 (kbd slot) >>>pckbc0: using irq 1 for kbd slot >>>wskbd0 at pckbd0: console keyboard, using wsdisplay0 >>>pms0 at pckbc0 (aux slot) >>>pckbc0: using irq 12 for aux slot >>>wsmouse0 at pms0 mux 0 >>>pcppi0 at isa0 port 0x61 >>>midi0 at pcppi0: <PC speaker> >>>spkr0 at pcppi0 >>>lpt0 at isa0 port 0x378/4 irq 7 >>>npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 >>>fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 >>>fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec >>>pcic0 at isa0 port 0x3e0/2 iomem 0xd0000/16384 >>>pcic0 controller 0: <Intel 82365SL rev 1> has sockets A and B >>>pcmcia0 at pcic0 controller 0 socket 0 >>>pcmcia1 at pcic0 controller 0 socket 1 >>>pcic0: irq 3, polling enabled >>>usb0 at uhci1: USB revision 1.0 >>>uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 >>>biomask ef65 netmask ef65 ttymask ffff >>>mtrr: Pentium Pro MTRR support >>>vscsi0 at root >>>scsibus1 at vscsi0: 256 targets >>>softraid0 at root >>>root on wd0a swap on wd0b dump on wd0b -- Dave Anderson <[email protected]>

