Subject: Re: amd64 reboot when using acpi
To: Brett Lymn <blymn@baesystems.com.au>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: current-users
Date: 06/20/2007 09:58:01
On 11/06/07, Brett Lymn <blymn@baesystems.com.au> wrote:
> On Sun, Jun 10, 2007 at 12:39:51PM +0000, Michael van Elst wrote:
> >
> > Could that be a stack overflow of some kind?
> >
>
> I think so.  I suspect that the interrupt is not being processed
> correctly and keeps interrupting the handler until it runs out of
> stack.  I tried putting a sti right up the top of the interrupt
> handler (and adjusted the rest of the code so it was correct).  Doing
> this I managed to get the machine to boot to multi-user once, I
> rebuilt the kernel again and tried another reboot and it went back to
> panicing.
>
> I turned on interrupt debugging and the interrupts look ok to me....
>
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
>     2006, 2007
>     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 4.99.20 (GENERIC.MP) #4: Sat Jun  9 19:30:47 CST 2007
>         toor@siren:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> total memory = 4094 MB
> avail memory = 3936 MB
> mainbus0 (root)
> cpu0 at mainbus0 apid 0: (boot processor)
> cpu0: Dual Core AMD Opteron(tm) Processor 280, 2411.23 MHz
> cpu0: features: f7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
> cpu0: features: f7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
> cpu0: features: f7dbfbff<FXSR,SSE,SSE2,HTT,LONG,3DNOW2,3DNOW>
> cpu0: features2: 1<SSE3>
> cpu0: testing for erratum 89
> cpu0: erratum 89 present
> cpu0: testing for erratum 122
> cpu0: WARNING: AMD errata present, BIOS upgrade may be
> cpu0: WARNING: necessary to ensure reliable operation
> cpu0: 16 page colors
> cpu1 at mainbus0 apid 1: (application processor)
> cpu1: starting
> cpu1: Dual Core AMD Opteron(tm) Processor 280, 2411.11 MHz
> cpu1: features: f7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
> cpu1: features: f7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
> cpu1: features: f7dbfbff<FXSR,SSE,SSE2,HTT,LONG,3DNOW2,3DNOW>
> cpu1: features2: 1<SSE3>
> cpu1: testing for erratum 122
> cpu2 at mainbus0 apid 2: (application processor)
> cpu2: starting
> cpu2: Dual Core AMD Opteron(tm) Processor 280, 2411.11 MHz
> cpu2: features: f7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
> cpu2: features: f7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
> cpu2: features: f7dbfbff<FXSR,SSE,SSE2,HTT,LONG,3DNOW2,3DNOW>
> cpu2: features2: 1<SSE3>
> cpu2: testing for erratum 122
> cpu3 at mainbus0 apid 3: (application processor)
> cpu3: starting
> cpu3: Dual Core AMD Opteron(tm) Processor 280, 2411.11 MHz
> cpu3: features: f7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
> cpu3: features: f7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
> cpu3: features: f7dbfbff<FXSR,SSE,SSE2,HTT,LONG,3DNOW2,3DNOW>
> cpu3: features2: 1<SSE3>
> cpu3: testing for erratum 122
> ioapic0 at mainbus0 apid 4
> ioapic1 at mainbus0 apid 5
> ioapic2 at mainbus0 apid 6
> ioapic3 at mainbus0 apid 7
> acpi0 at mainbus0: Advanced Configuration and Power Interface
> ACPI-Fast 24-bit timer
> mpacpi: could not get bus number, assuming bus 0
> allocated pic ioapic0 type level pin 9 level 9 to cpu0 slot 16 idt entry 144
> 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
> PNP0C0C [ACPI power button device] at acpi0 not configured
> 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
> PNP0100 [AT Timer] at acpi0 not configured
> PNP0200 [AT DMA Controller] at acpi0 not configured
> PNP0800 [AT-style speaker sound] at acpi0 not configured
> PNP0B00 [AT Real-Time Clock] at acpi0 not configured
> PNP0C04 [Math Coprocessor] at acpi0 not configured
> PNP0A05 [Generic Container Device] at acpi0 not configured
> PNP0501 [16550A-compatible COM port] at acpi0 not configured
> PNP0700 [PC standard floppy disk controller] at acpi0 not configured
> PNP0303 [IBM Enhanced (101/102-key, PS/2 mouse support)] at acpi0 not configured
> PNP0F13 [PS/2 Port for PS/2-style Mice] 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
> 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
> pci0 at mainbus0 bus 0: configuration mode 1
> 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)
> amdpm0 at pci0 dev 1 function 1: NVIDIA nForce4 SMBus (rev. 0xa2)
> amdpm_smbus_attach...
> amdpm0: system management at 0x8000
> allocated pic ioapic0 type level pin 20 level 6 to cpu0 slot 12 idt entry 96
> amdpm0: interrupting at ioapic0 pin 20 (irq 12)
> iic at amdpm0 not configured
> amdpm0: random number generator enabled (apprx. 0ms)
> ohci0 at pci0 dev 2 function 0: NVIDIA nForce4 USB Host Controller (rev. 0xa2)
> allocated pic ioapic0 type level pin 21 level 6 to cpu0 slot 11 idt entry 97
> ohci0: interrupting at ioapic0 pin 21 (irq 11)
> 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)
> allocated pic ioapic0 type level pin 22 level 6 to cpu0 slot 7 idt entry 98
> ehci0: interrupting at ioapic0 pin 22 (irq 7)
> ehci0: BIOS refuses to give up ownership, using force
> 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
> allocated pic ioapic0 type level pin 23 level 11 to cpu0 slot 17 idt entry 176
> auich0: interrupting at ioapic0 pin 23 (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)
> allocated pic ioapic0 type edge pin 14 level 6 to cpu0 slot 14 idt entry 99
> viaide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
> atabus0 at viaide0 channel 0
> allocated pic ioapic0 type edge pin 15 level 6 to cpu0 slot 15 idt entry 100
> 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)
> allocated pic ioapic0 type level pin 21 level 6 to cpu0 slot 11 idt entry 97
> viaide1: using ioapic0 pin 21 (irq 11) for native-PCI interrupt
> atabus2 at viaide1 channel 0
> atabus3 at viaide1 channel 1
> viaide2 at pci0 dev 8 function 0
> viaide2: NVIDIA nForce4 Serial ATA Controller (rev. 0xf3)
> allocated pic ioapic0 type level pin 22 level 6 to cpu0 slot 7 idt entry 98
> viaide2: using ioapic0 pin 22 (irq 11) for native-PCI interrupt
> atabus4 at viaide2 channel 0
> atabus5 at viaide2 channel 1
> ppb0 at pci0 dev 9 function 0: NVIDIA nForce4 PCI Host Bridge (rev. 0xa2)
> pci1 at ppb0 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)
> allocated pic ioapic0 type level pin 16 level 6 to cpu0 slot 18 idt entry 101
> fwohci0: interrupting at ioapic0 pin 16 (irq 11)
> fwohci0: OHCI version 1.10 (ROM=1)
> fwohci0: No. of Isochronous channels is 4.
> fwohci0: EUI64 00:e0:81:00:00:26:e4:75
> 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
> nfe0 at pci0 dev 10 function 0: NVIDIA nForce4 Ethernet (rev. 0xa3)
> allocated pic ioapic0 type level pin 23 level 7 to cpu0 slot 17 idt entry 112
> nfe0: interrupting at ioapic0 pin 23 (irq 11)
> nfe0: Ethernet address 00:e0:81:70:2d:34
> makphy0 at nfe0 phy 1: Marvell 88E1111 Gigabit PHY, rev. 2
> makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
> ppb1 at pci0 dev 14 function 0: NVIDIA nForce4 PCIe Host Bridge (rev. 0xa3)
> pci2 at ppb1 bus 2
> pci2: i/o space, memory space enabled, rd/line, wr/inv ok
> vga0 at pci2 dev 0 function 0: NVIDIA product 0x0193 (rev. 0xa2)
> vga0: WARNING: ignoring 64-bit BAR @ 0x14
> vga0: WARNING: ignoring 64-bit BAR @ 0x1c
> wsdisplay0 at vga0 kbdmux 1
> direct rendering for vga0 unsupported
> 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
> com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
> com0: console
> allocated pic ioapic0 type edge pin 4 level 13 to cpu0 slot 4 idt entry 208
> 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 145
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0 mux 1
> attimer0 at isa0 port 0x40-0x43: AT Timer
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: PC speaker (CPU-intensive output)
> sysbeep0 at pcppi0
> 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 102
> pcppi0: attached to attimer0
> pci3 at mainbus0 bus 17
> pci3: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
> ppb2 at pci3 dev 4 function 0: Intel S21152BA,S21154AE/BE PCI-PCI Bridge (rev. 0x00)
> pci4 at ppb2 bus 18
> pci4: i/o space, memory space enabled, rd/line, wr/inv ok
> fxp0 at pci4 dev 4 function 0: i82550 Ethernet, rev 13
> allocated pic ioapic1 type level pin 0 level 7 to cpu0 slot 19 idt entry 113
> fxp0: interrupting at ioapic1 pin 0 (irq 12)
> fxp0: Ethernet address 00:02:b3:a6:16:a3
> inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
> inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> fxp1 at pci4 dev 5 function 0: i82550 Ethernet, rev 13
> allocated pic ioapic1 type level pin 1 level 7 to cpu0 slot 20 idt entry 114
> fxp1: interrupting at ioapic1 pin 1 (irq 11)
> fxp1: Ethernet address 00:02:b3:a6:16:a4
> inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
> inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> pci5 at mainbus0 bus 19
> pci5: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
> ahc0 at pci5 dev 9 function 0: Adaptec 29160 Ultra160 SCSI adapter
> allocated pic ioapic2 type level pin 1 level 6 to cpu0 slot 21 idt entry 103
> ahc0: interrupting at ioapic2 pin 1 (irq 11)
> ahc0: aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
> scsibus0 at ahc0: 16 targets, 8 luns per target
> pci6 at mainbus0 bus 128
> pci6: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
> NVIDIA nForce4 Memory Controller (miscellaneous memory, revision 0xa3) at pci6 dev 0 function 0 not configured
> NVIDIA product 0x00d3 (miscellaneous memory, revision 0xa3) at pci6 dev 1 function 0 not configured
> nfe1 at pci6 dev 10 function 0: NVIDIA nForce4 Ethernet (rev. 0xa3)
> allocated pic ioapic3 type level pin 20 level 7 to cpu0 slot 5 idt entry 115
> nfe1: interrupting at ioapic3 pin 20 (irq 5)
> nfe1: Ethernet address 00:e0:81:70:2d:35
> makphy1 at nfe1 phy 1: Marvell 88E1111 Gigabit PHY, rev. 2
> makphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
> ppb3 at pci6 dev 14 function 0: NVIDIA nForce4 PCIe Host Bridge (rev. 0xa3)
> pci7 at ppb3 bus 129
> pci7: i/o space, memory space enabled, rd/line, wr/inv ok
> NVIDIA product 0x0193 (VGA display, revision 0xa2) at pci7 dev 0 function 0 not configured
> cpu0: interrupt masks:
> IPL 0 mask 7c0270d unmask f83fd8f2
> IPL 1 mask 7c0270d unmask f83fd8f2
> IPL 2 mask 7c0270d unmask f83fd8f2
> IPL 3 mask 7c0270d unmask f83fd8f2
> IPL 4 mask 27c0270d unmask d83fd8f2
> IPL 5 mask 37c0270d unmask c83fd8f2
> IPL 6 mask 37e4ffcd unmask c81b0032
> IPL 7 mask 37feffed unmask c8010012
> IPL 8 mask 3ffeffed unmask c0010012
> IPL 9 mask 3fffffef unmask c0000010
> IPL 10 mask 3fffffef unmask c0000010
> IPL 11 mask 3fffffef unmask c0000010
> IPL 12 mask 7fffffef unmask 80000010
> IPL 13 mask 7fffffff unmask 80000000
> IPL 14 mask ffffffff unmask 0
> IPL 15 mask ffffffff unmask 0
> cpu0 source 1 is pin 1 from pic ioapic0 maxlevel 9
>         handler 0xffffffff8060d810 level 9
> cpu0 source 4 is pin 4 from pic ioapic0 maxlevel 13
>         handler 0xffffffff8035ea46 level 13
> cpu0 source 5 is pin 20 from pic ioapic3 maxlevel 7
>         handler 0xffffffff8060d810 level 7
> cpu0 source 6 is pin 6 from pic ioapic0 maxlevel 6
>         handler 0xffffffff8060d810 level 6
> cpu0 source 7 is pin 22 from pic ioapic0 maxlevel 6
>         handler 0xffffffff8060d810 level 6
>         handler 0xffffffff8060d810 level 6
> cpu0 source 11 is pin 21 from pic ioapic0 maxlevel 6
>         handler 0xffffffff8060d810 level 6
>         handler 0xffffffff8060d810 level 6
> cpu0 source 12 is pin 20 from pic ioapic0 maxlevel 6
>         handler 0xffffffff8060d810 level 6
> cpu0 source 14 is pin 14 from pic ioapic0 maxlevel 6
>         handler 0xffffffff8060d810 level 6
> cpu0 source 15 is pin 15 from pic ioapic0 maxlevel 6
>         handler 0xffffffff8060d810 level 6
> cpu0 source 16 is pin 9 from pic ioapic0 maxlevel 9
>         handler 0xffffffff8060d810 level 9
> cpu0 source 17 is pin 23 from pic ioapic0 maxlevel 11
>         handler 0xffffffff8060d810 level 11
>         handler 0xffffffff8060d810 level 7
> cpu0 source 18 is pin 16 from pic ioapic0 maxlevel 6
>         handler 0xffffffff8060d810 level 6
> cpu0 source 19 is pin 0 from pic ioapic1 maxlevel 7
>         handler 0xffffffff8060d810 level 7
> cpu0 source 20 is pin 1 from pic ioapic1 maxlevel 7
>         handler 0xffffffff8060d810 level 7
> cpu0 source 21 is pin 1 from pic ioapic2 maxlevel 6
>         handler 0xffffffff8060d810 level 6
> cpu0 source 27 is pin 0 from pic softintr_fakepic maxlevel 8
>         handler 0x0 level 8
> cpu0 source 28 is pin 0 from pic softintr_fakepic maxlevel 5
>         handler 0x0 level 5
> cpu0 source 29 is pin 0 from pic softintr_fakepic maxlevel 4
>         handler 0x0 level 4
> cpu0 source 30 is pin 0 from pic lapic maxlevel 12
>         handler 0x0 level 12
> cpu0 source 31 is pin 0 from pic lapic maxlevel 14
>         handler 0x0 level 14
> cpu3: 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 27ffffff unmask d8000000
> IPL 5 mask 37ffffff unmask c8000000
> IPL 6 mask 37ffffff unmask c8000000
> IPL 7 mask 37ffffff unmask c8000000
> IPL 8 mask 3fffffff unmask c0000000
> IPL 9 mask 3fffffff unmask c0000000
> IPL 10 mask 3fffffff unmask c0000000
> IPL 11 mask 3fffffff unmask c0000000
> IPL 12 mask 7fffffff unmask 80000000
> IPL 13 mask 7fffffff unmask 80000000
> IPL 14 mask ffffffff unmask 0
> IPL 15 mask ffffffff unmask 0
> cpu3 source 27 is pin 0 from pic softintr_fakepic maxlevel 8
>         handler 0x0 level 8
> cpu3 source 28 is pin 0 from pic softintr_fakepic maxlevel 5
>         handler 0x0 level 5
> cpu3 source 29 is pin 0 from pic softintr_fakepic maxlevel 4
>         handler 0x0 level 4
> cpu3 source 30 is pin 0 from pic lapic maxlevel 12
>         handler 0x0 level 12
> cpu3 source 31 is pin 0 from pic lapic maxlevel 14
>         handler 0x0 level 14
> cpu2: 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 27ffffff unmask d8000000
> IPL 5 mask 37ffffff unmask c8000000
> IPL 6 mask 37ffffff unmask c8000000
> IPL 7 mask 37ffffff unmask c8000000
> IPL 8 mask 3fffffff unmask c0000000
> IPL 9 mask 3fffffff unmask c0000000
> IPL 10 mask 3fffffff unmask c0000000
> IPL 11 mask 3fffffff unmask c0000000
> IPL 12 mask 7fffffff unmask 80000000
> IPL 13 mask 7fffffff unmask 80000000
> IPL 14 mask ffffffff unmask 0
> IPL 15 mask ffffffff unmask 0
> cpu2 source 27 is pin 0 from pic softintr_fakepic maxlevel 8
>         handler 0x0 level 8
> cpu2 source 28 is pin 0 from pic softintr_fakepic maxlevel 5
>         handler 0x0 level 5
> cpu2 source 29 is pin 0 from pic softintr_fakepic maxlevel 4
>         handler 0x0 level 4
> cpu2 source 30 is pin 0 from pic lapic maxlevel 12
>         handler 0x0 level 12
> cpu2 source 31 is pin 0 from pic lapic maxlevel 14
>         handler 0x0 level 14
> 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 27ffffff unmask d8000000
> IPL 5 mask 37ffffff unmask c8000000
> IPL 6 mask 37ffffff unmask c8000000
> IPL 7 mask 37ffffff unmask c8000000
> IPL 8 mask 3fffffff unmask c0000000
> IPL 9 mask 3fffffff unmask c0000000
> IPL 10 mask 3fffffff unmask c0000000
> IPL 11 mask 3fffffff unmask c0000000
> IPL 12 mask 7fffffff unmask 80000000
> IPL 13 mask 7fffffff unmask 80000000
> IPL 14 mask ffffffff unmask 0
> IPL 15 mask ffffffff unmask 0
> cpu1 source 27 is pin 0 from pic softintr_fakepic maxlevel 8
>         handler 0x0 level 8
> cpu1 source 28 is pin 0 from pic softintr_fakepic maxlevel 5
>         handler 0x0 level 5
> cpu1 source 29 is pin 0 from pic softintr_fakepic maxlevel 4
>         handler 0x0 level 4
> cpu1 source 30 is pin 0 from pic lapic maxlevel 12
>         handler 0x0 level 12
> cpu1 source 31 is pin 0 from pic lapic maxlevel 14
>         handler 0x0 level 14
> ioapic0: enabling
> ioapic1: enabling
> ioapic2: enabling
> ioapic3: enabling
> fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
> ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
> ieee1394if0: bus manager 0 (me)
> auich0: measured ac97 link rate at 48000 Hz
> audio0 at auich0: full duplex, mmap, independent
> fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
> Kernelized RAIDframe activated
> scsibus0: waiting 2 seconds for devices to settle...
> atapibus0 at atabus0: 2 targets
> cd0 at atapibus0 drive 0: <PIONEER DVD-RW  DVR-110D, EGDC052619WL, 1.08> cdrom removable
> viaide1 port 1: device present, speed: 1.5Gb/s
> viaide2 port 1: device present, speed: 1.5Gb/s
> wd0 at atabus3 drive 0: <ST3120026AS>
> wd0: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
> wd1 at atabus5 drive 0: <ST3750640AS>
> wd1: quirks 2<FORCE_LBA48>
> wd1: 698 GB, 1453521 cyl, 16 head, 63 sec, 512 bytes/sect x 1465149168 sectors
> uhidev0 at uhub0 port 4 configuration 1 interface 0
> uhidev0: Razer Razer Diamondback Optical Mouse, rev 2.00/1.00, addr 2, iclass 3/1
> ums0 at uhidev0: 7 buttons and Z dir.
> wsmouse0 at ums0 mux 0
> sd0 at scsibus0 target 0 lun 0: <HP, 18.2GB A 80-F305, > disk fixed
> sd0: 17366 MB, 11941 cyl, 8 head, 372 sec, 512 bytes/sect x 35566480 sectors
> sd0: sync (50.00ns offset 63), 16-bit (40.000MB/s) transfers, tagged queueing
> sd1 at scsibus0 target 1 lun 0: <SEAGATE, ST373307LC, 0006> disk fixed
> sd1: 70007 MB, 49855 cyl, 4 head, 718 sec, 512 bytes/sect x 143374744 sectors
> sd1: sync (50.00ns offset 63), 16-bit (40.000MB/s) transfers, tagged queueing
> cd1 at scsibus0 target 6 lun 0: <PLEXTOR, CD-R   PX-R820T, 1.06> cdrom removable
> cd1: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers
> boot device: wd0
> root on wd0a dumps on wd0b
> root file system type: ffs
> mount root done
> inittodr done
> time done
> about to boot secondaries
> cpu1: CPU 1 running
> fatal double fault in supervisor mode

I am getting the same on the same m/b with -current as of yesterday
with GENERIC.MP and
ACPI enabled. GENERIC works fine, though - with ACPI (I've got just
two 246 CPUs on it, not dual core).

I'll try to fiddle later to see if anything might come - put a serial
console etc.

> trap type 13 code
>
> --
> Brett Lymn
>

Chavdar Ivanov