*BSD News Article 80911


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.wildstar.net!news.sdsmt.edu!news.mid.net!news.dra.com!feed1.news.erols.com!insync!gryphon.phoenix.net!not-for-mail
From: The God Of Life <kane@mybutt.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Linux/Elf Emulation
Date: Wed, 16 Oct 1996 00:40:05 -0500
Organization: Phoenix Data Net (713) 486-8337 http://www.phoenix.net
Lines: 41
Message-ID: <32647535.167EB0E7@mybutt.com>
NNTP-Posting-Host: kickit.phoenix.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; FreeBSD 2.1.5-RELEASE i386)

Recent projects have brought me to attempt to implement Linux
emulation on to my server. The primary reason for this is to run XQuake. 
I followed all available literature and manuals on the subject and
installed the library port as well as recompiled the kernel for "options
COMPAT_LINUX" and with no avail. Here is some required info. 

> uname -v
FreeBSD 2.1.5-RELEASE #0: Tue Oct 15 02:23:34 CDT 1996    

> ls /compat/linux/lib
ld-linux.so.1           libXaw.so.6             libcurses.so.1.0.0
ld-linux.so.1.7.3       libXaw.so.6.0           libdl.so.1.7.3
ld.so                   libXpm.so.4             libgr.so.1
libX11.so.3             libXpm.so.4.3           libgr.so.1.3
libX11.so.3.1.0         libXt.so.3              libm.so.4
libX11.so.6             libXt.so.3.1.0          libm.so.4.5.26
libX11.so.6.0           libXt.so.6              libm.so.5.0.0
libXIE.so.6             libXt.so.6.0            libtermcap.so.2.0.0
libXIE.so.6.0           libc.so.4               libvga.so.1
libXaw.so.3             libc.so.4.5.26          libvga.so.1.2.0
libXaw.so.3.1.0         libc.so.5.0.9

> cat /etc/sysconfig | grep linux
linux=YES

> modstat
Type     Id Off Loadaddr Size Info     Rev Module Name
EXEC      0   3 f091d000 0018 f0922000   1 linux_emulator

> xquake
/home/kane/xquake: Exec format error. Wrong Architecture.

  If you have any info available on my problem please respond. Am I
missing ELF compatibility. Is it because of these lines in my kernal
precompile config?
  machine         "i386"
  cpu             "I586_CPU" 
or am I just not going to be able to run it. Knowing FreeBSD there
should be a way.

Thanx