Subject: Which file should I use to configure the kernel for O2 ?
To: <>
From: Isao Nagamori <r17413@email.sps.mot.com>
List: port-sgimips
Date: 02/27/2002 22:33:22
Hello All,


I'm isao nagamori. 
Sorry to bother you to ask basic questions.
But I have trouble with netBSD and O2, so could you help me?


http://www.netbsd.org/Ports/sgimips/faq.html

1) Which configuration file should I use to optimize the kernel for O2?
   INDY ?  GENERIC_INDY ? TEAL ?

	# pwd
	/usr/project/MIPS/NetBSD-current/src/sys/arch/sgimips/conf	
	# ls
	CVS                       Makefile.sgimips          
	GENERIC_INDY              Makefile.sgimips.inc      files.sgimips
	INDY                      TEAL                      std.sgimips
	# 

2) I could "config TEAL" and "config INDY" with my cross environment. But
   I could not do "make depend". What is wrong? 

# echo $PATH
/usr/pkg/cross/mipseb-netbsd/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
# echo $MACHINE
sgimips
# echo $MACHINE_ARCH
mipseb
# which cc
/usr/pkg/cross/mipseb-netbsd/bin/cc
# which config
/usr/sbin/config
# 



# config INDY
Don't forget to run "make depend"
# 
# cd ../compile/INDY
# make depend
make: don't know how to make depend. Stop
# ls Makefile
Makefile
# grep depend Makefile
# 
# more Makefile
IDENT=-DMIPS3_ENABLE_CLOCK_INTR -DSCSI_DELAY="0" -DMIPS3 -DMIPS3_5200 -DDEBUG -D
DIAGNOSTIC
PARAM=-DMAXUSERS=32
S=      ../../../..
DEFTEXTADDR=0x80069000
MACHINE_ARCH=mipseb
TEXTADDR=0x80069000
#       $NetBSD: Makefile.sgimips.inc,v 1.6 2001/12/09 05:00:50 atatat Exp $
# 


# config TEAL
Don't forget to run "make depend"
# 
# cd ../compile/TEAL
# 
# make depend
make: don't know how to make depend. Stop
# 
# make
make: no target to make.
# 


3) I could not do "config generic_indy". It was not correct config file ??

# config GENERIC_INDY
GENERIC_INDY:3: cannot open ../../../../arch/sgimips/conf/GENERIC for reading: No such file or directory

GENERIC_INDY:5: syntax error
GENERIC_INDY:5: cannot proceed without machine specifier
# 
# ls ../../../../arch/sgimips/conf/GENERIC
ls: ../../../../arch/sgimips/conf/GENERIC: No such file or directory
# 



Thank you very much.
Regards,