Subject: Re: port-amd64/33927: -current/amd64 kernel reboots early in boot process
To: None <gnats-bugs@NetBSD.org>
From: Dave Huang <khym@azeotrope.org>
List: netbsd-bugs
Date: 07/29/2006 14:51:17
I managed to get a little more info on the reboot I'm currently
seeing. The following messages are from a kernel with ACPI,
MULTIPROCESSOR, ACPI_SCANPCI, MPVERBOSE (and for debugging purposes,
DDB_COMMANDONENTER="trace;show registers", DB_MAX_LINE=100, and
CPURESET_DELAY=10000)

>> NetBSD/amd64 BIOS Boot, Revision 3.1
>> (jmc@faith.netbsd.org, Tue Mar 22 04:29:40 UTC 2005)
>> Memory: 622/2095104 k
> boot /netbsd-cheetah
booting hd0a:/netbsd-cheetah
3298288+394648+249584=0x4c3948
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    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.23 (CHEETAH) #30: Sat Jul 29 02:26:11 CDT 2006
        khym@cheetah.azeotrope.org:/usr/obj.amd64/sys/arch/amd64/compile/CHEETAH
total memory = 2046 MB
avail memory = 1967 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
timecounter: selected timecounter "i8254" frequency 1193182 Hz quality 100
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: calibrating local timer
cpu0: apic clock running at 200 MHz
cpu0: 16 page colors
cpu0: kstack at 0xffff8000488b1000 for 20480 bytes
cpu0: idle pcb at 0xffff8000488b1000, idle sp at 0xffff8000488b5ff0
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: kstack at 0xffff8000488b6000 for 20480 bytes
cpu1: idle pcb at 0xffff8000488b6000, idle sp at 0xffff8000488baff0
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
ioapic3 at mainbus0 apid 5 (I/O APIC)
ioapic3: pa 0xd8400000, virtual wire mode, version 11, 24 pins
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
timecounter: selected timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
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>)
linkdev LSMB attached to pci0 device 1 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LSMB attached to pci0 device 1 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LUS0 attached to pci0 device 2 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LUS2 attached to pci0 device 2 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LMAC attached to pci0 device 10 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LACI attached to pci0 device 4 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LMCI attached to pci0 device 4 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LPID attached to pci0 device 6 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LTID attached to pci0 device 7 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LSI1 attached to pci0 device 8 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LNK1 attached to pci1 device 4 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LNK2 attached to pci1 device 4 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LNK3 attached to pci1 device 4 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LNK4 attached to pci1 device 4 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LNK4 attached to pci1 device 5 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LNK3 attached to pci2 device 0 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LNK4 attached to pci2 device 0 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LNK1 attached to pci2 device 0 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LNK2 attached to pci2 device 0 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
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>)
linkdev LMAC attached to pci128 device 10 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LNK3 attached to pci129 device 0 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LNK4 attached to pci129 device 0 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LNK1 attached to pci129 device 0 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
linkdev LNK2 attached to pci129 device 0 INT_D (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
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
PNP0C01 [System Board] at acpi0 not configured
PNP0A03 [PCI/PCI-X Host Bridge] 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
attimer0 at acpi0 (PNP0100): AT Timer
attimer0: io 0x40-0x43 irq 0
PNP0200 [AT DMA Controller] at acpi0 not configured
pcppi0 at acpi0 (PNP0800)
pcppi0: io 0x61
midi0 at pcppi0: PC speaker (CPU-intensive output)
spkr0 at pcppi0
sysbeep0 at pcppi0
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
PNP0C04 [Math Coprocessor] at acpi0 not configured
PNP0A05 [Generic Container Device] at acpi0 not configured
com0 at acpi0 (PNP0501-1)
com0: io 0x3f8-0x3ff irq 4
com: ns16550a, working fifo
com0: console
pckbc0 at acpi0 (PNP0303): kbd port
pckbc0: io 0x60,0x64 irq 1
pckbc1 at acpi0 (PNP0F13): aux port
pckbc1: irq 12
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/PCI-X Host Bridge] at acpi0 not configured
PNP0A03 [PCI/PCI-X Host Bridge] at acpi0 not configured
pcppi0: attached to attimer0
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
pci0 at mainbus0 bus 0: configuration mode 1mainbus0: added to list as bus 0

pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
NVIDIA nForce4 Memory Controller (miscellaneous memory, revision 0xa3) at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0
pcib0: NVIDIA nForce4 PCI-ISA bridge (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 nForce4 USB Host Controller (rev. 0xa2)
linkdev LUS0 returned ACPI global int 20
ohci0: interrupting at ioapic0 pin 20 (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 nForce4 USB2 Host Controller (rev. 0xa3)
linkdev LUS2 returned ACPI global int 21
ehci0: interrupting at ioapic0 pin 21 (irq 7)
ehci0: BIOS refuses to give up ownership, using force
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
linkdev LACI returned ACPI global int 22
auich0: interrupting at ioapic0 pin 22 (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. 0xf2)
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. 0xf3)
viaide1: bus-master DMA support present
viaide1: primary channel wired to native-PCI mode
linkdev LTID returned ACPI global int 23
viaide1: using ioapic0 pin 23 (irq 11) 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. 0xf3)
viaide2: bus-master DMA support present
viaide2: primary channel wired to native-PCI mode
linkdev LSI1 returned ACPI global int 20
viaide2: using ioapic0 pin 20 (irq 10) 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 nForce4 PCI Host Bridge (rev. 0xa2)
pci1 at ppb0 bus 1ppb0: added to list as bus 1

pci1: i/o space, memory space enabled
fwohci0 at pci1 dev 5 function 0: Texas Instruments TSB43AA22/A IEEE 1394 Host Controller (rev. 0x00)
linkdev LNK4 returned ACPI global int 16
fwohci0: interrupting at ioapic0 pin 16 (irq 12)
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:e0:81:00:00:23:50:e6
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
NVIDIA nForce4 Ethernet (miscellaneous bridge, revision 0xa3) at pci0 dev 10 function 0 not configured
ppb1 at pci0 dev 14 function 0: NVIDIA nForce4 PCIe Host Bridge (rev. 0xa3)
pci2 at ppb1 bus 2ppb1: added to list as 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
wskbd0: 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
pci3 at mainbus0 bus 9mainbus0: added to list as bus 9

pci3: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pci4 at mainbus0 bus 10mainbus0: added to list as bus 10

pci4: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pci5 at mainbus0 bus 128mainbus0: added to list as bus 128

pci5: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
NVIDIA nForce4 Memory Controller (miscellaneous memory, revision 0xa3) at pci5 dev 0 function 0 not configured
NVIDIA product 0x00d3 (miscellaneous memory, revision 0xa3) at pci5 dev 1 function 0 not configured
NVIDIA nForce4 Ethernet (miscellaneous bridge, revision 0xa3) at pci5 dev 10 function 0 not configured
ppb2 at pci5 dev 14 function 0: NVIDIA nForce4 PCIe Host Bridge (rev. 0xa3)
pci6 at ppb2 bus 129ppb2: added to list as bus 129

pci6: i/o space, memory space enabled, rd/line, wr/inv ok
Link Device LSMB:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     2  20 21 22 23

Link Device LUS0:
Index  IRQ  Rtd  Ref  IRQs
    0   20   Y     1  20 21 22 23

Link Device LUS2:
Index  IRQ  Rtd  Ref  IRQs
    0   21   Y     1  20 21 22 23

Link Device LMAC:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     1  20 21 22 23

Link Device LACI:
Index  IRQ  Rtd  Ref  IRQs
    0   22   Y     1  20 21 22 23

Link Device LMCI:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     1  20 21 22 23

Link Device LPID:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     1  20 21 22 23

Link Device LTID:
Index  IRQ  Rtd  Ref  IRQs
    0   23   Y     1  20 21 22 23

Link Device LSI1:
Index  IRQ  Rtd  Ref  IRQs
    0   20   Y     1  20 21 22 23

Link Device LNK1:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     2  16 17 18 19

Link Device LNK2:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     2  16 17 18 19

Link Device LNK3:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     2  16 17 18 19

Link Device LNK4:
Index  IRQ  Rtd  Ref  IRQs
    0   16   Y     3  16 17 18 19

Link Device LMAC:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     1  52 53 54 55

Link Device LNK3:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     1  48 49 50 51

Link Device LNK4:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     1  48 49 50 51

Link Device LNK1:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     1  48 49 50 51

Link Device LNK2:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     1  48 49 50 51

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 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu0: lint1 0<vector=0,delmode=0,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: int9 a0a0<vector=a0,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>
ioapic0: int16 e065<vector=65,delmode=0,actlo,irrpending,level,dest=0> 0<target=0>
ioapic0: int20 e060<vector=60,delmode=0,actlo,irrpending,level,dest=0> 0<target=0>
ioapic0: int21 e061<vector=61,delmode=0,actlo,irrpending,level,dest=0> 0<target=0>
ioapic0: int22 a0b0<vector=b0,delmode=0,actlo,level,dest=0> 0<target=0>
ioapic0: int23 a064<vector=64,delmode=0,actlo,level,dest=0> 0<target=0>
ioapic1: enabling
ioapic2: enabling
ioapic3: enabling
timecounter: Timecounter "TSC" frequency 2009367350 Hz quality 800
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
auich0: measured ac97 link rate at 47999 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, , JS0B> 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)
uhub2 at uhub0 port 4
uhub2: Texas Instruments UT-USB41 hub, class 9/0, rev 1.10/1.10, addr 2
uhub2: 4 ports with 4 removable, self powered
wd0 at atabus4 drive 0: <WDC WD2500SD-01KCB0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(viaide2:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd1 at atabus5 drive 0: <HDT722525DLA380>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(viaide2:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
uhidev0 at uhub2 port 2 configuration 1 interface 0
uhidev0: Logitech USB-PS/2 Optical Mouse, rev 2.00/18.00, addr 3, iclass 3/1
ums0 at uhidev0: 6 buttons and Z dir.
wsmouse0 at ums0 mux 0
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 10000<vector=0,delmode=0,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
kernel: double fault trap, code=0
Stopped in pid 14.1 (pagedaemon) at	netbsd:Xintr_legacy7+0x52:	movq %rdi,0(%rsp)
Xintr_legacy7() at netbsd:Xintr_legacy7+0x52
--- interrupt ---
0:
ds	0
es	0
fs	0
gs	0
rdi	0xd
rsi	0x202
rbp	0xffff800049363f10
rbx	0xffffffff805b8f98
rdx	0xd
rcx	0xffff8000041be000
rax	0x40000000
r8	0
r9	0x40
r10	0xffff8000488baee0
r11	0xffffffff80171f80
r12	0xffff8000041be000
r13	0xffff80004888d1f0
r14	0
r15	0
rip	0xffffffff80102912
cs	0x8
rflags	0x10082
rsp	0xffff800049360fe0
ss	0x10
0xffffffff80102912:	movq	%rdi,0(%rsp)
db(1)>
[ reboots automatically ]

The above is actually a composite of 3 boots. The beginning up to the
"cpu1: err0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>" line
was captured using a serial console from a kernel without
CPURESET_DELAY or DB_MAX_LINE. However, when using a serial console,
it always reboots soon after printing that line (it outputs the first
character or two of the "cpu1: CPU 1 running" line, but never more
than that). Increasing CPURESET_DELAY has no effect.

When using a VGA console, it shows more before rebooting, but it often
reboots before completely printing the register dump. The messages
scroll by so fast that the only way I have to get the output is to
record it with a video camera, but even 30 frames/sec isn't fast
enough to catch the messages before it reboots.

The "cpu1: CPU 1 running" line through the end of the stack trace is
from a second boot, without DB_MAX_LINE=100. It printed part of the
"show registers" then "--db_more--" at the bottom of the screen before
rebooting. So, I used gdb to increase db_max_line, but I guess that
must've hosed the symbol table, since ddb then only showed addresses
in hex, rather than looking up the symbols. 0xffffffff80102912 is
still Xintr_legacy7+0x52 though. In any case, the output of "show
registers" through the end is from that kernel. FWIW, some of the
registers values from boot #2 were different from the values from boot
#3.

I rebuilt a kernel with DB_MAX_LINE=100 to get a proper symbol table
back in, but after trying over 10 times, it either rebooted before
showing the full "show registers" output, or my video camera didn't
catch the fraction of a second that the full output was on the screen.
So I gave up and figured this'll be good enough :)

The stills from the video camera were a bit blurry, so there's a
possibility that some of the "0"s are "8"s or that some of the "c"s
are "e"s, but I think I was able to figure out which was which.

So, anything else I can try to help get this resolved?