Date: Fri, 28 Jan 2005 15:30:35 +0100 From: "O. Hartmann" <ohartman@uni-mainz.de> To: saravanan ganapathy <sarav_gsa@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: enable linux compatibility Message-ID: <41FA4C8B.6030305@uni-mainz.de> In-Reply-To: <20050128142024.73716.qmail@web51708.mail.yahoo.com> References: <20050128142024.73716.qmail@web51708.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
saravanan ganapathy schrieb: >--- Xian <ian@codepad.net> wrote: > > > >>On Friday 28 January 2005 13:39, saravanan ganapathy >>wrote: >> >> >>>Hai >>> >>>I tried to enable linux compatibility on my >>> >>> >>freebsd >> >> >>>(5.3 Release)kernel by adding 'options >>> >>> >>COMPAT_LINUX' >> >> >>>in my kernel config file and recompiled the kernel >>>using this file.But even after, this is not >>> >>> >>enabled. >> >> >>>kldstat o/p shows as >>> >>># kldstat >>>Id Refs Address Size Name >>> 1 3 0xc0400000 5ef620 kernel >>> 2 14 0xc09f0000 537f0 acpi.ko >>> >>>The 'linux' command also not found. >>> >>>What may be the problem? >>> >>>Saravname of >>> >>> >>You need linux_enable="YES" in rc.conf at least. I >>can't remember if there is >>more to do. I'm sure someone else can help. >> >> >> > >I already added linux_enable="YES" in rc.conf. > >Sarav > > > > > If you put options COMPAT_LINUX in your kernel config file, Linux compatibility is already enabled and not shown in the list of loaded kernel modules! kldstat only reports thos modules are enabled as loadable module. With "options COMPAT_LINUX' Linuxulator is enabled forever as long as the kernel runs. A more sphisticated way is to run Linuxulator as a kernel loadable module. You should disable options COMAPT_LINUX in your configuration file and change the appropriate tag in /etc/rc.conf.local linux_enable="NO" -> linux_enable="YES".
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41FA4C8B.6030305>