Subject: Re: PC card adapter PCI board not work
To: None <kanaoka@ann.hi-ho.ne.jp>
From: Tsukasa Okazaki <okazaki@hitachi-to.co.jp>
List: tech-kern
Date: 09/09/2002 09:15:21
From: Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>
Subject: Re: PC card adapter PCI board not work
Date: Sat, 07 Sep 2002 18:40:44 +0900 (JST)
Message-ID: <20020907.184044.95183181.kanaoka@ann.hi-ho.ne.jp>

> I think 0 is invalid.
> How about trying next patch?

When applying this patch, all the devices on the PCI bus
were assigned to irq 15. The dmesg output are shown below.

--
Tsukasa Okazaki


NetBSD 1.6G (GENERIC+ACPI) #0: Sat Sep  7 19:47:42 JST 2002
    okazaki@kitty:/home/okazaki/build/usr/src/sys/arch/i386/compile/GENERIC+ACPI
cpu0: AMD Athlon Model 4 (Thunderbird) (686-class), 1002.35 MHz
cpu0: I-cache 64 KB 64b/line 2-way, D-cache 64 KB 64b/line 2-way
cpu0: L2 cache 256 KB 64b/line 16-way
cpu0: features 183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 183f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX>
cpu0: features 183f9ff<FXSR>
total memory = 1535 MB
avail memory = 1418 MB
using 6144 buffers containing 78720 KB of memory
BIOS32 rev. 0 found at 0xfdb50
PCI BIOS rev. 2.1 found at 0xfdb71
pcibios: config mechanism [1][x], special cycles [x][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xf79e0, size 160 bytes (8 entries)
PCI Interrupt Router at 000:07:0 (VIA Technologies VT82C686A (Apollo KX133) PCI-ISA Bridge)
PCI fixup examining 1106:305
PCI fixup examining 1106:8305
PCI fixup examining 102b:525
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI fixup examining 1106:686
PCI fixup examining 1106:571
PCI fixup examining 1106:3038
PCI fixup examining 1106:3038
PCI fixup examining 1106:3057
PCI fixup examining 104c:ac51
PCI bridge 1: primary 0, secondary 2, subordinate 2
PCI fixup examining 104c:ac51
PCI bridge 2: primary 0, secondary 3, subordinate 3
PCI fixup examining 10ec:8139
PCI fixup examining 1274:1371
PCI bus #3 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x1106 0x0305 
	10h mem  0xe0000000 0x04000000
		[OK]
000:01:0 0x1106 0x8305 
		[OK]
000:07:0 0x1106 0x0686 
		[OK]
000:07:1 0x1106 0x0571 
	20h port 0x0000ffa0 0x00000010
		[OK]
000:07:2 0x1106 0x3038 
	20h port 0x0000d400 0x00000020
		[OK]
000:07:3 0x1106 0x3038 
	20h port 0x0000d800 0x00000020
		[OK]
000:07:4 0x1106 0x3057 
		[OK]
000:10:0 0x104c 0xac51 
	10h mem  0x00000000 0x00001000
		[NG]
000:10:1 0x104c 0xac51 
	10h mem  0x00000000 0x00001000
		[NG]
000:13:0 0x10ec 0x8139 
	10h port 0x0000d000 0x00000100
	14h mem  0xdfffff00 0x00000100
		[OK]
000:14:0 0x1274 0x1371 
	10h port 0x0000cc00 0x00000040
		[OK]
001:00:0 0x102b 0x0525 
	10h mem  0xdc000000 0x02000000
	14h mem  0xdfefc000 0x00004000
	18h mem  0xdf000000 0x00800000
		[OK]
--------------------------[  2 devices bogus]
 Physical memory end: 0x5ffec000
 PCI memory mapped I/O space start: 0x60000000
[PCIBIOS fixup stage]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x1106 0x0305 
	10h mem  0xe0000000 0x04000000
		[OK]
000:01:0 0x1106 0x8305 
		[OK]
000:07:0 0x1106 0x0686 
		[OK]
000:07:1 0x1106 0x0571 
	20h port 0x0000ffa0 0x00000010
		[OK]
000:07:2 0x1106 0x3038 
	20h port 0x0000d400 0x00000020
		[OK]
000:07:3 0x1106 0x3038 
	20h port 0x0000d800 0x00000020
		[OK]
000:07:4 0x1106 0x3057 
		[OK]
000:10:0 0x104c 0xac51 
	10h mem  0x60000000 0x00001000
		[OK]
000:10:1 0x104c 0xac51 
	10h mem  0x60001000 0x00001000
		[OK]
000:13:0 0x10ec 0x8139 
	10h port 0x0000d000 0x00000100
	14h mem  0xdfffff00 0x00000100
		[OK]
000:14:0 0x1274 0x1371 
	10h port 0x0000cc00 0x00000040
		[OK]
001:00:0 0x102b 0x0525 
	10h mem  0xdc000000 0x02000000
	14h mem  0xdfefc000 0x00004000
	18h mem  0xdf000000 0x00800000
		[OK]
--------------------------[  0 devices bogus]
mainbus0 (root)
 tbxface-0199 [01] AcpiLoadTables        : ACPI Tables successfully loaded
Parsing Methods:...................................................................................................................
Table [DSDT] - 421 Objects with 36 Devices 115 Methods 27 Regions
ACPI Namespace successfully loaded at root 0xc06f5398
acpi0 at mainbus0
evxfevnt-0175 [02] AcpiEnable            : Transition to ACPI mode successful
acpi0: SCI interrupting at irq 11
acpi0: fixed-feature power button present
acpi_pci_fixup starts:
acpi0: fixing up PCI
NumberOfInterrupts 1
	 0
acpi_get_intr: return 0
acpi0: fixing up link \134_SB_.LNKC
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 0
acpi_get_intr: return 0
acpi0: fixing up link \134_SB_.LNKD
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
acpi fixup pci intr: 0:7:2 D: 9 -> 15
acpi fixup pci intr: 0:7:3 D: 9 -> 15
NumberOfInterrupts 1
	 0
acpi_get_intr: return 0
acpi0: fixing up link \134_SB_.LNKB
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 0
acpi_get_intr: return 0
acpi0: fixing up link \134_SB_.LNKA
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
acpi fixup pci intr: 0:10:0 A: 255 -> 15
acpi fixup pci intr: 0:10:1 A: 255 -> 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
acpi fixup pci intr: 0:13:0 A: 5 -> 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
NumberOfInterrupts 1
	 15
acpi_get_intr: return 15
acpi fixup pci intr: 0:14:0 A: 10 -> 15
 exfldio-0203 [95] ExSetupRegion         : Field [PS2E] access width (4 bytes) too large for region [PSRG] (length 1)
 exfldio-0214 [95] ExSetupRegion         : Field [PS2E] Base+Offset+Width 0+0+4 is beyond end of region [PSRG] (length 1)
  uteval-0558 [82] UtExecute_STA         : No object was returned from _STA
 exfldio-0203 [96] ExSetupRegion         : Field [PS2E] access width (4 bytes) too large for region [PSRG] (length 1)
 exfldio-0214 [96] ExSetupRegion         : Field [PS2E] Base+Offset+Width 0+0+4 is beyond end of region [PSRG] (length 1)
  uteval-0558 [83] UtExecute_STA         : No object was returned from _STA
acpibut0 at acpi0: ACPI Power Button
PNP0A03 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0200 at acpi0 not configured
PNP0100 at acpi0 not configured
PNP0B00 at acpi0 not configured
PNP0800 at acpi0 not configured
PNP0C04 at acpi0 not configured
PNP0303 at acpi0 not configured
PNP0700 at acpi0 not configured
PNP0501 at acpi0 not configured
PNP0501 at acpi0 not configured
PNP0401 at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C01 at acpi0 not configured
acpibut1 at acpi0: ACPI Sleep Button
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: VIA Technologies VT8363 KT133 System Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xe0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: VIA Technologies VT8363 KT133 PCI to AGP Bridge (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Matrox MGA G400 AGP (rev. 0x04)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 7 function 0
pcib0: VIA Technologies VT82C686A (Apollo KX133) PCI-ISA Bridge (rev. 0x22)
pciide0 at pci0 dev 7 function 1: VIA Technologies VT82C686A (Apollo KX133) ATA66 controller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DPTA-372050>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 19574 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 40088160 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <PLEXTOR CD-R   PX-320A, 103852, 1.03> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
uhci0 at pci0 dev 7 function 2: VIA Technologies VT83C572 USB Controller (rev. 0x10)
uhci0: couldn't establish interrupt at irq 15
uhci1 at pci0 dev 7 function 3: VIA Technologies VT83C572 USB Controller (rev. 0x10)
uhci1: couldn't establish interrupt at irq 15
VIA Technologies VT82C686A SMBus Controller (SMBus serial bus, revision 0x30) at pci0 dev 7 function 4 not configured
cbb0 at pci0 dev 10 function 0: Texas Instruments PCI1420 PCI-CardBus Bridge (rev. 0x00)
cbb1 at pci0 dev 10 function 1: Texas Instruments PCI1420 PCI-CardBus Bridge (rev. 0x00)
rtk0 at pci0 dev 13 function 0: RealTek 8139 10/100BaseTX
rtk0: couldn't establish interrupt at irq 15
eap0 at pci0 dev 14 function 0: Ensoniq AudioPCI 97 CT5880A (rev. 0x07)
eap0: couldn't establish interrupt at irq 15
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
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
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
cbb0: couldn't establish interrupt at irq 15
cbb1: couldn't establish interrupt at irq 15
biomask e765 netmask e765 ttymask f7e7
Kernelized RAIDframe activated
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)