From owner-freebsd-current@FreeBSD.ORG Sat Jul 14 15:12:59 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 32E2A16A402 for ; Sat, 14 Jul 2007 15:12:59 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id B72E513C441 for ; Sat, 14 Jul 2007 15:12:58 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so824976uge for ; Sat, 14 Jul 2007 08:12:57 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=A3HLEoUAgYxwhLpknno8x90/lj34yPAbzaskcYQQu3PIAOSvaqR8HGKPL4MyXhHUlJl0CP42edeK5sdPSz38RHYnnrfEH1u9gAXRNFOB5fDAc9qMCgIe0Q3CATQ4gNwgYk+0YqSl2xYv17gEBIm78IBCuj+vlEu5Kjcs59fH5uE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=GCDqbTjzdYneJm+konzscs+1VstFDVgquAK2TQji2aogTI5PaDHPfvaEJgak/RTRkmIZfXQ4emmEjOb7xIfbpLcWI43ipSD2q0LTiMVfpgMLXPPYsVcKY6CJZFQCUZLBx2m7vdrwqkf2svvpP/AEOY8NP3CWXjXPUm6ISfFumzk= Received: by 10.66.236.13 with SMTP id j13mr2842017ugh.1184425977599; Sat, 14 Jul 2007 08:12:57 -0700 (PDT) Received: from ?151.75.207.4? ( [151.75.207.4]) by mx.google.com with ESMTP id 5sm22484458nfv.2007.07.14.08.12.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 14 Jul 2007 08:12:57 -0700 (PDT) Message-ID: <4698E7C4.9080001@FreeBSD.org> Date: Sat, 14 Jul 2007 17:12:04 +0200 From: Attilio Rao User-Agent: Thunderbird 1.5 (X11/20060526) MIME-Version: 1.0 To: Harald Schmalzbauer References: <200707131834.27131.h.schmalzbauer@omnisec.de> <4697CCEB.9080707@FreeBSD.org> <200707132155.43783.h.schmalzbauer@omnisec.de> In-Reply-To: <200707132155.43783.h.schmalzbauer@omnisec.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Attilio Rao 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 Reply-To: attilio@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2007 15:12:59 -0000 Harald Schmalzbauer wrote: > Am Freitag, 13. Juli 2007 schrieb Attilio Rao: >> 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: >> Could you please try this patch and see if it helps?: >> http://people.freebsd.org/~attilio/kqemu.diff > > I applied it, rebuilt my kernel and kqemu, but machine crashes immedately > after running qemu (without disabled kqemu). > Should I also rebuild qemu itself? I don't think it's needed. > But CFLAGS+= -DKSE helped! > I could install various OS, only when I enable -kernel-kqemu most installer > quit with page fault. Hello Harry, could you please download again the patch and try again? It seems I missed a bit... And, please, compile again qemu any time beacause I'm not sure how much are exposed to userland "struct thread" and "struct proc", for this problem. You should firstly try the canonical case of kernel clean compilation (so with KSE) and kqemu clean compilation (so without KSE, without the -DKSE option). Let me know, Thanks. Attilio