Date: Sun, 12 Apr 2009 12:18:42 -0700 From: necanthrope <necanthrope@gmail.com> To: Juergen Lock <nox@jelal.kn-bremen.de> Cc: freebsd-emulation@freebsd.org Subject: Re: cannot get kqemu to load with kldload Message-ID: <5b3cc900904121218y217da8dbs363e599c519946bf@mail.gmail.com> In-Reply-To: <20090412185053.GA65339@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>
next in thread | previous in thread | raw e-mail | index | archive | help
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) 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: On Sun, Apr 12, 2009 at 11:50 AM, Juergen Lock <nox@jelal.kn-bremen.de>wrote: > On Sun, Apr 12, 2009 at 11:24:45AM -0700, necanthrope wrote: > > > > > > > > > Hmm that shouldn't happen, did you rebuild kqemu after upgrading base? > > > Are your world and kernel in sync? When did you checkout/c(v)sup > /usr/src > > > and which branch/tag was it? What do > > > uname -a > > > ident /usr/src/sys/sys/param.h > > > ident /usr/include/sys/param.h > > > grep define.__FreeBSD_version /usr/include/sys/param.h > > > (cd /usr/ports/emulators/kqemu-kmod-devel && make -V OSVERSION) > > > say? > > > > > > Curious... > > > Juergen > > > > > > > Jurgen, > > > > Yes, I did rebuild kqemu after upgrading. I checked out 7.2 about a week > or > > so ago. Here's the output you asked for: > > > > cinema# uname -a > > FreeBSD cinema.distantsoil.org 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #0: > Sat > > Apr 11 19:32:34 PDT 2009 > > root@cinema.distantsoil.org:/usr/obj/usr/src_7.1/sys/GENERIC > > i386 > > > > cinema# ident /usr/src_7.1/sys/sys/param.h > > /usr/src_7.1/sys/sys/param.h: > > $FreeBSD: src/sys/sys/param.h,v 1.308.2.24 2009/03/14 08:34:45 bms > Exp > > $ > > > > cinema# ident /usr/include/sys/param.h > > /usr/include/sys/param.h: > > $FreeBSD: src/sys/sys/param.h,v 1.308.2.24 2009/03/14 08:34:45 bms > Exp > > $ > > > > cinema# grep define.__FreeBSD_version /usr/include/sys/param.h > > #define __FreeBSD_version 701106 /* Master, propagated to newvers > */ > > > > cinema# (cd /usr/ports/emulators/kqemu-kmod-devel && make -V OSVERSION) > > 701106 > > > > Note that the source directory I built world from is /usr/src_7.1, not > > /usr/src. (I fatfingered the directory name and forgot to change it to > > 7.2.) I didn't move the original /usr/src (v6.3) when I rebuilt. I am > > starting to wonder if that is the root cause of all the trouble. > > Very likely, kqemu uses <bsd.kmod.mk> which in this case seems to > reference > /usr/src/sys to find the needed kernel bits... > > HTH, > Juergen > -- 72 44 10 85 40 56 21 53 B9 DF 79 7A EA 18 AE F4 http://www.freedom-to-tinker.com/?p=1155 --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5b3cc900904121218y217da8dbs363e599c519946bf>