Subject: I can't buil a decent kernel
To: None <port-sparc@NetBSD.org>
From: Nuno Pires <nmfp@mega.ist.utl.pt>
List: port-sparc
Date: 08/17/2006 20:10:20
Hi to all,

For a few days I've been experimenting with NetBSD 3.0 and a 
SPARCstation 20 MP (2 X HyperSPARC RT626@180MHz). It boots GENERIC and 
GENERIC.MP just fine.

The problem is that I can't build a kernel that boots the system. 
Building GENERIC results in a kernel that just makes the system reboot 
after: "ms0 at zs1 channel 1: baud rate 1200". And it is much bigger 
than the distribution one:
-rwxr-xr-x   1 root  wheel  3812216 Dec 19  2005 netbsd.dist
-rwxr-xr-x   1 root  wheel  6377427 Aug 16 16:05 netbsd.test

My mk.conf goes like this:
COPTS+=-mcpu=v8
CPUFLAGS=-mcpu=v8
COPTS+=-mtune=v8
CPUFLAGS=-mtune=v8
COPTS+=-pipe
BUILDFLAGS+=-j3

The system has 512MB RAM, it has no frame-buffer, the console is on the 
serial port. The sources didn't have build.sh so I'm building with: 
#config GENERIC; cd ../compile/GENERIC; make depend; make


What's going on?
-- 
Nuno P.