Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2000 13:03:01 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        "Walter C. Pelissero" <walter@pelissero.org>
Cc:        questions@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   Re: SVR4 missing syscall
Message-ID:  <20001120130301.A10520@dan.emsphone.com>
In-Reply-To: <14873.23011.159826.718978@hyde.lpds.sublink.org>; from "Walter C. Pelissero" on Mon Nov 20 17:05:39 GMT 2000
References:  <14873.23011.159826.718978@hyde.lpds.sublink.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Nov 20), Walter C. Pelissero said:
> I'm trying to run a SCO SVR4 executable on FreeBSD but I get a SIGSYS
> (invalid system call) at the very beginning.  Here is the kdump:
> 
> Which call is it about?  I see an "old.lstat" but I couldn't find any
> reference in the kernel source tree.  Is there any doc I could read
> to see if I can hack this syscall in the emulator?

old.lstat is syscall #40, which is the ibcs2_xenix syscall on SCO.  You
can add hooks from the svr4 emulation code back to the ibcs2 code, but
the svr4 module was really written for Solaris x86 instead of SCO. 
You'll have to make a lot of changes to get SCO binaries to run under
it.  I tried to get an SCO SVR4 binary to work about 6 months ago but
gave up and simply got the vendor to send me a Linux binary instead. 
Runs fine under the Linuxulator :)

-- 
	Dan Nelson
	dnelson@emsphone.com


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?20001120130301.A10520>