[Bug 269767] 13.1-RELEASE VM IMAGE panics on boot under LXC / LXD

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 22 Feb 2023 21:30:36 UTC

            Bug ID: 269767
           Summary: 13.1-RELEASE VM IMAGE panics on boot under LXC / LXD
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: freebsd@igalic.co

This is getting further than I thought it would, but still:

To detach from the console, press: <ctrl>+a q
data=0x140 data=0x1be3b8+0x440c48 syms=[0x8+0x188d78+0x8+0x1a7803]
Loading configured modules...
can't find '/boot/entropy'
can't find '/etc/hostid'

Booting [/boot/kernel/kernel]...               
staging 0x74000000 (not copying) tramp 0x7dcd9000 PT4 0x7dcd0000
Start @ 0xffffffff80385000 ...
EFI framebuffer information:
addr, size     0xc0000000, 0x3e8000
dimensions     1280 x 800
stride         1280
masks          0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000
Copyright (c) 1992-2021 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 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64
FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git
VT(efifb): resolution 1280x800
CPU: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz (K8-class CPU)
  Origin="GenuineIntel"  Id=0x806ec  Family=0x6  Model=0x8e  Stepping=12
  AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
  AMD Features2=0x121<LAHF,ABM,Prefetch>
  Structured Extended
  Structured Extended Features2=0x4<UMIP>
  Structured Extended Features3=0xac000400<MD_CLEAR,IBPB,STIBP,ARCH_CAP,SSBD>
  AMD Extended Feature Extensions ID EBX=0x100d000<IBPB,IBRS,STIBP,SSBD>
Hypervisor: Origin = "KVMKVMKVM"
real memory  = 4294967296 (4096 MB)
avail memory = 4074909696 (3886 MB)
Event timer "LAPIC" quality 600
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
arc4random: WARNING: initial seeding bypassed the cryptographic random device
because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.
ioapic0 <Version 1.1> irqs 0-23
Launching APs: 1
random: entropy device external interface
kbd1 at kbdmux0
smbios0: <System Management BIOS> at iomem 0x7f91a000-0x7f91a01e
smbios0: Version: 2.8, BCD Revision: 2.8
acpi0: <BOCHS BXPC>
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> numa-domain 0 on acpi0
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 100000000 Hz quality 950
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x608-0x60b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> mem 0xc1a49000-0xc1a49fff irq 21 at device 1.0 on
pcib1: failed to allocate initial I/O port window: 0xe000-0xefff
pci1: <ACPI PCI bus> on pcib1
virtio_pci0: <VirtIO PCI (modern) Balloon adapter> mem 0x800014000-0x800017fff
irq 21 at device 0.0 on pci1
vtballoon0: <VirtIO Balloon Adapter> on virtio_pci0
virtio_pci1: <VirtIO PCI (modern) Entropy adapter> mem 0x800010000-0x800013fff
irq 21 at device 0.1 on pci1
virtio_pci2: <VirtIO PCI (modern) Input adapter> mem
0xc1807000-0xc1807fff,0x80000c000-0x80000ffff irq 21 at device 0.2 on pci1
virtio_pci3: <VirtIO PCI (modern) Input adapter> mem
0xc1806000-0xc1806fff,0x800008000-0x80000bfff irq 21 at device 0.3 on pci1
virtio_pci4: <VirtIO PCI (modern) VSOCK Transport adapter> mem
0xc1805000-0xc1805fff,0x800004000-0x800007fff irq 21 at device 0.4 on pci1
virtio_pci5: <VirtIO PCI (modern) Console adapter> mem
0xc1804000-0xc1804fff,0x800000000-0x800003fff irq 21 at device 0.5 on pci1
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xc1800000-0xc1803fff irq 21 at
device 0.6 on pci1
xhci0: 32 bytes context size, 64-bit DMA
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
pcib2: <ACPI PCI-PCI bridge> mem 0xc1a48000-0xc1a48fff irq 21 at device 1.1 on
pci2: <ACPI PCI bus> on pcib2
virtio_pci6: <VirtIO PCI (modern) SCSI adapter> mem
0xc1600000-0xc1600fff,0x800100000-0x800103fff irq 21 at device 0.0 on pci2
vtscsi0: <VirtIO SCSI Adapter> on virtio_pci6
pcib3: <ACPI PCI-PCI bridge> mem 0xc1a47000-0xc1a47fff irq 21 at device 1.2 on
pci3: <ACPI PCI bus> on pcib3
virtio_pci7: <VirtIO PCI (modern) 9P Transport adapter> mem
0xc1401000-0xc1401fff,0x800204000-0x800207fff irq 21 at device 0.0 on pci3
virtio_pci8: <VirtIO PCI (modern) Unknown adapter> mem
0xc1400000-0xc1400fff,0x800200000-0x800203fff irq 21 at device 0.1 on pci3
pcib4: <ACPI PCI-PCI bridge> mem 0xc1a46000-0xc1a46fff irq 21 at device 1.3 on
pci4: <ACPI PCI bus> on pcib4
virtio_pci9: <VirtIO PCI (modern) GPU adapter> mem
0xc0000000-0xc07fffff,0x800300000-0x800303fff,0xc0800000-0xc0800fff irq 21 at
device 0.0 on pci4
pcib5: <ACPI PCI-PCI bridge> mem 0xc1a45000-0xc1a45fff irq 21 at device 1.4 on
pci5: <ACPI PCI bus> on pcib5
virtio_pci10: <VirtIO PCI (modern) Network adapter> mem
0xc1200000-0xc1200fff,0x800400000-0x800403fff irq 21 at device 0.0 on pci5
vtnet0: <VirtIO Networking Adapter> on virtio_pci10
vtnet0: Ethernet address: 00:16:3e:6a:3f:33
vtnet0: netmap queues/slots: TX 2/256, RX 2/128
000.000175 [ 450] vtnet_netmap_attach       vtnet attached txq=2, txd=256
rxq=2, rxd=128
pcib6: <ACPI PCI-PCI bridge> mem 0xc1a44000-0xc1a44fff irq 21 at device 1.5 on
pci6: <ACPI PCI bus> on pcib6
pcib7: <ACPI PCI-PCI bridge> mem 0xc1a43000-0xc1a43fff irq 21 at device 1.6 on
pci7: <ACPI PCI bus> on pcib7
pcib8: <ACPI PCI-PCI bridge> mem 0xc1a42000-0xc1a42fff irq 21 at device 1.7 on
pci8: <ACPI PCI bus> on pcib8
pcib9: <ACPI PCI-PCI bridge> mem 0xc1a41000-0xc1a41fff irq 22 at device 2.0 on
pci9: <ACPI PCI bus> on pcib9
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel ICH9 AHCI SATA controller> port 0xe240-0xe25f mem
0xc1a40000-0xc1a40fff irq 16 at device 31.2 on pci0
ahci0: AHCI v1.00 with 6 1.5Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
acpi_syscontainer0: <System Container> on acpi0
acpi_syscontainer1: <System Container> port 0xcd8-0xce3 on acpi0
acpi_syscontainer2: <System Container> port 0x620-0x62f on acpi0
acpi_syscontainer3: <System Container> port 0xcc0-0xcd7 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 14.0.
psm0: model IntelliMouse Explorer, device ID 4
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: console (9600,n,8,1)
attimer0: <AT timer> at port 0x40 on isa0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
attimer0: non-PNP ISA device will be removed from GENERIC in FreeBSD 14.
kernel trap 18 with interrupts disabled

Fatal trap 18: integer divide fault while in kernel mode
cpuid = 1; apic id = 07
instruction pointer     = 0x20:0xffffffff81178b0d
stack pointer           = 0x28:0xffffffff82192f20
frame pointer           = 0x28:0xffffffff82192f20
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = resume, IOPL = 0
current process         = 0 (swapper)
trap number             = 18
panic: integer divide fault
cpuid = 1
time = 1
KDB: stack backtrace:
#0 0xffffffff80c69465 at kdb_backtrace+0x65
#1 0xffffffff80c1bb1f at vpanic+0x17f
#2 0xffffffff80c1b993 at panic+0x43
#3 0xffffffff810afdf5 at trap_fatal+0x385
#4 0xffffffff81087528 at calltrap+0x8
#5 0xffffffff80bae100 at configtimer+0x320
#6 0xffffffff80bada86 at cpu_initclocks_bsp+0x7f6
#7 0xffffffff8106ce80 at cpu_initclocks+0x20
#8 0xffffffff80bacab0 at initclocks+0x20
#9 0xffffffff80ba96cf at mi_startup+0xdf
#10 0xffffffff80385022 at btext+0x22
Uptime: 1s
Error: write unix:@->/var/snap/lxd/common/lxd/logs/test-fbsd/qemu.console: file
already closed

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