Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2007 11:46:04 -0500
From:      Eric Anderson <anderson@freebsd.org>
To:        Harald Schmalzbauer <h.schmalzbauer@omnisec.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: kqemu crash (page fault) with -current
Message-ID:  <4697AC4C.7080901@freebsd.org>
In-Reply-To: <200707131834.27131.h.schmalzbauer@omnisec.de>
References:  <200707131834.27131.h.schmalzbauer@omnisec.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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@.

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

Eric



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4697AC4C.7080901>