*BSD News Article 78477


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!kettle.magna.com.au!nsw.news.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!news.mathworks.com!bloom-beacon.mit.edu!bone.think.com!paperboy.osf.org!loverso
From: loverso@osf.org (John Robert LoVerso)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: linux compat in 2.1.5 (xdoom)
Date: 16 Sep 1996 23:42:32 GMT
Organization: OSF Research Institute, Cambridge MA
Lines: 28
Message-ID: <51kol8$a3n@paperboy.osf.org>
NNTP-Posting-Host: coltsfoot.osf.org

It appears that xdoom no longer worked with 2.1.5's changed binary compat:

loverso:~ 429 j$ modstat
Type     Id Off Loadaddr Size Info     Rev Module Name
EXEC      0   3 f0be7000 0018 f0bec000   1 linux_emulator
MISC      1   0 f0bee000 0008 f0bef000   1 blank_saver
loverso:~ 430 j$ file /usr/games/doom-1.8/xdoom
/usr/games/doom-1.8/xdoom: Linux/i386 demand-paged executable (ZMAGIC)
loverso:~ 431 j$ gdb /usr/games/doom-1.8/xdoom
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
 There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.13 (i386-unknown-freebsd), 
Copyright 1994 Free Software Foundation, Inc...(no debugging symbols found)...
(gdb) run
Starting program: /usr/games/doom-1.8/xdoom 

Program received signal SIGBUS, Bus error.
0x5 in ?? ()
(gdb) bt
#0  0x5 in ?? ()
#1  0x464f2053 in ?? ()
Error accessing memory address 0x454c494d: Invalid argument.
(gdb)

(And I loaded the linux_lib-2.0.tgz package, too)

John