From owner-freebsd-stable Sat May 4 10:03:19 1996 Return-Path: owner-stable Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA15846 for stable-outgoing; Sat, 4 May 1996 10:03:19 -0700 (PDT) Received: from sierra.zyzzyva.com (ppp0.zyzzyva.com [198.183.2.50]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id KAA15821 Sat, 4 May 1996 10:03:10 -0700 (PDT) Received: (from mail@localhost) by sierra.zyzzyva.com (8.7.5/8.6.11) id MAA12558; Sat, 4 May 1996 12:02:47 -0500 (CDT) Message-Id: <199605041702.MAA12558@sierra.zyzzyva.com> X-Authentication-Warning: sierra.zyzzyva.com: mail set sender to using -f Received: from localhost(127.0.0.1) by sierra via smap (V1.3) id sma012554; Sat May 4 12:02:36 1996 To: Alexei Nikolaevich Romanov Subject: Re: /compat code on -stable In-reply-to: alexei's message of Fri, 03 May 1996 15:27:33 -0700. <199605032227.PAA11331@albion.loach.org> Cc: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org, freebsd-current@freebsd.org X-uri: http://www.zyzzyva.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 04 May 1996 12:01:15 -0500 From: Randy Terbush Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > > Could someone point me to a howto on running IBCS2, Linux and perhaps > > BSDI binaries? I searched in the various FAQ's, Handbook, etc. and > > can't come up with the magic. > > > > Thanks > > If you are told somehting and they don't send it to the list, would you > mind cc-ing me? > > --Alexei I figured this out finally. I'm CCing the list since I did not find this information in one location, rather spread between several different mails in the archive. My main motivation was running Netscape, but I would also like to know what is required for IBCS2 and BSDI. I'm running a mostly -stable system. What I did... * Create /compat/linux * Install the linux_lib-1.0.tgz package found on freefall * recompiled kernel with 'options COMPAT_LINUX' (necessary?) * loaded the /lkm/linux_mod.o with the following: modstat | grep _linux || modload -u -o /tmp/linux_mod -e \ linux_init -q /lkm/linux_mod.o * Added the following to environment (/etc/profile) RESOLV_HOST_CONF=/compat/linux/etc/host.conf; export RESOLV_HOST_CONF XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB; export XKEYSYMDB XNLSPATH=/usr/X11R6/lib/X11/nls; export XNLSPATH XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults; export XAPPLRESDIR * Added the following to /compat/linux/etc/host.conf order hosts, bind * Installed nls.dir from Netscape distribution Gotchas along the way.... * I had to remove the Linux ELF support that I had been using with NetBSD. I assume that I cannot run Linux ELF under FreeBSD. * Netscape got EOT with the nls.dir that I had been using from R6. Known problem, but did not seem to bother it on NetBSD. * Figuring out syntax to modload LKMs