Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dmidecode vs domU = panic

If dmidecode is run on a domU (on all NetBSD versions I've tried) by any user with access to /dev/mem, it will panic:

panic: HYPERVISOR_mmu_update failed, ret: -1

fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip ffffffff80134ead cs e030 rflags 246 cr2 7f7ff7ff6ff8 ilevel 8 rsp ffffa0005e37ba28
curlwp 0xffffa0000dda2960 pid 28894.1 lowest kstack 0xffffa0005e3792c0
Stopped in pid 28894.1 (dmidecode) at   netbsd:breakpoint+0x5:  leave
breakpoint() at netbsd:breakpoint+0x5
vpanic() at netbsd:vpanic+0x13c
snprintf() at netbsd:snprintf
xpq_queue_machphys_update() at netbsd:xpq_queue_machphys_update
pmap_enter_ma() at netbsd:pmap_enter_ma+0x440
pmap_enter() at netbsd:pmap_enter+0x35
udv_fault() at netbsd:udv_fault+0x146
uvm_fault_internal() at netbsd:uvm_fault_internal+0x50b
trap() at netbsd:trap+0x322


Home | Main Index | Thread Index | Old Index