Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2007 02:10:26 +0200
From:      Harald Schmalzbauer <h.schmalzbauer@omnisec.de>
To:        freebsd-current@freebsd.org
Subject:   Re: kqemu crash (page fault) with -current
Message-ID:  <200707180210.27097.h.schmalzbauer@omnisec.de>
In-Reply-To: <4698E7C4.9080001@FreeBSD.org>
References:  <200707131834.27131.h.schmalzbauer@omnisec.de> <200707132155.43783.h.schmalzbauer@omnisec.de> <4698E7C4.9080001@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Samstag, 14. Juli 2007 schrieb Attilio Rao:
> 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...

Sorry, haven't had any time yet, but now I could do a quick test.
Looks good so far, no more panic with a nativ kqemu.

> 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.

I compiled a -current kernel from today (with your new patch), recompiled 
kqemu and also qemu.
But I can't guarantee the kernel module is used. My feeling ist that it's much 
slower than with my last tests (on that test setup I had always disabled 
all -current debuging (witness, malloc aj etc))

But it's just a "feeling", no values taken. Lack of time...

Thank you very much for your help!

best regards,

-Harry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707180210.27097.h.schmalzbauer>