Bug 242039 - eBox 3352DX3-AP (Vortex86DX3) crashes on 12.1 release
Summary: eBox 3352DX3-AP (Vortex86DX3) crashes on 12.1 release
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.1-RELEASE
Hardware: i386 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
Keywords: regression
Depends on:
Reported: 2019-11-17 21:34 UTC by Andrius V
Modified: 2020-11-18 23:55 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Andrius V 2019-11-17 21:34:16 UTC
There's a regression on my eBox 3352DX3-AP system since 12.0 release. It started to crash on boot with the following backtrace (typed manually):

panic: vm_fault_hold fault on nofault entry, addr: 0
cpuid = 1
time = 1
KDB: stack backtrace:
0x103c50e at kdb_backtrace+0x4e
0xff6001 at vpanic+0x121
0xff5ed4 at panic+0x14
0x12f629e at vm_fault_hold+0x274e
0x12f3b0a at vm_fault+0x4a
0x155cfce at trap_pfault+0xbe
0x155c66c at trap+0x3ac
0xffc0316d at PTDpde+0x4175
0xfbf370 at ithread_loop+0x1c0
0xfbc8da at fork_exit+0x6a
0xffc033ca at PTDpde+0x43d2

The boot was performed using FreeBSD memstick installation image. The system is based on DM&P Vortex86DX3 CPU and was successfully booting on 12.0 release. dmesg from 12.0 can be found below (in comparison, the crash seems to happen after "ohci0: <OHCI (generic) USB controller> mem 0xfebee000-0xfebeefff irq 18 at device 10.0 on pci0" line in 12.1):

Copyright (c) 1992-2018 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 12.0-RELEASE r341666 GENERIC i386
FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)
VT(vga): resolution 640x480
CPU: Pentium ProUnknown (1000.02-MHz 686-class CPU)
  Origin="Vortex86 SoC"  Id=0x611
real memory  = 2147483648 (2048 MB)
avail memory = 2005929984 (1913 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <R D C  APIC1706>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 2 package(s) x 1 core(s)
random: unblocking device.
ioapic0 <Version 2.0> irqs 0-23 on motherboard
Launching APs: 1
random: entropy device external interface
kbd1 at kbdmux0
[ath_hal] loaded
module_register_init: MOD_LOAD (vesa, 0x15f8f40, 0) error 19
vtvga0: <VT VGA driver> on motherboard
cryptosoft0: <software crypto> on motherboard
acpi0: <R D C QA09   > on motherboard
acpi0: Power Button (fixed)
cpu0: <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
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_ec0: <Embedded Controller: GPE 0> port 0x62,0x66 on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 1.0 on pci0
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 2.0 on pci0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
isab1: <PCI-ISA bridge> at device 7.1 on pci0
device_attach: isab1 attach returned 6
vte0: <RDC R6040 FastEthernet> port 0xef00-0xefff mem 0xfebefc00-0xfebefcff irq 19 at device 8.0 on pci0
miibus0: <MII bus> on vte0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vte0: Ethernet address: xx:xx:xx:xx:xx:xx
ohci0: <OHCI (generic) USB controller> mem 0xfebee000-0xfebeefff irq 18 at device 10.0 on pci0
usbus0 on ohci0
usbus0: 12Mbps Full Speed USB v1.0
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfebef800-0xfebef8ff irq 21 at device 10.1 on pci0
usbus1: EHCI version 1.0
usbus1 on ehci0
usbus1: 480Mbps High Speed USB v2.0
atapci0: <Generic ATA controller> port 0xee80-0xee87,0xee00-0xee03,0xed80-0xed87,0xed00-0xed03,0xec80-0xec8f irq 23 at device 12.0 on pci0
ata2: <ATA channel> at channel 0 on atapci0
ata3: <ATA channel> at channel 1 on atapci0
vgapci0: <VGA-compatible display> port 0xec00-0xec7f mem 0xf8000000-0xfbffffff,0xfebc0000-0xfebdffff at device 13.0 on pci0
vgapci0: Boot video device
hdac0: <RDC M3010 HDA Controller> mem 0xfebe4000-0xfebe7fff irq 18 at device 14.0 on pci0
pci0: <wireless controller, iRDA> at device 15.0 (no driver attached)
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_acad0: <AC Adapter> on acpi0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0
ata0: <ATA channel> at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata0: non-PNP ISA device will be removed from GENERIC in FreeBSD 12.
ata1: <ATA channel> at port 0x170-0x177,0x376 irq 15 on isa0
ata1: non-PNP ISA device will be removed from GENERIC in FreeBSD 12.
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbdc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 12.
ppc0: parallel port not found.
Timecounters tick every 1.000 msec
hdacc0: <Realtek ALC262 HDA CODEC> at cad 1 on hdac0
hdaa0: <Realtek ALC262 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC262 (Analog)> at nid 20 and 25 on hdaa0
pcm1: <Realtek ALC262 (Digital)> at nid 30 on hdaa0
pcm2: <Realtek ALC262 (Rear Analog Line-in)> at nid 26 on hdaa0
ugen0.1: <(0x17f3) OHCI root HUB> at usbus0
ugen1.1: <(0x17f3) EHCI root HUB> at usbus1
uhub0: <(0x17f3) OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
uhub1: <(0x17f3) EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ada0 at ata2 bus 0 scbus0 target 0 lun 0
ada0: <SDU1 D0 RDC SD-IDE HOST CONTROLLER 01000000> ATA-6 device
ada0: Serial Number 00010000000000000000
ada0: 33.300MB/s transfers (UDMA2, PIO 512bytes)
ada0: 30145MB (61736960 512 byte sectors)
Trying to mount root from ufs:/dev/ada0p2 [rw]...
uhub0: 4 ports with 4 removable, self powered
uhub1: 4 ports with 4 removable, self powered
lo0: link state changed to UP
ugen0.2: <CASUE CASUE USB Keyboard> at usbus0
ukbd0 on uhub0
ukbd0: <U+P Keyboard> on usbus0
kbd2 at ukbd0
uhid0 on uhub0
uhid0: <CASUE CASUE USB Keyboard, class 0/0, rev 1.10/0.01, addr 2> on usbus0
Comment 1 Andrius V 2020-11-18 23:55:32 UTC
The issue still persists on 12.2-RELEASE, however I have a bit more information. System successfully boots without SMP. The crash seemingly happens on second CPU (core) initialization (panic message prints cpuid = 1, time = 1). Just for information, CPU itself does not support PAE (flags from /proc/cpuinfo: fpu pse tsc msr cx8 apic sep pge cmov mmx fxsr sse cpuid).