Date: Sun, 12 Apr 2009 20:08:46 +0200 From: Juergen Lock <nox@jelal.kn-bremen.de> To: Roman Divacky <rdivacky@freebsd.org> Cc: jtidwell <necanthrope@gmail.com>, freebsd-emulation@freebsd.org Subject: Re: cannot get kqemu to load with kldload Message-ID: <20090412180846.GA64019@triton.kn-bremen.de> In-Reply-To: <20090412173535.GA6148@freebsd.org> References: <22999502.post@talk.nabble.com> <22999521.post@talk.nabble.com> <200904121415.n3CEFDCf025538@triton.kn-bremen.de> <20090412173535.GA6148@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 12, 2009 at 07:35:35PM +0200, Roman Divacky wrote: > 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 Ah OK, but it is only used #if __FreeBSD_version < 700044 . (which made me suspect jtidwell's world and kernel are not in sync...) (kqemu does an mi_switch(SW_VOL, NULL) in its main loop if it receives an irq, in order not to hog the cpu.) Cheers, Juergen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090412180846.GA64019>