From owner-freebsd-hackers Mon Nov 20 11: 3:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id D613B37B479; Mon, 20 Nov 2000 11:03:09 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.1/8.11.1) id eAKJ31S19192; Mon, 20 Nov 2000 13:03:01 -0600 (CST) (envelope-from dan) Date: Mon, 20 Nov 2000 13:03:01 -0600 From: Dan Nelson To: "Walter C. Pelissero" Cc: questions@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: SVR4 missing syscall Message-ID: <20001120130301.A10520@dan.emsphone.com> References: <14873.23011.159826.718978@hyde.lpds.sublink.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <14873.23011.159826.718978@hyde.lpds.sublink.org>; from "Walter C. Pelissero" on Mon Nov 20 17:05:39 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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-hackers" in the body of the message