How to add a machine to boot server streetfighter ? Edit /etc/ethers go to /export/install/...osname.../Tools/addclient sun4u /* sun4u -- Sun Ultra */ It will cleanup the old entries in /etc/bootparams add the new ones. ok> printenv ok> setenv boot-device net ok> boot net -install To list the patches installed in a system: # showrev -p .... To back out the patch: # cd /var/sadm/patch/ # ./backoutpatch ; reboot ok> boot -r # recreates /devices entries. Same as touch /reconfigure The device instance is derived from device (major,minor) tuple in a device specific way. For e.g. in SCSI, the instance = minorno/8. partition number=minorno%8. For ses device, the instance = minorno. The attach() routine provided by device driver creates minor device nodes for the instance. Device driver always translates the minor number to instance number by a device dependent function (like instanceno=minorno OR inst_no=minorno/8, etc) Then it knows about which device it should talk to. Experiment: Insert scsi device and see what entries are created in /devices and /dev. Remove it and boot -r. See if the entries have been removed. Insert it again with diff scsi id and see what entries have been created in /devices and /dev. How to reboot with arg? # reboot -- -r # reconfigure boot # reboot -- /kernel/sparcv9/ http://spgweb.eng.sun.com/SPE/SRE/ : Solaris prod eng/release eng srm.eng : release eng ?? -To get netinstall image: (is it still valid) http://spgweb.eng.sun.com/SPE/SRE/Tools/getimage.html --- sfw consolidation: /ws/sfw10-patch (exported from sfw10-patch.sfbay) /ws/sfwnv-gate (exported from sfwnv.sfbay) Building SFW is very similar to building ON. Refer to http://sfwnv.sfbay/README.txt and http://sfwnv.sfbay/sfwnv-build.txt for instructions. http://onnv.sfbay - for nevada build instructions Instructions for building sfw nv : etsfwpath() { ONBLD=/ws/onnv-tools/onbld/bin #ONBLD=/opt/onbld/bin TWARE=/ws/onnv-tools/teamware/bin #TWARE=/ws/onnv-tools/teamware/bin export PATH="$ONBLD:$ONBLD/`uname -p`:$TWARE:/sbin:/usr/bin" } sfwbuild(){ setsfwpath MYWS=/export/home/tmp/thava/sfwbld mkdir -p $MYWS cd $MYWS export CODEMGR_WS=$PWD # bringover or just copy the files # bringover -w . -p /ws/sfwnv-clone . [ -d $MYWS ] && [ -d /ws/sfwnv-clone ] && ( ( cd /ws/sfwnv-clone && tar cf - . ) | (cd $MYWS ; tar xf - ) ) cp $MYWS/usr/src/tools/env/sfw-developer.sh myenv-tmp.sh cat myenv-tmp.sh | sed -e ' s;^GATE=.*;GATE=sfwbld; s;CODEMGR_WS=.*;CODEMGR_WS='$MYWS'; s;PARENT_WS=.*;PARENT_WS=/ws/sfwnv-clone; s/STAFFER=.*/STAFFER=thava/ ' > $MYWS/myenv.sh # TEAMWARE env var is required for nightly build script export TEAMWARE=/ws/onnv-tools/teamware # Use -n option to disable bringover before building /ws/onnv-tools/onbld/bin/nightly -n $MYWS/myenv.sh } if ($?CODEMGR_WS) then set path = ( \ /opt/onbld/bin \ /opt/onbld/bin/`uname -p` \ /opt/teamware/bin \ /ws/onnv-tools/teamware/bin \ $path \ ) endif $ bringover -w . -p /ws/onnv-clone/ . $ export CODEMGR_WS=$PWD $ ws /export/thava/myws For specific information related to the CBE, and the SunPro Compilers please refer to file:///net/benet.eng/benet/S11/CBE/index.html public build machine in USA: x86 'ion.sfbay' is 2-way 2 GHz AMD64 MHz Also, you need the ON build tools package. The most recent should work or the ones in /ws/onnv-tools/onbld. cd /opt ln -s /ws/onnv-tools/SUNWspro/SS11 SUNWspro ln -s /ws/onnv-tools/SUNWspro/SOS8 teamware Sample environment files can be found in the source tree in usr/src/tools/env. BE SURE $VERSION IS NOT SET IN YOUR ENVIRONMENT FILE (ON uses it - it breaks sfw's tcl/tk build) /opt/onbld/bin/nightly To manually run build : bldenv -f cd $SRC (puts you at the top of the tree) Then you can do something like: dmake setup (must do all these to a virgin workspace before you can build anything else) and then you can cd to the place you want to build and do dmake -f Makefile.sfw ================================================================