Subject: port-amd64/33927: -current/amd64 kernel reboots early in boot process
To: None <port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <khym@azeotrope.org>
List: netbsd-bugs
Date: 07/06/2006 08:50:00
>Number:         33927
>Category:       port-amd64
>Synopsis:       -current/amd64 kernel reboots early in boot process
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 06 08:50:00 +0000 2006
>Originator:     Dave Huang
>Release:        NetBSD 3.99.21
>Organization:
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym@azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 30 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Environment:
	
	
System: NetBSD cheetah.azeotrope.org 3.99.21 NetBSD 3.99.21 (CHEETAH) #24: Thu Jul 6 02:33:09 CDT 2006 root@cheetah.azeotrope.org:/usr/obj.amd64/sys/arch/amd64/compile/CHEETAH amd64
Architecture: x86_64
Machine: amd64
>Description:
	Recent -current/amd64 kernels reboot early in the boot
process. The system is a Tyan S2895 with two Opteron 246 processors. A
kernel from July 2 sources works fine... perhaps the changes for the
ACPI PCI interrupt configuration are the culprit?

A GENERIC.MP kernel:
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.21 (GENERIC.MP) #0: Thu Jul  6 03:26:27 CDT 2006
        root@cheetah.azeotrope.org:/usr/obj.amd64/sys/arch/amd64/compile/GENERIC.MP
total memory = 2046 MB
avail memory = 1962 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)
mainbus0: Intel MP Specification (Version 1.4) (nVIDIA   CK804-2P    )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Opteron(tm) Processor 246, 2009.35 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
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
[ reboot ]

A GENERIC_ACPI kernel:
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.21 (GENERIC_ACPI) #0: Thu Jul  6 03:31:57 CDT 2006
        root@cheetah.azeotrope.org:/usr/obj.amd64/sys/arch/amd64/compile/GENERIC_ACPI
total memory = 2046 MB
avail memory = 1962 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
cpu1 at mainbus0: apid 1 (application processor)
cpu1: not started
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 11, 24 pins
ioapic1 at mainbus0 apid 3 (I/O APIC)
ioapic1: pa 0xd8000000, version 11, 4 pins
ioapic2 at mainbus0 apid 4 (I/O APIC)
ioapic2: pa 0xd8001000, version 11, 4 pins
ioapic3 at mainbus0 apid 5 (I/O APIC)
ioapic3: pa 0xd8400000, 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
[ reboots ]

>How-To-Repeat:
	Boot a -current/amd64 kernel on a Tyan S2895 with two processors?
>Fix:
	

>Unformatted: