Subject: Re: SMP running ok, but without keyboard
To: Ricardo Ryoiti S. Junior <tech-smp@netbsd.org>
From: Scott Ellis <scotte@warped.com>
List: tech-smp
Date: 09/29/2002 10:49:09
What's the trick to getting GENERIC.MP working with -current?  Using
a -current from today (9/29/02), or one from a few weeks ago (9/06/02), done
via:

setenv CVSROOT :pserver:anoncvs@anoncvs.netbsd.org:/cvsroot
setenv CVS_RSH ssh
cvs checkout syssrc
cd syssrc/sys/arch/i386/
cvs update -r sommerfeld_i386mp_1

I get a problem not knowing how devsw.c gets made:

[intrepid(2)]compile/GENERIC.MP> make
cc  -ffreestanding  -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpo
inter-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized  -Di
386 -I.  -I../../../../arch -I../../../.. -nostdinc -DLKM -DMAXUSERS=32 -D_K
ERNEL -D_KERNEL_OPT   -c swapnetbsd.c
cat ../../../../arch/i386/i386/genassym.cf  |  sh
../../../../kern/genassym.sh
cc  -ffreestanding  -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpo
inter-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized  -Di
386 -I.  -I../../../../arch -I../../../.. -nostdinc -DLKM -DMAXUSERS=32 -D_K
ERNEL -D_KERNEL_OPT   > assym.h.tmp &&  mv -f assym.h.tmp assym.h
cc  -x
ssembler-with-cpp -traditional-cpp -D_LOCORE  -Di386 -I.  -I../../../../arch
 -I../../../.. -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -c
/misc/localsrc/netbsd/netbsd_cvs_src_mp2/syssrc/sys/arch/i386/compile/GENERI
C.MP/../../../../arch/i386/i386/locore.s
make: don't know how to make devsw.c. Stop

make: stopped in
/misc/localsrc/netbsd/netbsd_cvs_src_mp2/syssrc/sys/arch/i386/compile/GENERI
C.MP


What am I screwing up?

    ScottE