From owner-freebsd-emulation@FreeBSD.ORG Sun Apr 12 18:58:28 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 9BC4A1065673 for ; Sun, 12 Apr 2009 18:58:28 +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 5804A8FC19 for ; Sun, 12 Apr 2009 18:58:28 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 705B01E000DF; Sun, 12 Apr 2009 20:58:30 +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 n3CIorN0065528; Sun, 12 Apr 2009 20:50:53 +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 n3CIorSq065527; Sun, 12 Apr 2009 20:50:53 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 12 Apr 2009 20:50:53 +0200 To: necanthrope Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5b3cc900904121124k148be3c0t83ab233212a39d6a@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 18:58:29 -0000 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 which in this case seems to reference /usr/src/sys to find the needed kernel bits... HTH, Juergen