From owner-freebsd-emulation Sun Dec 1 15:15:35 2002 Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AFC537B401; Sun, 1 Dec 2002 15:15:34 -0800 (PST) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3357B43E88; Sun, 1 Dec 2002 15:15:34 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0208.cvx22-bradley.dialup.earthlink.net ([209.179.198.208] helo=mindspring.com) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18IdIv-0001zv-00; Sun, 01 Dec 2002 15:15:13 -0800 Message-ID: <3DEA97B3.CBC3A801@mindspring.com> Date: Sun, 01 Dec 2002 15:13:55 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: suken woo Cc: freebsd-current , freebsd-emulation Subject: Re: Linux mode is not enabled help References: <3DEA36BA.3010806@mail.gddsn.org.cn> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org suken woo wrote: > after cvsup'd recent,the Linux emulator was disabled.rebuild it , > get the same error: > Linux mode is not enabled. > Loading linux kernel module now... > kldload: can't load linux: No such file or directory This is common in -current. You either have to give an absolute path to the module file, or it has to be in one of the new path locations. The loader has the same problem, when you try to load a kernel installed in "/". There is apparently a problem with the parsing of the path elements, though I have not bothered to find out what it is. I don't think "current directory" works, either; maybe it's one of those over-zealous security things that keep happening. To see your current path: sysctl kern.module_path -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message