*BSD News Article 13415


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!olivea!uunet!psgrain!ee.und.ac.za!hippo!train!cs2.ufh.ac.za!jms
From: jms@cs.ufh.ac.za (Inus Scheepers)
Newsgroups: comp.os.386bsd.development
Subject: My experience with the upgrade to patchkit-0.2.2
Summary: How come I can't compile npx.c any more?
Keywords: 386bsd, kernel
Message-ID: <jms.43.733053919@cs.ufh.ac.za>
Date: 25 Mar 93 10:05:19 GMT
Sender: news@train.ufh.ac.za (News System Admin.)
Organization: Dept Comp Science, Univ Fort Hare
Lines: 32

I'd like to share my experience, and ask for advice...
We're running on a 486dx33, 16MB, 400MB SCSI, wd8003e clone card.

Since the 0.1 release, we've had a fairly useful system - bar the small
swap space of 5MB, that would hang the machine if several large compiles
would be attempted simultaneously. Otherwise, upgrades to 0.1.1 Beta and
0.2.1 and patchset84-110 also went reasonably smooth. Not so with 0.2.2!

First, I attempted the 0.2.1-0.2.2 upgrade, and had a minor problem with
patch 89, which could be fixed by hand. Eventually, though, during the
kernel make, the compilation stopped in npx.c, with a message like:
"impossible register constraint in `asm'". Good grief. Cleaned out /usr/src.
Reinstall the source from src01.* Get the full patchkit-0.2.2 and install. 
Some minor hiccups on patches 98, 109, 90000 and 90001.("Previously applied
patch detected ... Assume -R ?") Run afterinstall.sh. Whoops! init doesn't 
make properly: something about _JBLEN undeclared. Make init by hand, adding
-Di386. Try "make install". It doesn't. Install by hand. It seems install 
wants the full path: /usr/src/sbin/init/init instead of just "init"...

Try the kernel rebuild again... some warnings about "struc defined inside
params" and "previous external declaration of strlen". And, voila!
in npx.c again: "impossible register constraint in `asm'" Boinnnng!

I'll go pack to patchkit 0.2.1, I thought. First, lets deinstall all the
patches and start with a clean source... DALL! Whoops... "verifying that 
no other patches require patch90001... please wait.. This patch is required
by            [ABORT: PATCH IS REQUIRED BY SUBSEQUENT PATCHES ]" Same with
patch 90000, but the rest deinstall OK. Phew. I'm dumbfounded - please help.

--
Inus Scheepers, Dept Comp Science, Univ of Ft Hare, Alice 5700, South Africa
Phone +27 404 32011 ext 2488 (Work) +27 4634 31228 (Home) FAX +27 404 31669