Subject: MP kernel
To: None <netbsd-help@netbsd.org>
From: Nathan Langford <njl@sdf.lonestar.org>
List: netbsd-help
Date: 02/04/2004 17:10:29
I'm trying to build an MP kernel for a Dell Precision 420.

Is it possible to build an MP kernel from the 1.6.1 src?  I tried
attaching the GENERIC.MP conf file from -current to the 1.6.1 GENERIC,
but got the error message "ioapic*: unknown device `ioapic'" when I ran
"config GENERIC.MP".  I don't know if that device is required...

Thinking perhaps I can't build an MP kernel on 1.6.1, I tried downloading
-current, but when I ran "cd /usr/src && ./build.sh tools", it ran for a
while and then failed with "BSDOBJDIR /usr/obj does not exist, bailing..."
The full error message is below.

Any help is most appreciated. (please cc me, thanks)
-Nathan

--- error message from ./build.sh tools ---
cc  -O -o nbmake *.o
BSDOBJDIR /usr/obj does not exist, bailing...

*** Failed target:  obj
*** Failed command: cd /usr/src/tools; here=`/bin/pwd`/;
subdir=${here#/usr/src/}; if [ "$here" != "$subdir" ]; then if [ ! -d
/usr/obj ]; then echo "BSDOBJDIR /usr/obj does not exist, bailing...";
exit 1; fi; subdir=${subdir%/}; dest=/usr/obj/$subdir; if [ -x
/usr/src/tooldir.NetBSD-1.6.1-i386/bin/nbstat ] &&
ttarg=`/usr/src/tooldir.NetBSD-1.6.1-i386/bin/nbstat -qf '%Y' ${here}obj`
&& [ "$dest" = "$ttarg" ]; then : ; else echo '# ' " objdir $dest"; rm -rf
obj; ln -s $dest obj; fi; if [ ! -d $dest ]; then mkdir -p $dest; else
true; fi; else true ; dest=${here}obj ; if [ ! -d obj ] || [ -h obj ];
then echo '# ' " objdir $dest"; rm -f obj; mkdir $dest; fi ; fi;
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools

ERROR: Failed to make obj in tools
*** BUILD ABORTED ***