kqemu crash (page fault) with -current

Eric Anderson anderson at freebsd.org
Fri Jul 13 16:46:07 UTC 2007


Harald Schmalzbauer wrote:
> Hello,
> 
> today I tried qemu for the first time and I love it.
> Now I'd need some speed and tried kqemu, but it immediately reboots my 
> machine.
> Here is what I could transcribe:
> 
> Fatal trap 12: page fault while in kernel mode
> cpuid = 1; apic id = 01
> faulkt virtual address  = 0x82
> fault code              = supervisor read, page not present
> instruction pointer     = 0x20:0xc0670545
> stack pointer           = 0x28:0xe71e5a3c
> frame pointer           = 0x28:0xe71e5a50
> code segment            = bas 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, def32 1, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 1461 (qemu)
> [thread pid 1461 tid 100088]
> Stopped at      _vm_map_lock+0x10:      cmpb    $0,0x81(%ebx)
> db> bt
> Tracing pid 1461 tid 100088 td 0xc4995800
> _vm_map_lock(1,c070cbb4,7ac,c07344c4,c0714b73,...) at _vm_map_lock+0x10
> vm_map_wire(1,285f6000,285f7000,1,116,...) at vm_map_wire+0x33
> kqemu_lock_user_page(e71e5af4,285f6000,f01d2000,285f6000,0,...) at 
> kqemu_lock_user_page+0x38
> mon_user_map() at mon_user_map+0xe7
> 
> Any help appreciated.


See the other thread in emulation at .

Basically, you need to recompile kqemu-kmod with -DKSE.

Eric


More information about the freebsd-current mailing list