Subject: Re: Compiling NetBSD for SPARC on NetBSD 1.0
To: None <cracauer@wavehh.hanse.de, grossman@informatik.tu-muenchen.de,>
From: Pete Delaney <pete@RockyMountain.rahul.net>
List: netbsd-help
Date: 10/11/1995 05:19:19
   >    > Rolf Grossmann:
   >    > David S. Miller:
   >    > Martin Cracauer:
   >    > 'Most Excellent' Eric Mehlhaff:
   >    > and other 'Most Excellent' NetBSD Hackers:
   >    > 
   >    >     NetBSD installed with only minor difficulties. 
   >    > I'm now trying to compile
   >    > a recient src snapshop under NetBSD 1.0 and tried doing a
   >    > 
   >    > 		make links
   >    > in the 
   >    > 		./src/sys/arch/sparc
   >    > 
   >    > directory and found the makefile expecting a directory
   >    > 
   >    > 		sbus
   >    > 
   >    > but the directory missing.
   > 
   > I hope it turns out to be sufficient to just remove the dirctory from the
   > make file as I have done.
   > 
   > 
   >    >                           There appear to be kernel config commands, yet
   >    > the config command is not being found in my search path.
   > 
   > I found config in /usr/sbin and ran config on the GENERIC_SCSI3 with the
   > debug stuff turned on. It's compiling now, -g, so I'm now wondering how
   > to us the kernels debuggers, like kgdb. For instance their was a parameter
   > for the KGDBDEV, set to 0xc01. Is it safe to assume that oxc01 is ttya and
   > 0xc02 is ttyb?  Is the kgdb stub included in the kernel or is kgdb an external
   > program like kgdb (as it is in SunOS).

It appears that compiling with the DIAGNOSTIC option is broken, it's
barfing in ../../../dev/is/ncr5380.c in some code that is #ifdef'd.
It appears that PSL_IPL and PSL_IPL2 are undefined. 
I'll remove DIAGNOSTIC from the config file. 


-pete