*BSD News Article 58976


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!ee.und.ac.za!ucthpx!uct.ac.za!uct.ac.za!iafrica.com!ticsa.com!cstatd.cstat.co.za!aztec.co.za!usenet
From: tony@hornet.netac.co.za (Tony Harverson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Linux Emu
Date: 8 Jan 1996 12:35:29 GMT
Organization: Aztec Public Access Internet
Lines: 29
Message-ID: <4cr32i$2qi@aztec.co.za>
NNTP-Posting-Host: hornet.netac.co.za
X-Newsreader: knews 0.9.3

Hiya all,

I've got a problem with linux emu which is driving me up the wall.
I've recompiled the kernel, and with the newly recompiled kernel, have
loaded the linux module...

modstat gives :
hornet:/home/tony[6] modstat
Type     Id Off Loadaddr Size Info     Rev Module Name
MISC      0   0 f0e7f000 0020 f0e86000   1 ibcs2_mod
EXEC      1   3 f0e8a000 0008 f0e8b000   1 ibcs2_coff_mod
DEV       2  33 f0e8c000 0010 f0e8f02c   1 socksys_mod
EXEC      3   4 f0f42000 0018 f0f47000   1 linux_emulator
hornet:/home/tony[7] 

yet when I exec anything, I get a 'wrong architecture error (even from
the ld.so which comes with the linux lib distribution.

hornet:/compat/linux/lib[11] ./ld.so
/ld.so: Exec format error. Wrong Architecture.
hornet:/compat/linux/lib[12] 

Where have I gone wrong ? have I missed something obvious ?

Thanks

Tony