Subject: Re: i386 test kernels with new interrupt code available
To: Frank van der Linden <fvdl@wasabisystems.com>
From: Olaf Seibert <rhialto@polderland.nl>
List: port-i386
Date: 11/16/2002 01:47:23
On Thu 14 Nov 2002 at 15:10:41 +0100, Frank van der Linden wrote:
> Once again, I've updated the code. 

I tried the GENERIC_LAPTOP which has an uncooperative cbb0.
I was hoping this would be of some infuence, but it made no difference.

The head of my normal dmesg output (the equivalent got scrolled out the
dmesg buffer due to playing with userconf):

NetBSD 1.6 (LOELAPPIE) #5: Sun Nov  3 18:44:30 CET 2002
rhialto@loelappie.falu.nl:/usr/src/sys/arch/i386/compile/LOELAPPIE
cpu0: AMD K7 (Athlon) (686-class), 1599.61 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 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>
total memory = 479 MB
avail memory = 441 MB
using 6144 buffers containing 24652 KB of memory

Here is the tail of dmesg output:

uc> find cbb
[114] cbb* at pci? dev -1 function -1
uc> quit
Continuing...
BIOS32 rev. 0 found at 0xfdb30
PCI BIOS rev. 2.1 found at 0xfdb51
pcibios: config mechanism [1][x], special cycles [x][x], last bus 1
PCI IRQ Routing Table rev. 1.0 found at 0xf80e0, size 112 bytes (5 entries)
PCI Interrupt Router at 000:17:0 (VIA Technologies VT8231 IDE Controller)
pci_intr_fixup: no compatible PCI ICU found: ICU vendor 0x1106 product 0x8231
------------------------------------------
device vendor product pin PIRQ IRQ stage
------------------------------------------
000:08:0 0x1217 0x6972   A  0x02   -  0    WARNING: missing IRQ
000:16:0 0x1106 0x3044   A  0x03   -  0   
000:17:2 0x1106 0x3038   D  0x05   -  0   
000:17:3 0x1106 0x3038   D  0x05   -  0   
000:17:5 0x1106 0x3058   C  0x03   -  0   
000:17:6 0x1106 0x3068   C  0x03   -  0   
000:18:0 0x1106 0x3065   A  0x01   -  0   
------------------------------------------
PCI fixup examining 1106:305
PCI fixup examining 1106:8305
PCI fixup examining 5333:8d02
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI fixup examining 1217:6972
PCI bridge 1: primary 0, secondary 2, subordinate 2
PCI fixup examining 1106:3044
PCI fixup examining 1106:8231
PCI fixup examining 1106:571
PCI fixup examining 1106:3038
PCI fixup examining 1106:3038
PCI fixup examining 1106:8235
PCI fixup examining 1106:3058
PCI fixup examining 1106:3068
PCI fixup examining 1106:3065
PCI bus #2 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:08:0 0x1217 0x6972 
    10h mem  0x00000000 0x00001000
	    [NG]
000:16:0 0x1106 0x3044 
    10h mem  0xdffff800 0x00000800
    14h port 0x0000ec00 0x00000080
	    [OK]
000:17:0 0x1106 0x8231 
	    [OK]
000:17:1 0x1106 0x0571 
    20h port 0x0000fc00 0x00000010
	    [OK]
000:17:2 0x1106 0x3038 
    20h port 0x0000d400 0x00000020
	    [OK]
000:17:3 0x1106 0x3038 
    20h port 0x0000d800 0x00000020
	    [OK]
000:17:4 0x1106 0x8235 
	    [OK]
000:17:5 0x1106 0x3058 
    10h port 0x0000e400 0x00000100
    14h port 0x0000e000 0x00000004
    18h port 0x0000dc00 0x00000004
	    [OK]
000:17:6 0x1106 0x3068 
    10h port 0x0000e800 0x00000100
	    [OK]
000:18:0 0x1106 0x3065 
    10h port 0x0000d000 0x00000100
    14h mem  0xdffff700 0x00000100
	    [OK]
001:00:0 0x5333 0x8d02 
    10h mem  0xdfe80000 0x00080000
    14h mem  0xd0000000 0x08000000
	    [OK]
--------------------------[  1 devices bogus]
Physical memory end: 0x1dfec000
PCI memory mapped I/O space start: 0x1e000000
[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:08:0 0x1217 0x6972 
    10h mem  0x1e000000 0x00001000
	    [OK]
000:16:0 0x1106 0x3044 
    10h mem  0xdffff800 0x00000800
    14h port 0x0000ec00 0x00000080
	    [OK]
000:17:0 0x1106 0x8231 
	    [OK]
000:17:1 0x1106 0x0571 
    20h port 0x0000fc00 0x00000010
	    [OK]
000:17:2 0x1106 0x3038 
    20h port 0x0000d400 0x00000020
	    [OK]
000:17:3 0x1106 0x3038 
    20h port 0x0000d800 0x00000020
	    [OK]
000:17:4 0x1106 0x8235 
	    [OK]
000:17:5 0x1106 0x3058 
    10h port 0x0000e400 0x00000100
    14h port 0x0000e000 0x00000004
    18h port 0x0000dc00 0x00000004
	    [OK]
000:17:6 0x1106 0x3068 
    10h port 0x0000e800 0x00000100
	    [OK]
000:18:0 0x1106 0x3065 
    10h port 0x0000d000 0x00000100
    14h mem  0xdffff700 0x00000100
	    [OK]
001:00:0 0x5333 0x8d02 
    10h mem  0xdfe80000 0x00080000
    14h mem  0xd0000000 0x08000000
	    [OK]
--------------------------[  0 devices bogus]
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon XP 1900+ (686-class), 1599.64 MHz
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>
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: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way
cpu0: 8 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: VIA Technologies VT8363 KT133 System Controller (rev. 0x80)
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: S3 product 0x8d02 (rev. 0x01)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
cbb0 at pci0 dev 8 function 0: O2 Micro Inc OZ6912/OZ6972 PCI-Cardbus Bridge (rev. 0x00)
cbb0: NOT USED because of unconfigured interrupt
VIA Technologies VT3606 OHCI IEEE 1394 Controller (Firewire serial bus, interface 0x10, revision 0x46) at pci0 dev 16 function 0 not configured
pcib0 at pci0 dev 17 function 0
pcib0: VIA Technologies VT8231 IDE Controller (rev. 0x10)
pciide0 at pci0 dev 17 function 1: VIA Technologies VT8231 ATA100 controller
pciide0: bus-master DMA support present
pciide0: primary channel configured 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 configured to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <Samsung CD-RW/DVD-ROM SN-324B, , U101> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
allocated pic pic0 type edge pin 15 level 6 to cpu0 slot 15 idt entry 47
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
uhci0 at pci0 dev 17 function 2: VIA Technologies VT83C572 USB Controller (rev. 0x1e)
allocated pic pic0 type level pin 10 level 6 to cpu0 slot 10 idt entry 42
uhci0: interrupting at irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologie 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 17 function 3: VIA Technologies VT83C572 USB Controller (rev. 0x1e)
allocated pic pic0 type level pin 10 level 6 to cpu0 slot 10 idt entry 42
uhci1: interrupting at irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologie UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
VIA Technologies product 0x8235 (miscellaneous bridge, revision 0x10) at pci0 dev 17 function 4 not configured
auvia0 at pci0 dev 17 function 5: VIA VT82C686A AC'97 Audio (rev 0x40)
allocated pic pic0 type level pin 10 level 11 to cpu0 slot 10 idt entry 42
auvia0: interrupting at irq 10
auvia0: VIA Technologies VT1612A codec; headphone, 18 bit DAC, 18 bit ADC, KS Waves 3D
auvia0: variable rate audio
audio0 at auvia0: full duplex, mmap, independent
VIA Technologies VT82C686A MC-97 Modem Controller (miscellaneous communications, revision 0x20) at pci0 dev 17 function 6 not configured
VIA Technologies VT6102 (Rhine II) 10/100 Ethernet (ethernet network, revision 0x51) at pci0 dev 18 function 0 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
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
allocated pic pic0 type edge pin 6 level 6 to cpu0 slot 6 idt entry 38
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff irq 
pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
pcmcia0 at pcic0 controller 0 socket 0
pcmcia1 at pcic0 controller 0 socket 1
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2
cpu0: interrupt masks:
IPL 0 mask 1fff2b2d unmask e000d4d2
IPL 1 mask 1fff2b2d unmask e000d4d2
IPL 2 mask 1fff2b2d unmask e000d4d2
IPL 3 mask 1fff2b2d unmask e000d4d2
IPL 4 mask 9fff2b2d unmask 6000d4d2
IPL 5 mask dfff2b2d unmask 2000d4d2
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 0xc01b1104 level 9
cpu0 source 4 is pin 4 from pic pic0 maxlevel 13
    handler 0xc01af618 level 13
cpu0 source 6 is pin 6 from pic pic0 maxlevel 6
    handler 0xc0380c2c level 6
cpu0 source 7 is pin 7 from pic pic0 maxlevel 9
    handler 0xc035eb54 level 9
cpu0 source 10 is pin 10 from pic pic0 maxlevel 11
    handler 0xc033b200 level 11
    handler 0xc01c5a84 level 6
    handler 0xc01c5a84 level 6
cpu0 source 12 is pin 12 from pic pic0 maxlevel 9
    handler 0xc01b1104 level 9
cpu0 source 14 is pin 14 from pic pic0 maxlevel 6
    handler 0xc0325670 level 6
cpu0 source 15 is pin 15 from pic pic0 maxlevel 6
    handler 0xc0325670 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
pcic0: controller 0 detecting irqs with mask 0xdeb8:allocated pic pic0 type edge pin 3 level 9 to cpu0 slot 3 idt entry 35
allocated pic pic0 type edge pin 5 level 9 to cpu0 slot 5 idt entry 37
..5allocated pic pic0 type edge pin 9 level 9 to cpu0 slot 9 idt entry 41
allocated pic pic0 type edge pin 11 level 9 to cpu0 slot 11 idt entry 43
..11
allocated pic pic0 type edge pin 5 level 9 to cpu0 slot 5 idt entry 37
pcic0: using irq 5 for socket events
uhub0: port error, restarting port 1
uhub0: port error, giving up port 1
uhub0: port error, restarting port 2
uhub0: port error, giving up port 2
uhub1: port error, restarting port 2
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
IP Filter: v3.4.29 initialized.  Default = pass all, Logging = enabled
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)

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert - rhialto@       -- Woe betide the one who feels
\X/ polderland.nl  -- remorse without sin - Tom Poes, "Het boze oog", 4444.