From owner-freebsd-questions Thu Nov 7 09:36:56 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA06382 for questions-outgoing; Thu, 7 Nov 1996 09:36:56 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA06344 for ; Thu, 7 Nov 1996 09:36:45 -0800 (PST) Received: from jack.colorado.edu (jack.Colorado.EDU [128.138.149.29]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id IAA17236 for ; Thu, 7 Nov 1996 08:54:26 -0800 (PST) Received: from jack (localhost [127.0.0.1]) by jack.colorado.edu (8.7.6/8.7.3/CNS-4.0p) with SMTP id JAA12888; Thu, 7 Nov 1996 09:54:03 -0700 (MST) Message-ID: <3282142A.7366@Colorado.EDU> Date: Thu, 07 Nov 1996 09:54:02 -0700 From: "Mark O'Lear" Organization: University of Colorado X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 5.4 sun4m) MIME-Version: 1.0 To: SKYNET1 CC: Questions@FreeBSD.ORG Subject: Re: Linux Compat References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk SKYNET1 wrote: > > I downloaded the FreeBSD-current Linux Compatibilty and installed > it into /compat/linux. I run linux at startup and have both > option LINUX_COMPAT and LINUX specified in my kernel. > So why does it say invalid architecture when i try running > the linux program? (linux_quake101) I do a modstat and the > linux_emulator is there...??? > > Thanks in advance. > > > Skynet1@cris.com What version of FreeBSD are you running? I believe you need to run current or one of the snap kernels to get Linux ELF support. For the difinitive answer, you might want to try the archives (I'm not sure when Linux ELF support was added). Also, all I have in my kernel is 'option COMPAT_LINUX' and everything I've tried so far works fine (I am running 2.2-960801-SNAP). I believe you either put the 'option COMPAT_LINUX' in you kernel config file and run stuff without the LKM, or you take out the option and run stuff with the LKM. If you have the right option in your kernel config file, you will not need the LKM. -- Mark O'Lear \ e-mail: Mark.Olear@Colorado.EDU University of Colorado \ phone: (303) 492-3798 Telecomm. Svcs. (CB 313) \ fax: (303) 492-5105 Boulder, CO 80309 \