From owner-freebsd-emulation@FreeBSD.ORG Sun Apr 12 17:36:50 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 C0FE01065670 for ; Sun, 12 Apr 2009 17:36:50 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 79A948FC26 for ; Sun, 12 Apr 2009 17:36:49 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id BB05A9CB086; Sun, 12 Apr 2009 19:35:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yNa8eGyIB9rg; Sun, 12 Apr 2009 19:35:36 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id DEBFB9CB0F4; Sun, 12 Apr 2009 19:35:35 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id n3CHZZa4006210; Sun, 12 Apr 2009 19:35:35 +0200 (CEST) (envelope-from rdivacky) Date: Sun, 12 Apr 2009 19:35:35 +0200 From: Roman Divacky To: Juergen Lock Message-ID: <20090412173535.GA6148@freebsd.org> References: <22999502.post@talk.nabble.com> <22999521.post@talk.nabble.com> <200904121415.n3CEFDCf025538@triton.kn-bremen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200904121415.n3CEFDCf025538@triton.kn-bremen.de> User-Agent: Mutt/1.4.2.3i Cc: jtidwell , 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 17:36:51 -0000 On Sun, Apr 12, 2009 at 04:15:13PM +0200, Juergen Lock wrote: > In article <20090411192326.GA73059@freebsd.org> you write: > >On Sat, Apr 11, 2009 at 02:43:52AM -0700, jtidwell wrote: > >> > >> > >> > >> jtidwell wrote: > >> > > >> > Greetings, qemu folk :) > >> > > >> > I've recently upgraded my FreeBSD box from 6.2 to 7.2. I'm trying to > >> > install qemo, but I keep getting stuck at the point where I load kqemu > >> > with kldload. The module file exists in /boot/modules, but I get this > >> > error every time I try to load: > >> > > >> > # kldload kqemu > >> > kldload: can't load kqemu: No such file or directory > >> > > >> > # ls /boot/modules > >> > kqemu.ko linker.hints rt2500_sys.ko rt61_sys.ko > >> > > >> > > >> > >> I forgot to add, I get this error message on the console when i try to load > >> the module: > >> > >> link_elf : symbol sched_lock undefined > > > >you use ULE, right? try switching to 4BSD... the .ko uses 4BSD specific things, > >no idea why > > Hmm thats news to me, can you elaborate? Is this something that only > affects head? > > Surprised... > Juergen (who has kqemu running fine with ule since 7.1 at least) the sched_lock is 4BSD specific. I have no idea how it ended up being referenced by the kqemu.ko