From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 9 19:14:58 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EBCC716A41F; Mon, 9 Jul 2007 19:14:58 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from itchy.rabson.org (mailgate.nlsystems.com [80.177.232.242]) by mx1.freebsd.org (Postfix) with ESMTP id A397E13C484; Mon, 9 Jul 2007 19:14:58 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from herring.rabson.org (herring.rabson.org [80.177.232.250]) by itchy.rabson.org (8.13.3/8.13.3) with ESMTP id l69J0U6P063532; Mon, 9 Jul 2007 20:00:30 +0100 (BST) (envelope-from dfr@rabson.org) From: Doug Rabson To: freebsd-emulation@freebsd.org Date: Mon, 9 Jul 2007 20:00:29 +0100 User-Agent: KMail/1.9.6 References: <20070702203027.GA45302@saturn.kn-bremen.de> <46925324.9010908@freebsd.org> <3bbf2fe10707091140h6cdc7469nac5be03a8c8a60cb@mail.gmail.com> In-Reply-To: <3bbf2fe10707091140h6cdc7469nac5be03a8c8a60cb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707092000.29768.dfr@rabson.org> X-Virus-Scanned: ClamAV 0.87.1/3615/Mon Jul 9 15:28:23 2007 on itchy.rabson.org X-Virus-Status: Clean Cc: Attilio Rao Subject: Re: experimental qemu-devel port update, please test! X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 19:14:59 -0000 On Monday 09 July 2007, Attilio Rao wrote: > 2007/7/9, Eric Anderson : > > Fatal trap 12: page fault while in kernel mode > > cpuid = 0; apic id = 00 > > fault virtual address = 0x82 > > fault code = supervisor read, page not present > > instruction pointer = 0x20:0xc0928f00 > > stack pointer = 0x28:0xe57b7a3c > > frame pointer = 0x28:0xe57b7a50 > > code segment = base 0x0, limit 0xfffff, type 0x1b > > = DPL 0, pres 1, def32 1, gran 1 > > processor eflags = interrupt enabled, resume, IOPL = 0 > > current process = 69 (qemu) > > > > > > #9 0xc0928f00 in _vm_map_lock (map=0x1, file=0x0, line=0) at > > /usr/src/sys/vm/vm_map.c:421 > > #10 0xc092986d in vm_map_wire (map=0x1, start=677306368, > > end=677310464, flags=1) at /usr/src/sys/vm/vm_map.c:1964 > > Please also note that stack here seems highly corrupted since values > passed to _vm_map_lock are not possible (or there is something > serious going on with them). I had this exact same crash when attempting to use kqemu on a recent current. It appears as if the value it got for curproc was bad. Is kqemu messing with the kernel's %fs value perhaps?