Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Jan 2000 10:03:58 -0800
From:      Dan Piponi <dan@mvfx.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Running Linux games under emulation
Message-ID:  <20000131100358.A68809@mobiledan.mvfx.com>
In-Reply-To: <20000131014934.R13027@fw.wintelcom.net>; from bright@wintelcom.net on Mon, Jan 31, 2000 at 01:49:34AM -0800
References:  <20000130153730.B65340@c35728-b.almda1.sfba.home.com> <20000131014934.R13027@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On the subject of Running Linux games under emulation:

> Both Myth II and Heroes of Might and Magic III fail with bad
> system call errors.

Let me give the details just for Heroes - they are similar for Myth
II.  There's anecdotal evidence that it fails on a lot of machines.
I personally tested it on a 3.2-RELEASE and a 4.0-CURRENT machine.

The game I am trying to run is installed from
ftp://ftp.linuxberg.com/pub/Loki/heroes3/heroes3-demo-x86.sh I had
to carry out a brandelf -t Linux on the resulting executable.

> Please also supply:
> o) What version of freebsd you are running

# uname -r
4.0-19990715-CURRENT or 3.2-RELEASE

> o) When the last time you installed the linux emulation package
was.

It's a recent installation of linux_base (< 3 weeks) or linux_base-5.2
from several months ago.

> o) any diagnostics printed at console or in the terminal you
> started the programs from

# ./heroes3_demo
zsh: invalid system call (core dumped)  ./heroes3_demo

> o) the end of a ktrace

# linux_ktrace
19431 heroes3_demo RET   linux_personality 0
19431 heroes3_demo CALL  geteuid
19431 heroes3_demo RET   geteuid 12010/0x2eea
19431 heroes3_demo CALL  getuid
19431 heroes3_demo RET   getuid 12010/0x2eea
19431 heroes3_demo CALL  getegid
19431 heroes3_demo RET   getegid 20/0x14
19431 heroes3_demo CALL  getgid
19431 heroes3_demo RET   getgid 20/0x14
19431 heroes3_demo CALL  ogetrlimit(0x3,0xbfbfd020)
19431 heroes3_demo RET   ogetrlimit 0
19431 heroes3_demo CALL  osetrlimit(0x3,0xbfbfd020)
19431 heroes3_demo RET   osetrlimit 0
19431 heroes3_demo CALL  getpid
19431 heroes3_demo RET   getpid 19431/0x4be7
19431 heroes3_demo CALL  linux_newuname(0xbfbfd028)
19431 heroes3_demo RET   linux_newuname 0                              
19431 heroes3_demo CALL  #174
19431 heroes3_demo PSIG  SIGSYS SIG_DFL
19431 heroes3_demo NAMI  "heroes3_demo.core"

That CALL #174 looks interesting.

Thanks,
--
Dan


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000131100358.A68809>