[Bug 225450] 11.1-* panics on AMD Opteron 2k due to EARLY_AP_STARTUP
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jan 25 15:12:09 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225450
Bug ID: 225450
Summary: 11.1-* panics on AMD Opteron 2k due to
EARLY_AP_STARTUP
Product: Base System
Version: 11.1-STABLE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: pablo.ruiz at gmail.com
The EARLY_AP_STARTUP kernel option causes kernel panics on AMD Opteron 2xxxSE
CPUs. Including SUN X4100, X4200, etc.
Commenting EARLY_AP_STARTUP while building kernel allows boot. Safe mode boot
works too because it disables smp.
An svn bisect was performed for 11-stable and the addition of EARLY_AP_STARTUP
at r318763 seems to be the culprit.
This has been reproduced with 11.1-RELEASE, 11.1-RELEASE-p1, 11.1-RELEASE-p2,
11.1-RELEASE-p4 & 11.1-RELEASE-p6. Meanwhile FreeBSD 10 works/boots fine.
Example boot output with failing kernel (includes garbage):
/boot/kernel.old/kernel text=0x14972f8 data=0x1384c0+0x4c15e8
syms=[0x8+0x15e8b0+0x8+0x178422]
/boot/entropy size=0x1000
Booting...
Copyright (c) 1992-2017 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017
r... at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM
4.0.0)
VT(vga): resolution 640x480
CPU: Dual-Core AMD Opteron(tm) Processor 2218 (2593.16-MHz K8-class CPU)
Origin="AuthenticAMD" Id=0x40f12 Family=0xf Model=0x41 Stepping=2
Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
Features2=0x2001<SSE3,CX16>
AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
SVM: NAsids=64
real memory = 4563402752 (4352 MB)
avail memory = 4104478720 (3914 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <SUN X4200 M2>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 2 package(s) x 2 core(s)
random: unblocking device.
ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe0Block: 64/32
(20170303/tbfadt-748)
ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Gpe1Block: 128/64
(20170303/tbfadt-748)
ioapic1: Changing APIC ID to 16
ioapic2: Changing APIC ID to 17
ioapic3 <Version 1.1> irqs 24-47 on motherboard
ioapic0 <Version 1.1> irqs 0-23 on motherboard
ioapic1 <Version 1.1> irqs 48-54 on motherboard
ioapic2 <Version 1.1> irqs 56-62 on motherboard
SMP: AP CPU
SMP: AP CPU
k
F
aF
aFat
F
aF
kkernel trap 12 with interrupts disabþÿÿÿÿ�ÿÿÿÿÿÿÿÿkernel trap
12 with interrupts disabled
Fatal trap 60276736: UNÿÿkernel trap 12 with interrupts disabled
iatal trap -2130508367: UNKNOWN whilpanierc: staeck ovlerflowt detrected;
backt1race mawy bei corrup ted
cpuid t= 1
KrDB: stack bupackttrace:
#0 0xffffffffs80aada97 at lkdb_backtrace+0x67
xffffffff80a6bb76 aFat vpanic+0x1l86
#r2 0xfpffffff1f80a6b9e3 at panipc+0x43g
#3e 0xffffaffff80a9b072u at __tstackw_chkh_lfail+0x12
i#4 0xffffff kff80eab3f2b eat vprintf+0 x10b
000 atcp dmapbase+0x397c000
Upt =ime: 12s
Au;toma tic rebpoot inc 15 secondsi - press a key on 0the con
sole fto abort
-u-> Press a key on the iconsroule to reboot ,
-a-> or drswitech off the =system xnow.
ke¡ÿÿÿÿÿÿÿÿkernel trap 12 with interrupts disabled
Fatal trap 12: page fault while in kernel mode
cð
c
---------------------------------------------------------------------------
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list