Date: Sun, 12 Apr 2009 20:50:53 +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: <20090412185053.GA65339@triton.kn-bremen.de> In-Reply-To: <5b3cc900904121124k148be3c0t83ab233212a39d6a@mail.gmail.com> References: <22999502.post@talk.nabble.com> <22999521.post@talk.nabble.com> <200904121410.n3CEAkU8025500@triton.kn-bremen.de> <5b3cc900904121124k148be3c0t83ab233212a39d6a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090412185053.GA65339>