*BSD News Article 22325


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!noc.near.net!das-news.harvard.edu!husc-news.harvard.edu!husc.harvard.edu!husc8!haley
Newsgroups: comp.os.386bsd.questions
Subject: FreeBSD upgrade...
Message-ID: <haley.750498537@husc8>
From: haley@husc8.harvard.edu (Elizabeth Haley)
Date: 13 Oct 93 07:48:57 GMT
Organization: Harvard University, Cambridge, Massachusetts
Keywords: libgnumalloc, npx.c, 3btol, ???
Summary: Things are broken...
NNTP-Posting-Host: husc8.harvard.edu
Lines: 97

O.K. So I attempt the installation via the update script...

Problems:
1. update is the name of a utility on the PATH.
	solution: run ./update to force the issue... Still, it's
namespace pollution.

2. Failure to complete make of gcc1 due to absence of libgnumalloc.
??? Was This SUPPOSED to be there??? I was never informed. I was
previously running 386bsd-0.1 + pk 0.2.4.

	solution: find and install same... Mayhap need to make sure
this is compiled and installed FIRST.

3. O.K. So at this point I have hacked off the front part of the
update script to prevent it from doing things over again.
Everything runs vaguely O.K. Though I have to terminate it and "fg" to
get it to break a lockup at one point. I have no idea of the effects
of this. It is during the (re) compilation of gcc, but I happen to
already have gcc compiled in /usr/local, so I forge ahead. Until we
hit making the kernel.

I didn't follow the initial advice of running on the FreeBSD kernel,
because my 386bsd-0.1 + pk0.2.4 kernel was quite stableon it's own,
having never crashed.

So I configured the kernel, using a modification of the SYSCONS
config, specifically reducing the number of cons to 4 and eleiminating
a few devices that I don't have, mainly scsi drivers and one of the
ethernet drivers, leaving the one I will need in the near future. I
also change the timezone info. (BTW, I think it's a bad idea to have
the timezone being set at all in the kernel. I think it shoudl either
report exactly what is being given by the RTC set in the BIOS
software, or GMT. It's like having two sets of knobs on a watch...)

Then I do config, and pop up to ../../compile/HACKSAW to do make
depend, and then make.

The weird failure comes at npx.c. AT first I try commenting it out in
the config, since I don't have an FPU, but the calls are rooted in.
Then, resigned that things are bad enough, I go rooting around in the
code.

The failure is basically a syntax error on lines 24, 25, 26, and 28 of
the assembler temp file produced during the compilation.

I compile npx.c out of the loop, substituting the -S option for -c.

I look at the resulting file and Lo and behold, there are C-style
comments on those lines, straight out of the source code. Perhaps the
cpp was supposed to catch that, I don't know, but It looks like a lose
to me. (It's in the probe function).

I yank the comments, sticking thme below, out of the block.
npx.c compiles, as does everything else, and just when I think we may
have made it, BAM! The load fails.

It can't find a few symbols, one of which is _3btol, and it's apparent
nemesis _lto3b.

I can't find them either, despite repeated grepping through various
whole directories.

Note that the npx.c file failed under both the gcc2 produced by the
upgrade, and the gcc2 that I made in /usr/local, which has not shown
signs of problems before. They both fail the exact same way...

Any idea what's up, anyone?

AT this point I am basically resigned to thinking that I am going to
have to do a complete re-install. This isn't all bad, since I kinda
don't like the way the drives are set-up, and I wanted to reverse
them, and make the big drive to have just one partition.

Good thing I know about disklabeling :-)

So then my question is, do I want to try again with FreeBSD, go to
NetBSD, or maybe try Linux? I considering trying to install MACH, and
what I could find dealing with that, since I am interested in trying
out the HURD whenever it comes out, but this seems to be quite
involved, and would pretty much halt all my other developement
activities, some of which I hope to make some money from, since I am,
ahem, unemployed.

If you have any speculations as to the problems, post or mail them. If
you have a suggestions as to OS to try next, please mail them, and DO
NOT post them, as the net is already too full of "suggestions" (read
that: evangelism).

Thanks in advance.
--
You are what you forgot about.                  Revenge is a beer served warm.
|[{(<=--=>)}]|David Charles Todd, tHE mAN wITH tHREE fIRST nAMES|[{(<=--=>)}]|
||||||||||||||||||||||||hacksaw@gerbils.not.on.internet|||||||||||||||||||||||