Subject: re: Got a kernel, now what?
To: None <port-pmax@netbsd.org>
From: Terry R. Friedrichsen <terry@venus.sunquest.com>
List: port-pmax
Date: 12/08/1994 10:03:49
> I've compiled the pmax kernel under Ultrix. 

> Three things I had to do to get this far were:

>	1)	Use gcc, not Ultrix's cc.
>	2)	Change the make rule to use a temporary file for .S files,
>		because Ultrix's "as" would not assemble from stdin.
>	3)	Change a whole lot of _<routine> to <routine> references
>		in locore.S.  Seems that Ultrix doesn't prepend an
>		underscore to symbol names.

Hmmm ... I don't do steps two or three, and I'm using gcc 2.5.7 and Ultrix
as - I wonder how come I'm so lucky?

> Now I get to the standard "WARNING: no swap space found" that it seems
> everyone else has had a problem with.

Never saw this, but I did get swapinit panics until I installed Jonathan
Stone's patches.

> I saw a suggestion in the old
> lists about changing the default partition table in rz.c, but now I
> just get a hang instead of a panic...  I've tried both 4.2A and 4.4
> init with the same results.

> The root filesystem is just an Ultrix ufs with a /sbin directory with
> Ultrix's init in there.

*This* I've seen.  Without /sbin/init, the kernel takes a "no init" panic.
With /sbin/init, it hangs.

> One drastic step I've tried is to make a filesystem under 386/netbsd,

Well, I tried a different drastic step the other day.  I reinstalled Ultrix
(4.3) from scratch, then put the netbsd kernel in / and booted it instead
of vmunix.  It succeeded; I got a single-user-mode shell prompt.  (This is
the same kernel that I built on 11/11 which used to just hang.)

I don't really know what to make of this ... but NetBSD boots on my 5000/25
now!  Of course, the old-style Ultrix file systems get mounted read-only,
which drastically cuts down on the system's usefulness ...

Terry R. Friedrichsen

terry@venus.sunquest.com  (Internet)
uunet!sunquest!terry      (Usenet)
terry@sdsc.edu            (alternate address; I live in Tucson)