Subject: Re: SMP running ok, but without keyboard
To: Scott Ellis <scotte@warped.com>
From: Ricardo Ryoiti S. Junior <suga@netbsd.com.br>
List: tech-smp
Date: 09/29/2002 18:12:59
	Hi there,

	Well, I don't know, but here's the steps I did to compile mine.

	First of all, I checked out the sommerfeld branch with cvs -d
:pserver:anoncvs@anoncvs.netbsd.org -r sommerfeld_i386mp_1. There's a file
called MP-UPDATING, it says the last date -current was syncronized. Go to
/usr/src/sys and cvs update -d -D<date>.
	As the cvsup deleted the files from sommerfeld_i386mp_1, I had to
checkout the branch again :) There'll be a GENERIC.MP in the conf
directory. You can run "config GENERIC.MP" and then proceed compiling the
kernel.

	[]'s
	Ricardo.


D
On Sun, 29 Sep 2002, Scott Ellis wrote:

> Date: Sun, 29 Sep 2002 10:49:09 -0700
> From: Scott Ellis <scotte@warped.com>
> To: Ricardo Ryoiti S. Junior <suga@netbsd.com.br>, tech-smp@netbsd.org
> Subject: Re: SMP running ok, but without keyboard
>
> 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
>
>