*BSD News Article 73346


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!swrinde!cs.utexas.edu!math.ohio-state.edu!jussieu.fr!oleane!plug.news.pipex.net!pipex!weld.news.pipex.net!pipex!hole.news.pipex.net!pipex!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!jraynard.demon.co.uk!not-for-mail
From: james@jraynard.demon.co.uk (James Raynard)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: linux/ELF in FreeBSD -- how?
Date: 10 Jul 1996 23:45:31 -0000
Organization: A FreeBSD Box
Lines: 77
Message-ID: <4s1far$41u@jraynard.demon.co.uk>
References: <DuC60r.8nD@midway.uchicago.edu>
NNTP-Posting-Host: localhost
X-NNTP-Posting-Host: jraynard.demon.co.uk

In article <DuC60r.8nD@midway.uchicago.edu>,
Steve Farrell <spfarrel@midway.uchicago.edu> wrote:
>
>how do i get linux/ELF emultation running?  

It's only available in 2.2-current.

If this is your only reason for wanting to run 2.2-current, then I
really cannot recommend you do this. Current is made available as a
service to developers who want to work on the code, rather than users
who want the latest features before they've been fully tested. It's
assumed that anyone who does run -current is able to sort out problems
for themselves with little more help than the occasional hint on the
mailing list, as no-one has time to provide any support on it.

>if i need to upgrade to 2.2, can someone give me a very general
>overview of how to do that?  i've tried (a) getting the binary
>distribution and installing it (b) getting sources and doing make world
>(c) installing from floppy install.  none of these have worked at all.
>i am not interested in upgrading, to be precise, a fresh new install
>would be fine.  
>
>details:
>(a) left me with a completely disfunctional system since, i think, a
>lot of things change in /etc/ and they were not updated.  i might try
>this again.... 

Yep, you have to merge in changes to /etc by hand.

>(b) make world completely did not work.  errors like ld
>does not understand -O option led me to believe that make world for 2.2
>was not meant to be done in 2.1 environment...  

Quite a bit of bootstrapping needs to be done before you can even run
'make world', as programs like ld, lex and make have been updated
since 2.1.0. The details on how to do this have all appeared in the
mailing list over the months.

>(c) 2.2-960612 snapshot
>install floppy won't work with any of my 4 ethernet cards (DEC 21040
>based SMC/2 NEx000's/3c509) (no probe for ep, both ed's timeout, and
>de gives no errors and is probed, but is not pingable, and lights do
>not blink).  

What can I say? This is all alpha code, even the installation program.

Incidentally, a "snapshot" doesn't necessarily indicate that the
-current code it's based on has achieved a transient pinnacle of
stability; often, there's a new feature that needs to be tested more
widely, and snapshots are a good mechanism for reaching people who
don't have the time to keep up with -current.

>2.1-R install floppy won't get passed changing to
>/pub/FreeBSD/2.2-960612-SNAP dialogue, or else bails saying it can't
>find the root image (which lead me to believe 2.2 was not meant to be
>installed using 2.1R boot floppy) (de works fine with the 2.1 kernel).

It wasn't. The facility to install a different version was only
introduced recently.

>i'd love to read some documentation on the subject, but couldn't find
>any.  there is a bit about an upgrade optoion in the 2.2-SNAP directory,
>but (jordan) there was absolutely not a word about what to actaully do
>to run this upgrade?

It's starting to turn into a cliche, but -current is documented in the
files ending in .c.

I hate to sound negative, but -current is aimed at the kind of person
who, when they encounter a problem, reaches for the source code, fixes
it and submits a patch with little or no outside assistance. If that
doesn't sound like you, then you shouldn't be running -current. Sorry.

-- 
James Raynard, Edinburgh, Scotland
james@jraynard.demon.co.uk
http://www.freebsd.org/~jraynard/