From owner-freebsd-emulation@FreeBSD.ORG Sun Apr 12 18:47:26 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 053221065670; Sun, 12 Apr 2009 18:47:26 +0000 (UTC) (envelope-from necanthrope@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 9ACB08FC0A; Sun, 12 Apr 2009 18:47:25 +0000 (UTC) (envelope-from necanthrope@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so1088320yxm.13 for ; Sun, 12 Apr 2009 11:47:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=dg69Opo4Gl8AyONSvJ+FyD2Wk9WT77X4fSmyjX/+2Bs=; b=ml4SOepSC3AfxR2q9S3qqxAMgVeAGSBZn5QBKwaa+6TDLSyGvqkM3ew0jIaiYT36nF psW+w0RL4HWC+ar9Nw6I8cmKyUSW+DaXno0dvWMk3pcmLOMC9Np1XMORtTD4Jwjb2z6d obP4V7snWQGu+gx5bw9cOJYz4qgI2dJ0BbcUA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=c/eK+usTA+F+RWIGyw+DDCQIYSp6UqvZJ+Q+lh2eOXk5x2gzu1RKu3NQBW6lY5D+MP aSaS2694m0KSyGtyq8wyooSe8/yRnRqc6fRiyqB2ZJeqgz+rNuq4q6zH2Cxbtcoj6sQN 1h82nlvT9v4G6x3raWX8kWlA8mKI3ulvvYgio= MIME-Version: 1.0 Received: by 10.100.45.9 with SMTP id s9mr5728323ans.133.1239562045038; Sun, 12 Apr 2009 11:47:25 -0700 (PDT) In-Reply-To: <20090412182939.E23F15B23@mail.bitblocks.com> References: <22999502.post@talk.nabble.com> <22999521.post@talk.nabble.com> <200904121415.n3CEFDCf025538@triton.kn-bremen.de> <20090412182939.E23F15B23@mail.bitblocks.com> Date: Sun, 12 Apr 2009 11:47:24 -0700 Message-ID: <5b3cc900904121147r2a6cc434i3f23a1d6d25d4be0@mail.gmail.com> From: necanthrope To: Bakul Shah Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Juergen Lock , 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:47:26 -0000 (Resent to include all original recipients) I am not using SCHED_4BSD. In my source's sys/i386/conf/GENERIC file: options SCHED_ULE # ULE scheduler > > In kqemu-kmod-devel, kqemu-freebsd.c uses sched_lock() in > kqemu_schedule() if __FreeBSD_version is < 700044 & > 500000. > 7.0 has __FreeBSD_version defined to be 700055. > 7.1 has __FreeBSD_version defined to be 701000. > > So the OP shouldn't have had the problem he is seeing if he > has indeed updated to 7.x and is getting the right kqemu.ko. > > I suggest he do pkg_delete /var/db/pkg/kqemu-kmod*, ensure > that /boot/module/kqemu.ko is gone and then rebuild and > install kqemu-kmod-devel. > > But this brings up another problem with kqemu: if you are > using SCHED_4BSD with 7.x or current, kqemu is not guaranteed > to work. > -- 72 44 10 85 40 56 21 53 B9 DF 79 7A EA 18 AE F4 http://www.freedom-to-tinker.com/?p=1155 --