Project

General

Profile

Actions

Bug #3292

closed

nvmm: Fails to boot ISO snapshot (as of Aug, 9th)

Added by tuxillo over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
nvmm
Target version:
Start date:
08/09/2021
Due date:
% Done:

100%

Estimated time:

Description

As of DragonFly v6.1.0.403.gc0b79d-DEVELOPMENT, qemu+nvmm is unable to boot the ISO Snapshot from Aug, 9th:

Booting in 9 seconds...
kernel text=0xbc43e0 data=0x176dda+0x9dcc86 syms=[0x8+0xfeee0+0x8+0xbd63a]
ehci.ko size 0x7b7c8 at 0x1cd5000
xhci.ko size 0x89458 at 0x1d51000
dm.ko size 0x1340b0 at 0x1ddb000
kernel trap 9 (thread0 @ 0xffffffff80bdaa3f) with interrupts disabled

Fatal trap 9: general protection fault while in kernel mode
cpuid = 0; instruction pointer  = 0x8:0xffffffff80bdaa3f
stack pointer           = 0x10:0xffffffff8113ff20
frame pointer           = 0x10:0xffffffff8113ff50
code segment            = base 0xfffffffff053f000, limit 0xe2c3, type 0x1f
                        = DPL 3, pres 1, long 1, def32 0, gran 0
processor eflags        = resume, IOPL = 0
current process         = 0
current thread          = pri 12 (CRIT)
kernel: type 9 trap, code=0

CPU0 stopping CPUs: 0x00000000
 stopped
Stopped at      -0x7f4255c1:    rdmsr
db> trace
(null)() at -0x7f4255c1 0xffffffff80bdaa3f
(null)() at -0x7f42a809 0xffffffff80bd57f7

I'm using aly's qemu package and the nvmm module is loaded:

$ pkg info | fgrep qemu-6
qemu-6.0.0_1                   Generic and open source machine emulator and virtualizer
$ kldstat |fgrep nvmm
15    1 0xffffffff85327000 1b1000   nvmm.ko
Actions #1

Updated by tuxillo over 2 years ago

  • Status changed from New to In Progress

Trying to boot FreeBSD has a similar luck:

Loading kernel...
/boot/kernel/kernel text=0x17d2e8 text=0xdea790 text=0x65772c data=0x140 data=0x
1ba6f8+0x444908 syms=[0x8+0x17aaf8+0x8+0x19b959]
Loading configured modules...
can't find '/boot/entropy'                      
can't find '/etc/hostid'
qemu-system-x86_64: NVMM: Mem Assist Failed [gpa=0xbfff8]
qemu-system-x86_64: NVMM: Failed to execute a VCPU.
Abort trap
Actions #2

Updated by tuxillo over 2 years ago

Booting ubuntu 18 cloud image works fine, but these messages are printed:

qemu-system-x86_64: NVMM: Unexpected RDMSR 0x64e, ignored
qemu-system-x86_64: NVMM: Unexpected RDMSR 0x34, ignored
Actions #3

Updated by tuxillo over 2 years ago

  • Status changed from In Progress to Closed
  • Assignee set to dillon
  • % Done changed from 0 to 100

Fixed in the associated revision.

Actions

Also available in: Atom PDF