Subject: Building GENERIC Kernel
To: None <>
From: Kevin Wilson 315-456-1404 <>
List: macbsd-general
Date: 04/11/1994 18:52:09
  I have been trying to rebuild the GENERIC kernel so I could play with
the serial driver.  I got:, mk, and ksrc.tar.gz from cray-ymp......
I have placed ksrc directly under /usr as /usr/src and used the
following steps to rebuild the kernel.
1) cd /usr/src/sys/arch/mac68k/conf
2) ./config GENERIC  (./config is from cray-ymp)
3) cd ../compile/GENERIC
4) make depend
5) make
6) mv /netbsd /netbsd.good  >---- done only once.
7) cp ./netbsd /netbsd

  As you may have guessed, the system hangs when rebooting.  I have a
macIIx and get 4-gray bars when tring to boot.  The rest of the system is
from the tar files at cray-ymp (no updates).

  I have not done anything with the serial drivers at this point.

  When tring to build the system I did run into a problem with the make
file.  It complained about not being able to find /libkern.a so I put in
a symbolic link to it "ln -s /usr/src/sys/lib/libkern/libkern.a /libkern.a".
I did the same for libkern_p.a (I'm not sure if this was needed).
Can you tell me how to fix the makefile(s) so I don't have to do this?

  Did I start from the right point?  What did I miss???

Any helpfull hints? or help?

Thanks, Kevin