panic when booting on QEMU
Opened this issue · 0 comments
Hi all,
I tried the public zip file available and I used ./start.sh but it fails on both OS distro:
Ubuntu:
`
$ uname -a
Linux acerlaptop 5.4.0-88-generic #99-Ubuntu SMP Thu Sep 23 17:29:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
$ qemu-system-x86_64 --version
QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.19)
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
`
boot log:
`
serial] initialized serial debugging (max_baud=115200, fifo_sz=14, div=3)
[idle] mwait unsupported; falling back to HLT loop
panic [arch/x86_64/entry.c:117] - kernel exception: 13, from 0xFFFFFFFF804019CC
STACK TRACE (from 0xFFFFFFFF8047FDD0):
0xFFFFFFFF8040FD71 < __panic + 0x181 >
0xFFFFFFFF804054BE < x86_64_exception_entry + 0x40E >
0xFFFFFFFF80402087 < x86_64_init + 0x47 >
page bootstrap count: 0 (0 KB; 0 MB)
pages free: 0 (0 KB; 0 MB)
page count: 0 (0 KB; 0 MB)
page stack pg-level0-critical : 0 avail (0 KB); flags = 0x60
page stack pg-level0-zero : 0 avail (0 KB); flags = 0x20
page stack pg-level0-normal : 0 avail (0 KB); flags = 0x0
page stack pg-level1-zero : 0 avail (0 KB); flags = 0x20
page stack pg-level1-normal : 0 avail (0 KB); flags = 0x0
page stack pg-level2-normal : 0 avail (0 KB); flags = 0x0
`
distro2:
But when using Proxmox, it partially working:
`
pveversion
pve-manager/6.4-13/9f411e79 (running kernel: 5.4.157-1-pve)
uname -m
x86_64
qemu-system-x86_64 --version
QEMU emulator version 5.2.0 (pve-qemu-kvm_5.2.0)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
`
boot log:
`
[serial] initialized serial debugging (max_baud=115200, fifo_sz=14, div=3)
[idle] mwait unsupported; falling back to HLT loop
[boot] multiboot framebuffer: addr=0xFD000000, 1024 768 4096, bpp=32, type=1
[acpi] found platform/bootloader specified RSDP.
[mm] registering memory region 0x400000 -> 0x495FFF Kernel Image
[mm] registering memory region 0x100000 -> 0x3FFFFF System RAM (volatile)
[mm] registering memory region 0x235C000 -> 0x3FFDDFFF System RAM (volatile)
[mm] registering memory region 0x3FFDE000 -> 0x3FFFFFFF Reserved
[mm] registering memory region 0xB0000000 -> 0xBFFFFFFF Reserved
[mm] registering memory region 0xFED1C000 -> 0xFED1FFFF Reserved
[mm] registering memory region 0xFEFFC000 -> 0xFEFFFFFF Reserved
[mm] registering memory region 0xFFFC0000 -> 0xFFFFFFFF Reserved
[cpu] loading percpu data from 0xFFFFFFFF8043E000, length 17 bytes
[clk] registered 'APIC Timer': flags=0xE, period=3990ps, prec=1316ns, rtime=1320ns
[clk] assigned 'best countdown' to APIC Timer
[clk] registered 'TSC': flags=0x1, period=588ps, prec=21ns, rtime=21ns
[clk] assigned 'best monotonic' to TSC
[mm] init region 0x5A28000 -> 0x3FFDE000 (956120 KB; 933 MB)
[mm] init region 0x100000 -> 0x400000 (3072 KB; 3 MB)
[slot] allocated 65536 slots (5120 KB)
[pcie] found MCFG table (0xFFFFFFFEC000079C) with 1 entries
[nv] registered device 1
[nv] registered region 0 (0x100000000 -> 0x1FFFFFFFF) for device 1
[iommu] found DMAR header with 1 remap entries (haw=47; flags=0x1)
[iommu] 0 remap: type=0, length=24, flags=0x1, segnr=0, base_addr=0xFED90000, 1 device scopes
[rand] registered entropy source 'rdrand'
[cpu] starting secondary processors
[kernel] sizeof struct page: 40
[initrd] loaded 28 objects
[mm] registering memory region 0x496000 -> 0x235BFFF System RAM (volatile)
[mm] init region 0x496000 -> 0x235C000 (31512 KB; 30 MB)
[iommu] allocated vectors (64, 65) for iommu
[nv] init region 0
[nv] page group 32 / 32
[nv] initializing contents of region 0
[nv] init 32 pagegroups
[nv] mgl = 2-ish MB
[nv] total pages: 1032128 (4031 MB)
[acpi] found MCFG descriptor table: 0xFFFFFFFEC00007C8
[pcie] initializing PCIe configuration space at 0xB0000000 covering 0000:0x00-0xFF
panic [core/clksrc.c:49] - NI - high-cost best-monotonic timer read
STACK TRACE (from 0xFFFFFFFC00694CE0):
0xFFFFFFFF8040FD71 < __panic + 0x181 >
0xFFFFFFFF8041237A < clksrc_get_nanoseconds + 0x7A >
[kernel] spawning init thread
0xFFFFFFFF804115B4 < thread_schedule_resume_proc + 0x14 >
0xFFFFFFFF8040F9A8 < kernel_main + 0x568 >
0xFFFFFFFF804026F7 < x86_64_processor_post_vm_init + 0x197 >
0xFFFFFFFF804058D0 < vmx_entry_point + 0x0 >
page bootstrap count: 13056 (52224 KB; 51 MB)
pages free: 249450 (997800 KB; 974 MB)
page count: 247676 (990704 KB; 967 MB)
page stack pg-level0-critical : 11173 avail (44692 KB); flags = 0x60
page stack pg-level0-zero : 0 avail (0 KB); flags = 0x20
page stack pg-level0-normal : 499 avail (1996 KB); flags = 0x0
page stack pg-level1-zero : 0 avail (0 KB); flags = 0x20
page stack pg-level1-normal : 465 avail (952320 KB); flags = 0x0
page stack pg-level2-normal : 0 avail (0 KB); flags = 0x0
panic [core/clksrc.c:49] - NI - high-cost best-monotonic timer read
STACK TRACE (from 0xFFFFFFFC00674CE0):
0xFFFFFFFF8040FD71 < __panic + 0x181 >
0xFFFFFFFF8041237A < clksrc_get_nanoseconds + 0x7A >
0xFFFFFFFF804115B4 < thread_schedule_resume_proc + 0x14 >
0xFFFFFFFF8040F9A8 < kernel_main + 0x568 >
0xFFFFFFFF804026F7 < x86_64_processor_post_vm_init + 0x197 >
0xFFFFFFFF804058D0 < vmx_entry_point + 0x0 >
page bootstrap count: 13056 (52224 KB; 51 MB)
pages free: 249547 (998188 KB; 974 MB)
page count: 247676 (990704 KB; 967 MB)
page stack pg-level0-critical : 11172 avail (44688 KB); flags = 0x60
page stack pg-level0-zero : 0 avail (0 KB); flags = 0x20
page stack pg-level0-normal : 295 avail (1180 KB); flags = 0x0
page stack pg-level1-zero : 0 avail (0 KB); flags = 0x20
page stack pg-level1-normal : 465 avail (952320 KB); flags = 0x0
page stack pg-level2-normal : 0 avail (0 KB); flags = 0x0
panic [core/clksrc.c:49] - NI - high-cost best-monotonic timer read
STACK TRACE (from 0xFFFFFFFC00664CE0):
0xFFFFFFFF8040FD71 < __panic + 0x181 >
0xFFFFFFFF8041237A < clksrc_get_nanoseconds + 0x7A >
0xFFFFFFFF804115B4 < thread_schedule_resume_proc + 0x14 >
0xFFFFFFFF8040F9A8 < kernel_main + 0x568 >
0xFFFFFFFF804026F7 < x86_64_processor_post_vm_init + 0x197 >
0xFFFFFFFF804058D0 < vmx_entry_point + 0x0 >
page bootstrap count: 13056 (52224 KB; 51 MB)
pages free: 249547 (998188 KB; 974 MB)
page count: 247676 (990704 KB; 967 MB)
page stack pg-level0-critical : 11172 avail (44688 KB); flags = 0x60
page stack pg-level0-zero : 0 avail (0 KB); flags = 0x20
page stack pg-level0-normal : 295 avail (1180 KB); flags = 0x0
page stack pg-level1-zero : 0 avail (0 KB); flags = 0x20
page stack pg-level1-normal : 465 avail (952320 KB); flags = 0x0
page stack pg-level2-normal : 0 avail (0 KB); flags = 0x0
panic [core/clksrc.c:49] - NI - high-cost best-monotonic timer read
STACK TRACE (from 0xFFFFFFFC00684CE0):
0xFFFFFFFF8040FD71 < __panic + 0x181 >
0xFFFFFFFF8041237A < clksrc_get_nanoseconds + 0x7A >
0xFFFFFFFF804115B4 < thread_schedule_resume_proc + 0x14 >
0xFFFFFFFF8040F9A8 < kernel_main + 0x568 >
0xFFFFFFFF804026F7 < x86_64_processor_post_vm_init + 0x197 >
0xFFFFFFFF804058D0 < vmx_entry_point + 0x0 >
page bootstrap count: 13056 (52224 KB; 51 MB)
pages free: 249547 (998188 KB; 974 MB)
page count: 247676 (990704 KB; 967 MB)
page stack pg-level0-critical : 11172 avail (44688 KB); flags = 0x60
page stack pg-level0-zero : 0 avail (0 KB); flags = 0x20
page stack pg-level0-normal : 295 avail (1180 KB); flags = 0x0
page stack pg-level1-zero : 0 avail (0 KB); flags = 0x20
page stack pg-level1-normal : 465 avail (952320 KB); flags = 0x0
page stack pg-level2-normal : 0 avail (0 KB); flags = 0x0
`
the panic in the last case (proxmox) is due to rtime (timer read) > 20 [panic [core/clksrc.c:49] - NI - high-cost best-monotonic timer read] but I don't know why and why you do panic in this.
So do you have any minimal qemu version and how can I fix the panic core/clksrc.c:49
PS: I'm able to run other vm (linux/windows/bsd) on this Proxmox server without issues.
Regards,