From owner-freebsd-emulation@FreeBSD.ORG Sun Apr 12 19:40:00 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8EB01065672 for ; Sun, 12 Apr 2009 19:40:00 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 827CE8FC0A for ; Sun, 12 Apr 2009 19:40:00 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id B46B71E0010F; Sun, 12 Apr 2009 21:40:02 +0200 (CEST) Received: from triton.kn-bremen.de (noident@localhost [127.0.0.1]) by triton.kn-bremen.de (8.14.3/8.14.3) with ESMTP id n3CJcCJw067127; Sun, 12 Apr 2009 21:38:12 +0200 (CEST) (envelope-from nox@triton.kn-bremen.de) Received: (from nox@localhost) by triton.kn-bremen.de (8.14.3/8.14.3/Submit) id n3CJcCCL067126; Sun, 12 Apr 2009 21:38:12 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 12 Apr 2009 21:38:11 +0200 To: necanthrope Message-ID: <20090412193811.GA66950@triton.kn-bremen.de> References: <22999502.post@talk.nabble.com> <22999521.post@talk.nabble.com> <200904121410.n3CEAkU8025500@triton.kn-bremen.de> <5b3cc900904121124k148be3c0t83ab233212a39d6a@mail.gmail.com> <20090412185053.GA65339@triton.kn-bremen.de> <5b3cc900904121218y217da8dbs363e599c519946bf@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5b3cc900904121218y217da8dbs363e599c519946bf@mail.gmail.com> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: freebsd-emulation@freebsd.org Subject: Re: cannot get kqemu to load with kldload 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: Sun, 12 Apr 2009 19:40:01 -0000 On Sun, Apr 12, 2009 at 12:18:42PM -0700, necanthrope wrote: > I renamed my source directory to /usr/src, and now I can load kqemu.ko. :D > > Unfortunately, I get an error when I try to make the windows image. I > created the image with: > > qemu-img create -f qcow2 xp.img 100G qemu -cdrom /dev/acd0 -hda xp.img -m > 256 -boot d > > I get this error: > > > qemu: hardware error: register_ioport_write: invalid opaque > CPU #0: > EAX=00000000 EBX=00000000 ECX=00000000 EDX=00000633 > ESI=00000000 EDI=00000000 EBP=00000000 ESP=00000000 > EIP=0000fff0 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 > ES =0000 00000000 0000ffff 00009200 > CS =f000 ffff0000 0000ffff 00009a00 > SS =0000 00000000 0000ffff 00009200 > DS =0000 00000000 0000ffff 00009200 > FS =0000 00000000 0000ffff 00009200 > GS =0000 00000000 0000ffff 00009200 > LDT=0000 00000000 0000ffff 00008200 > TR =0000 00000000 0000ffff 00008b00 > GDT= 00000000 0000ffff > IDT= 00000000 0000ffff > CR0=60000010 CR2=00000000 CR3=00000000 CR4=00000000 > DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 > DR6=ffff0ff0 DR7=00000400 > FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 > FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 > FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 > FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 > FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 > XMM00=00000000000000000000000000000000 > XMM01=00000000000000000000000000000000 > XMM02=00000000000000000000000000000000 > XMM03=00000000000000000000000000000000 > XMM04=00000000000000000000000000000000 > XMM05=00000000000000000000000000000000 > XMM06=00000000000000000000000000000000 > XMM07=00000000000000000000000000000000 > Abort (core dumped) > Huh!? I've never seen that one... Have you rebuilt qemu after you upgraded your world? Or maybe try doing that again now that you've built kqemu against the proper kernel tree... > > I'm going to try copying the install cd to disk first with dd and try again. > > THank you for your help, it is greatly appreciated. :) > > but when I try to read directly from the disk to install the OS: [looking long at my crystal ball... :) ] You need bs=2k if you want to dd a data cd. HTH, Juergen