From owner-freebsd-emulation Mon May 5 01:49:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA12950 for emulation-outgoing; Mon, 5 May 1997 01:49:52 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA12945 for ; Mon, 5 May 1997 01:49:46 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id SAA28739; Mon, 5 May 1997 18:19:20 +0930 (CST) From: Michael Smith Message-Id: <199705050849.SAA28739@genesis.atrad.adelaide.edu.au> Subject: Re: Linux-wabi in FreeBSD In-Reply-To: from Ola Persson at "May 5, 97 08:50:26 am" To: smurfen@ludd.luth.se (Ola Persson) Date: Mon, 5 May 1997 18:19:20 +0930 (CST) Cc: freebsd-emulation@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Ola Persson stands accused of saying: > > Has anyone got wabi for Linux running with the Linux emu in FreeBSD ? There was discussion some time back about a copy being obtained and someone working on the issues. I haven't seen anything recently. > First of all, the script /opt/abi looks for /proc/meminfo, a program that > exists on a linux system and is a plain textfile containing information > about systemmemory. Is it a program or a textfile? 8) Actually, it's neither. We could possibly simulate this, or at least fake it. Care to describe its format? > Ok, I skipped that and tried to run /opt/wabi/bin/wabiprog, and first the > console yells lots of Linux-emul(248): modify_ldt() not supported That's correct. It looks like it would have to be implemented. This would be an excellent beginner's project; modify_ldt() and the BSD functions i386_set_ldt and i386_get_ldt are all clearly documented in their respective manpages. > nyone got this working, or do we have to wait for the guys hacking on the > linux-emu to hack on it some more ? :) If you don't think you can do this (hint; should take less than 10 lines of code), then someone who can needs a copy of Wabi (hint hint). > | Ola Persson | For finger info: smurfen@best.ludd.luth.se | -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[