From owner-freebsd-hackers Tue Nov 21 3:26: 0 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from warrior-outbound.servers.plus.net (unknown [212.159.14.227]) by hub.freebsd.org (Postfix) with SMTP id 3C86537B4FE for ; Tue, 21 Nov 2000 03:25:48 -0800 (PST) Received: (qmail 28792 invoked from network); 21 Nov 2000 11:25:33 -0000 Received: from unknown (HELO daemon.lpds.sublink.org) (212.159.41.48) by warrior with SMTP; 21 Nov 2000 11:25:33 -0000 Received: from pelissero.org (hyde.lpds.sublink.org [10.0.0.2]) by daemon.lpds.sublink.org (8.9.3/8.9.3) with ESMTP id LAA00919; Tue, 21 Nov 2000 11:14:23 GMT (envelope-from wcp@pelissero.org) Received: (from wcp@localhost) by pelissero.org (8.9.3/8.9.3) id LAA44192; Tue, 21 Nov 2000 11:19:45 GMT (envelope-from wcp) From: "Walter C. Pelissero" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14874.23121.801503.448167@hyde.lpds.sublink.org> Date: Tue, 21 Nov 2000 11:19:45 +0000 (GMT) To: Dan Nelson Cc: questions@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: SVR4 missing syscall In-Reply-To: <20001120130301.A10520@dan.emsphone.com> References: <14873.23011.159826.718978@hyde.lpds.sublink.org> <20001120130301.A10520@dan.emsphone.com> X-Mailer: VM 6.72 under 21.1 (patch 9) "Canyonlands" XEmacs Lucid Reply-To: walter@pelissero.org X-Attribution: WP Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Nelson writes: > 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. May I ask you where you got this information from? I was grep-ing around in the kernel source tree but I couldn't figure out that this old.lstat is syscall #40, let alone that it was a Xenix syscall. Is there any doc that can help me hacking this syscall into the ibcs2 emulator? > 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 :) Are you telling me that the IBCS emulator is not really working? Unfortunately I can't ask for a Linux version. Have you ever had a look at the NetBSD one? Is it usable? Thanks for your help. -- walter pelissero http://www.pelissero.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message