NetBSD Problem Report #30654

From khym@azeotrope.org  Sat Jul  2 06:21:45 2005
Return-Path: <khym@azeotrope.org>
Received: from yerfable.azeotrope.org (cdm-208-180-124-100.gtwn.cox-internet.com [208.180.124.100])
	by narn.netbsd.org (Postfix) with ESMTP id D9C0363B104
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  2 Jul 2005 06:21:43 +0000 (UTC)
Message-Id: <200507020621.j626LfNI004077@cheetah.azeotrope.org>
Date: Sat, 2 Jul 2005 01:21:41 -0500 (CDT)
From: Dave Huang <khym@azeotrope.org>
Reply-To: khym@azeotrope.org
To: gnats-bugs@netbsd.org
Subject: Not all PCI busses configured on Tyan Thunder K8WE when using ACPI
X-Send-Pr-Version: 3.95

>Number:         30654
>Category:       port-amd64
>Synopsis:       Not all PCI busses configured on Tyan Thunder K8WE when using ACPI
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    joerg
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 02 06:22:00 +0000 2005
>Closed-Date:    Thu Nov 12 18:45:48 +0000 2009
>Last-Modified:  Thu Nov 12 18:45:48 +0000 2009
>Originator:     Dave Huang
>Release:        NetBSD 3.99.6
>Organization:

>Environment:


System: NetBSD cheetah.azeotrope.org 3.99.6 NetBSD 3.99.6 (CHEETAH) #1: Sat Jun 18 21:19:36 CDT 2005 root@cheetah.azeotrope.org:/usr/obj.amd64/sys/arch/amd64/compile/CHEETAH amd64
Architecture: x86_64
Machine: amd64
>Description:
	When using ACPI (acpi0 at mainbus0, options MPACPI, and
options MPACPI_SCANPCI), NetBSD seems to configure only the PCI busses
attached to the "main" nForce Professional 2200 chip of the Tyan
Thunder K8WE (S2895) motherboard: it sees the first PCI Express slot
and all of the onboard devices (SATA, USB, Firewire, etc...) except
for the second Ethernet port. The second ethernet port and the second
PCI Express slot are connected to a nForce Professional 2050 chip,
which NetBSD doesn't detect. It also doesn't see any of the three
PCI-X slots that are attached to the AMD 8131 PCI-X tunnel.

	However, all PCI slots are detected when using MPBIOS. Following is the dmesg output when using ACPI:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.99.3 (CHEETAH) #6: Tue May  3 20:33:12 CDT 2005
	khym@yerfable.azeotrope.org:/usr2/obj.amd64/sys/arch/amd64/compile/CHEETAH
total memory = 2046 MB
avail memory = 1959 MB
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Opteron(tm) Processor 246, 2009.36 MHz
cpu0: features: e7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: e7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu0: features: e7dbfbff<FXSR,SSE,SSE2,LONG,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 1 MB 64B/line 16-way
cpu0: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: calibrating local timer
cpu0: apic clock running at 200 MHz
cpu0: 16 page colors
cpu0: kstack at 0xffff80000ec90000 for 20480 bytes
cpu0: idle pcb at 0xffff80000ec90000, idle sp at 0xffff80000ec94ff0
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: AMD Opteron(tm) Processor 246, 2009.26 MHz
cpu1: features: e7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features: e7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu1: features: e7dbfbff<FXSR,SSE,SSE2,LONG,3DNOW2,3DNOW>
cpu1: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu1: L2 cache 1 MB 64B/line 16-way
cpu1: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu1: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu1: kstack at 0xffff80000ec95000 for 20480 bytes
cpu1: idle pcb at 0xffff80000ec95000, idle sp at 0xffff80000ec99ff0
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, virtual wire mode, version 11, 24 pins
ioapic1 at mainbus0 apid 3 (I/O APIC)
ioapic1: pa 0xd8000000, virtual wire mode, version 11, 4 pins
ioapic2 at mainbus0 apid 4 (I/O APIC)
ioapic2: pa 0xd8001000, virtual wire mode, version 11, 4 pins
cpu2 at mainbus0: (uniprocessor)
cpu2: AMD Opteron(tm) Processor 246, 2009.26 MHz
cpu2: features: e7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu2: features: e7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu2: features: e7dbfbff<FXSR,SSE,SSE2,LONG,3DNOW2,3DNOW>
cpu2: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu2: L2 cache 1 MB 64B/line 16-way
cpu2: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu2: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu2: kstack at 0xffff80000ec9a000 for 20480 bytes
cpu2: idle pcb at 0xffff80000ec9a000, idle sp at 0xffff80000ec9eff0
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20050408
acpi0: X/RSDT: OemId <PTLTD ,  RSDT  ,06040000>, AslId < LTP,00000000>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
mpacpi: could not get bus number, assuming bus 0
mpacpi: found root PCI bus 0 at level 1
mpacpi: found subordinate bus 1 at level 2
mpacpi: found subordinate bus 2 at level 2
mpacpi: failed to derive bus number, ignoring
mpacpi: failed to derive bus number, ignoring
mpacpi: failed to derive bus number, ignoring
mpacpi: found subordinate bus 9 at level 2
mpacpi: found subordinate bus 10 at level 2
mpacpi: found root PCI bus 128 at level 1
mpacpi: found subordinate bus 129 at level 2
mpacpi: failed to derive bus number, ignoring
mpacpi: failed to derive bus number, ignoring
mpacpi: failed to derive bus number, ignoring
mpacpi: 7 PCI busses
mpacpi: configuring PCI bus 0 int routing
mpacpi: configuring PCI bus 1 int routing
mpacpi: configuring PCI bus 2 int routing
mpacpi: configuring PCI bus 9 int routing
mpacpi: configuring PCI bus 10 int routing
mpacpi: configuring PCI bus 128 int routing
mpacpi: configuring PCI bus 129 int routing
ioapic0: pin 0 attached to isa0 irq 0 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 1 attached to isa0 irq 1 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 3 attached to isa0 irq 3 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 4 attached to isa0 irq 4 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 5 attached to isa0 irq 5 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 6 attached to isa0 irq 6 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 7 attached to isa0 irq 7 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 8 attached to isa0 irq 8 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 9 attached to isa0 irq 9 (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: pin 10 attached to isa0 irq 10 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 11 attached to isa0 irq 11 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 12 attached to isa0 irq 12 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 13 attached to isa0 irq 13 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 14 attached to isa0 irq 14 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: pin 15 attached to isa0 irq 15 (type 0<type=0> flags 0<pol=0,trig=0>)
local apic: pin 1 attached to NMI (type 1<type=1=NMI> flags 0<pol=0,trig=0>)
local apic: pin 1 attached to NMI (type 1<type=1=NMI> flags 0<pol=0,trig=0>)
ioapic1: pin 0 attached to pci9 device 4 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 1 attached to pci9 device 4 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 2 attached to pci9 device 4 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic1: pin 3 attached to pci9 device 4 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic2: pin 0 attached to pci10 device 4 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic2: pin 1 attached to pci10 device 4 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic2: pin 2 attached to pci10 device 4 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic2: pin 3 attached to pci10 device 4 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic2: pin 1 attached to pci10 device 9 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic2: pin 2 attached to pci10 device 9 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic2: pin 3 attached to pci10 device 9 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic2: pin 0 attached to pci10 device 9 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic2: pin 2 attached to pci10 device 6 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic2: pin 3 attached to pci10 device 6 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0C0C [ACPI power button device] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
PNP0A03 [PCI Bus] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0800 [AT-style speaker sound] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0C04 [Math Coprocessor] at acpi0 not configured
PNP0A05 [Generic ACPI Bus] at acpi0 not configured
PNP0501 [16550A-compatible COM port] at acpi0 not configured
PNP0700 [PC standard floppy disk controller] at acpi0 not configured
PNP0303 [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not configured
PNP0F13 [PS/2 Port for PS/2-style Mice] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0A03 [PCI Bus] at acpi0 not configured
PNP0A03 [PCI Bus] at acpi0 not configured
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
Nvidia product 0x005e (miscellaneous memory, revision 0xa3) at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0
pcib0: Nvidia product 0x0051 (rev. 0xa3)
Nvidia nForce4 SMBus (SMBus serial bus, revision 0xa2) at pci0 dev 1 function 1 not configured
ohci0 at pci0 dev 2 function 0: Nvidia product 0x005a (rev. 0xa2)
ohci0: interrupting at ioapic0 pin 10 (irq 10)
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Nvidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0 at pci0 dev 2 function 1: Nvidia product 0x005b (rev. 0xa3)
ehci0: interrupting at ioapic0 pin 11 (irq 11)
ehci0: EHCI version 1.0
ehci0: companion controller, 4 ports each: ohci0
usb1 at ehci0: USB revision 2.0
uhub1 at usb1
uhub1: Nvidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
auich0 at pci0 dev 4 function 0: nForce4 AC-97 Audio
auich0: interrupting at ioapic0 pin 12 (irq 12)
auich0: ac97: Analog Devices AD1981B codec; headphone, 20 bit DAC, no 3D stereo
auich0: ac97: ext id 605<AC97_22,AMAP,SPDIF,VRA>
viaide0 at pci0 dev 6 function 0
viaide0: NVIDIA nForce4 IDE Controller (rev. 0xa2)
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at viaide0 channel 1
viaide1 at pci0 dev 7 function 0
viaide1: NVIDIA nForce4 Serial ATA Controller (rev. 0xa3)
viaide1: bus-master DMA support present
viaide1: primary channel wired to native-PCI mode
viaide1: using ioapic0 pin 10 (irq 10) for native-PCI interrupt
atabus2 at viaide1 channel 0
viaide1: secondary channel wired to native-PCI mode
atabus3 at viaide1 channel 1
viaide2 at pci0 dev 8 function 0
viaide2: NVIDIA nForce4 Serial ATA Controller (rev. 0xa3)
viaide2: bus-master DMA support present
viaide2: primary channel wired to native-PCI mode
viaide2: using ioapic0 pin 11 (irq 11) for native-PCI interrupt
atabus4 at viaide2 channel 0
viaide2: secondary channel wired to native-PCI mode
atabus5 at viaide2 channel 1
ppb0 at pci0 dev 9 function 0: Nvidia product 0x005c (rev. 0xa2)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
Texas Instruments TSB43AA22/A IEEE 1394 Host Controller (Firewire serial bus, interface 0x10) at pci1 dev 5 function 0 not configured
Nvidia product 0x0056 (ethernet network, revision 0xa3) at pci0 dev 10 function 0 not configured
ppb1 at pci0 dev 14 function 0: Nvidia product 0x005d (rev. 0xa3)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci2 dev 0 function 0: Nvidia product 0x0140 (rev. 0xa2)
vga0: WARNING: ignoring 64-bit BAR @ 0x14
vga0: WARNING: ignoring 64-bit BAR @ 0x1c
wsdisplay0 at vga0 kbdmux 1
wsmux1: connecting to wsdisplay0
pchb0 at pci0 dev 24 function 0
pchb0: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb1 at pci0 dev 24 function 1
pchb1: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb2 at pci0 dev 24 function 2
pchb2: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb3 at pci0 dev 24 function 3
pchb3: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
pchb4 at pci0 dev 25 function 0
pchb4: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb5 at pci0 dev 25 function 1
pchb5: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb6 at pci0 dev 25 function 2
pchb6: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb7 at pci0 dev 25 function 3
pchb7: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
wskbd0: connecting to wsdisplay0
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
pcppi0: attached to attimer0
cpu2: prelint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu2: prelint1 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu2: timer0 300c0<vector=c0,delmode=0,masked,dest=0> 0<target=0>
cpu2: pcint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu2: lint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu2: lint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu2: err0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic0: enabling
ioapic0: int1 90<vector=90,delmode=0,dest=0> 0<target=0>
ioapic0: int4 d0<vector=d0,delmode=0,dest=0> 0<target=0>
ioapic0: int6 64<vector=64,delmode=0,dest=0> 0<target=0>
ioapic0: int9 a0a0<vector=a0,delmode=0,actlo,level,dest=0> 0<target=0>
ioapic0: int10 e060<vector=60,delmode=0,actlo,irrpending,level,dest=0> 0<target=0>
ioapic0: int11 e061<vector=61,delmode=0,actlo,irrpending,level,dest=0> 0<target=0>
ioapic0: int12 a0b0<vector=b0,delmode=0,actlo,level,dest=0> 0<target=0>
ioapic0: int14 62<vector=62,delmode=0,dest=0> 0<target=0>
ioapic0: int15 63<vector=63,delmode=0,dest=0> 0<target=0>
ioapic1: enabling
ioapic2: enabling
auich0: measured ac97 link rate at 49463 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <LITE-ON DVDRW SOHW-1673S, , JS02> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
cd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA)

And here is the output when using MPBIOS:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.99.3 (CHEETAH) #5: Tue May  3 20:27:26 CDT 2005
	khym@yerfable.azeotrope.org:/usr2/obj.amd64/sys/arch/amd64/compile/CHEETAH
total memory = 2046 MB
avail memory = 1959 MB
mainbus0 (root)
mainbus0: scanning 0x97400 to 0x977f0 for MP signature
mainbus0: scanning 0x82000 to 0x823f0 for MP signature
mainbus0: scanning 0xf0000 to 0xffff0 for MP signature
mainbus0: MP floating pointer found in bios at 0xf78e0
mainbus0: MP config table at 0x97c60, 404 bytes long
mainbus0: Intel MP Specification (Version 1.4) (AMD      HAMMER      )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Opteron(tm) Processor 246, 2009.35 MHz
cpu0: features: e7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: e7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu0: features: e7dbfbff<FXSR,SSE,SSE2,LONG,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 1 MB 64B/line 16-way
cpu0: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: calibrating local timer
cpu0: apic clock running at 200 MHz
cpu0: 16 page colors
cpu0: kstack at 0xffff80000ebe5000 for 20480 bytes
cpu0: idle pcb at 0xffff80000ebe5000, idle sp at 0xffff80000ebe9ff0
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: AMD Opteron(tm) Processor 246, 2009.26 MHz
cpu1: features: e7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features: e7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu1: features: e7dbfbff<FXSR,SSE,SSE2,LONG,3DNOW2,3DNOW>
cpu1: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu1: L2 cache 1 MB 64B/line 16-way
cpu1: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu1: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu1: kstack at 0xffff80000ebea000 for 20480 bytes
cpu1: idle pcb at 0xffff80000ebea000, idle sp at 0xffff80000ebeeff0
mpbios: bus 0 is type PCI   
mpbios: bus 1 is type PCI   
mpbios: bus 2 is type PCI   
mpbios: bus 8 is type PCI   
mpbios: bus 9 is type PCI   
mpbios: bus 10 is type PCI   
mpbios: bus 128 is type PCI   
mpbios: bus 129 is type PCI   
mpbios: bus 134 is type ISA   
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, virtual wire mode, version 11, 24 pins
ioapic1 at mainbus0 apid 3 (I/O APIC)
ioapic1: pa 0xd8000000, virtual wire mode, version 11, 4 pins
ioapic2 at mainbus0 apid 4 (I/O APIC)
ioapic2: pa 0xd8001000, virtual wire mode, version 11, 4 pins
ioapic0: int0 attached to ExtINT (type 3<type=3=ExtINT> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int1 attached to isa0 irq 1 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int2 attached to isa0 irq 2 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int3 attached to isa0 irq 3 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int4 attached to isa0 irq 4 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int5 attached to isa0 irq 5 (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int6 attached to isa0 irq 6 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int7 attached to isa0 irq 7 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int8 attached to isa0 irq 8 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int9 attached to isa0 irq 9 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int10 attached to isa0 irq 10 (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int11 attached to isa0 irq 11 (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int12 attached to isa0 irq 12 (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int13 attached to isa0 irq 13 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int14 attached to isa0 irq 14 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int15 attached to isa0 irq 15 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int10 attached to pci0 device 2 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int11 attached to pci0 device 2 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int12 attached to pci0 device 4 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int10 attached to pci0 device 7 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int11 attached to pci0 device 8 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int12 attached to pci0 device 10 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
mpbios: can't find ioapic 129
ioapic0: int17 attached to pci2 device 0 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
mpbios: bad pin 11 for apic 4
mpbios: can't find ioapic 5
local apic: int0 attached to ExtINT (type 3<type=3=ExtINT> flags 5<pol=1=Act Hi,trig=1=Edge>)
local apic: int1 attached to NMI (type 1<type=1=NMI> flags 5<pol=1=Act Hi,trig=1=Edge>)
mainbus0: MP WARNING: 236 bytes of extended entries not examined
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
Nvidia product 0x005e (miscellaneous memory, revision 0xa3) at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0
pcib0: Nvidia product 0x0051 (rev. 0xa3)
Nvidia nForce4 SMBus (SMBus serial bus, revision 0xa2) at pci0 dev 1 function 1 not configured
ohci0 at pci0 dev 2 function 0: Nvidia product 0x005a (rev. 0xa2)
ohci0: interrupting at ioapic0 pin 10 (irq 10)
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Nvidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0 at pci0 dev 2 function 1: Nvidia product 0x005b (rev. 0xa3)
ehci0: interrupting at ioapic0 pin 11 (irq 11)
ehci0: EHCI version 1.0
ehci0: companion controller, 4 ports each: ohci0
usb1 at ehci0: USB revision 2.0
uhub1 at usb1
uhub1: Nvidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
auich0 at pci0 dev 4 function 0: nForce4 AC-97 Audio
auich0: interrupting at ioapic0 pin 12 (irq 12)
auich0: ac97: Analog Devices AD1981B codec; headphone, 20 bit DAC, no 3D stereo
auich0: ac97: ext id 605<AC97_22,AMAP,SPDIF,VRA>
viaide0 at pci0 dev 6 function 0
viaide0: NVIDIA nForce4 IDE Controller (rev. 0xa2)
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at viaide0 channel 1
viaide1 at pci0 dev 7 function 0
viaide1: NVIDIA nForce4 Serial ATA Controller (rev. 0xa3)
viaide1: bus-master DMA support present
viaide1: primary channel wired to native-PCI mode
viaide1: using ioapic0 pin 10 (irq 10) for native-PCI interrupt
atabus2 at viaide1 channel 0
viaide1: secondary channel wired to native-PCI mode
atabus3 at viaide1 channel 1
viaide2 at pci0 dev 8 function 0
viaide2: NVIDIA nForce4 Serial ATA Controller (rev. 0xa3)
viaide2: bus-master DMA support present
viaide2: primary channel wired to native-PCI mode
viaide2: using ioapic0 pin 11 (irq 11) for native-PCI interrupt
atabus4 at viaide2 channel 0
viaide2: secondary channel wired to native-PCI mode
atabus5 at viaide2 channel 1
ppb0 at pci0 dev 9 function 0: Nvidia product 0x005c (rev. 0xa2)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
Texas Instruments TSB43AA22/A IEEE 1394 Host Controller (Firewire serial bus, interface 0x10) at pci1 dev 5 function 0 not configured
Nvidia product 0x0056 (ethernet network, revision 0xa3) at pci0 dev 10 function 0 not configured
ppb1 at pci0 dev 14 function 0: Nvidia product 0x005d (rev. 0xa3)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci2 dev 0 function 0: Nvidia product 0x0140 (rev. 0xa2)
vga0: WARNING: ignoring 64-bit BAR @ 0x14
vga0: WARNING: ignoring 64-bit BAR @ 0x1c
wsdisplay0 at vga0 kbdmux 1
wsmux1: connecting to wsdisplay0
pchb0 at pci0 dev 24 function 0
pchb0: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb1 at pci0 dev 24 function 1
pchb1: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb2 at pci0 dev 24 function 2
pchb2: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb3 at pci0 dev 24 function 3
pchb3: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
pchb4 at pci0 dev 25 function 0
pchb4: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb5 at pci0 dev 25 function 1
pchb5: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb6 at pci0 dev 25 function 2
pchb6: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb7 at pci0 dev 25 function 3
pchb7: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
wskbd0: connecting to wsdisplay0
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
pcppi0: attached to attimer0
pci3 at mainbus0 bus 8
pci3: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
ppb2 at pci3 dev 10 function 0: Advanced Micro Devices AMD8131 PCI-X Tunnel (rev. 0x12)
pci4 at ppb2 bus 9
pci4: i/o space, memory space enabled
aapic0 at pci3 dev 10 function 1: Advanced Micro Devices AMD8131 IO Apic (rev. 0x01)
ppb3 at pci3 dev 11 function 0: Advanced Micro Devices AMD8131 PCI-X Tunnel (rev. 0x12)
pci5 at ppb3 bus 10
pci5: i/o space, memory space enabled
satalink0 at pci5 dev 4 function 0
satalink0: Silicon Image SATALink 3112 (rev. 0x02)
satalink0: bus-master DMA support present
satalink0: primary channel wired to native-PCI mode
intr_establish: can't share intr source between different PIC types (legacy_irq 11 pin 11 slot 11)
satalink0: couldn't establish native-PCI interrupt at irq 11
satalink0: secondary channel wired to native-PCI mode
intr_establish: can't share intr source between different PIC types (legacy_irq 11 pin 11 slot 11)
satalink0: couldn't establish native-PCI interrupt at irq 11
aapic1 at pci3 dev 11 function 1: Advanced Micro Devices AMD8131 IO Apic (rev. 0x01)
pci6 at mainbus0 bus 128
pci6: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
Nvidia product 0x005e (miscellaneous memory, revision 0xa3) at pci6 dev 0 function 0 not configured
Nvidia product 0x00d3 (miscellaneous memory, revision 0xa3) at pci6 dev 1 function 0 not configured
Nvidia product 0x0057 (miscellaneous bridge, revision 0xa3) at pci6 dev 10 function 0 not configured
ppb4 at pci6 dev 14 function 0: Nvidia product 0x005d (rev. 0xa3)
pci7 at ppb4 bus 129
pci7: i/o space, memory space enabled, rd/line, wr/inv ok
cpu0: prelint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu0: prelint1 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu0: timer0 300c0<vector=c0,delmode=0,masked,dest=0> 0<target=0>
cpu0: pcint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu0: lint0 10700<vector=0,delmode=7,masked,dest=0> 0<target=0>
cpu0: lint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu0: err0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic0: enabling
ioapic0: int1 90<vector=90,delmode=0,dest=0> 0<target=0>
ioapic0: int4 d0<vector=d0,delmode=0,dest=0> 0<target=0>
ioapic0: int6 64<vector=64,delmode=0,dest=0> 0<target=0>
ioapic0: int10 e060<vector=60,delmode=0,actlo,irrpending,level,dest=0> 0<target=0>
ioapic0: int11 e061<vector=61,delmode=0,actlo,irrpending,level,dest=0> 0<target=0>
ioapic0: int12 a0b0<vector=b0,delmode=0,actlo,level,dest=0> 0<target=0>
ioapic0: int14 62<vector=62,delmode=0,dest=0> 0<target=0>
ioapic0: int15 63<vector=63,delmode=0,dest=0> 0<target=0>
ioapic1: enabling
ioapic2: enabling
auich0: measured ac97 link rate at 49464 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <LITE-ON DVDRW SOHW-1673S, , JS02> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
cd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA)

Note that with ACPI busses pci0 through pci2 are configured, but
MPBIOS also sees busses pci3 through pci5 (PCI-X from the AMD 8131)
and pci6 through pci7 (PCI-Express and the second Ethernet port).

>How-To-Repeat:
	Boot a NetBSD/amd64 kernel on a Tyan S2895 board.
>Fix:

>Release-Note:

>Audit-Trail:
From: Chris Kantarjiev <cak@dimebank.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-amd64/30654
Date: Tue, 5 Sep 2006 09:11:39 -0700 (PDT)

 I am having the same problem with a SuperMicro H8DCE, which uses
 the same nForce chipset and layout. I can't find all the buses
 even with MPBIOS, using 4.99.1 - see PR 34435.

Responsible-Changed-From-To: port-amd64-maintainer->joerg
Responsible-Changed-By: joerg@narn.netbsd.org
Responsible-Changed-When: Fri, 18 Jan 2008 20:54:26 +0000
Responsible-Changed-Why:
ACPI issue.

Can you please provide the dmesg of a current kernel with MPVERBOSE
and the DSDT as obtained from acpidump?


From: Nicolas Joly <njoly@pasteur.fr>
To: gnats-bugs@NetBSD.org
Cc: port-amd64-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org
Subject: Re: port-amd64/30654: Not all PCI busses configured on Tyan Thunder K8WE when using ACPI
Date: Sat, 19 Jan 2008 15:27:14 +0100

 On Sat, Jul 02, 2005 at 06:22:00AM +0000, Dave Huang wrote:
 > >Number:         30654
 > >Category:       port-amd64
 > >Synopsis:       Not all PCI busses configured on Tyan Thunder K8WE when using ACPI
 [...]
 > >Description:
 > 	When using ACPI (acpi0 at mainbus0, options MPACPI, and
 > options MPACPI_SCANPCI), NetBSD seems to configure only the PCI busses
 > attached to the "main" nForce Professional 2200 chip of the Tyan
 > Thunder K8WE (S2895) motherboard: it sees the first PCI Express slot
 > and all of the onboard devices (SATA, USB, Firewire, etc...) except
 > for the second Ethernet port. The second ethernet port and the second
 > PCI Express slot are connected to a nForce Professional 2050 chip,
 > which NetBSD doesn't detect. It also doesn't see any of the three
 > PCI-X slots that are attached to the AMD 8131 PCI-X tunnel.
 > 
 > 	However, all PCI slots are detected when using MPBIOS.

 I do see a similar issue with a Tyan s2885 (Thunder K8W) motherboard,
 where the 2nd root bus isn't detected with ACPI kernels.

 The problem is that the DSDT is missing the PCI Routing Table (_PRT)
 for this bus, which is AFAIK mandatory.

     Device(PCIB) {
         Name(_HID, 0x030ad041)
         Name(_ADR, 0x00180000)
         Method(^BN0B) {
             Return(0x0)
         }
         Method(_BBN) {
             Return(BN0B())
         }
         Name(_UID, 0xb)
         Device(PBP2) {
             Name(_ADR, 0x00010000)
             Method(_PRT) {
                 If(PICM) {
                     Return(AR02)
                 }
                 Return(PR02)
             }
         }
     }

 I asked Tyan to fix the BIOS; but unfortunately, as my motherboard is
 EOLed, they said that they won't correct it :-(

 -- 
 Nicolas Joly

 Biological Software and Databanks.
 Institut Pasteur, Paris.

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-amd64/30654: Not all PCI busses configured on Tyan
	Thunder K8WE when using ACPI
Date: Sun, 20 Jan 2008 16:29:21 +0100

 On Sat, Jan 19, 2008 at 02:30:03PM +0000, Nicolas Joly wrote:
 >  I do see a similar issue with a Tyan s2885 (Thunder K8W) motherboard,
 >  where the 2nd root bus isn't detected with ACPI kernels.
 >  
 >  The problem is that the DSDT is missing the PCI Routing Table (_PRT)
 >  for this bus, which is AFAIK mandatory.

 Yeah, I suspect something like that is part of the problem. Can you
 provide me (off list) the full DSDT?

 Joerg

From: Joerg Sonnenberger <joerg@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-amd64/30654: Not all PCI busses configured on Tyan
	Thunder K8WE when using ACPI
Date: Thu, 22 May 2008 20:33:31 +0000

 On Sat, Jan 19, 2008 at 02:30:03PM +0000, Nicolas Joly wrote:
 >  The problem is that the DSDT is missing the PCI Routing Table (_PRT)
 >  for this bus, which is AFAIK mandatory.
 >  
 >      Device(PCIB) {
 >          Name(_HID, 0x030ad041)
 >          Name(_ADR, 0x00180000)
 >          Method(^BN0B) {
 >              Return(0x0)
 >          }
 >          Method(_BBN) {
 >              Return(BN0B())
 >          }
 >          Name(_UID, 0xb)
 >          Device(PBP2) {
 >              Name(_ADR, 0x00010000)
 >              Method(_PRT) {
 >                  If(PICM) {
 >                      Return(AR02)
 >                  }
 >                  Return(PR02)
 >              }
 >          }
 >      }

 Actually, even more suspicious is the _BBN value. Does the main PCI
 bridge have the same value of 0? I think this is the same problem
 Martin Husemann reported in a slightly different configuration.

 Joerg

From: Nicolas Joly <njoly@pasteur.fr>
To: gnats-bugs@NetBSD.org
Cc: joerg@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,
	khym@azeotrope.org
Subject: Re: port-amd64/30654: Not all PCI busses configured on Tyan Thunder K8WE when using ACPI
Date: Thu, 22 May 2008 22:56:41 +0200

 On Thu, May 22, 2008 at 08:35:05PM +0000, Joerg Sonnenberger wrote:
 > The following reply was made to PR port-amd64/30654; it has been noted by GNATS.
 > 
 > From: Joerg Sonnenberger <joerg@NetBSD.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: port-amd64/30654: Not all PCI busses configured on Tyan
 > 	Thunder K8WE when using ACPI
 > Date: Thu, 22 May 2008 20:33:31 +0000
 > 
 >  On Sat, Jan 19, 2008 at 02:30:03PM +0000, Nicolas Joly wrote:
 >  >  The problem is that the DSDT is missing the PCI Routing Table (_PRT)
 >  >  for this bus, which is AFAIK mandatory.
 >  >  
 >  >      Device(PCIB) {
 >  >          Name(_HID, 0x030ad041)
 >  >          Name(_ADR, 0x00180000)
 >  >          Method(^BN0B) {
 >  >              Return(0x0)
 >  >          }
 >  >          Method(_BBN) {
 >  >              Return(BN0B())
 >  >          }
 >  >          Name(_UID, 0xb)
 >  >          Device(PBP2) {
 >  >              Name(_ADR, 0x00010000)
 >  >              Method(_PRT) {
 >  >                  If(PICM) {
 >  >                      Return(AR02)
 >  >                  }
 >  >                  Return(PR02)
 >  >              }
 >  >          }
 >  >      }
 >  
 >  Actually, even more suspicious is the _BBN value. Does the main PCI
 >  bridge have the same value of 0? I think this is the same problem
 >  Martin Husemann reported in a slightly different configuration.

 Exact, both use the same _BBN value of 0.

     Device(PCI0) {
         Name(_HID, 0x030ad041)
         Name(_ADR, 0x00180002)
         Name(_BBN, 0x00)
         Name(_UID, 0x00)
         Method(_PRT) {
             If(PICM) {
                 Return(AR00)
             }
             Return(PR00)
         }

 In the mean tine, i already made a slightly modified DSDT version
 which use 0 for PCI0, and 1 for PCIB, but this does not makes any
 difference ...

 Before any _BBN problem can arise, we fail to detect PCI busses that
 do not have _PRT from sys/arch/x86/x86/mpacpi.c in mpacpi_pcibus_cb():

         /* try get _PRT. if this fails, we're not interested in it */
         rv = acpi_get(handle, &mpr->mpr_buf, AcpiGetIrqRoutingTable);
         if (ACPI_FAILURE(rv)) {
                 free(mpr, M_TEMP);
                 goto out;
         }

 -- 
 Nicolas Joly

 Biological Software and Databanks.
 Institut Pasteur, Paris.

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-amd64/30654: Not all PCI busses configured on Tyan
	Thunder K8WE when using ACPI
Date: Thu, 22 May 2008 23:12:48 +0200

 On Thu, May 22, 2008 at 09:00:08PM +0000, Nicolas Joly wrote:
 >  In the mean tine, i already made a slightly modified DSDT version
 >  which use 0 for PCI0, and 1 for PCIB, but this does not makes any
 >  difference ...

 OK.

 >  Before any _BBN problem can arise, we fail to detect PCI busses that
 >  do not have _PRT from sys/arch/x86/x86/mpacpi.c in mpacpi_pcibus_cb():

 Right. The problem is that we can't do anything smart without a _PRT.
 So I don't think we can't really fix this. I certainly don't think that
 looking at the MPBIOS table automatically and fixing up a _PRT is a good
 idea, but you might be able to fix your DSDT that way.

 The only other approach would involve chipset specific knowlege to build
 a table manually, but I don't want to go down that road either.

 Joerg

State-Changed-From-To: open->feedback
State-Changed-By: joerg@NetBSD.org
State-Changed-When: Wed, 11 Nov 2009 14:20:25 +0000
State-Changed-Why:
Please try the patch/kernel from
http://mail-index.netbsd.org/current-users/2009/11/09/msg011119.html
It might help with this issue by ensuring full initialisation.
If it doesn't, I don't think there is anything we can do to work around
this problem as mentioned earlier.


From: David Huang <khym@azeotrope.org>
To: gnats-bugs@NetBSD.org
Cc: joerg@NetBSD.org,
 netbsd-bugs@netbsd.org,
 gnats-admin@netbsd.org
Subject: Re: port-amd64/30654 (Not all PCI busses configured on Tyan Thunder K8WE when using ACPI)
Date: Thu, 12 Nov 2009 12:41:13 -0600

 On Nov 11, 2009, at 8:20 AM, joerg@NetBSD.org wrote:

 > Please try the patch/kernel from
 > http://mail-index.netbsd.org/current-users/2009/11/09/msg011119.html
 > It might help with this issue by ensuring full initialisation.
 > If it doesn't, I don't think there is anything we can do to work  
 > around
 > this problem as mentioned earlier.

 This seems to have been fixed some time earlier, but I'm not sure  
 exactly when. Even without that patch, a -current kernel using ACPI  
 configures all busses. I tried a kernel with the patch, and it didn't  
 seem to change things either for the better or for the worse. (I'm  
 still having a problem with ehci slowing everything down to a crawl,  
 but that's a separate subject). In any case, I think this PR can be  
 closed. Thanks!

State-Changed-From-To: feedback->closed
State-Changed-By: joerg@NetBSD.org
State-Changed-When: Thu, 12 Nov 2009 18:45:48 +0000
State-Changed-Why:
Fixed at some point.
Thanks for the PR and the confirmation.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.