Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2005 13:18:05 -0700
From:      Scott Long <scottl@samsco.org>
To:        Chuck Robey <chuckr@chuckr.org>
Cc:        FreeBSD-current@freebsd.org
Subject:   Re: building Linux
Message-ID:  <423DDA7D.4030601@samsco.org>
In-Reply-To: <423DD831.5060809@chuckr.org>
References:  <423DD1C8.7060703@chuckr.org> <423DD3A3.2070500@centtech.com> <423DD5E1.3040301@chuckr.org> <20050320200339.GB92740@ip.net.ua> <423DD831.5060809@chuckr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
> 
>>
>> Cheers,
> 

Compile COMPAT_LINUX32 into your kernel.  The module makefile doesn't
work for amd64.

Scott



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?423DDA7D.4030601>