Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Apr 2009 21:38:11 +0200
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        necanthrope <necanthrope@gmail.com>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: cannot get kqemu to load with kldload
Message-ID:  <20090412193811.GA66950@triton.kn-bremen.de>
In-Reply-To: <5b3cc900904121218y217da8dbs363e599c519946bf@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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