Subject: Re: NetBSD 2.1 problem on SS20
To: None <port-sparc@netbsd.org>
From: Laurens Vets <laurens@daemon.be>
List: port-sparc
Date: 12/11/2005 19:49:33
Hi list,

>>>>I compiled a GENERIC.MP kernel on my SparcStation 20 (NetBSD 2.1) 
>>>>according to the following document: 
>>>>http://www.netbsd.org/Documentation/kernel/#how_to_build_a_kernel. 
>>>
>>>
>>>The build.sh script now simplifies this process, just type "./build.sh
>>>-m sparc kernel=YOURCONF" in the top level src directory. The kernel
>>>will be in src/sys/arch/sparc/compile/obj/YOURCONF
>>>                                    ^^^^
>>>		      not that this path element is different
>>>		      to building the kernel manually
>>
>>Thanks for you answer, however, I now get the following error:
>>
>>#    objdir /usr/obj/sys/arch/spqrc/compile
>>===> Building kernel:    GENERIC.MP
>>===> Building directory: /usr/src/sys/arch/sparc/compile/obj/GENERIC.MP
>>rm -f a.out [Ee]rrs mklog core *.core .gdbinit
>>./build.sh: /usr/src/tooldir.NetBSD-2.1-sparc/bin/nbconfig: not found
>>
>>ERROR: nbconfig failed for GENERIC.MP
>>*** BUILD ABORTED ***
>>#
> 
> 
> Maybe build the tools first, like this:
>   ./build.sh -m sparc tools
> 
> It thought the other targets would build the tools if needed, but
> I'm not sure.

That did the trick, thanks :)  However, now I have the following error 
while trying to boot NetBSD:

Booting netbsd
read header
Cannot load netbsd: error=27