Re: kqemu crash (page fault) with -current

From: Ulf Lilleengen <lulf_at_stud.ntnu.no>
Date: Sun, 15 Jul 2007 19:44:00 +0200
On lør, jul 14, 2007 at 05:12:04 +0200, Attilio Rao wrote:
> 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).
> 

I've tested the patch, and I can confirm that it works with and without KSE now.
Also, I didn't have to recompile qemu, just kqemu.
-- 
Ulf Lilleengen
Received on Sun Jul 15 2007 - 15:43:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:14 UTC