From owner-freebsd-current@FreeBSD.ORG Fri Jul 13 16:46:06 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EEAAF16A400 for ; Fri, 13 Jul 2007 16:46:06 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from ns.trinitel.com (186.161.36.72.static.reverse.layeredtech.com [72.36.161.186]) by mx1.freebsd.org (Postfix) with ESMTP id C363613C4C4 for ; Fri, 13 Jul 2007 16:46:06 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from proton.local (209-163-168-124.static.twtelecom.net [209.163.168.124]) (authenticated bits=0) by ns.trinitel.com (8.14.1/8.14.1) with ESMTP id l6DGk5Eq030017; Fri, 13 Jul 2007 11:46:05 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <4697AC4C.7080901@freebsd.org> Date: Fri, 13 Jul 2007 11:46:04 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) MIME-Version: 1.0 To: Harald Schmalzbauer References: <200707131834.27131.h.schmalzbauer@omnisec.de> In-Reply-To: <200707131834.27131.h.schmalzbauer@omnisec.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on ns.trinitel.com Cc: freebsd-current@freebsd.org Subject: Re: kqemu crash (page fault) with -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 16:46:07 -0000 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