From owner-freebsd-current@FreeBSD.ORG Sun Mar 20 20:17:09 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1224916A4CE; Sun, 20 Mar 2005 20:17:09 +0000 (GMT) Received: from april.chuckr.org (april.chuckr.org [66.92.151.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE58243D39; Sun, 20 Mar 2005 20:17:08 +0000 (GMT) (envelope-from chuckr@chuckr.org) Received: from [66.92.151.195] (july.chuckr.org [66.92.151.195]) by april.chuckr.org (Postfix) with ESMTP id 081CE1201A; Sun, 20 Mar 2005 15:17:13 -0500 (EST) Message-ID: <423DDA42.2020509@chuckr.org> Date: Sun, 20 Mar 2005 20:17:06 +0000 From: Chuck Robey User-Agent: Mozilla Thunderbird 1.0 (X11/20050316) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov References: <423DD1C8.7060703@chuckr.org> <423DD3A3.2070500@centtech.com> <423DD5E1.3040301@chuckr.org> <20050320200339.GB92740@ip.net.ua> <423DD831.5060809@chuckr.org> <20050320201236.GA92870@ip.net.ua> In-Reply-To: <20050320201236.GA92870@ip.net.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD-current@FreeBSD.org cc: Eric Anderson Subject: Re: building Linux X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2005 20:17:09 -0000 Ruslan Ermilov wrote: > On Sun, Mar 20, 2005 at 08:08:17PM +0000, Chuck Robey wrote: > >>Ruslan Ermilov wrote: >> >>>On Sun, Mar 20, 2005 at 07:58:25PM +0000, Chuck Robey wrote: >>> >>> >>>>Eric Anderson wrote: >>>> >>>> >>>>>Chuck Robey wrote: >>>>> >>>>> >>>>> >>>>>>I can't seem top get linux compatibiilty working. >>>>>> >>>>>>I tried doing a kldload linux, it told me there wasn't any linux.ko. >>>>>>I figured that I need a new kernel, so I just compiled one, but that >>>>>>didn't make me a linux.ko. OK, I went into NOTES and searched for >>>>>>LINUX, found several, and some with made me wonder if there was a x86 >>>>>>dependency (my system is a dual amd64). What config options do I need >>>>>>for Linux compatibility? >>>>> >>>>> >>>>>Check here first: >>>>>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html >>>>> >>>>>If you still have questions, feel free to send another note.. I think >>>>>it will answer all your questions. In short, you need to install the >>>>>linux compatibility port. >>>> >>>>I'll take another look at it, but I already did, and it complained about >>>>not having Linux in the kernel. I think you need Linux in the kernel >>>>before you consider addign in the Linux binaries. >>>> >>> >>>We don't have Linux/amd64 compatibility yet. What we have is >>>Linux/i386 compatibility for amd64 but it's buggy compared to >>>its i386 version. >>> >> >>You know where this all started? I wanted to run a Java, and I need a >>jdk14 to build either a jdk14 OR a jdk15. The Java list sent me off to >>get a Linux JDK, that got me off to get Linux compatibility. Now you're >>telling me I can't run Linux apps? I think the folks on the Java list >>seem to be disagreeing with you, at the minimum. >> >>It's beginning to become funny. >> > > I'm pretty sure you can build a native JDK using Linux/i386 JDK, > on amd64. (See COMPAT_LINUX32 in sys/amd64/conf/NOTES.) Yes, but (and please do correct me if I'm wrong!) don't I need that Linux-compatibiilty to run the i386/Linux jdk? I have that particular jdk all downloaded and ready to run, but it's not being recognized as a runnable image on the system yet. > > Cheers,