Subject: Re: i386 test kernels with new interrupt code available
To: None <fvdl@wasabisystems.com, port-i386@netbsd.org, current-users@netbsd.org>
From: John Franklin <franklin@elfie.org>
List: port-i386
Date: 11/12/2002 16:22:49
--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

>>> On Tue, 12 Nov 2002 14:50:17 +0100, Frank van der Linden <fvdl@wasabisystems.com> said:
> 
> I've put some test kernels containing the changed interrupt code
> I've been working on, in ftp://ftp.netbsd.org/pub/NetBSD/misc/fvdl/intr/
> 
> They are GENERIC, GENERIC_LAPTOP and GENERIC.MPVERBOSE (which is
> GENERIC.MP + the MPVERBOSE option) kernels.
[...]
> Let me know if the kernels do or do not work if you test any
> of them. If you find a problem which you are not seeing on
> plain -current, include the dmesg output if possible. 

I tested the MPVERBOSE kernel on this system.  dmesg is attached.  The
only problem I have with this machine is that USB is broken when running
MP NetBSD or Linux kernels.  MP Windows is fine.  SP BSD is fine.  SP
Linux I don't remember, but I'd be willing to bet is fine, too.

Someone a while ago suggested that it might require ACPI PCI routing
fixups.  As of a week ago when I last tested, ACPI enabled MP kernels
lock after printing "ioapic0: enabling" - cpu1 is never spun up, init is
never spawed.

Frank, thanks for all the hard work on this.  I can't give you access to
this machine, but I can test all the kernels you can make.  I can apply
patches, build kernels, and send you my DM config file.

What can I do to help get USB working on this sucker?

jf
-- 
John Franklin
franklin@elfie.org
ICBM: 35°43'56"N 78°53'27"W

--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=mptest

NetBSD 1.6K (GENERIC.MPVERBOSE) #0: Tue Nov 12 12:50:17 CET 2002
    fvdl@k2:/work/trees/mpmerge/sys/arch/i386/compile/GENERIC.MPVERBOSE
total memory = 447 MB
avail memory = 408 MB
using 5754 buffers containing 23016 KB of memory
BIOS32 rev. 0 found at 0xfb290
mainbus0 (root)
mainbus0: scanning 0x9fc00 to 0x9fff0 for MP signature
mainbus0: scanning 0x9f800 to 0x9fbf0 for MP signature
mainbus0: scanning 0xf0000 to 0xffff0 for MP signature
mainbus0: MP floating pointer found in bios at 0xf5940
mainbus0: MP config table at 0xf1400, 268 bytes long
mainbus0: Intel MP Specification (Version 1.4) (OEM00000 PROD00000000)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Pentium II (Klamath) (686-class), 267.30 MHz
cpu0: features 80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 80fbff<PGE,MCA,CMOV,MMX>
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu0: L2 cache 512 KB 32b/line 4-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: calibrating local timer
cpu0: apic clock running at 66 MHz
cpu0: 32 page colors
cpu0: kstack at 0xe0165000 for 16384 bytes
cpu0: idle pcb at 0xe0165000, idle sp at 0xe0168f98
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: Intel Pentium II (Klamath) (686-class), 267.28 MHz
cpu1: features 80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features 80fbff<PGE,MCA,CMOV,MMX>
cpu1: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu1: L2 cache 512 KB 32b/line 4-way
cpu1: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu1: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu1: kstack at 0xe0171000 for 16384 bytes
cpu1: idle pcb at 0xe0171000, idle sp at 0xe0174f98
mpbios: bus 0 is type PCI   
mpbios: bus 1 is type PCI   
mpbios: bus 2 is type ISA   
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, virtual wire mode, version 11, 24 pins
ioapic0: int0 attached to ExtINT (type 3<type=3=ExtINT> flags 0<pol=0,trig=0>)
ioapic0: int1 attached to isa0 irq 1 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int2 attached to isa0 irq 0 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int3 attached to isa0 irq 3 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int4 attached to isa0 irq 4 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int6 attached to isa0 irq 6 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int7 attached to isa0 irq 7 (type 0<type=0> flags 0<pol=0,trig=0>)
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 0<pol=0,trig=0>)
ioapic0: int12 attached to isa0 irq 12 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int13 attached to isa0 irq 13 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int14 attached to isa0 irq 14 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int15 attached to isa0 irq 15 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int19 attached to pci0 device 7 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int17 attached to pci0 device 17 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int16 attached to pci0 device 20 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int23 attached to SMI (type 2<type=2=SMI> flags 0<pol=0,trig=0>)
local apic: int0 attached to ExtINT (type 3<type=3=ExtINT> flags 0<pol=0,trig=0>)
local apic: int1 attached to NMI (type 1<type=1=NMI> flags 0<pol=0,trig=0>)
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 VT82C691 (Apollo Pro) Host-PCI (rev. 0xc4)
agp0 at pchb0: aperture at 0xd0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: VIA Technologies VT82C598 (Apollo MVP3) CPU-AGP Bridge (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: 3Dfx Interactive Banshee (rev. 0x03)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 7 function 0
pcib0: VIA Technologies VT82C596A (Apollo Pro) PCI-ISA Bridge (rev. 0x23)
pciide0 at pci0 dev 7 function 1: VIA Technologies VT82C596A (Apollo Pro) ATA66 controller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALLlct10 15>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 14324 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 29336832 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
allocated pic ioapic0 type edge pin 14 level 6 to cpu0 slot 14 idt entry 96
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: <PCRW804, 4VO2026DG02855, 1.1> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
allocated pic ioapic0 type edge pin 15 level 6 to cpu0 slot 15 idt entry 97
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 7 function 2: VIA Technologies VT83C572 USB Controller (rev. 0x11)
allocated pic ioapic0 type level pin 19 level 6 to cpu0 slot 5 idt entry 98
uhci0: interrupting at apic 2 int 19 (irq 5)
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
pchb1 at pci0 dev 7 function 3
pchb1: VIA Technologies product 0x3050 (rev. 0x30)
ex0 at pci0 dev 17 function 0: 3Com 3c905-TX 10/100 Ethernet (rev. 0x0)
allocated pic ioapic0 type level pin 17 level 7 to cpu0 slot 11 idt entry 112
ex0: interrupting at apic 2 int 17 (irq 11)
ex0: MAC address 00:60:97:6e:ab:e6
nsphy0 at ex0 phy 24: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
eap0 at pci0 dev 20 function 0: Ensoniq CT5880 CT5880C (rev. 0x02)
allocated pic ioapic0 type level pin 16 level 11 to cpu0 slot 10 idt entry 176
eap0: interrupting at apic 2 int 16 (irq 10)
eap0: SigmaTel STAC9721/23 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
allocated pic ioapic0 type edge pin 4 level 13 to cpu0 slot 4 idt entry 208
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
allocated pic ioapic0 type edge pin 3 level 13 to cpu0 slot 3 idt entry 209
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
allocated pic ioapic0 type edge pin 1 level 9 to cpu0 slot 1 idt entry 144
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
allocated pic ioapic0 type edge pin 12 level 9 to cpu0 slot 12 idt entry 145
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
allocated pic ioapic0 type edge pin 7 level 9 to cpu0 slot 7 idt entry 146
pcppi0 at isa0 port 0x61
midi1 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 ioapic0 type edge pin 6 level 6 to cpu0 slot 6 idt entry 99
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
cpu0: interrupt masks:
IPL 0 mask 7ff2305 unmask f800dcfa
IPL 1 mask 7ff2305 unmask f800dcfa
IPL 2 mask 7ff2305 unmask f800dcfa
IPL 3 mask 7ff2305 unmask f800dcfa
IPL 4 mask 87ff2305 unmask 7800dcfa
IPL 5 mask c7ff2305 unmask 3800dcfa
IPL 6 mask c7ffe365 unmask 38001c9a
IPL 7 mask c7ffeb65 unmask 3800149a
IPL 8 mask e7ffeb65 unmask 1800149a
IPL 9 mask e7fffbe7 unmask 18000418
IPL 10 mask e7fffbe7 unmask 18000418
IPL 11 mask e7ffffe7 unmask 18000018
IPL 12 mask f7ffffe7 unmask 8000018
IPL 13 mask f7ffffff unmask 8000000
IPL 14 mask ffffffff unmask 0
IPL 15 mask ffffffff unmask 0
cpu0 source 1 is pin 1 from pic ioapic0 maxlevel 9
	handler 0xc01fad18 level 9
cpu0 source 3 is pin 3 from pic ioapic0 maxlevel 13
	handler 0xc01f9138 level 13
cpu0 source 4 is pin 4 from pic ioapic0 maxlevel 13
	handler 0xc01f9138 level 13
cpu0 source 5 is pin 19 from pic ioapic0 maxlevel 6
	handler 0xc0221df0 level 6
cpu0 source 6 is pin 6 from pic ioapic0 maxlevel 6
	handler 0xc044e2dc level 6
cpu0 source 7 is pin 7 from pic ioapic0 maxlevel 9
	handler 0xc041aae4 level 9
cpu0 source 10 is pin 16 from pic ioapic0 maxlevel 11
	handler 0xc03d95e4 level 11
cpu0 source 11 is pin 17 from pic ioapic0 maxlevel 7
	handler 0xc01c6c9c level 7
cpu0 source 12 is pin 12 from pic ioapic0 maxlevel 9
	handler 0xc01fad18 level 9
cpu0 source 14 is pin 14 from pic ioapic0 maxlevel 6
	handler 0xc03b36ac level 6
cpu0 source 15 is pin 15 from pic ioapic0 maxlevel 6
	handler 0xc03b36ac level 6
cpu0 source 27 is pin 0 from pic lapic maxlevel 14
	handler 0x0 level 14
cpu0 source 28 is pin 0 from pic lapic maxlevel 12
	handler 0x0 level 12
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
cpu1: interrupt masks:
IPL 0 mask 7ffffff unmask f8000000
IPL 1 mask 7ffffff unmask f8000000
IPL 2 mask 7ffffff unmask f8000000
IPL 3 mask 7ffffff unmask f8000000
IPL 4 mask 87ffffff unmask 78000000
IPL 5 mask c7ffffff unmask 38000000
IPL 6 mask c7ffffff unmask 38000000
IPL 7 mask c7ffffff unmask 38000000
IPL 8 mask e7ffffff unmask 18000000
IPL 9 mask e7ffffff unmask 18000000
IPL 10 mask e7ffffff unmask 18000000
IPL 11 mask e7ffffff unmask 18000000
IPL 12 mask f7ffffff unmask 8000000
IPL 13 mask f7ffffff unmask 8000000
IPL 14 mask ffffffff unmask 0
IPL 15 mask ffffffff unmask 0
cpu1 source 27 is pin 0 from pic lapic maxlevel 14
	handler 0x0 level 14
cpu1 source 28 is pin 0 from pic lapic maxlevel 12
	handler 0x0 level 12
cpu1 source 29 is pin 0 from pic softintr_fakepic maxlevel 8
	handler 0x0 level 8
cpu1 source 30 is pin 0 from pic softintr_fakepic maxlevel 5
	handler 0x0 level 5
cpu1 source 31 is pin 0 from pic softintr_fakepic maxlevel 4
	handler 0x0 level 4
cpu0: prelint0 700<vector=0,delmode=7,dest=0> 0<target=0>
cpu0: prelint1 400<vector=0,delmode=4,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 190<vector=90,delmode=1,dest=0> 0<target=0>
ioapic0: int3 1d1<vector=d1,delmode=1,dest=0> 0<target=0>
ioapic0: int4 1d0<vector=d0,delmode=1,dest=0> 0<target=0>
ioapic0: int6 163<vector=63,delmode=1,dest=0> 0<target=0>
ioapic0: int7 192<vector=92,delmode=1,dest=0> 0<target=0>
ioapic0: int12 191<vector=91,delmode=1,dest=0> 0<target=0>
ioapic0: int14 160<vector=60,delmode=1,dest=0> 0<target=0>
ioapic0: int15 161<vector=61,delmode=1,dest=0> 0<target=0>
ioapic0: int16 a1b0<vector=b0,delmode=1,actlo,level,dest=0> 0<target=0>
ioapic0: int17 a170<vector=70,delmode=1,actlo,level,dest=0> 0<target=0>
ioapic0: int19 a162<vector=62,delmode=1,actlo,level,dest=0> 0<target=0>
uhub0: device problem, disabling port 1
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
cpu1: prelint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: prelint1 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: timer0 200c0<vector=c0,delmode=0,dest=0> 0<target=0>
cpu1: pcint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: lint0 10700<vector=0,delmode=7,masked,dest=0> 0<target=0>
cpu1: lint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu1: err0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: CPU 1 running
uid 0 comm kvm_mkdb on /var: file system full
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)
uhub0: port error, restarting port 1
uhub0: device problem, disabling port 1

--Qxx1br4bt0+wmkIi--