From owner-freebsd-hackers Tue Jun 13 21:26:22 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from xena.gsicomp.on.ca (gsi.enoreo.on.ca [209.82.52.145]) by hub.freebsd.org (Postfix) with ESMTP id 0859E37C026 for ; Tue, 13 Jun 2000 21:26:17 -0700 (PDT) (envelope-from matt@xena.gsicomp.on.ca) Received: from matt (cr677933-a.ktchnr1.on.wave.home.com [24.42.130.87]) by xena.gsicomp.on.ca (8.10.1/8.9.2) with SMTP id e5E4QCK63533; Wed, 14 Jun 2000 00:26:12 -0400 (EDT) (envelope-from matt@xena.gsicomp.on.ca) Message-ID: <008b01bfd5b8$b5e3fee0$1200a8c0@matt> From: "Matthew Emmerton" To: "Mark Newton" Cc: Subject: SVR4 Emulation and SCO OpenServer 5 Date: Wed, 14 Jun 2000 00:26:27 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0088_01BFD597.2DED2F00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0088_01BFD597.2DED2F00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable According to the lxrun (Linux Emulator for SCO) documentation and the = Debian ibcs2/svr3 emulator package, OpenServer 5 is SVR3 (with extension = for symbolic links and a few other goodies.) SCO documentation backs up the SVR3 lineage for OSR5, and verifies that = UnixWare 2 and 7 are SVR4 and SVR5, respectively. The SVR3 heritage would explain why a few test programs that I wrote = performing simple system calls (exec, fork, chdir, etc) fail under the = SVR4 emulator, because they're trying to execute syscall 40 which is = undefined in SVR4 -- but refers to the xenix call gate under ibcs2/svr3. If this is indeed the case, the ibcs2 code will need to modified to = support ELF executables so that SCO OpenServer 5 binaries can be run = under the ibcs2/svr3 emulator, with appropriate changes being made to = allow the SCO extensions. -- Matthew Emmerton GSI Computer Services +1 (800) 217-5409 (Canada) ------=_NextPart_000_0088_01BFD597.2DED2F00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
According to the lxrun (Linux Emulator = for SCO)=20 documentation and the Debian ibcs2/svr3 emulator package, OpenServer 5 = is SVR3=20 (with extension for symbolic links and a few other = goodies.)
 
SCO documentation backs up the = SVR3 lineage=20 for OSR5, and verifies that UnixWare 2 and 7 are SVR4 and SVR5,=20 respectively.
 
The SVR3 heritage would explain why a = few test=20 programs that I wrote performing simple system calls (exec, fork, chdir, = etc)=20 fail under the SVR4 emulator, because they're trying to execute syscall = 40 which=20 is undefined in SVR4 -- but refers to the xenix call gate under=20 ibcs2/svr3.
 
If this is indeed the case, the ibcs2 = code will=20 need to modified to support ELF executables so that SCO OpenServer 5 = binaries=20 can be run under the ibcs2/svr3 emulator, with appropriate changes being = made to=20 allow the SCO extensions.
 
--
Matthew Emmerton
GSI Computer=20 Services
+1 (800) 217-5409 (Canada)
 
------=_NextPart_000_0088_01BFD597.2DED2F00-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message