[Bug 225450] 11.1-* panics on AMD Opteron 2k due to EARLY_AP_STARTUP

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 26 23:15:46 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225450

--- Comment #2 from Pablo Ruiz <pablo.ruiz at gmail.com> ---
I've built a kernel with MAXCPU=2, and funnily enough it boots ok.. it only
launches CPU#1 (along with #0), but it works ok..

This system has two physical CPUs, each with two cores. Dunno if this may be
related.. 

Here is the output:

-----------------------------------
OK boot kernel.test
/boot/kernel.test/kernel text=0x16f1f28 data=0xb66738+0x34cc58
syms=[0x8+0x1898e8+0x8+0x18a675]
Booting...
KDB: debugger backends: ddb
KDB: current backend: ddb
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-p6 #0 r313908+b1692e611a8(TEST): Fri Jan 26 22:52:47 UTC
2018
   
root at pfsense-builder:/usr/src/kernel/tmp/obj/usr/src/kernel/tmp/FreeBSD-src/sys/test
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 2222 SE (2992.11-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0x40f13  Family=0xf  Model=0x41  Stepping=3
 
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  = 6442450944 (6144 MB)
avail memory = 6190903296 (5904 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <SUN    X4200 M2>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 2 package(s) x 2 core(s)
FreeBSD/SMP Online: 1 package(s) x 2 core(s)
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 #1 Launched!
random: entropy device external interface
wlan: mac acl policy registered
kbd1 at kbdmux0
netmap: loaded module
module_register_init: MOD_LOAD (vesa, 0xffffffff81155cc0, 0) error 19
nexus0
vtvga0: <VT VGA driver> on motherboard
cryptosoft0: <software crypto> on motherboard
padlock0: No ACE support.
acpi0: <SUN X4200 M2> on motherboard
acpi0: Power Button (fixed)
unknown: I/O range not supported
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed00fff on acpi0
Timecounter "HPET" frequency 25000000 Hz quality 950
hpet1: <High Precision Event Timer> iomem 0xfed10000-0xfed10fff on acpi0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x2008-0x200b on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pcib0: _OSC returned error 0x10
pci0: <ACPI PCI bus> on pcib0
pci0: <memory> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
ohci0: <nVidia nForce CK804 USB Controller> mem 0xfe3ff000-0xfe3fffff irq 20 at
device 2.0 on pci0
usbus0 on ohci0
usbus0: 12Mbps Full Speed USB v1.0
ehci0: <NVIDIA nForce CK804 USB 2.0 controller> mem 0xfe3fec00-0xfe3fecff irq
21 at device 2.1 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
usbus1: 480Mbps High Speed USB v2.0
atapci0: <nVidia nForce CK804 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x9100-0x910f at device 6.0 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xa800-0xa8ff mem
0xfc000000-0xfcffffff,0xfdbff000-0xfdbfffff irq 16 at device 3.0 on pci1
vgapci0: Boot video device
nfe0: <NVIDIA nForce4 CK804 MCP9 Networking Adapter> port 0xdc00-0xdc07 mem
0xfe3fd000-0xfe3fdfff irq 22 at device 10.0 on pci0
miibus0: <MII bus> on nfe0
e1000phy0: <Marvell 88E1111 Gigabit PHY> PHY 1 on miibus0
e1000phy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX,
1000baseSX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX,
1000baseT-FDX-master, auto, auto-flow
nfe0: Using defaults for TSO: 65518/35/2048
nfe0: Ethernet address: 00:14:4f:e5:3a:3c
pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 13.0 on pci0
pci4: <ACPI PCI bus> on pcib4
em0: <Intel(R) PRO/1000 Network Connection 7.6.1-k> port 0xbc00-0xbc1f mem
0xfdde0000-0xfddfffff,0xfddc0000-0xfdddffff irq 17 at device 0.0 on pci4
em0: Using an MSI interrupt
em0: Ethernet address: 00:15:17:c3:df:7c
em0: netmap queues/slots: TX 1/4096, RX 1/4096
em1: <Intel(R) PRO/1000 Network Connection 7.6.1-k> port 0xb800-0xb81f mem
0xfdd80000-0xfdd9ffff,0xfdd60000-0xfdd7ffff irq 16 at device 0.1 on pci4
em1: Using an MSI interrupt
em1: Ethernet address: 00:15:17:c3:df:7d
em1: netmap queues/slots: TX 1/4096, RX 1/4096
pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0
pci5: <ACPI PCI bus> on pcib5
ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 3.1.13-k> port
0xcc00-0xcc1f mem 0xfe280000-0xfe2fffff,0xfe27c000-0xfe27ffff irq 18 at device
0.0 on pci5
ix0: Using MSIX interrupts with 3 vectors
ix0: Ethernet address: 00:1b:21:bd:63:8c
ix0: PCI Express Bus: Speed 2.5GT/s Width x8
ix0: Error 2 setting up SR-IOV
ix0: netmap queues/slots: TX 2/2048, RX 2/2048
ix1: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 3.1.13-k> port
0xc800-0xc81f mem 0xfe100000-0xfe17ffff,0xfe278000-0xfe27bfff irq 17 at device
0.1 on pci5
ix1: Using MSIX interrupts with 3 vectors
ix1: Ethernet address: 00:1b:21:bd:63:8e
ix1: PCI Express Bus: Speed 2.5GT/s Width x8
ix1: Error 2 setting up SR-IOV
ix1: netmap queues/slots: TX 2/2048, RX 2/2048
pcib6: <ACPI Host-PCI bridge> on acpi0
pcib6: _OSC returned error 0x10
pci6: <ACPI PCI bus> on pcib6
pci6: <memory> at device 0.0 (no driver attached)
pci6: <memory> at device 1.0 (no driver attached)
nfe1: <NVIDIA nForce4 CK804 MCP9 Networking Adapter> port 0xfc00-0xfc07 mem
0xfeafe000-0xfeafefff irq 44 at device 10.0 on pci6
miibus1: <MII bus> on nfe1
e1000phy1: <Marvell 88E1111 Gigabit PHY> PHY 1 on miibus1
e1000phy1:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX,
1000baseSX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX,
1000baseT-FDX-master, auto, auto-flow
nfe1: Using defaults for TSO: 65518/35/2048
nfe1: Ethernet address: 00:14:4f:e5:3a:3d
pcib7: <ACPI PCI-PCI bridge> at device 11.0 on pci6
pci7: <ACPI PCI bus> on pcib7
pcib8: <ACPI PCI-PCI bridge> at device 12.0 on pci6
pci8: <ACPI PCI bus> on pcib8
pcib9: <ACPI PCI-PCI bridge> at device 13.0 on pci6
pci9: <ACPI PCI bus> on pcib9
pcib10: <ACPI PCI-PCI bridge> at device 14.0 on pci6
pci10: <ACPI PCI bus> on pcib10
pcib11: <ACPI PCI-PCI bridge> at device 16.0 on pci6
pci11: <ACPI PCI bus> on pcib11
pcib12: <ACPI PCI-PCI bridge> at device 17.0 on pci6
pci12: <ACPI PCI bus> on pcib12
em2: <Intel(R) PRO/1000 Legacy Network Connection 1.1.0> port 0xec00-0xec3f mem
0xfe9e0000-0xfe9fffff irq 56 at device 1.0 on pci12
em2: Ethernet address: 00:14:4f:e5:3a:3e
em2: netmap queues/slots: TX 1/4096, RX 1/4096
em3: <Intel(R) PRO/1000 Legacy Network Connection 1.1.0> port 0xe800-0xe83f mem
0xfe9c0000-0xfe9dffff irq 57 at device 1.1 on pci12
em3: Ethernet address: 00:14:4f:e5:3a:3f
em3: netmap queues/slots: TX 1/4096, RX 1/4096
mpt0: <LSILogic SAS/SATA Adapter> port 0xe400-0xe4ff mem
0xfe9bc000-0xfe9bffff,0xfe9a0000-0xfe9affff irq 58 at device 2.0 on pci12
mpt0: MPI Version=1.5.16.0
mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 )
mpt0: 1 Active Volume (2 Max)
mpt0: 2 Hidden Drive Members (14 Max)
mpt0: mpt_read_cfg_page: Config Info Status 22
mpt0:vol0(mpt0:0:0): mpt_refresh_raid_vol: Failed to read RAID Vol Page(0)
mpt0:vol0(mpt0:0:0): Settings ( )
mpt0:vol0(mpt0:0:0): 0 Members:
mpt0:vol0(mpt0:0:0): RAID-0 - Optimal
(mpt0:0:4): Physical (mpt0:0:4:0), Pass-thru (mpt0:1:0:0)
(mpt0:0:4): Online
acpi_button0: (mpt0:0:3): <Power Button>Physical (mpt0:0:3:0), Pass-thru
(mpt0:1:1:0)
(mpt0:0:3): Online
 on acpi0
(noperiph:mpt0:1:-1:ffffffff): rescan already queued
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: console (115200,n,8,1)
orm0: <ISA Option ROMs> at iomem
0xc0000-0xc9fff,0xca000-0xcb7ff,0xcb800-0xcc7ff,0xcc800-0xcd7ff,0xcd800-0xce7ff,0xce800-0xcf7ff,0xd5800-0xd67ff
on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: cannot reserve I/O port range
powernow0: <PowerNow! K8> on cpu0
powernow1: <PowerNow! K8> on cpu1
Timecounters tick every 1.000 msec
nvme cam probe device init
ugen0.1: <nVidia OHCI root HUB> at usbus0
ugen1.1: <nVidia EHCI root HUB> at usbus1
uhub0: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
uhub1: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
da0 at mpt0 bus 0 scbus2 target 2 lun 0
da0: <LSILOGIC Logical Volume 3000> Fixed Direct Access SCSI-2 device
da0: 300.000MB/s transfers
da0: Command Queueing enabled
da0: 69618MB (142577664 512 byte sectors)
cd0 at ata0 bus 0 scbus0 target 0 lun 0
cd0: <TEAC DW-224SL-R 1.0B> Removable CD-ROM SCSI device
cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ufsid/55953f58932667bb [rw]...
Configuring crash dumps...
No suitable dump device was found.
/dev/ufsid/55953f58932667bb: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ufsid/55953f58932667bb: clean, 15583596 free (7260 frags, 1947042 blocks,
0.0% fragmentation)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list