Subject: Re: i386 test kernels with new interrupt code available
To: Frank van der Linden <fvdl@wasabisystems.com>
From: Michael Graff <explorer@flame.org>
List: port-i386
Date: 11/22/2002 02:23:14
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I tried the latest, and it doesn't solve an interrupt issue on my
laptop.  In short, audio doesn't work -- it looks like interrupts are
not properly making it to the CPU.  If I put activity on fxp0 (using
an old kernel) or usb (also, old kernel) I get stuttered audio out.
So, this isn't any worse or better than my older kernel, other than my
laptop fails with the agp driver installed.  Grr.

Back to the old kernel.

- --Michael

NetBSD 1.6K (GENERIC_LAPTOP) #0: Tue Nov 19 22:25:28 CET 2002
    fvdl@k2:/work/trees/mpmerge/sys/arch/i386/compile/GENERIC_LAPTOP
total memory = 511 MB
avail memory = 469 MB
using 6144 buffers containing 26268 KB of memory
BIOS32 rev. 0 found at 0xfd890
PCI BIOS rev. 2.1 found at 0xfd9ca
pcibios: config mechanism [1][x], special cycles [x][x], last bus 2
PCI IRQ Routing Table rev. 1.0 found at 0xfdf50, size 144 bytes (7 entries)
PCI Interrupt Router at 000:31:0 (Intel 82371FB PCI-to-ISA Bridge (PIIX))
- ------------------------------------------
  device vendor product pin PIRQ IRQ stage
- ------------------------------------------
000:29:0 0x8086 0x2482   A  0x00   9  0    already assigned
000:29:1 0x8086 0x2484   B  0x03   9  0    already assigned
- ------------------------------------------
PCI fixup examining 8086:1a30
PCI fixup examining 8086:1a31
PCI fixup examining 1002:4c57
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI fixup examining 8086:2482
PCI fixup examining 8086:2484
PCI fixup examining 8086:2487
PCI fixup examining 8086:2448
PCI fixup examining 1180:476
PCI bridge 2: primary 2, secondary 3, subordinate 3
PCI fixup examining 1180:476
PCI bridge 3: primary 2, secondary 4, subordinate 4
PCI fixup examining 1180:552
PCI fixup examining 8086:1031
PCI bridge 1: primary 0, secondary 2, subordinate 4
PCI fixup examining 8086:248c
PCI fixup examining 8086:248a
PCI fixup examining 8086:2483
PCI fixup examining 8086:2485
PCI fixup examining 8086:2486
PCI bus #4 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
- --------------------------------------------
000:00:0 0x8086 0x1a30 
	10h mem  0xec000000 0x04000000
		[OK]
000:01:0 0x8086 0x1a31 
		[OK]
000:29:0 0x8086 0x2482 
	20h port 0x00001800 0x00000020
		[OK]
000:29:1 0x8086 0x2484 
	20h port 0x00001820 0x00000020
		[OK]
000:29:2 0x8086 0x2487 
	20h port 0x00001840 0x00000020
		[OK]
000:30:0 0x8086 0x2448 
		[OK]
000:31:0 0x8086 0x248c 
		[OK]
000:31:1 0x8086 0x248a 
	10h port 0x000001f0 0x00000008
	14h port 0x000003f4 0x00000004
	18h port 0x00000170 0x00000008
	1ch port 0x00000374 0x00000004
	20h port 0x00001860 0x00000010
	24h mem  0xe8000000 0x00000400
		[OK]
000:31:3 0x8086 0x2483 
	20h port 0x00001880 0x00000020
		[OK]
000:31:5 0x8086 0x2485 
	10h port 0x00001c00 0x00000100
	14h port 0x000018c0 0x00000040
		[OK]
000:31:6 0x8086 0x2486 
	10h port 0x00002400 0x00000100
	14h port 0x00002000 0x00000080
		[OK]
001:00:0 0x1002 0x4c57 
	10h mem  0xf0000000 0x08000000
	14h port 0x00003000 0x00000100
	18h mem  0xe8100000 0x00010000
		[OK]
002:05:0 0x1180 0x0476 
	10h mem  0x00000000 0x00001000
		[NG]
002:05:1 0x1180 0x0476 
	10h mem  0x00000000 0x00001000
		[NG]
002:05:2 0x1180 0x0552 
	10h mem  0xe8201000 0x00000800
		[OK]
002:08:0 0x8086 0x1031 
	10h mem  0xe8200000 0x00001000
	14h port 0x00004000 0x00000040
		[OK]
- --------------------------[  2 devices bogus]
 Physical memory end: 0x1ff7c000
 PCI memory mapped I/O space start: 0x20000000
[PCIBIOS fixup stage]-----------------------
  device vendor product
  register space address    size
- --------------------------------------------
000:00:0 0x8086 0x1a30 
	10h mem  0xec000000 0x04000000
		[OK]
000:01:0 0x8086 0x1a31 
		[OK]
000:29:0 0x8086 0x2482 
	20h port 0x00001800 0x00000020
		[OK]
000:29:1 0x8086 0x2484 
	20h port 0x00001820 0x00000020
		[OK]
000:29:2 0x8086 0x2487 
	20h port 0x00001840 0x00000020
		[OK]
000:30:0 0x8086 0x2448 
		[OK]
000:31:0 0x8086 0x248c 
		[OK]
000:31:1 0x8086 0x248a 
	10h port 0x000001f0 0x00000008
	14h port 0x000003f4 0x00000004
	18h port 0x00000170 0x00000008
	1ch port 0x00000374 0x00000004
	20h port 0x00001860 0x00000010
	24h mem  0xe8000000 0x00000400
		[OK]
000:31:3 0x8086 0x2483 
	20h port 0x00001880 0x00000020
		[OK]
000:31:5 0x8086 0x2485 
	10h port 0x00001c00 0x00000100
	14h port 0x000018c0 0x00000040
		[OK]
000:31:6 0x8086 0x2486 
	10h port 0x00002400 0x00000100
	14h port 0x00002000 0x00000080
		[OK]
001:00:0 0x1002 0x4c57 
	10h mem  0xf0000000 0x08000000
	14h port 0x00003000 0x00000100
	18h mem  0xe8100000 0x00010000
		[OK]
002:05:0 0x1180 0x0476 
	10h mem  0x20000000 0x00001000
		[OK]
002:05:1 0x1180 0x0476 
	10h mem  0x20001000 0x00001000
		[OK]
002:05:2 0x1180 0x0552 
	10h mem  0xe8201000 0x00000800
		[OK]
002:08:0 0x8086 0x1031 
	10h mem  0xe8200000 0x00001000
	14h port 0x00004000 0x00000040
		[OK]
- --------------------------[  0 devices bogus]
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium 4 (686-class), 1590.89 MHz
cpu0: features 3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 3febf9ff<PGE,MCA,CMOV,FGPAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features 3febf9ff<FXSR,SSE,SSE2,SS,HTT,TM>
cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64b/line 4-way
cpu0: L2 cache 512 KB 64b/line 8-way
cpu0: ITLB 4K/4M: 64 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: 16 page colors
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: Intel 82845 Host (rev. 0x04)
pchb0: random number generator enabled
agp0 at pchb0: aperture at 0xec000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82845 AGP (rev. 0x04)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: ATI Technologies product 0x4c57 (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
uhci0 at pci0 dev 29 function 0: Intel 82801CA/CAM USB Controller (rev. 0x02)
allocated pic pic0 type level pin 9 level 6 to cpu0 slot 9 idt entry 41
uhci0: interrupting at irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801CA/CAM USB Controller (rev. 0x02)
allocated pic pic0 type level pin 9 level 6 to cpu0 slot 9 idt entry 41
uhci1: interrupting at irq 9
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801CA/CAM USB Controller (rev. 0x02)
pci_intr_map: no mapping for pin C (line=ff)
uhci2: couldn't map interrupt
ppb1 at pci0 dev 30 function 0: Intel 82801BAM Hub-to-PCI Bridge (rev. 0x42)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
cbb0 at pci2 dev 5 function 0: Ricoh 5C476 PCI-CardBus bridge (rev. 0xa8)
cbb1 at pci2 dev 5 function 1: Ricoh 5C476 PCI-CardBus bridge (rev. 0xa8)
cbb1: NOT USED because of unconfigured interrupt
Ricoh product 0x0552 (Firewire serial bus, interface 0x10) at pci2 dev 5 function 2 not configured
fxp0 at pci2 dev 8 function 0: Intel PRO/100 VE Network Controller, rev 66
allocated pic pic0 type level pin 9 level 7 to cpu0 slot 9 idt entry 41
fxp0: interrupting at irq 9
fxp0: Ethernet address 08:00:46:63:d1:71
ukphy0 at fxp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: i82562ET 10/100 media interface (OUI 0x005500, model 0x0033), rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
allocated pic pic0 type level pin 3 level 6 to cpu0 slot 3 idt entry 35
cbb0: interrupting at irq 3
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 3 device 0
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801CAM LPC Interface (rev. 0x02)
pciide0 at pci0 dev 31 function 1: Intel 82801CA IDE Controller (rev. 0x02)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK4018GAS>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 38154 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
allocated pic pic0 type edge pin 14 level 6 to cpu0 slot 14 idt entry 46
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
pciide0: disabling secondary channel (no drives)
Intel 82801CA/CAM SMBus Controller (SMBus serial bus, revision 0x02) at pci0 dev 31 function 3 not configured
auich0 at pci0 dev 31 function 5: i82801CA (ICH3) AC-97 Audio
allocated pic pic0 type level pin 9 level 11 to cpu0 slot 9 idt entry 41
auich0: interrupting at irq 9
auich0: Yamaha YMF753-S codec; 18 bit DAC, no 3D stereo
auich0: S/PDIF
audio0 at auich0: full duplex, independent
Intel 82801CA/CAM Modem (modem communications, revision 0x02) at pci0 dev 31 function 6 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
allocated pic pic0 type edge pin 4 level 13 to cpu0 slot 4 idt entry 36
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
allocated pic pic0 type edge pin 1 level 9 to cpu0 slot 1 idt entry 33
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
allocated pic pic0 type edge pin 12 level 9 to cpu0 slot 12 idt entry 44
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
allocated pic pic0 type edge pin 7 level 9 to cpu0 slot 7 idt entry 39
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
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2
cpu0: interrupt masks:
IPL 0 mask 1fffad65 unmask e000529a
IPL 1 mask 1fffad65 unmask e000529a
IPL 2 mask 1fffad65 unmask e000529a
IPL 3 mask 1fffad65 unmask e000529a
IPL 4 mask 9fffad65 unmask 6000529a
IPL 5 mask dfffad65 unmask 2000529a
IPL 6 mask dfffef6d unmask 20001092
IPL 7 mask dfffef6d unmask 20001092
IPL 8 mask ffffef6d unmask 1092
IPL 9 mask ffffffef unmask 10
IPL 10 mask ffffffef unmask 10
IPL 11 mask ffffffef unmask 10
IPL 12 mask ffffffef unmask 10
IPL 13 mask ffffffff unmask 0
IPL 14 mask ffffffff unmask 0
IPL 15 mask ffffffff unmask 0
cpu0 source 1 is pin 1 from pic pic0 maxlevel 9
	handler 0xc01b1224 level 9
cpu0 source 3 is pin 3 from pic pic0 maxlevel 6
	handler 0xc035338c level 6
cpu0 source 4 is pin 4 from pic pic0 maxlevel 13
	handler 0xc01af738 level 13
cpu0 source 7 is pin 7 from pic pic0 maxlevel 9
	handler 0xc035efc4 level 9
cpu0 source 9 is pin 9 from pic pic0 maxlevel 11
	handler 0xc03396ec level 11
	handler 0xc01a28ac level 7
	handler 0xc01c5ba4 level 6
	handler 0xc01c5ba4 level 6
cpu0 source 12 is pin 12 from pic pic0 maxlevel 9
	handler 0xc01b1224 level 9
cpu0 source 14 is pin 14 from pic pic0 maxlevel 6
	handler 0xc0325ad0 level 6
cpu0 source 29 is pin 0 from pic softintr_fakepic maxlevel 8
	handler 0x0 level 8
cpu0 source 30 is pin 0 from pic softintr_fakepic maxlevel 5
	handler 0x0 level 5
cpu0 source 31 is pin 0 from pic softintr_fakepic maxlevel 4
	handler 0x0 level 4
allocated pic pic0 type level pin 0 level 12 to cpu0 slot 0 idt entry 32
wi0 at pcmcia0 function 0: Lucent Technologies, WaveLAN/IEEE, Version 01.01
wi0: 802.11 address 00:60:1d:f1:46:87
wi0: using Lucent Technologies, WaveLAN/IEEE
wi0: Lucent Firmware: Station (6.6.1)
wi0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
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)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)
Comment: See http://www.flame.org/~explorer/pgp for my keys

iD8DBQE93gWSl6Nz7kJWYWYRApblAJ9VyHw8j76AEcydlE8x1BA7q1DKDwCfXmKj
p6DpQLXZWbtq9M+wQgReT4s=
=vMT4
-----END PGP SIGNATURE-----