*BSD News Article 75492


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.eng.convex.com!newshost.convex.com!news.onramp.net!news.sprintlink.net!news-fw-22.sprintlink.net!news.sgi.com!enews.sgi.com!news.mathworks.com!newsfeed.internetmci.com!in3.uu.net!news.interpac.be!news
From: Jean-Pierre Morant <jpm@marben.be>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Linux emulator with 2.1.5R
Date: Mon, 05 Aug 1996 17:51:44 +0200
Organization: Marben SA-NV
Lines: 73
Message-ID: <32061890.1F1A@marben.be>
NNTP-Posting-Host: gatekeeper.marben.be
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b5aGold (X11; I; IRIX 5.3 IP22)

Hello !


I'm posting this mail 'cause I can't get the Linux emulator to work -
I've stick to the manual but with little result so far... and honest I
don't know what I can do to solve this one.

But first of all : ELF 32-bit MSB executable Version 1 stands for "Linux
executable" ? Actually this one comes from BSDI ...



DESCRIPTION OF MY SYSTEM

I'm working with a 2.1.5R installation completely fresh :

2.1.5-RELEASE FreeBSD 2.1.5-RELEASE #0: Fri Aug  2 17:10:21 MET DST
1996     root@free-me.marben.be:/usr/src/sys/compile/FREE-ME  i386

and, basically, I'm trying to get this package to work :
perl:              ELF 32-bit MSB executable Version 1

(actually it is the Perl interpreter that comes along with Excite).

What I get is :
 ./perl: Exec format error. Wrong Architecture.



STEP 1

I've installed the Linux emulator stuff :
- in /usr/src/sys/i386/conf/(current-config) I have 

COMPAT_43, COMPAT_LINUX, SYSVSHM   define. Please note that no
LINUX-related option was mentioned in the LINT ....

And indeed I have reconfigured  recreated and reinstalled my kernel.

STEP 2

Then I have installed the LKM : now modstat returns :
Type     Id Off Loadaddr Size Info     Rev Module Name
EXEC      0   3 f074e000 0018 f0753000   1 linux_emulator


STEP 3

I've even added the libs : 
# make all install
Checksums OK.
# pwd
/usr/ports/emulators/linux_lib




Do anyone see where the mistake is ?






Jean-Pierre Morant
c/o MARBEN S.A./N.V.			La vie serait tellement 
Boulevard du Souverain,400, Vorstlaan	plus facile	 
1160	Bruxelles			Si seulement
Belgium					nous avions les sources....
+ 32 2 663 1130	(phone)
+ 32 2 663 1199 (fax)
http://www.marben.be
jpm@marben.be