cannot get kqemu to load with kldload

Juergen Lock nox at jelal.kn-bremen.de
Sun Apr 12 18:58:29 UTC 2009


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


More information about the freebsd-emulation mailing list