From owner-freebsd-questions Tue Apr 2 16:37:48 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id QAA18719 for questions-outgoing; Tue, 2 Apr 1996 16:37:48 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id QAA18269 for ; Tue, 2 Apr 1996 16:34:11 -0800 (PST) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id KAA16846; Wed, 3 Apr 1996 10:26:07 +0930 From: Michael Smith Message-Id: <199604030056.KAA16846@genesis.atrad.adelaide.edu.au> Subject: Re: Runs on SCO but not FreeBSD 2.1R To: mac@nibsc.ac.uk Date: Wed, 3 Apr 1996 10:26:06 +0930 (CST) Cc: freebsd-questions@freebsd.org In-Reply-To: <199604021748.SAA29035@chalsig.nibsc.ac.uk> from "mac@nibsc.ac.uk" at Apr 2, 96 06:48:07 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk mac@nibsc.ac.uk stands accused of saying: > > I have compiled my own kernel and am booting from it. It contains only those > bits of GENERIC that I actually have in my PC, plus PS/2 mouse and the > COMPAT_IBCS2 option (in quotes) which appears to be needed for the 'ibcs2' > program to work. (Also npx _is_ still there and GPL_MATH_EMULATE, although I > have a 486DX) ... you can ditch the GPL_MATH_EMULATE, it's unnecessary and just bloats your kernel. > However, when I try to run these executables, I get > > % ./muicairs > ./muicairs: Exec format error. Wrong Architecture. > > which puzzles me as 'file' says:- > > % file ./muicairs > ./muicairs: Microsoft a.out separate pure segmented fixed-stack word-swapped > not-stripped 286 small model executable Large Text Large Data not stripped That's right; there is no support for 286 executables, and likely never will be. > What worries me more is that I can't even run a 'normal' SCO > executable such as 'ls'. Havong transfered that over to my FreeBSD > box I get:- > > % ./ls > Abort trap Last time I went through this I think it was decided that this is what happens when you try to run a shared executable without the libraries around. > Basically HELP! Why can't I run SCIO binaries, and what on earth is the > "Microsoft a.out ...." format? It's basically a DOS executable, produced by MSC 4.0 (or similar) for Xenix. The segmentation model is totally incompatible with the way that FreeBSD works, and unless there was a killer application (and AFAIK there never was a killer application for Xenix 8) that required it, I can't imagine anyone wasting their time and sanity trying to shoehorn it in... > Mac -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[