############################################################ # Notes on bh0, bh1, ... bh16 # # Nov 1999: bh1 ... bh6 Dual 0.450 Ghz PIII, 256 MB # bh0 # bh7 # bh8 # bh9 # June 2005: bh1, bh3, bh4, bh5, bh6, bh8 # 3.0 GHz P4, 1 MB cache, 2GB mem, # 180 GB HD, 256 MB NV 6800 GPU # # TODO: LAST UPDATED AUGUST 30, 2005 # # 0 Check compilers, install /root/.files, back up # system work # 1. High res DVI output with new machines (P4/256 MB Nvidia) # 2. Cups control on bh8 ############################################################ Also see ../vn/README for more documentation of set-up procedures ############################################################ Wed Nov 10 06:52:57 PST 1999 (1) Installing gmp as per Roman's request As root@bh[123456] First need to complete "install" on bh[56] (Done on bh5, bh6 apparently not on network) # as matt@laplace cd /usr2/people/matt/system/UNIX_SETUP/dist ftp prep.ai.mit.edu anonymous cd /pub/gnu/gmp get gmp-2.0.2.tar.gz foreach i (`iota 5`) scp gmp-2.0.2.tar.gz root@bh${i}:/var/tmp/install done cdi; tar xfz gmp-2.0.2.tar.gz; cd gmp-2.0.2/; configure --prefix=/usr/local; make install DONE ############################################################ Wed Nov 17 18:11:52 PST 1999 ############################################################ During Dist from matt@laplace:~/.ssh matt@bh5.physics.ubc.ca's password: Could not chdir to home directory /d/bh1/home/matt: No such file or directory scp: /d/bh1/home/matt/.ssh: No such file or directory # Fix mount -a ############################################################ Mon Nov 22 12:36:54 PST 1999 ############################################################ (1) From Kevin _______________________________ bh3 143% make f77 -g2 -L/usr/local/lib mcsf_ivpcf.o -lp329f -lodepack -llinpack -lblas -o mcsf_ivpcf /usr/bin/ld: cannot open -lp329f: No such file or directory collect2: ld returned 1 exit status make: [mcsf_ivpcf] Error 1 (ignored) ------------------------------- seems no p329f SOLUTION: bhCommand 'ln -s /usr/local/lib/libutilio.a /usr/local/lib/libp329f.a' bhCommand 'ls -lt /usr/local/lib/libp329f.a' error message: bh3 23% make f77 -g2 -L/usr/local/lib mcsf_ivpcf.o -lp329f -lodepack -llinpack -lblas -o mcsf_ivpcf /usr/bin/ld: cannot open -lodepack: No such file or directory collect2: ld returned 1 exit status make: [mcsf_ivpcf] Error 1 (ignored) bh3 24% -------------------------- seems no odepack....Kevin SOLUTION: linpack bhbgCommand 'cdi; Installz netlib_linpack' bhCommand 'ls /usr/local/lib/liblinpack.a' OK odepack bhbgCommand 'cdi; ./Installz netlib_odepack' bhCommand 'ls /usr/local/lib/libodepack.a' OK fftpack bhbgCommand 'cdi; Installz netlib_fftpack' bhCommand 'ls /usr/local/lib/libfftpack.a' blas/lapack bhbgCommand 'cdi; tar xfz /d/bh1/home/matt/autoconf/netlib_lapack.tar.gz; cd netlib_lapack; setenv FFLAGS "-O3"; make blaslib; make lapacklib; /bin/cp /usr/tmp/install/netlib_lapack/BLAS/SRC/libblas.a /usr/local/bin; /bin/cp /var/tmp/install/netlib_lapack/liblapack.a /usr/local/lib' bhCommand 'ls -lt /var/tmp/install/netlib_lapack/BLAS/SRC/libblas.a' bhCommand '/bin/cp /var/tmp/install/netlib_lapack/BLAS/SRC/libblas.a /usr/local/lib' bhCommand 'ls /usr/local/lib/libblas.a' bhCommand 'ls -lt /var/tmp/install/netlib_lapack/liblapack.a' bhCommand '/bin/cp /var/tmp/install/netlib_lapack/liblapack.a /usr/local/lib' bhCommand 'ls /usr/local/lib/liblapack.a' OK bhCommand 'hostname; ls -lt /usr/local/lib' > /tmp/USRLOCALLIB >>> Executing as root@142.103.235.51 bh1.physics.ubc.ca total 8834 -rw-r--r-- 1 root root 4109112 Nov 22 15:19 liblapack.a -rw-r--r-- 1 root root 547286 Nov 22 15:19 libblas.a -rw-r--r-- 1 root root 627498 Nov 22 14:46 liblinpack.a -rw-r--r-- 1 root root 260298 Nov 22 14:45 libfftpack.a -rw-r--r-- 1 root root 235878 Nov 22 14:28 libodepack.a lrwxrwxrwx 1 root root 26 Nov 22 12:44 libp329f.a -> /usr/local/lib/libutilio.a -rw-r--r-- 1 root root 17218 Nov 21 06:02 libv2util.a -rw-r--r-- 1 root root 23670 Nov 21 06:02 libv3util.a -rw-r--r-- 1 root root 204062 Nov 21 06:02 libvutil.a -rw-r--r-- 1 root root 61808 Nov 21 06:02 libvutilc.a -rw-r--r-- 1 root root 1080930 Nov 10 08:01 libgmp.a -rw-r--r-- 1 root root 2668 Nov 3 11:33 libf77sig.a -rw-r--r-- 1 root root 2960 Nov 3 11:33 libfile_c.a -rw-r--r-- 1 root root 11814 Nov 3 11:33 libfvs.a -rw-r--r-- 1 root root 110838 Nov 3 11:33 libutilio.a -rw-r--r-- 1 root root 28336 Nov 3 09:58 libvsso.a -rw-r--r-- 1 root root 209114 Nov 3 09:54 libmfhdf.a -rw-r--r-- 1 root root 883046 Nov 3 09:54 libdf.a -rw-r--r-- 1 root root 207068 Nov 3 09:54 libjpeg.a -rw-r--r-- 1 root root 84852 Nov 3 09:54 libz.a -rw-r--r-- 1 root root 9602 Nov 3 09:15 libutilmath.a -rw-r--r-- 1 root root 2632 Nov 3 09:15 libutilmathc.a -rw-r--r-- 1 root root 32328 Nov 3 09:00 libvs.a -rw-r--r-- 1 root root 98058 Nov 2 22:10 libbbhutil.a -rw-r--r-- 1 root root 131826 Nov 2 22:10 librnpl.a lrwxrwxrwx 1 root root 43 Nov 2 21:50 libmpi.a -> /usr/local/build/LINUX/ch_p4/lib/libmpich.a >>> Executing as root@142.103.235.52 bh2.physics.ubc.ca total 8834 -rw-r--r-- 1 root root 4109112 Nov 22 15:19 liblapack.a -rw-r--r-- 1 root root 547286 Nov 22 15:19 libblas.a -rw-r--r-- 1 root root 627498 Nov 22 14:46 liblinpack.a -rw-r--r-- 1 root root 260298 Nov 22 14:45 libfftpack.a -rw-r--r-- 1 root root 235878 Nov 22 14:29 libodepack.a lrwxrwxrwx 1 root root 26 Nov 22 12:44 libp329f.a -> /usr/local/lib/libutilio.a -rw-r--r-- 1 root root 17218 Nov 21 06:02 libv2util.a -rw-r--r-- 1 root root 23670 Nov 21 06:02 libv3util.a -rw-r--r-- 1 root root 204062 Nov 21 06:02 libvutil.a -rw-r--r-- 1 root root 61808 Nov 21 06:02 libvutilc.a -rw-r--r-- 1 root root 1080930 Nov 10 08:03 libgmp.a -rw-r--r-- 1 root root 2668 Nov 3 11:33 libf77sig.a -rw-r--r-- 1 root root 2960 Nov 3 11:33 libfile_c.a -rw-r--r-- 1 root root 11814 Nov 3 11:33 libfvs.a -rw-r--r-- 1 root root 110838 Nov 3 11:33 libutilio.a -rw-r--r-- 1 root root 28336 Nov 3 09:58 libvsso.a -rw-r--r-- 1 root root 209114 Nov 3 09:54 libmfhdf.a -rw-r--r-- 1 root root 207068 Nov 3 09:54 libjpeg.a -rw-r--r-- 1 root root 84852 Nov 3 09:54 libz.a -rw-r--r-- 1 root root 883046 Nov 3 09:54 libdf.a -rw-r--r-- 1 root root 9602 Nov 3 09:15 libutilmath.a -rw-r--r-- 1 root root 2632 Nov 3 09:15 libutilmathc.a -rw-r--r-- 1 root root 32328 Nov 3 09:00 libvs.a -rw-r--r-- 1 root root 98058 Nov 2 22:10 libbbhutil.a -rw-r--r-- 1 root root 131826 Nov 2 22:10 librnpl.a lrwxrwxrwx 1 root root 43 Nov 2 21:50 libmpi.a -> /usr/local/build/LINUX/ch_p4/lib/libmpich.a >>> Executing as root@142.103.235.53 bh3.physics.ubc.ca total 8834 -rw-r--r-- 1 root root 4109112 Nov 22 15:18 liblapack.a -rw-r--r-- 1 root root 547286 Nov 22 15:18 libblas.a -rw-r--r-- 1 root root 627498 Nov 22 14:46 liblinpack.a -rw-r--r-- 1 root root 260298 Nov 22 14:44 libfftpack.a -rw-r--r-- 1 root root 235878 Nov 22 14:31 libodepack.a lrwxrwxrwx 1 root root 26 Nov 22 12:43 libp329f.a -> /usr/local/lib/libutilio.a -rw-r--r-- 1 root root 17218 Nov 21 06:02 libv2util.a -rw-r--r-- 1 root root 23670 Nov 21 06:02 libv3util.a -rw-r--r-- 1 root root 204062 Nov 21 06:02 libvutil.a -rw-r--r-- 1 root root 61808 Nov 21 06:02 libvutilc.a -rw-r--r-- 1 root root 2668 Nov 3 11:33 libf77sig.a -rw-r--r-- 1 root root 2960 Nov 3 11:33 libfile_c.a -rw-r--r-- 1 root root 11814 Nov 3 11:33 libfvs.a -rw-r--r-- 1 root root 110838 Nov 3 11:33 libutilio.a -rw-r--r-- 1 root root 28336 Nov 3 09:58 libvsso.a -rw-r--r-- 1 root root 209114 Nov 3 09:54 libmfhdf.a -rw-r--r-- 1 root root 883046 Nov 3 09:54 libdf.a -rw-r--r-- 1 root root 207068 Nov 3 09:54 libjpeg.a -rw-r--r-- 1 root root 84852 Nov 3 09:54 libz.a -rw-r--r-- 1 root root 9602 Nov 3 09:15 libutilmath.a -rw-r--r-- 1 root root 2632 Nov 3 09:15 libutilmathc.a -rw-r--r-- 1 root root 32328 Nov 3 09:00 libvs.a -rw-r--r-- 1 root root 98058 Nov 2 20:58 libbbhutil.a -rw-r--r-- 1 root root 131826 Nov 2 20:58 librnpl.a lrwxrwxrwx 1 root root 43 Nov 2 20:49 libmpi.a -> /usr/local/build/LINUX/ch_p4/lib/libmpich.a >>> Executing as root@142.103.235.54 bh4.physics.ubc.ca total 7472 -rw-r--r-- 1 root root 4109112 Nov 22 15:15 liblapack.a -rw-r--r-- 1 root root 547286 Nov 22 15:15 libblas.a -rw-r--r-- 1 root root 627498 Nov 22 14:42 liblinpack.a -rw-r--r-- 1 root root 260298 Nov 22 14:41 libfftpack.a -rw-r--r-- 1 root root 235878 Nov 22 14:32 libodepack.a lrwxrwxrwx 1 root root 26 Nov 22 12:40 libp329f.a -> /usr/local/lib/libutilio.a -rw-r--r-- 1 root root 17218 Nov 21 05:59 libv2util.a -rw-r--r-- 1 root root 23670 Nov 21 05:59 libv3util.a -rw-r--r-- 1 root root 204062 Nov 21 05:59 libvutil.a -rw-r--r-- 1 root root 61808 Nov 21 05:59 libvutilc.a -rw-r--r-- 1 root root 1080930 Nov 10 08:01 libgmp.a -rw-r--r-- 1 root root 2668 Nov 3 11:34 libf77sig.a -rw-r--r-- 1 root root 2960 Nov 3 11:34 libfile_c.a -rw-r--r-- 1 root root 11814 Nov 3 11:34 libfvs.a -rw-r--r-- 1 root root 110838 Nov 3 11:34 libutilio.a -rw-r--r-- 1 root root 28336 Nov 3 09:59 libvsso.a -rw-r--r-- 1 root root 9602 Nov 3 09:16 libutilmath.a -rw-r--r-- 1 root root 2632 Nov 3 09:16 libutilmathc.a -rw-r--r-- 1 root root 32328 Nov 3 09:01 libvs.a -rw-r--r-- 1 root root 98058 Nov 2 20:59 libbbhutil.a -rw-r--r-- 1 root root 131826 Nov 2 20:59 librnpl.a lrwxrwxrwx 1 root root 43 Nov 2 20:50 libmpi.a -> /usr/local/build/LINUX/ch_p4/lib/libmpich.a >>> Executing as root@142.103.235.55 bh5.physics.ubc.ca total 8834 -rw-r--r-- 1 root root 4109112 Nov 22 15:17 liblapack.a -rw-r--r-- 1 root root 547286 Nov 22 15:17 libblas.a -rw-r--r-- 1 root root 627498 Nov 22 14:46 liblinpack.a -rw-r--r-- 1 root root 260298 Nov 22 14:44 libfftpack.a -rw-r--r-- 1 root root 235878 Nov 22 14:30 libodepack.a lrwxrwxrwx 1 root root 26 Nov 22 12:42 libp329f.a -> /usr/local/lib/libutilio.a -rw-r--r-- 1 root root 17218 Nov 21 06:02 libv2util.a -rw-r--r-- 1 root root 23670 Nov 21 06:02 libv3util.a -rw-r--r-- 1 root root 204062 Nov 21 06:02 libvutil.a -rw-r--r-- 1 root root 61808 Nov 21 06:02 libvutilc.a -rw-r--r-- 1 root root 9602 Nov 10 19:43 libutilmath.a -rw-r--r-- 1 root root 2696 Nov 10 19:43 libutilmathc.a -rw-r--r-- 1 root root 1080930 Nov 10 08:00 libgmp.a -rw-r--r-- 1 root root 209114 Nov 10 07:47 libmfhdf.a -rw-r--r-- 1 root root 207068 Nov 10 07:47 libjpeg.a -rw-r--r-- 1 root root 84852 Nov 10 07:47 libz.a -rw-r--r-- 1 root root 883046 Nov 10 07:47 libdf.a -rw-r--r-- 1 root root 2668 Nov 10 07:44 libf77sig.a -rw-r--r-- 1 root root 2960 Nov 10 07:44 libfile_c.a -rw-r--r-- 1 root root 11814 Nov 10 07:44 libfvs.a -rw-r--r-- 1 root root 110838 Nov 10 07:44 libutilio.a -rw-r--r-- 1 root root 28336 Nov 10 07:43 libvsso.a -rw-r--r-- 1 root root 32328 Nov 10 07:42 libvs.a -rw-r--r-- 1 root root 98058 Nov 10 07:39 libbbhutil.a -rw-r--r-- 1 root root 131826 Nov 10 07:39 librnpl.a lrwxrwxrwx 1 root root 43 Nov 10 07:38 libmpi.a -> /usr/local/build/LINUX/ch_p4/lib/libmpich.a >>> Executing as root@142.103.235.56 bh6.physics.ubc.ca total 8834 -rw-r--r-- 1 root root 4109112 Nov 22 15:19 liblapack.a -rw-r--r-- 1 root root 547286 Nov 22 15:19 libblas.a -rw-r--r-- 1 root root 627498 Nov 22 14:46 liblinpack.a -rw-r--r-- 1 root root 260298 Nov 22 14:45 libfftpack.a -rw-r--r-- 1 root root 235878 Nov 22 14:43 libodepack.a lrwxrwxrwx 1 root root 26 Nov 22 12:44 libp329f.a -> /usr/local/lib/libutilio.a -rw-r--r-- 1 root root 17218 Nov 21 06:04 libv2util.a -rw-r--r-- 1 root root 23670 Nov 21 06:04 libv3util.a -rw-r--r-- 1 root root 204062 Nov 21 06:04 libvutil.a -rw-r--r-- 1 root root 61808 Nov 21 06:04 libvutilc.a -rw-r--r-- 1 root root 1080930 Nov 10 19:23 libgmp.a -rw-r--r-- 1 root root 98058 Nov 10 19:21 libbbhutil.a -rw-r--r-- 1 root root 131826 Nov 10 19:21 librnpl.a -rw-r--r-- 1 root root 209114 Nov 10 19:21 libmfhdf.a -rw-r--r-- 1 root root 207068 Nov 10 19:21 libjpeg.a -rw-r--r-- 1 root root 84852 Nov 10 19:21 libz.a -rw-r--r-- 1 root root 883046 Nov 10 19:21 libdf.a -rw-r--r-- 1 root root 9602 Nov 10 19:19 libutilmath.a -rw-r--r-- 1 root root 2632 Nov 10 19:19 libutilmathc.a -rw-r--r-- 1 root root 2668 Nov 10 19:18 libf77sig.a -rw-r--r-- 1 root root 2960 Nov 10 19:18 libfile_c.a -rw-r--r-- 1 root root 11814 Nov 10 19:18 libfvs.a -rw-r--r-- 1 root root 110838 Nov 10 19:18 libutilio.a -rw-r--r-- 1 root root 28336 Nov 10 19:17 libvsso.a -rw-r--r-- 1 root root 32328 Nov 10 19:16 libvs.a lrwxrwxrwx 1 root root 43 Nov 10 19:01 libmpi.a -> /usr/local/build/LINUX/ch_p4/lib/libmpich.a ############################################################ Mon Nov 22 12:36:54 PST 1999 ############################################################ (1) Installing 'xmgr' as per Kevin's request via http://plasma-gate.weizmann.ac.il/Xmgr/ # Copied xmgr-4.1.2.tar.gz to matt@laplace.physics.ubc.ca:~/autoconf matt@bh1.physics.ubc.ca:~/autoconf bhCommand Installz xmgr-4.1.2 # Some problems ... checking for main in -lXm... no configure: warning: Motif has not been found; building a GUI-less version # ... will need to install Motif (lesstif) /var/tmp/install/xmgr-4.1.2/ac-tools/mkinstalldirs /usr/local/xmgr/bin mkdir /usr/local/xmgr mkdir /usr/local/xmgr/bin /usr/bin/install -c -s /usr/local/xmgr/bin/ /usr/bin/install: too few arguments Try `/usr/bin/install --help' for more information. make[1]: *** [install] Error 1 # After installation of lesstif, # in gcc -O2 -Wall -pedantic -m486 -malign-double -I/usr/X11R6/include -I.. -I. -DGR_HOME=\"/usr/local/xmgr\" -DPRINT_CMD=\"'lpr'\" -c pars.c -o pars.o pars.yacc:4140: initializer element for `ikey[265].fnc' is not constant make: *** [pars.o] Error 1 # Simplest fix replace log2 NULL pars.c # Did so in matt@laplace:~/autoconf/xmgr-4.1.2, and re-tarred and gzip'ed # distribution bhbgCommand 'cdi; Installz xmgr-4.1.2' # NOT CLEAR THAT THIS FIX WORKS ... IS pars.c A GENERATED FILE? # make install now seems to work, but 'xmgr' insists in installing # itself in '/usr/local/xmgr', so will need bhbgCommand 'ln -s /usr/local/xmgr/bin/xmgr /usr/local/bin' bhbgCommand 'ls -lt /usr/local/bin/xmgr' bhCommand 'setenv DISPLAY rar0502.net.ubc.ca:0.0; xmgr' OK ############################################################ Mon Nov 22 16:49:33 PST 1999 ############################################################ (1) lesstif -> http://www.lesstif.org/ # The current version of LessTif is 0.89.4 as of November 5, 1999. # Download the code here. # Copied lesstif-current.tar.gz to matt@laplace.physics.ubc.ca:~/autoconf matt@bh1.physics.ubc.ca:~/autoconf # As root@bh1 cdi; ./Installz lesstif-current setenv LD_LIBRARY_PATH '.:/usr/local/lib' If you have superuser access and want LessTif to be installed for system- wide use, make sure the directory to which the libraries were installed is listed in /etc/ld.so.conf. Then (as root) type 'ldconfig -v' to make them available. If you're not sure which library is being used (either the system-wide installed one, or one you've just compiled), use the 'ldd' command. After generating an executable linked dynamically with LessTif, type 'ldd '. This will output a list of the paths to all the shared libraries this executable depends on. # As matt@laplace etcbh scp root@bh1:/etc/ld.so.conf . bhDistEtc ld.so.conf bhCommand ldconfig -v (2) bhbgCommand 'cdi; ./Installz lesstif-current' OK ############################################################ Mon Nov 22 19:07:26 PST 1999 ############################################################ (1) JDK # Copied jdk_1.1.7-v3-glibc-x86.tar.gz to # matt@laplace:~/autoconf # matt@bh1:~/autoconf # coded bhJDKinstall bhCommand bhJDKinstall (2) SCIVIS # Copied scivis11.tar.gz tp # matt@laplace:~/autoconf # matt@bh1:~/autoconf # coded bhSCIVISinstall bhCommand bhSCIVISinstall # copied matt@rar0502:~/scripts to matt@laplace:~/scripts/jser.linux, # matt@bh1:~/scripts/jser.linux bhCommand 'cp ~matt/scripts/jser.linux /usr/local/bin/jser' bhCommand 'ls -lt /usr/local/bin/jser' bhCommand 'chmod a+x /usr/local/bin/jser' bhCommand 'ls -lt /usr/local/bin/jser' # Need to set CLASSPATH environment variable (best done in ~/.cshrc) # For SCIVIS setenv SV /usr/local/java/sv1_1 setenv SVL $SV/sv_lib setenv CLASSPATH ".:$HOME/java/classes:$SVL/scivis.jar:$SVL/swing.jar:$SVL/motif.jar:$SVL/windows.jar:$SV/filter" setenv JSERPORT 7654 setenv ISOPORT 7655 (3) sv bhbgCommand 'cdi; setenv CFLAGS "-O3"; setenv FFLAGS "-O3"; Installz sv' jvs bhbgCommand 'cdi; setenv CFLAGS "-O3"; setenv FFLAGS "-O3"; Installz jvs' ############################################################ Wed Dec 1 19:27:56 PST 1999 ############################################################ bhbgCommand 'cdi; Installz ntp-4.0.98f' bhCommand "cd /usr/local/bin; ls -lt ntp*" etcbh scp root@bh1:/etc/rc.d/rc.local . # Modified to test for and start up ntpd bhbgCommmand 'cd /etc/rc.d; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/etc/rc.local' bhCommand 'ntpd; ps -Alf | grep ntpd' bhCommand 'cd /etc; touch ntp.drift; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/etc/ntp.conf .' bhCommand 'cat /etc/ntp.conf' bhCommand 'ntpd; ps -Alf | grep ntpd' bhCommand 'ntptimeset' bhbgCommand 'date 12011910' ############################################################ Fri Dec 17 14:22:22 PST 1999 ############################################################ (1) Kevin reported problem with jv1 (in jvs) on Linux. Hi, I got problem with jv1... bh3 342% jv1< N.dat Segmentation fault Traced to large static arrays in jv1, modified source to use dynamically allocated arrays. bhbgCommand 'cdi; setenv CFLAGS "-O3"; setenv FFLAGS "-O3"; Installz jvs' vnallbgCommand 'cdi; scp root@vnfe1:/usr/tmp/install/Installz .' vnallbgCommand 'cdi; setenv CFLAGS "-O3"; setenv FFLAGS "-O3"; Installz jvs' ############################################################ Mon Dec 20 14:15:20 PST 1999 ############################################################ (1) Trashed bh6 trying to update eepro100.c, Jason re-installed ############################################################ Mon Dec 20 14:17:09 PST 1999 ############################################################ ############################################################ ### Secondary set-up of new bh[n] machine ### (bh6 in this instance) ### Assumes scripts/do_setup on bh floppy has been executed ############################################################ ###--------------------------------------------------------- ### (1) SSH ###--------------------------------------------------------- # Accumulate keys in # matt@laplace.physics.ubc.ca:~/.ssh/master_authorized_keys # (Delete old host entries if necessary) telnet bh6 # login as matt su cd /tmp ftp laplace <& world.log If there is a BootstrapCFlags, take its value and type: % make World BOOTSTRAPCFLAGS="value" >& world.log Do not call the output file "make.log" when doing "make World". After a successful build, you can install with: % make install >& install.log You can install manual pages with: % make install.man >& man.log While the system is building (or if things fail), read the rest of these installation instructions. 2. Building X This document gives detailed instructions for building Release 6: get- ting it off the distribution medium, configuring, compiling, installing, running, and updating. Release Notes are in xc/RELNOTES.* (various formats) in the distribu- tion. More recent information about newly-discovered problems may be found in the Frequently Asked Questions posting appearing monthly on the comp.windows.x newsgroup and xpert mailing list. It is also available via anonymous FTP on ftp.x.org in the file contrib/faqs/FAQ.Z, or on your local X mirror site. 2.1. Preparing the Site If you are unpacking tar files, you will need about 130 Mb to hold the xc/ part. To install requires 30-50 Mb assuming you have shared libraries (80-100 Mb without). You will need an equivalent amount of extra space to build, since you also need room for all the object files. Distributed as tar files, Release 6.3 core is divided into parts as fol- lows: xc-1.tar contains everything in xc/ that isn't in the other tar files xc-2.tar contains xc/fonts, xc/doc/specs, xc/util xc-3.tar contains xc/doc/hardcopy If you define BuildFonts to NO, you only need to unpack xc-1.tar to build. If you build fonts, then you will also need xc-2.tar to build. 2.2. Unpacking the Distribution The distribution normally comes as multiple tar files, either on tape or across a network, or as a CD-ROM. 2.2.1. Unpacking a Compressed FTP Distribution If you have obtained compressed tar files over the network, create a directory to hold the sources and cd into it: mkdir sourcedir cd sourcedir Then for each tar file xc-*.tar.Z, execute this: zcat ftp-dir/xc-N.tar.Z | tar xf - 2.2.2. Unpacking a gzipped FTP Distribution If you have obtained gzipped tar files over the network, create a direc- tory to hold the sources and cd into it: mkdir sourcedir cd sourcedir Then for each tar file xc-*.tar.gz, execute this: gunzip -c ftp-dir/xc-N.tar.gz | tar xf - 2.2.3. Unpacking a Split Compressed FTP Distribution If you have obtained compressed and split tar files over the network, create a directory to hold the sources: mkdir sourcedir Then for each directory xc-*: cd ftp-dir/xc-N cat xc-N.?? | uncompress | (cd sourcedir; tar xf -) 2.2.4. Unpacking the Tape Distribution If you have obtained a tape, create a directory to hold the sources and untar everything into that directory: mkdir sourcedir cd sourcedir tar xf tape-device 2.2.5. Using the CD-ROM If you have obtained a CD-ROM, you don't have to do anything to unpack it. However, you will have to create a symbolic link tree to build X. See the next section. To mount the CD-ROM, see the mount(8) manual page on your system or the liner notes that came with the CD-ROM. Some systems, e.g., Solaris 2, can automatically mount the CD-ROM for you. 2.3. Apply Patches If there are fixes released that are more recent than your distribution, apply them now. Follow the instructions at the top of each patch, but don't do any make commands. See the section "Public Patches" later in this document. Then continue here. 2.4. Symbolic Link Trees If you expect to build the distribution on more than one machine using a shared source tree, or you are building from CD-ROM, or you just want to keep the source tree pure, you may want to use the program xc/con- fig/util/lndir.c to create a symbolic link tree on each build machine. The links may use an additional 10 megabytes, but it is cheaper than having multiple copies of the source tree. It may be tricky to compile lndir before the distribution is built. If you have a copy from a previous release, use that. Makefile.ini can be used for building lndir the first time. You may have to specify OSFLAGS=-Dsomething to get it to compile. What you would pass as BOOT- STRAPCFLAGS might work. The command line looks something like this: make -f Makefile.ini OSFLAGS=-Dflag To use a symbolic link tree, create a directory for the build, cd to it, and type this: lndir sourcedir where sourcedir is the pathname of the directory where you stored the sources. All of the build instructions given below should then be done in the build directory on each machine, rather than in the source direc- tory. xc/config/util/mkshadow/ contains mkshadow, an alternative program to lndir. 2.5. Configuration Parameters Build information for each source directory is in files called Imake- file. An Imakefile, along with local configuration information in xc/config/cf/, is used by the program imake to generate a Makefile. Most of the configuration work prior to building the release is to set parameters so that imake will generate correct files. Most of those parameters are set in xc/config/cf/site.def. You will also need to check the appropriate vendor-specific .cf file in xc/config/cf/ to make sure that OSMajorVersion, OSMinorVersion, and OsTeenyVersion are set correctly for your system. Override them in site.def if necessary. The site.def file has two parts, one protected with "#ifdef BeforeVen- dorCF" and one with "#ifdef AfterVendorCF". The file is actually pro- cessed twice, once before the .cf file and once after. About the only thing you need to set in the "before" section is HasGcc2; just about everything else can be set in the "after" section. The sample site.def also has commented out support to include another file, host.def. This scheme may be useful if you want to set most parameters site-wide, but some parameters vary from machine to machine. If you use a symbolic link tree, you can share site.def across all machines, and give each machine its own copy of host.def. The config parameters are listed in xc/config/cf/README, but here are some of the more common parameters that you may wish to set in site.def. ProjectRoot The destination where X will be installed. This variable needs to be set before you build, as some programs that read files at run- time have the installation directory compiled in to them. Assuming you have set the variable to some value /path, files will be installed into /path/bin, /path/include/X11, /path/lib, and /path/man. HasGcc Set to YES to build with gcc version 1. HasGcc2 Set to YES to build with gcc version 2. Both this option and Has- Gcc look for a compiler named gcc, but HasGcc2 will cause the build to use more features of gcc 2, such as the ability to compile shared libraries. BuildXInputExt Set to YES to build the X Input Extension. This extension requires device-dependent support in the X server, which exists only in Xhp in our implementation. BuildPexExt Set to NO to not build the PEX server extension and fonts. DefaultUsrBin This is a directory where programs will be found even if PATH is not set in the environment. It is independent of ProjectRoot and defaults to /usr/bin. It is used, for example, when connecting from a remote system via rsh. The rstart program installs its server in this directory. InstallServerSetUID Some systems require the X server to run as root to access the devices it needs. If you are on such a system and will not be using xdm, you can set this variable to YES to install the X server setuid to root. Note that the X server has not been analyzed by the X Consortium for security in such an installation; talk to your system manager before setting this variable. InstallXdmConfig By default set to NO, which suppresses installing xdm config files over existing ones. Leave it set to NO if your site has customized the files in /usr/X11R6.3/lib/X11/xdm, as many sites do. If you don't install the new files, merge any changes present in the new files. MotifBC Causes Xlib and Xt to work around some bugs in older versions of Motif. Set to YES only if you will be linking with Motif version 1.1.1, 1.1.2, or 1.1.3. GetValuesBC Setting this variable to YES allows illegal XtGetValues requests with NULL ArgVal to usually succeed, as R5 did. Some applications erroneously rely on this behavior. Support for this will be removed in a future release. The following vendor-specific .cf files are in the release but have not been tested recently and hence probably need changes to work: apollo.cf, bsd.cf, convex.cf, DGUX.cf, luna.cf, macII.cf, Mips.cf, moto.cf, Oki.cf, pegasus.cf, x386.cf. Amoeba.cf is known to require additional patches. The file xc/lib/Xdmcp/Wraphelp.c, for XDM-AUTHORIZATION-1, is not included in this release. 2.6. System Build Notes This section contains hints on building X with specific compilers and operating systems. If the build isn't finding things right, make sure you are using a com- piler for your operating system. For example, a pre-compiled gcc for a different OS will not have right symbols defined, so imake will not work correctly. 2.6.1. gcc gcc version 2 is in regular use at the X Consortium on Sparc platforms. Set the variable HasGcc2. X will not compile on some systems with gcc version 2.5, 2.5.1, or 2.5.2 because of an incorrect declaration of mem- move() in a gcc include file. If you are using a gcc version older than 2.7 on Solaris x86, you need to specify BOOTSTRAPCFLAGS="-Dsun" in the "make World" command. 2.6.2. Other GNU tools Use of the GNU assembler, as, or linker, ld, is not supported. GNU make is not supported. 2.6.3. SparcWorks 2.0 If you have a non-threaded program and want to debug it with the old SparcWorks 2.0 dbx, you will need to use the thread stubs library in xc/util/misc/thr_stubs.c. Compile it as follows: cc -c thr_stubs.c ar cq libthr_stubs.a thr_stubs.o ranlib libthr_stubs.a Install libthr_stubs.a in the same directory with your X libraries (e.g., /usr/X11R6.3/lib/libthr_stubs.a). Add the following line to site.def: #define ExtraLibraries -lsocket -lnsl $(CDEBUGFLAGS:-g=-lthr_stubs) This example uses a make macro substitution; not all make implementa- tions support this feature. 2.6.4. CenterLine C under Solaris 2 If you are using the CenterLine C compiler to compile the distribution under Solaris 2, place the following line in your site.def: #define HasCenterLineC YES If clcc is not in your default search path, add this line to site.def: #define CcCmd /path/to/your/clcc If you are using CodeCenter 4.0.4 or earlier, the following files trig- ger bugs in the clcc optimizer: xc/programs/Xserver/cfb16/cfbgetsp.c xc/programs/Xserver/cfb16/cfbfillsp.c xc/programs/Xserver/cfb/cfbgetsp.c Thus to build the server, you will have to compile these files by hand with the -g flag: % cd xc/programs/Xserver/cfb16 % make CDEBUGFLAGS="-g" cfbgetsp.o cfbfillsp.o % cd ../cfb % make CDEBUGFLAGS="-g" cfbgetsp.o This optimizer bug appears to be fixed in CodeCenter 4.0.6. 2.6.5. IBM AIX 4.1.4 On AIX 4.1.4, the file lib/font/Type1/objects.c must be compiled without optimization (-O) else the X server will exit when Type 1 fonts are used. 2.6.6. SunOS 4 SunOS 4.0 and earlier need BOOTSTRAPCFLAGS=-DNOSTDHDRS because they do not have unistd.h nor stdlib.h. Do not supply a BOOTSTRAPCFLAGS when building any SunOS 4.1 version. 2.6.7. Microsoft Windows NT All of the base libraries are supported, including multi-threading in Xlib and Xt, but some of the more complicated applications, specifically xterm and xdm, are not supported. There are also some other rough edges in the implementation, such as lack of support for non-socket file descriptors as Xt alternate inputs and not using the registry for configurable parameters like the system filenames and search paths. The Xnest server has been made to run on NT. It requires a real X server for output still. 2.6.8. Omron Luna The Omron Luna platform is no longer supported. The Luna version of the make program doesn't define the standard macro MAKE, so you must run it as "make MAKE=make" at top level, e.g., "make MAKE=make World". 2.7. The Build On NT, type nmake World.Win32 > world.log On other systems, find the BootstrapCFlags line, if any, in the vendor- specific .cf file. If there isn't one, type % make World >& world.log otherwise type % make World BOOTSTRAPCFLAGS="value" >& world.log You can call the output file something other than "world.log", but do not call it "make.log" because files with this name are automatically deleted during the "cleaning" stage of the build. Because the build can take several hours to complete, you will probably want to run it in the background and keep a watch on the output. For example: % make World >& world.log & % tail -f world.log If something goes wrong, the easiest thing is to just start over (typing "make World" again) once you have corrected the problem. 2.8. Installing X If everything is built successfully, you can install the software by typing the following as root: % make install >& install.log Again, you might want to run this in the background and use tail to watch the progress. You can install the manual pages by typing the following as root: % make install.man >& man.log 2.8.1. System Installation Notes This section contains hints on installing and using X with specific com- pilers and operating systems. 2.8.1.1. The X Server on AIX 4 For IBM's AIX 4, you need to make sure the LFT device is associated with the correct graphics adapter. It's a one-time setup that does not hap- pen automatically, even if there's only one graphics adapter in the sys- tem. To configure the LFT device properly, become root and start SMIT. Go to the "Devices" category, choose "LFT", then "Displays", then "Move the LFT to Another Display". Select "Both" for when the change should take effect, then select the display adapter where you want to run the X server. Confirm the changes and exit SMIT; from now on, you should be able to run the server just fine. To run Xibm from xdm, you must provide the "-force" flag on the server command line in the Xservers file. 2.9. Shared Libraries The version number of some of the the shared libraries has been changed. On SunOS 4, which supports minor version numbers for shared libraries, programs linked with the R6 libraries will use the new libraries with no special action required. On other platforms you have the following choices: 1. Keep the old versions of the libraries around. 2. Relink all applications with the new libraries. 3. Create a link from the old name to the new name. For example, to have programs that were linked against libX11.so.6.0 use libX11.so.6.3, make this link: ln -s libX11.so.6.3 libX11.so.6.0 2.10. Setting Up xterm If your /etc/termcap and /usr/lib/terminfo databases do not have correct entries for xterm, use the sample entries provided in the directory xc/programs/xterm/. System V users may need to compile and install the terminfo entry with the tic utility. Since each xterm will need a separate pseudoterminal, you need a reason- able number of them for normal execution. You probably will want at least 32 on a small, multiuser system. On most systems, each pty has two devices, a master and a slave, which are usually named /dev/tty[pqrstu][0-f] and /dev/pty[pqrstu][0-f]. If you don't have at least the "p" and "q" sets configured (try typing "ls /dev/?ty??"), you should have your system administrator add them. This is commonly done by running the MAKEDEV script in the /dev directory with appropriate arguments. 2.11. Starting Servers at System Boot The xfs and xdm programs are designed to be run automatically at system startup. Please read the manual pages for details on setting up config- uration files; reasonable sample files are in xc/programs/xdm/config/ and xc/programs/xfs/. 2.11.1. On BSD-based systems using /etc/rc If your system uses an /etc/rc file at boot time, you can usually enable these programs by placing the following at or near the end of the file: if [ -f /usr/X11R6.3/bin/xfs ]; then /usr/X11R6.3/bin/xfs & echo -n ' xfs' fi if [ -f /usr/X11R6.3/bin/xdm ]; then /usr/X11R6.3/bin/xdm; echo -n ' xdm' fi Since xfs can serve fonts over the network, you do not need to run a font server on every machine with an X display. You should start xfs before xdm, since xdm may start an X server which is a client of the font server. The examples here use /usr/X11R6.3/bin, but if you have installed into a different directory by setting (or unsetting) ProjectRoot then you need to substitute the correct directory. If you are unsure about how system boot works, or if your system does not use /etc/rc, consult your system administrator for help. 2.11.2. On SystemV-based systems There are two ways you can get On systems with a /etc/inittab file, you can edit this file to add the lines xfs:3:once:/usr/X11R6.3/bin/xfs xdm:3:once:/usr/X11R6.3/bin/xdm On some systems, you can edit a file in /etc/init.d to run the X Consor- tium xdm instead of the vendor's product xdm. On Sony this file is /etc/init.d/consxdm. On IRIX edit /etc/init.d/xdm. 2.12. Using OPEN LOOK applications You can use the X11R6 Xsun server with OPEN LOOK applications, but you must pass the -swapLkeys flag to the server on startup, or the OPEN LOOK Undo, Copy, Paste, Find, and Cut keys may not work correctly. For exam- ple, to run Sun's OpenWindows 3.3 desktop environment with an X11R6 server, use the command: % openwin -server /usr/X11R6.3/bin/Xsun -swapLkeys The keysyms reported by keys on the numeric keypad have also changed since X11R5; if you find that OpenWindows applications do not respond to keypad keys and cursor control keys when using the R6 server, you can remap the keypad to generate R5 style keysyms using the following xmodmap commands: keysym Pause = F21 keysym Print = F22 keysym Break = F23 keysym KP_Equal = F24 keysym KP_Divide = F25 keysym KP_Multiply = F26 keysym KP_Home = F27 keysym KP_Up = Up keysym KP_Prior = F29 keysym KP_Left = Left keycode 100 = F31 keysym KP_Right = Right keysym KP_End = F33 keysym KP_Down = Down keysym KP_Next = F35 keysym KP_Insert = Insert keysym KP_Delete = Delete 2.13. Rebuilding after Patches You shouldn't need this right away, but eventually you are probably going to make changes to the sources, for example by applying any public patches that may be released. Each patch comes with explicit instructions at the top of it saying what to do. Thus the procedure here is only an overview of the types of com- mands that might be necessary to rebuild X after changing it. If you are building from CD-ROM, apply the patches to the symbolic link tree. The links to changed files will be replaced with local files con- taining the new contents. If only source files are changed, you should be able to rebuild just by going to the xc directory in your build tree and typing: % make >& make.log If configuration files are changed, the safest thing to do is type: % make Everything >& every.log "Everything" is similar to "World" in that it rebuilds every Makefile, but unlike "World" it does not delete the existing objects, libraries, and executables, and only rebuilds what is out of date. 2.14. Formatting the Documentation The PostScript files in xc/doc/hardcopy can be generated from the sources in xc/doc/specs. Most of the documentation is in troff using the -ms macros. The easiest way to format it is to use the Imakefiles provided. Set the name of your local troff program by setting the variable Trof- fCmd in xc/config/cf/site.def. Then build the Makefiles: cd xc/doc make SUBDIRS=specs Makefiles Finally, go to the directory you are interested in and type "make" there. This command will generate .PS files. You can also generate text files by specifying the document name with a .txt extension as a make target, e.g., "make icccm.txt". ############################################################ Tue Mar 7 19:20:15 PST 2000 ############################################################ (1) Need to re-install some software bhbgCommand 'cdi; test -d rnpl && /bin/rm -rf rnpl; tar zxf ~matt/autoconf/rnpl.tar.gz; cd rnpl; opt; configure --prefix=/usr/local; make full' bhbgCommand 'cdi; test -d svs && /bin/rm -rf svs; tar zxf ~matt/autoconf/svs.tar.gz; cd svs; opt; configure --prefix=/usr/local; make install' bhbgCommand 'cdi; test -d rvs && /bin/rm -rf rvs; tar zxf ~matt/autoconf/rvs.tar.gz; cd rvs; opt; configure --prefix=/usr/local; make install' bhbgCommand 'cdi; test -d rvsso && /bin/rm -rf rvsso; tar zxf ~matt/autoconf/rvsso.tar.gz; cd rvsso; opt; configure --prefix=/usr/local; make install' bhbgCommand 'cdi; test -d sv && /bin/rm -rf sv; tar zxf ~matt/autoconf/sv.tar.gz; cd sv; opt; configure --prefix=/usr/local; make install' ############################################################ Mon Mar 13 11:46:40 PST 2000 ############################################################ (1) With NFS/mv problems, comes realization (thanks Bill!) that bh[12345] and vnfe[123] are still running the old kernels. First course of action is to install new kernels on bh[12345] cd /usr/src/linux # EXTRAVERSION = -7Pmdksmp # In top-level Makefile make mrproper make xconfig # ... and with luck, load linux.conf make dep make bzImage make modules cd / cp -r boot boot.O cd /lib cp -r modules modules.O cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.2.13-7Pmdksmp # Modify /etc/lilo.conf image=/boot/vmlinuz-2.2.13-7Pmdksmp label=linux-new root=/dev/hda1 read-only # Rebooted successfully, can try booting from the new kernel tomorrow make modules_install ############################################################ Mon Mar 13 11:53:22 PST 2000 ############################################################ Implementing and testing cloning of kernel # NEXT_ACTION: IMPLEMENT AND TEST CLONING scp ... /boot/vmlinuz-2.2.13-7Pmdksmp scp -r ... /lib/modules/2.2.13-7Pmdksmp scp ... /etc/lilo.conf /sbin/lilo # As matt@bh1 bhnewK (via vnnewK) # Master /boot /lib in matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master # As matt@laplace cd system/bh/image/master mkdir boot lib ls /usr2/people/matt/system/vn/image/master/boot vmlinuz-2.2.13-7Pmdksmp ls /usr2/people/matt/system/vn/image/master/lib/modules 2.2.13-7Pmdksmp # As root@bh6 cd /boot Rcp vmlinuz-2.2.13-7Pmdksmp # As matt@laplace cd system/bh/image/master/boot scp root@bh6.physics.ubc.ca:/boot/vmlinuz-2.2.13-7Pmdksmp . # As too@bh6 cd /lib/modules Rcp 2.2.13-7Pmdksmp # As matt@laplace cd system/bh/image/master/lib/ mkdir modules cd system/bh/image/master/lib/modules scp -r root@bh6.physics.ubc.ca:/lib/modules/2.2.13-7Pmdksmp . # Now need equivalent of ~/system/vn/image/master/etc/lilo.conf.nodes.new ~/system/bh/image/master/etc/lilo.conf.bh.master #--------------------------------------------------------------------- boot=/dev/hda map=/boot/map install=/boot/boot.b prompt timeout=50 image=/boot/vmlinuz-2.2.13-7Pmdksmp label=linux root=/dev/hda1 read-only image=/boot/vmlinuz-2.2.13-7mdksmp label=linux-old root=/dev/hda1 read-only image=/boot/vmlinuz-2.2.13-7mdk label=linux-up root=/dev/hda1 read-only #--------------------------------------------------------------------- # bhnewK done, need guinea pig ... stay tuned # As root@bh1 bhnewK Added linux * Added linux-old Added linux-up + sleep 2 + test -f /boot/vmlinuz-2.2.13-7Pmdksmp + ls -t /boot/vmlinuz-2.2.13-7Pmdksmp /boot/vmlinuz-2.2.13-7Pmdksmp + test -d /lib/modules/2.2.13-7Pmdksmp + ls -lt /lib/modules/2.2.13-7Pmdksmp total 26 drwxr-xr-x 2 root root 1024 Mar 13 12:22 block drwxr-xr-x 2 root root 3072 Mar 13 12:22 misc -rw-r--r-- 1 root root 16630 Mar 13 12:22 modules.dep drwxr-xr-x 2 root root 1024 Mar 13 12:22 video drwxr-xr-x 2 root root 1024 Mar 13 12:21 ipv4 drwxr-xr-x 2 root root 1024 Mar 13 12:21 net drwxr-xr-x 2 root root 1024 Mar 13 12:21 fs # reboot [root@bh1]# uname -a Linux bh1.physics.ubc.ca 2.2.13-7Pmdksmp #1 SMP Fri Dec 24 08:38:47 PST 1999 i686 unknown [root@bh1]# grep eepro /var/log/messages Mar 13 12:23:55 bh1 kernel: eepro100.c:v1.09t 9/29/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html # Do the same for bh2 bh3 bh4 bh5 ssh bh2 bhnewK ssh bh3 bhnewK ssh bh4 bhnewK ssh bh5 bhnewK ssh bh2 reboot ssh bh3 reboot ssh bh4 reboot ssh bh5 reboot bhCommand 'uname -a' [root@bh1]# bhCommand uname -a >>> Executing as root@142.103.235.51 Linux bh1.physics.ubc.ca 2.2.13-7Pmdksmp #1 SMP Fri Dec 24 08:38:47 PST 1999 i686 unknown >>> Executing as root@142.103.235.52 Linux bh2.physics.ubc.ca 2.2.13-7Pmdksmp #1 SMP Fri Dec 24 08:38:47 PST 1999 i686 unknown >>> Executing as root@142.103.235.53 Linux bh3.physics.ubc.ca 2.2.13-7Pmdksmp #1 SMP Fri Dec 24 08:38:47 PST 1999 i686 unknown >>> Executing as root@142.103.235.54 Linux bh4.physics.ubc.ca 2.2.13-7Pmdksmp #1 SMP Fri Dec 24 08:38:47 PST 1999 i686 unknown >>> Executing as root@142.103.235.55 Linux bh5.physics.ubc.ca 2.2.13-7Pmdksmp #1 SMP Fri Dec 24 08:38:47 PST 1999 i686 unknown >>> Executing as root@142.103.235.56 Linux bh6.physics.ubc.ca 2.2.13-7Pmdksmp #1 SMP Fri Dec 24 08:38:47 PST 1999 i686 unknown bhCommand 'grep eepro /var/log/messages' | grep -i becker Mar 13 12:23:55 bh1 kernel: eepro100.c:v1.09t 9/29/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html Mar 13 12:28:48 bh2 kernel: eepro100.c:v1.09t 9/29/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html Mar 13 12:30:02 bh3 kernel: eepro100.c:v1.09t 9/29/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html Mar 13 12:30:02 bh4 kernel: eepro100.c:v1.09t 9/29/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html Mar 13 12:31:26 bh5 kernel: eepro100.c:v1.09t 9/29/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html Jan 1 00:00:59 bh6 kernel: eepro100.c:v1.09t 9/29/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html bhCommand 'df' # Looks OK ... kernel upgrade looks OK, can now try to hang via mv/NFS again. ############################################################ Mon Mar 13 13:35:44 PST 2000 ############################################################ (1) Jason hung bh6 via bh1:/home, rebooting bh[123456] using old kernel to (re-)verify that problem is there as well. [root@bh1]# bhCommand 'uname -a' >>> Executing as root@142.103.235.51 Linux bh1.physics.ubc.ca 2.2.13-7mdksmp #1 SMP Wed Sep 15 16:38:50 CEST 1999 i686 unknown >>> Executing as root@142.103.235.52 Linux bh2.physics.ubc.ca 2.2.13-7mdksmp #1 SMP Wed Sep 15 16:38:50 CEST 1999 i686 unknown >>> Executing as root@142.103.235.53 Linux bh3.physics.ubc.ca 2.2.13-7mdksmp #1 SMP Wed Sep 15 16:38:50 CEST 1999 i686 unknown >>> Executing as root@142.103.235.54 Linux bh4.physics.ubc.ca 2.2.13-7mdksmp #1 SMP Wed Sep 15 16:38:50 CEST 1999 i686 unknown >>> Executing as root@142.103.235.55 Linux bh5.physics.ubc.ca 2.2.13-7mdksmp #1 SMP Wed Sep 15 16:38:50 CEST 1999 i686 unknown >>> Executing as root@142.103.235.56 Linux bh6.physics.ubc.ca 2.2.13-7mdksmp #1 SMP Wed Sep 15 16:38:50 CEST 1999 i686 unknown bhCommand df # Looks OK # No problem hanging up bh6 again, so will bring everything up with new kernels ############################################################ Mon Mar 13 17:17:28 PST 2000 ############################################################ (1) Will try building and installing nfs-utils via cd /usr/src/linux make clean make mrproper make oldconfig make dep cdi rpm --rebuild nfs-utils-0.1.5-1mdk.src.rpm bhCommand 'cd /usr/src/linux; make clean; make mrproper; make oldconfig; make dep;' bhCommand 'cdi; scp matt@laplace:~/system/UNIX_SETUP/linux_src/nfs-utils-0.1.5-1mdk.src.rpm .; rpm --rebuild nfs-utils-0.1.5-1mdk.src.rpm' bhCommand 'ls /usr/src/RPM/RPMS/i686/*nfs*' >>> Executing as root@142.103.235.51 /usr/src/RPM/RPMS/i686/nfs-utils-0.1.5-1mdk.i686.rpm /usr/src/RPM/RPMS/i686/nfs-utils-clients-0.1.5-1mdk.i686.rpm >>> Executing as root@142.103.235.52 /usr/src/RPM/RPMS/i686/nfs-utils-0.1.5-1mdk.i686.rpm /usr/src/RPM/RPMS/i686/nfs-utils-clients-0.1.5-1mdk.i686.rpm >>> Executing as root@142.103.235.53 /usr/src/RPM/RPMS/i686/nfs-utils-0.1.5-1mdk.i686.rpm /usr/src/RPM/RPMS/i686/nfs-utils-clients-0.1.5-1mdk.i686.rpm >>> Executing as root@142.103.235.54 /usr/src/RPM/RPMS/i686/nfs-utils-0.1.5-1mdk.i686.rpm /usr/src/RPM/RPMS/i686/nfs-utils-clients-0.1.5-1mdk.i686.rpm >>> Executing as root@142.103.235.55 /usr/src/RPM/RPMS/i686/nfs-utils-0.1.5-1mdk.i686.rpm /usr/src/RPM/RPMS/i686/nfs-utils-clients-0.1.5-1mdk.i686.rpm >>> Executing as root@142.103.235.56 /usr/src/RPM/RPMS/i686/nfs-utils-0.1.5-1mdk.i686.rpm /usr/src/RPM/RPMS/i686/nfs-utils-clients-0.1.5-1mdk.i686.rpm (2) Now need to redo this with proper configuration make xconfig (load ...) linux.conf ?? cd system f linux.conf (3) bhCommand 'cd /root; scp matt@laplace:~/system/bh/image/master/kernel/linux.conf .' bhCommand 'wc /root/linux.conf' bhCommand 'cd /usr/src/linux; make clean; make mrproper; make xconfig; make dep;' bhCommand 'view /usr/src/linux/Makefile' bhCommand 'cd /usr/src/linux; bu Makefile; scp matt@laplace:~/system/bh/image/master/usr/src/linux-2.2.13/Makefile .; cat Makefile' bhCommand 'grep EXTRAVERSION /usr/src/linux/Makefile' bhCommand 'cdi; rpm --rebuild nfs-utils-0.1.5-1mdk.src.rpm' Finding Provides: (using /usr/lib/rpm/find-provides)... Finding Requires: (using /usr/lib/rpm/find-requires)... Provides: knfsd-clients knfsd-lock PreReq: /bin/sh Requires: kernel >= 2.2.5 portmap >= 4.0 ld-linux.so.2 libc.so.6 /bin/sh libc.so.6(GLIBC_2.0) Obsoletes: knfsd-clients knfsd-lock Wrote: /usr/src/RPM/RPMS/i686/nfs-utils-0.1.5-1mdk.i686.rpm Wrote: /usr/src/RPM/RPMS/i686/nfs-utils-clients-0.1.5-1mdk.i686.rpm bhCommand 'ls -lt /usr/src/RPM/RPMS/i686/*nfs*' bhCommand 'rpm -qa | grep nfs' [matt@bh1 src]$ bhCommand 'rpm -qa | grep nfs' >>> Executing as root@142.103.235.51 knfsd-1.4.1-2mdk knfsd-clients-1.4.1-2mdk >>> Executing as root@142.103.235.52 knfsd-1.4.1-2mdk knfsd-clients-1.4.1-2mdk >>> Executing as root@142.103.235.53 knfsd-1.4.1-2mdk knfsd-clients-1.4.1-2mdk >>> Executing as root@142.103.235.54 knfsd-1.4.1-2mdk knfsd-clients-1.4.1-2mdk >>> Executing as root@142.103.235.55 knfsd-1.4.1-2mdk knfsd-clients-1.4.1-2mdk >>> Executing as root@142.103.235.56 knfsd-1.4.1-2mdk knfsd-clients-1.4.1-2mdk ############################################################ Tue Mar 14 08:34:26 PST 2000 ############################################################ (1) Tape not working on bh1, check BIOS, disable PNP, *BOOT* message (i.e. firmware) complains about no SCSI BIOS but that may be normal # As root@bh1 cd /etc # As matt@laplace cd system/bh/image/master/etc scp root@bh1:/etc/stinit.def . # Oops .. using new kernel which has no SCSI support!! # Reboot using old kernel (actually better to change # root@bh1:/etc/lilo.conf so that old boots by default) (2) Rebooting using old kernel still didn't fix things, currently have to manually install module insmod /lib/modules/2.2.13-7mdksmp/scsi/aic7xxx.o stinit # modprobe, depmod?? # Note: vnfe2 has module loaded apparently, can't unload module # safely because of dependencies---will have to wait for other # down time (3) For time being mung bh1:/etc/rc.d/rc.local to execute insmod /lib/modules/2.2.13-7mdksmp/scsi/aic7xxx.o stinit ############################################################ Tue Mar 14 09:10:40 PST 2000 strace of typical "hang" via mv ############################################################ [root@bh6]# strace mv pub pub.O execve("/bin/mv", ["mv", "pub", "pub.O"], [/* 34 vars */]) = 0 brk(0) = 0x8052a2d open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or director y) open("/usr/local/lib/i686/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/local/lib/i686/mmx", 0x7ffff3bc) = -1 ENOENT (No such file or dire ctory) open("/usr/local/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/local/lib/i686", 0x7ffff3bc) = -1 ENOENT (No such file or director y) open("/usr/local/lib/mmx/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or d irectory) stat("/usr/local/lib/mmx", 0x7ffff3bc) = -1 ENOENT (No such file or director y) open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or direc tory) stat("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=45476, ...}) = 0 mmap(NULL, 45476, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aac0000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0755, st_size=1286208, ...}) = 0 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0G\205\1"..., 4096) = 4096 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x 2aacc000 mmap(NULL, 1025692, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2aacd000 mprotect(0x2abc0000, 30364, PROT_NONE) = 0 mmap(0x2abc0000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf20 00) = 0x2abc0000 mmap(0x2abc4000, 13980, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONY close(3) = 0 mprotect(0x2aacd000, 995328, PROT_READ|PROT_WRITE) = 0 mprotect(0x2aacd000, 995328, PROT_READ|PROT_EXEC) = 0 munmap(0x2aac0000, 45476) = 0 personality(PER_LINUX) = 0 getpid() = 25705 brk(0) = 0x8052a2d brk(0x8052bcd) = 0x8052bcd brk(0x8053000) = 0x8053000 geteuid() = 0 umask(0) = 022 ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0 stat("pub.O", 0x7ffff85c) = -1 ENOENT (No such file or director y) brk(0x8054000) = 0x8054000 lstat("pub", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 lstat("pub.O", 0x7ffff5d4) = -1 ENOENT (No such file or director y) rename("pub", "pub.O") = 0 _exit(0) ############################################################ Tue Mar 14 09:11:05 PST 2000 ############################################################ (1) Will now try upgrade of NFS on bh5, bh6 Bill's suggestion rpm -e knfsd rpm -Uhv nfs-util* ?? bhTest '/sbin/chkconfig --list | grep -i nfs' >>> Executing as root@142.103.235.55 nfs 0:off 1:off 2:off 3:on 4:off 5:on 6:off >>> Executing as root@142.103.235.56 nfs 0:off 1:off 2:off 3:on 4:off 5:on 6:off bhTest '/sbin/chkconfig --list | grep -i log' [matt@bh1 ~/scripts]$ bhTest '/sbin/chkconfig --list | grep -i log' >>> Executing as root@142.103.235.55 syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off >>> Executing as root@142.103.235.56 syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off # On Bill's new machines cooperon: /sbin/chkconfig --list | grep -i nfs nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off singlet: /sbin/chkconfig --list | grep -i nfs singlet.physics.ubc.ca{choptuik}: /sbin/chkconfig --list | grep -i nfs nfs 0:off 1:off 2:off 3:on 4:off 5:on 6:off [matt@bh1 ~/scripts]$ rpm -aq | grep -i nfs knfsd-1.4.1-2mdk knfsd-clients-1.4.1-2mdk # Backing up Roman, Brock's stuff cd /d/bh5/home/petryk tar cBf - . | (cd /home_bh5/petryk && tar xBf -) cd /d/bh6/home/awilson mkdir -p /home_bh6/awilson tar cBf - . | (cd /home_bh6/awilson && tar xBf -) # As root@bh[56] cd /usr/src/RPM/RPMS/i686 ls nfs-utils-0.1.5-1mdk.i686.rpm nfs-utils-clients-0.1.5-1mdk.i686.rpm rpm -e knfsd cannot remove /var/lib/nfs - directory not empty (?) # May need to unmount all NFS dirs, stop exports etc?? on bh[56] # to uninstall # Modify /etc/fstab /usr/sbin/exportfs -au umount -a mount -a [root@bh6]# rpm -e knfsd error: package knfsd is not installed cd /usr/src/RPM/RPMS/i686 rpm -Uhv nfs-util* bhTest '/sbin/chkconfig --list | grep -i nfs' >>> Executing as root@142.103.235.55 nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off >>> Executing as root@142.103.235.56 nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off bhTest '/sbin/chkconfig nfs on' [matt@bh1 ~/scripts]$ bhTest '/sbin/chkconfig --list | grep -i nfs' >>> Executing as root@142.103.235.55 nfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off >>> Executing as root@142.103.235.56 nfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off # Restore /etc/fstab, /etc/exports bhTest reboot # Both machines reboot, NFS looks OK, except for lockd Mar 14 09:50:20 bh5 nfs: Starting NFS services: succeeded Mar 14 09:50:21 bh5 nfs: rpc.rquotad startup succeeded Mar 14 09:50:21 bh5 nfs: rpc.mountd startup succeeded Mar 14 09:50:22 bh5 nfs: rpc.nfsd startup succeeded Mar 14 09:50:22 bh5 rpc.lockd: lockdsvc: Invalid argument Mar 14 09:50:22 bh5 nfslock: rpc.lockd startup failed Mar 14 09:50:22 bh5 rwhod: rwhod startup succeeded Mar 14 09:50:22 bh5 keytable: Loading keymap: ############################################################ # ... and, unless lockd fixes things, the bug still persists ############################################################ ############################################################ Tue Mar 14 17:00:29 PST 2000 ############################################################ (1) Had Bill ship out 2 3Com network cards, Jason installed in bh[56]. Can still hang with 'mv', so apparently the problem is *NOT* card-related (2) From Jason From jason@physics.ubc.ca Tue Mar 14 18:25:30 2000 Matt, I talked with Bill about the NFS stuff and there are a few other things we could try. One thing is setting rsize=8192,wsize=8192 in the /etc/fstab. This is supposed to make a world of difference in access speed according to the man pages. I've included one of Bill's fstabs below. (Another difference is he uses soft and we use hard, but the man pages say that using hard is better so I'm not sure if we want to change that). Another thing would could try is: tcpdump -i eth0 host where is the machine you're trying to hang. This command should be run on the server. While this is running on the server, mv a file on the client to make it hang. tcpdump should report any info communicated between the client and server (maybe showing what happens at the time mv is run). You can also use a -s 1024 with the above command to set the bytes of data from each packet. See you tomorrow, Jason ---------- Forwarded message ---------- Date: Tue, 14 Mar 2000 17:23:40 -0800 (PST) From: Bill Unruh To: Jason Ventrella Subject: fstab /dev/hda1 / ext2 defaults 1 1 /dev/hda8 /home ext2 defaults 1 2 /dev/hda7 /tmp ext2 defaults 1 2 /dev/hda5 /usr ext2 defaults 1 2 /dev/hda6 none swap sw 0 0 /dev/hda2 /mswin vfat defaults 1 2 /dev/fd0 /mnt/floppy ext2 noauto 0 0 /dev/fd0 /mnt/dosfloppy msdos noauto 0 0 /dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0 none /proc proc defaults 0 0 none /dev/pts devpts gid=5,mode=620 0 0 diskhost1:/disk1/usr /disk1/usr nfs rw,rsize=8192,wsize=8192,soft,bg,intr 0 0 diskhost2:/disk2/usr /disk2/usr nfs rw,rsize=8192,wsize=8192,soft,bg,intr 0 0 diskhost2:/disk2/usr1 /disk2/usr1 nfs rw,rsize=8192,wsize=8192,soft,bg,intr 0 0 mailhost:/var/spool/mail /var/spool/mail nfs async,mountvers=2,rw,rsize=8192,wsize=8192,soft,bg,intr 0 0 diskhost3:/usr /disk3/usr nfs rw,rsize=8192,wsize=8192,soft,bg,intr 0 0 diskhost4:/usr/disk4 /disk4 nfs rw,rsize=8192,wsize=8192,soft,bg,intr 0 0 #diskhost5:/disk5 /disk5 nfs rw,rsize=8192,wsize=8192,soft,bg,intr 0 0 diskhost6:/disk6 /disk6 nfs rw,rsize=8192,wsize=8192,soft,bg,intr 0 0 diskhost7:/disk7 /disk7 nfs rw,rsize=8192,wsize=8192,soft,bg,intr 0 0 diskhost8:/disk8 /disk8 nfs rw,rsize=8192,wsize=8192,soft,bg,intr 0 0 ##magnon:/home /test nfs rw,rsize=8192,soft,bg,intr 0 0 diskhost9:/home /disk9/home nfs rw,rsize=8192,wsize=8192,soft,bg,intr 0 0 diskhost10:/disk10 /disk10 nfs rw,rsize=8192,wsize=8192,soft,bg,intr 0 0 string:/usr /string/usr nfs rw,rsize=8192,wsize=8192,soft,bg,intr 0 0 string:/usr/local /string/usr/local nfs rw,rsize=8192,wsize=8192,soft,bg,intr 0 0 diskhost11:/home /disk11/home nfs rw,rsize=8192,wsize=8192,soft,bg,intr 0 0 doublet:/local /linux/local nfs rw,rsize=8192,wsize=8192,soft,bg,intr 0 0 ############################################################ Wed Mar 15 08:25:14 PST 2000 ############################################################ (1) Try hard -> soft in bh[56]:/etc/fstab # Nope, but perhaps was harder to crash?? (2) Jason wants to try rsize=8192,wsize=8192 # Nope, and is definitely no harder to crash ... (3) Will try with only bh[56] cross-mounted # Same thing, also hung state definitely # "sounds" different, drawing more power?? (4) Try one last time, then restore state and try having one of Bill's machines be client # [root@bh6]# tcpdump -i eth0 host bh5 tcpdump: listening on eth0 . . . 20) ack 2172 win 32120 (DF) [tos 0x10] 21:18:35.003178 bh6.physics.ubc.ca.1022 > bh5.physics.ubc.ca.ssh: . ack 2644 win 32120 (DF) [tos 0x10] 21:18:35.717728 bh6.physics.ubc.ca.1022 > bh5.physics.ubc.ca.ssh: P 2172:2192(20) ack 2644 win 32120 (DF) [tos 0x10] 21:18:35.721425 bh5.physics.ubc.ca.578834428 > bh6.physics.ubc.ca.nfs: 152 readdir [|nfs] 21:18:35.721557 bh6.physics.ubc.ca.nfs > bh5.physics.ubc.ca.578834428: reply ok 160 readdir [|nfs] 21:18:35.721894 bh5.physics.ubc.ca.595611644 > bh6.physics.ubc.ca.nfs: 156 lookup [|nfs] 21:18:35.721984 bh6.physics.ubc.ca.nfs > bh5.physics.ubc.ca.595611644: reply ok 128 lookup [|nfs] 21:18:35.735935 bh5.physics.ubc.ca.ssh > bh6.physics.ubc.ca.1022: . ack 2192 win 32120 (DF) [tos 0x10] [root@bh5]# cd /d/bh6/home/ftp [root@bh5]# ls bin/ etc/ lib/ pub/ [root@bh5]# cd pub [root@bh5]# ls date [root@bh5]# RM date [root@bh5]# ls [root@bh5]# cd .. [root@bh5]# pwd /d/bh6/home/ftp [root@bh5]# ls bin/ etc/ lib/ pub/ [root@bh5]# mv pub pub.O [root@bh5]# ls (5) Restoring bh[56]:/etc/fstab soft -> hard (on all machines) (6) Can hang up client via laplace:/usr. Try with bh6 not exporting anything, and turn off nfsd ... Nope (7) Opting for upgrade at this point, Jason is working on the 7.0 CD [root@bh6 ftp]# uname -a Linux bh6.physics.ubc.ca 2.2.14-15mdksmp #1 SMP Tue Jan 4 21:36:33 CET 2000 i686 unknown # and apparently no problems with NFS # Update has modified /etc/csh.cshrc /root # Need updated version of secondary script (for new csh.cshrc etc) # bh6's lilo.conf boot=/dev/hda map=/boot/map install=/boot/boot.b vga=normal default=linux keytable=/boot/us.klt prompt timeout=50 message=/boot/message image=/boot/vmlinuz-2.2.13-7mdk label=old1_linux-up root=/dev/hda1 append="" read-only image=/boot/vmlinuz-2.2.13-7mdksmp label=linux-old root=/dev/hda1 append="" read-only image=/boot/vmlinuz-2.2.13-7Pmdksmp label=old_linux root=/dev/hda1 append="" read-only image=/boot/vmlinuz-smp <------------------- label=linux root=/dev/hda1 append="" read-only other=/dev/fd0 label=floppy unsafe image=/boot/vmlinuz label=linux-up root=/dev/hda1 append="" read-only lrwxrwxrwx 1 root root 23 Jan 2 15:55 vmlinuz-smp -> vmlinuz-2.2.14-15mdksmp lrwxrwxrwx 1 root root 23 Jan 2 15:45 System.map -> System.map-2.2.14-15mdk lrwxrwxrwx 1 root root 24 Jan 2 15:45 module-info -> module-info-2.2.14-15mdk lrwxrwxrwx 1 root root 20 Jan 2 15:45 vmlinuz -> vmlinuz-2.2.14-15mdk [root@bh6]# pwd /lib/modules [root@bh6]# ls -lt | more total 9 drwxr-xr-x 8 root root 1024 Dec 24 1999 2.2.13-7Pmdksmp/ drwxr-xr-x 10 root root 1024 Dec 20 1999 2.2.13-7mdksmp/ drwxr-xr-x 11 root root 1024 Dec 20 1999 2.2.13-7mdkfb/ drwxr-xr-x 10 root root 1024 Dec 20 1999 2.2.13-7mdkBOOT/ drwxr-xr-x 11 root root 1024 Dec 20 1999 2.2.13-7mdk/ drwxr-xr-x 10 root root 1024 Dec 20 1999 2.2.13-7mdksmp-fb/ drwxr-xr-x 11 root root 1024 Jan 2 23:58 2.2.14-15mdksmp/ drwxr-xr-x 11 root root 1024 Jan 2 15:45 2.2.14-15mdk/ drwxr-xr-x 11 root root 1024 Jan 2 15:29 2.2.14-15mdkfb/ ############################################################ Thu Mar 16 17:42:51 PST 2000 ############################################################ (1) See matt@vnfe1:~/system/vn/README.KERNEL for info on upgrade to 2.2.14-15mdksmp on bh machines ############################################################ Thu Mar 23 09:08:57 PST 2000 ############################################################ (1) Apparently, something's incomplete with our 7.0 upgrade. Installing, Cichlid-2.0, get gcc -O3 -ffast-math -pipe -g -Wall -pedantic -DGENERIC_UNIX -I../lib -I../contrib -I../contrib_g -c window.c -o window.o perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en", LC_ALL = "Posix", LANG = "en" are supported and installed on your system. Brock previously reported similar problems from C++ # On bh1 man 5 locale . . . FILES /usr/lib/locale/ - database for the current locale setting of that category /usr/lib/nls/charmap/* - charmap-files # On laplace /usr/lib/locale/ system supported locales [root@bh1]# ssh root@laplace 'ls -ltd /usr/lib/locale/' drwxr-xr-x 34 root sys 4096 Jul 19 1998 /usr/lib/locale/ [root@bh1]# ssh root@bh1 'ls -ltd /usr/lib/locale/' ls: /usr/lib/locale: No such file or directory [root@bh1]# ^1^2 ssh root@bh2 'ls -ltd /usr/lib/locale/' ls: /usr/lib/locale: No such file or directory [root@bh1]# ^2^3 ssh root@bh3 'ls -ltd /usr/lib/locale/' ls: /usr/lib/locale: No such file or directory [root@bh1]# ^3^4 ssh root@bh4 'ls -ltd /usr/lib/locale/' ls: /usr/lib/locale: No such file or directory [root@bh1]# ^4^5 ssh root@bh5 'ls -ltd /usr/lib/locale/' ls: /usr/lib/locale: No such file or directory [root@bh1]# ^5^6 ssh root@bh6 'ls -ltd /usr/lib/locale/' ls: /usr/lib/locale: No such file or directory [root@bh1]# ssh root@vnfe1 'ls -ltd /usr/lib/locale/' ls: /usr/lib/locale: No such file or directory [root@bh1]# ssh choptuik@cooperon 'ls -ltd /usr/lib/locale/' /bin/ls: /usr/lib/locale: No such file or localedef ?? # On Linux, locales are where ??? found the information in # *one* of the man pages man 1 perllocale ############################################################ Sat Mar 25 19:08:33 PST 2000 ############################################################ (1) Installing latex2html as per Roman's request # As root@bh1 cdi ncftpget ftp://ftp.mpn.com/pub/latex2html/sources/latex2html-98.1p1.tar.gz ncftpget ftp://ftp.mpn.com/pub/latex2html/sources/manual.ps.gz ncftpget ftp://ftp.mpn.com/pub/latex2html/sources/manual.tar.gz tar zxf latex2html-98.1p1.tar.gz cd latex2html # Requirements http://www-dsed.llnl.gov/files/programs/unix/latex2html/manual/Snode2.html # Fixing perl perlfix 2. Copy the files to the destination directory. Copy the contents of the texinputs/ directory to a place where they will be found by LaTeX, or set up your TEXINPUTS variable to point to that directory. cd /var/tmp/install/latex2html cp -r texinputs /usr/share/texmf/tex/latex/latex2html cd /usr/share tar zxf latex2html-98.1p1.tar.gz cd latex2html If you go on, pstoimg will be configured for GIF or PNG format. You may reconfigure pstoimg at any time by saying configure-pstoimg. Which format do you want to have supported? Answer g (GIF) or p (PNG). g Well done! Pstoimg is now hopefully configured to run on your system. Type `pstoimg -h' for a brief usage information. Given the structure, better to leave the distribution in /usr/share/latex2html cd /usr/local/bin ln -s /usr/share/latex2html/latex2html . bhCommand 'cd /usr/share; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/autoconf/latex2html-98.1p1.tar.gz .; tar zxf latex2html-98.1p1.tar.gz; ls -ltd latex2html' bhCommand 'cd /usr/share/latex2html; perlfix; cp -r texinputs /usr/share/texmf/tex/latex/latex2html; ./install-test' bhCommand 'cd /usr/local/bin; ln -s /usr/share/latex2html/latex2html .; cd; rehash; latex2html; which latex2html' bhCommand 'cd /usr/share/texmf/tex; scp -r matt@laplace.physics.ubc.ca:/d/laplace/usr/local/tex/inputs local' etcbh # Added setenv TEXINPUTS ".:/usr/share/texmf/tex/local:/usr/share/texmf/tex/latex/latex2html:" # to csh.cshrc bhDistEtc csh.cshrc bhCommand 'cd /tmp; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/tex/emkgl.tex . ; latex emkgl; latex emkgl' bhCommand 'cd /tmp; latex2html emkgl' /usr/share/texmf/web2c/texmf.cnf # Can't get this configured !! (latex not finding revtex style file even with TEXINPUTS set explicitly!) # Need to re-make 'ls-R' in /usr/share/texmf bhCommand 'RM -r /usr/share/texmf/tex/latex/latex2html' bhCommand 'RM -r /usr/share/texmf/tex/local' bhCommand 'cd /usr/share/latex2html; perlfix; cp -r texinputs /usr/share/texmf/tex/latex/latex2html;' bhCommand 'cd /usr/share/texmf/tex; scp -r matt@laplace.physics.ubc.ca:/d/laplace/usr/local/tex/inputs local' bhCommand 'cd /usr/share/texmf; bu ls-R; (lino 1 2 < ls-R.O; LS -R) > ls-R; cat ls-R' # Deleted setenv TEXINPUTS ".:/usr/share/texmf/tex/local:/usr/share/texmf/tex/latex/latex2html:" # from csh.cshrc bhDistEtc csh.cshrc bhCommand 'cd /tmp; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/tex/emkgl.tex . ; latex emkgl; latex emkgl' bhCommand 'cd /tmp; latex2html emkgl' # Output leaves something to be desired ############################################################ Fri Mar 31 08:36:52 PST 2000 ############################################################ (1) Reinstalling rvs, rvsso on bh bhCommand 'cdi; ls Install*' bhCommand 'cdi; ls' bhCommand 'cdi; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Install .; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Installz .' cd /usr2/people/matt/system/bh/image/master scp Install Installz root@bh6:/var/tmp/install # Implemented as 'bhii' bhbgCommand 'cdi; Installz rvsso' bhbgCommand 'cdi; Installz rvs' bhbgCommand 'cdi; setenv VSHOST laplace; cd rvs; make test' bhbgCommand 'cdi; setenv VSHOST laplace; cd rvsso; make test' # vn tests don't work, bug in vn ... too much static memory? ############################################################ Sat Apr 15 15:58:48 PDT 2000 ############################################################ (1) Locale problem turned out to be verbatim interpretation of Bill's suggestion to setenv LC_ALL Posix which should be setenv LC_ALL POSIX # As matt@laplace etcbh setenv LC_ALL POSIX bhDistEtc csh.cshrc ############################################################ Fri May 19 11:49:49 PDT 2000 ############################################################ (1) Updating RNPL bhCommand 'cdi; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Install .; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Installz .' bhbgCommand 'cdi; Installz rnpl' ############################################################ Thu Jun 1 17:09:25 PDT 2000 ############################################################ (1) Installing bbh_grace bhCommand 'cdi; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Install .; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Installz .' bhbgCommand 'cdi; Installz bbh_grace' (2) Preliminary 'MPI lam' installation overwrote /usr/local/include/mpi.h, need to re-install 'mpich' bhCommand 'bhMPIinstall' bhbgCommand 'bhMPIinstall' bhCommand 'cdi; Installz bbh_grace' bhbgCommand 'cdi; Installz bbh_grace' ACEUCD.cpp won't compile c++ -c -DLINUX -DWant_c_files -I. -I../include -I/var/tmp/install/bbh_grace/include -I/us r/local/include -DLINUX -DWant_c_files -DIO_RNPLIO -DSTDC_HEADERS=1 -DHAVE_STRDUP=1 -DHAV E_ATEXIT=1 -DLINUX -DF77_HAS_SYSTEM -DF77_HAS_CHDIR -DHAVE_LIBVS=1 -DHAVE_LIBSV=1 -DHAVE_ LIBMPI=1 -DACE_REUSE_GDB -DDEBUG_PRINT -DACE_WRITEBOXES -DDEBUG_PRINT_GD_FILL ACEUCD.cpp In file included from GridData.h:19, from ACEUCD.h:16, from ACEUCD.cpp:11: GridData3.h:59: declaration of `class Type' GridData3.h:56: shadows template parm `class Type' GridData3.h:61: declaration of `class Type' GridData3.h:56: shadows template parm `class Type' GridData3.h:63: declaration of `class Type' GridData3.h:56: shadows template parm `class Type' . . . Reported problem to Scott H From Scott Matt: There is a revision to GridData1.h, GridData2.h, and GridData3.h (the "template" statements are removed and the stream operators are redefined.) Try the versions of these three files in newton:/tmp/bbh_grace, e.g. scp matt@newton.ph.utexas.edu:/tmp/bbh_grace/src/GridData1.h . scp matt@newton.ph.utexas.edu:/tmp/bbh_grace/src/GridData2.h . scp matt@newton.ph.utexas.edu:/tmp/bbh_grace/src/GridData3.h . # Updated matt@laplace.physics.ubc.ca:~/autoconf/bbh_grace bhCommand 'cdi; Installz bbh_grace' bhbgCommand 'cdi; Installz bbh_grace' # Still lots of problems, looks like more header files need # updating ############################################################ Fri Jun 2 10:03:19 PDT 2000 ############################################################ (1) passwd files probably out of synch vis a vis Hanna's (hkr) account bhCommand 'grep hkr /etc/shadow' laplace 21> bhCommand 'grep hkr /etc/shadow' >>> Executing as root@142.103.235.51 hkr:$1$jCuWZ367$gTcMGY3oev5.PFPHo74xZ.:11106:-1:99999:-1:-1:-1:1077103804 >>> Executing as root@142.103.235.52 hkr:$1$jCuWZ367$gTcMGY3oev5.PFPHo74xZ.:11106:-1:99999:-1:-1:-1:1077103804 >>> Executing as root@142.103.235.53 hkr:$1$jCuWZ367$gTcMGY3oev5.PFPHo74xZ.:11106:-1:99999:-1:-1:-1:1077103804 >>> Executing as root@142.103.235.54 >>> Executing as root@142.103.235.55 hkr:$1$jCuWZ367$gTcMGY3oev5.PFPHo74xZ.:11106:-1:99999:-1:-1:-1:1077103804 >>> Executing as root@142.103.235.56 hkr:$1$r/.0/IuW$G2x.EKamWOKk0Br4mjcMc0:11106:-1:99999:-1:-1:-1:1075506364 # Standard procedure starts here, must have Matt's aliases, paths etcbh # Save shadow, passwd (to .O or Archive, note that files may # be write protected # # Update master passwd and shadow from bh1 after adding account scp root@bh1:/etc/shadow . scp root@bh1:/etc/passwd . # Modify encrypted password via local alias 's' sola vs # $1$r/.0/IuW$G2x.EKamWOKk0Br4mjcMc0 # Distribute passwd, shadow bhDistEtc passwd shadow bhCommand 'grep hkr /etc/shadow' ############################################################ Mon Jun 5 07:20:05 PDT 2000 ############################################################ (1) Installing cliser bhCommand 'cdi; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Install .; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Installz .' bhbgCommand 'cdi; Installz cliser' ############################################################ Thu Jun 8 13:32:33 PDT 2000 ############################################################ (1) Installing bbh_xyz_stream bhCommand 'cdi; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Install .; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Installz .' bhbgCommand 'cdi; Installz bbh_xyz_stream' ############################################################ Thu Jun 8 13:32:33 PDT 2000 ############################################################ (1) Installing utilexp bhCommand 'cd /usr/local/include; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/include/mwcstandards.linux.h mwcstandards.h; ls -lt mwcstandards.h' bhCommand 'cd /usr/local/include; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/include/mwcexplorer_types.h .; ls -lt mwcexplorer_types.h' bhCommand 'cd /usr/local/include; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/include/mwcexplorer_types.h .; ls -lt mwcexplorer_types.h' bhCommand 'cd /usr/local/include; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/include/vs_aux_types.h .; ls -lt vs_aux_types.h' # Installz not propagating -I/usr/local/include -L/usr/local/bin bhCommand 'cdi; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Install .; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Installz .' bhbgCommand 'cdi; Installz utilexp' bhCommand 'cdi; Installz vsaux' bhCommand 'cdi; Installz vsaux' bhCommand 'cd /usr/local/lib; ls -lt libvsaux.a' # -lgen screwing things up, should go back to specifying as many # libs as possible via # setenv EXPLORERLIB # setenv EXPLORERINC # in .cshrc AcceptXYZ6 BlackHole Particles # Move to old AcceptGF0 ReadHDF_GF3 ReadHDF_GFT0 ReadHDF_GFT1 # Move to broken LatToGeomM # particle0.h bhCommand 'cd /usr/local/include; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/include/particle0.h . ' # As matt@bh1 cd explorer mv src src.O scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/explorer/src.tar.gz . tar zxf src.tar.gz cd src # Coded 'Doit' script in matt@bh1.physics.ubc.ca:/d/bh1/home/matt/explorer/src #!/bin/sh -x P=`basename $0` die() { cat< OUTPUT 2>&1 # Trouble with ReadParticle0 (libparticle.a ?.) VideoControl0 (video.h) VideoOut0 (video.h) VideoOut1 (video.h) bhCommand 'cd /d/laplace/usr2/people/matt/include ; cp video*.h /usr/local/include' # Trouble with ReadParticle0 (libparticle.a ?.) # Imported particle0 from matt@newton.ph.utexas.edu and exported via matt@laplace:~/autoconf bhCommand 'cdi; Installz particle0' vics # Add -lparticle0 to EXPLORERLIB # Trouble with # particle0 f77 interface not portable # Since C is calling Fortran, hack as follows #ifndef LINUX int part_getcvt_xyzlogrho(char *filename,float *ptime,DVEC units, SVEC x,SVEC y,SVEC z,SVEC logrho,int *pnp) { part_getcvt_xyzlogrho_(filename,ptime,units,x,y,z,logrho,pnp, strlen(filename)); return( *pnp ); } int part_getcvt_np(char *filename) { return( part_getcvt_np_(filename,strlen(filename)) ); } #else int part_getcvt_xyzlogrho(char *filename,float *ptime,DVEC units, SVEC x,SVEC y,SVEC z,SVEC logrho,int *pnp) { part_getcvt_xyzlogrho__(filename,ptime,units,x,y,z,logrho,pnp, strlen(filename)); return( *pnp ); } int part_getcvt_np(char *filename) { return( part_getcvt_np__(filename,strlen(filename)) ); } #endif ============================================================ Sat Jul 1 16:36:08 PDT 2000 ============================================================ (1) cd explorer Doit install Doit all Problems with VideoControl0 VideoOut0 VideoOut1 VideoReadSeqFile0 libvideo.a bhCommand 'cdi; ./Installz video' cd ~matt/include scp gl_types.h slide_types.h video_gl.h quad_types.h quad_util.h root@bh1:/usr/local/include # Add '-lvideo' to EXPLORERLIB in ~/.cshrc Doit install Doit all Problems with S2toGeom1 -L/d/bh1/home/matt/explorer/lib -L. -L/usr/local/lib -lparticle0 -lvideo -lutilio -lbbhutil -lsv -lutilexp -lvsaux -lvs -lutilmathc -lvutil -lm -lgl -L/usr/explorer//lib -lgeometry /usr/explorer//lib/cxInventorPatch.o -lMasterSuiteXt -lMasterSuite -lInventorXt -lInventor -limage -lnsl -ldl -lGLU -lGL -L/usr/explorer//lib -lmcw -lXm -lXp -lXext -lXt -lXIE -lSM -lICE -lXi -lX11 -lg2c -lm \ \ /usr/bin/ld: cannot find -lgl # S2toGeom1 uses linewidth # mv'ed to laplace:~matt/explorer/sgi_specific on laplace, rm'ed on bh1: # Sph mv'ed to broken ============================================================ Mon Jul 3 12:54:23 PDT 2000 ============================================================ FROM ../EXPLORER/README . . . # Except that none of the modules execute either inside or outside # of Explorer due to failure to load shared libraries, e.g. libgeometry.so libmcw.so # Probably easiest to update global loader defaults # Have done so in bh etcbh # ld.so.conf laplace 29> more ld.so.conf /usr/X11R6/lib /usr/lib /usr/i486-linux-libc5/lib /usr/local/lib /usr/explorer/lib bhDistEtc ld.so.conf # NOTHING WORKING, PROBABLY BEST TO CONSULT SOME DOCUMENTATON, FIGURE OUT HOW TO MAKE NON-SHAARED VERSIONS? The default preferences file for IRIS Explorer is $EXPLORERHOME/Explorer.config. # UPDATING SHARED OBJECT LIBRARIES ldd Particles bhCommand '/sbin/ldconfig -v' bhCommand 'cd /d/bh1/home/matt/explorer/src/AcceptXYZ; ldd AcceptXYZ; ./AcceptXYZ' # Problem on bh6 ./AcceptXYZ: error in loading shared libraries: libXm.so.1: cannot open shared object file: No such file or directory # Lesstif missing on bh6 # As root@bh6 cdi; Installz lesstif-current ############################################################ Fri Jul 7 10:30:38 PDT 2000 ############################################################ (1) Running cops on bh[123456] #----------------------------------------------------------- # First pass #----------------------------------------------------------- # As matt@laplace cda scp *cops*gz matt@bh1.physics.ubc.ca:/d/bh1/home/matt/autoconf ~/scripts/bhCops bhbgCommand bhCops bhbgCommand 'cd /usr/tmp/install; RM -rf cops*' bhCommand 'cat /usr/tmp/install/cops_104+/`hostname -s`/2000_Jul_7' > /tmp/COPS a secure 'bhbgCommand chmod og-xrw \!*; sleep 5; bhCommand ls -ltd \!*' !!ssh root@bh1.physics.ubc.ca cat /tmp/COPS >>> Executing as root@142.103.235.51 ATTENTION: Security Report for Fri Jul 7 10:39:54 PDT 2000 from host bh1.physics.ubc.ca, COPS v. Version 1.04+ **** root.chk **** **** dev.chk **** Warning! /mnt/floppy is _World_ writable! Warning! /mnt/cdrom is _World_ writable! Warning! /mnt/floppy is _World_ readable! Warning! /mnt/cdrom is _World_ readable! # CAN'T FIX SINCE NOTHING IS MOUNTED **** is_able.chk **** Warning! /etc/security is _World_ readable! Warning! /etc/securetty is _World_ readable! secure /etc/security secure /etc/securetty **** rc.chk **** **** cron.chk **** **** group.chk **** **** home.chk **** Warning! User lists's home directory /dev/null is not a directory! (mode 020666) **** passwd.chk **** **** user.chk **** **** misc.chk **** **** ftp.chk **** **** pass.chk **** **** kuang **** **** bug.chk **** >>> Executing as root@142.103.235.52 ATTENTION: Security Report for Fri Jul 7 10:39:46 PDT 2000 from host bh2.physics.ubc.ca, COPS v. Version 1.04+ **** root.chk **** **** dev.chk **** Warning! /mnt/floppy is _World_ writable! Warning! /mnt/cdrom is _World_ writable! Warning! /mnt/floppy is _World_ readable! Warning! /mnt/cdrom is _World_ readable! **** is_able.chk **** Warning! /etc/security is _World_ readable! Warning! /etc/securetty is _World_ readable! **** rc.chk **** **** cron.chk **** **** group.chk **** **** home.chk **** Warning! User lists's home directory /dev/null is not a directory! (mode 020666) /d/laplace/usr2/people/matt/system/bh/image/master/etc/passwd -> lists:x:500:500:BeroList:/: bhDistEtc **** passwd.chk **** **** user.chk **** **** misc.chk **** **** ftp.chk **** **** pass.chk **** **** kuang **** **** bug.chk **** >>> Executing as root@142.103.235.53 ATTENTION: Security Report for Fri Jul 7 10:39:44 PDT 2000 from host bh3.physics.ubc.ca, COPS v. Version 1.04+ **** root.chk **** **** dev.chk **** Warning! /mnt/floppy is _World_ writable! Warning! /mnt/cdrom is _World_ writable! Warning! /mnt/floppy is _World_ readable! Warning! /mnt/cdrom is _World_ readable! **** is_able.chk **** Warning! /etc/security is _World_ readable! Warning! /etc/securetty is _World_ readable! **** rc.chk **** **** cron.chk **** **** group.chk **** **** home.chk **** Warning! User lists's home directory /dev/null is not a directory! (mode 020666) **** passwd.chk **** **** user.chk **** **** misc.chk **** **** ftp.chk **** **** pass.chk **** **** kuang **** **** bug.chk **** >>> Executing as root@142.103.235.54 ATTENTION: Security Report for Fri Jul 7 10:39:45 PDT 2000 from host bh4.physics.ubc.ca, COPS v. Version 1.04+ **** root.chk **** **** dev.chk **** Warning! /mnt/floppy is _World_ writable! Warning! /mnt/cdrom is _World_ writable! Warning! /mnt/floppy is _World_ readable! Warning! /mnt/cdrom is _World_ readable! **** is_able.chk **** Warning! /etc/security is _World_ readable! Warning! /etc/securetty is _World_ readable! **** rc.chk **** **** cron.chk **** **** group.chk **** **** home.chk **** Warning! User lists's home directory /dev/null is not a directory! (mode 020666) **** passwd.chk **** **** user.chk **** **** misc.chk **** **** ftp.chk **** **** pass.chk **** **** kuang **** **** bug.chk **** >>> Executing as root@142.103.235.55 ATTENTION: Security Report for Fri Jul 7 10:39:47 PDT 2000 from host bh5.physics.ubc.ca, COPS v. Version 1.04+ **** root.chk **** **** dev.chk **** Warning! /mnt/floppy is _World_ writable! Warning! /mnt/cdrom is _World_ writable! Warning! /mnt/floppy is _World_ readable! Warning! /mnt/cdrom is _World_ readable! **** is_able.chk **** Warning! /etc/security is _World_ readable! Warning! /etc/securetty is _World_ readable! **** rc.chk **** **** cron.chk **** **** group.chk **** **** home.chk **** Warning! User lists's home directory /dev/null is not a directory! (mode 020666) **** passwd.chk **** **** user.chk **** **** misc.chk **** **** ftp.chk **** **** pass.chk **** **** kuang **** **** bug.chk **** >>> Executing as root@142.103.235.56 ATTENTION: Security Report for Fri Jul 7 10:39:47 PDT 2000 from host bh6.physics.ubc.ca, COPS v. Version 1.04+ **** root.chk **** **** dev.chk **** Warning! /mnt/floppy is _World_ writable! Warning! /mnt/cdrom is _World_ writable! Warning! /mnt/floppy is _World_ readable! Warning! /mnt/cdrom is _World_ readable! **** is_able.chk **** Warning! /etc/security is _World_ readable! Warning! /etc/securetty is _World_ readable! **** rc.chk **** **** cron.chk **** **** group.chk **** **** home.chk **** Warning! User lists's home directory /dev/null is not a directory! (mode 020666) **** passwd.chk **** **** user.chk **** **** misc.chk **** **** ftp.chk **** **** pass.chk **** **** kuang **** **** bug.chk **** #----------------------------------------------------------- # Second pass #----------------------------------------------------------- bhbgCommand bhCops bhCommand 'cat /usr/tmp/install/cops_104+/`hostname -s`/2000_Jul_7' > /tmp/COPS !!ssh root@bh1.physics.ubc.ca cat /tmp/COPS >>> Executing as root@142.103.235.51 ATTENTION: Security Report for Fri Jul 7 11:00:18 PDT 2000 from host bh1.physics.ubc.ca, COPS v. Version 1.04+ **** root.chk **** **** dev.chk **** Warning! /mnt/floppy is _World_ writable! Warning! /mnt/cdrom is _World_ writable! Warning! /mnt/floppy is _World_ readable! Warning! /mnt/cdrom is _World_ readable! **** is_able.chk **** **** rc.chk **** **** cron.chk **** **** group.chk **** **** home.chk **** **** passwd.chk **** **** user.chk **** **** misc.chk **** **** ftp.chk **** **** pass.chk **** **** kuang **** **** bug.chk **** >>> Executing as root@142.103.235.52 ATTENTION: Security Report for Fri Jul 7 11:00:18 PDT 2000 from host bh2.physics.ubc.ca, COPS v. Version 1.04+ **** root.chk **** **** dev.chk **** Warning! /mnt/floppy is _World_ writable! Warning! /mnt/cdrom is _World_ writable! Warning! /mnt/floppy is _World_ readable! Warning! /mnt/cdrom is _World_ readable! **** is_able.chk **** **** rc.chk **** **** cron.chk **** **** group.chk **** **** home.chk **** **** passwd.chk **** **** user.chk **** **** misc.chk **** **** ftp.chk **** **** pass.chk **** **** kuang **** **** bug.chk **** >>> Executing as root@142.103.235.53 ATTENTION: Security Report for Fri Jul 7 11:00:18 PDT 2000 from host bh3.physics.ubc.ca, COPS v. Version 1.04+ **** root.chk **** **** dev.chk **** Warning! /mnt/floppy is _World_ writable! Warning! /mnt/cdrom is _World_ writable! Warning! /mnt/floppy is _World_ readable! Warning! /mnt/cdrom is _World_ readable! **** is_able.chk **** **** rc.chk **** **** cron.chk **** **** group.chk **** **** home.chk **** **** passwd.chk **** **** user.chk **** **** misc.chk **** **** ftp.chk **** **** pass.chk **** **** kuang **** **** bug.chk **** >>> Executing as root@142.103.235.54 ATTENTION: Security Report for Fri Jul 7 11:00:22 PDT 2000 from host bh4.physics.ubc.ca, COPS v. Version 1.04+ **** root.chk **** **** dev.chk **** Warning! /mnt/floppy is _World_ writable! Warning! /mnt/cdrom is _World_ writable! Warning! /mnt/floppy is _World_ readable! Warning! /mnt/cdrom is _World_ readable! **** is_able.chk **** **** rc.chk **** **** cron.chk **** **** group.chk **** **** home.chk **** **** passwd.chk **** **** user.chk **** **** misc.chk **** **** ftp.chk **** **** pass.chk **** **** kuang **** **** bug.chk **** >>> Executing as root@142.103.235.55 ATTENTION: Security Report for Fri Jul 7 11:00:18 PDT 2000 from host bh5.physics.ubc.ca, COPS v. Version 1.04+ **** root.chk **** **** dev.chk **** Warning! /mnt/floppy is _World_ writable! Warning! /mnt/cdrom is _World_ writable! Warning! /mnt/floppy is _World_ readable! Warning! /mnt/cdrom is _World_ readable! **** is_able.chk **** **** rc.chk **** **** cron.chk **** **** group.chk **** **** home.chk **** **** passwd.chk **** **** user.chk **** **** misc.chk **** **** ftp.chk **** **** pass.chk **** **** kuang **** **** bug.chk **** >>> Executing as root@142.103.235.56 ATTENTION: Security Report for Fri Jul 7 11:00:28 PDT 2000 from host bh6.physics.ubc.ca, COPS v. Version 1.04+ **** root.chk **** **** dev.chk **** Warning! /mnt/floppy is _World_ writable! Warning! /mnt/cdrom is _World_ writable! Warning! /mnt/floppy is _World_ readable! Warning! /mnt/cdrom is _World_ readable! **** is_able.chk **** **** rc.chk **** **** cron.chk **** **** group.chk **** **** home.chk **** **** passwd.chk **** **** user.chk **** **** misc.chk **** **** ftp.chk **** **** pass.chk **** **** kuang **** **** bug.chk **** TO_DO # Not immediately clear to me how to fix the removable # media problems ############################################################ Sat Aug 19 12:15:45 PDT 2000 ############################################################ (1) Installing mpeg_play bhCommand 'cdi; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Install .; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Installz .' # As matt@laplace cda gunzip -c mpeg_play_linux.tar.gz | tar xf - Distgz mpeg_play_linux bhCommand 'cdi; Installz mpeg_play_linux' etcbh mv motd motd.2000.06.08 cat<motd ****************************************************************************** * SATURDAY, AUGUST 19 2000 * * * * The University of Minnesota MPEG player, mpeg_play, has been installed * * on bh[123456]. Report any problems to Matt. Type * * * * mpeg_play -h * * * * for usage. * * * * Suggested Netscape/Preference/Navigator/Applications setting for * * MIME types, video/mpeg, MPEG X video, MPEG video etc. is * * * * mpeg_play -quiet %s * ****************************************************************************** END bhDistEtc motd ############################################################ Tue Aug 22 09:34:10 PDT 2000 ############################################################ (1) Inaki reports problems with 'mpeg_play' [matt@bh3 ~]$ /usr/local/bin/mpeg_play -requires 8 bit display mpeg_play -dither color -quiet mpeg_play -dither color -quiet %s etcbh mv motd motd.2000.08.19 cat<motd ****************************************************************************** * TUESDAY, AUGUST 22 2000 * * * * As Inaki has pointed out, my previously suggested usage for 'mpeg_play' * * on bh[123456] is incorrect. Use * * * * mpeg_play -dither color * * * * for display at the shell, level and * * * * mpeg_play -quiet -dither color %s * * * * in your Netscape/Preference/Navigator/Applications settings. * ****************************************************************************** END bhDistEtc motd ############################################################ Tue Aug 22 10:47:47 PDT 2000 ############################################################ (1) NFS mounting vnfe[123]:{/home,/home2} # As matt@laplace etcbh bhCommand 'mkdir -p /d/vnfe1/home /d/vnfe1/home2 /d/vnfe2/home /d/vnfe2/home2 /d/vnfe3/home /d/vnfe3/home2' scp root@bh1:/etc/fstab fstab.bh1 scp root@bh2:/etc/fstab fstab.bh2 scp root@bh3:/etc/fstab fstab.bh3 scp root@bh4:/etc/fstab fstab.bh4 scp root@bh5:/etc/fstab fstab.bh5 scp root@bh6:/etc/fstab fstab.bh6 # Added # vnfe1:/home /d/vnfe1/home nfs rw,bg,hard,intr 0 0 vnfe1:/home2 /d/vnfe1/home2 nfs rw,bg,hard,intr 0 0 vnfe2:/home /d/vnfe2/home nfs rw,bg,hard,intr 0 0 vnfe2:/home2 /d/vnfe2/home2 nfs rw,bg,hard,intr 0 0 vnfe3:/home /d/vnfe3/home nfs rw,bg,hard,intr 0 0 vnfe3:/home2 /d/vnfe3/home2 nfs rw,bg,hard,intr 0 0 # scp fstab.bh1 root@bh1:/etc/fstab scp fstab.bh2 root@bh2:/etc/fstab scp fstab.bh3 root@bh3:/etc/fstab scp fstab.bh4 root@bh4:/etc/fstab scp fstab.bh5 root@bh5:/etc/fstab scp fstab.bh6 root@bh6:/etc/fstab bhCommand 'mount -a; df' # OK ############################################################ Fri Oct 6 11:54:09 PDT 2000 ############################################################ (1) Scott reports problems with jser on bh6 + PATH=/usr/local/java/jdk117_v3/bin:.:/d/bh1/home/matt/bin:/d/bh1/home/matt/scripts:/d/bh1/home/matt/scripts/people:/usr/local/java/jdk117_v3/bin:/usr/explorer//bin:/usr/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/d/bh1/home/matt/Office51/bin + export PATH + java svserver -s /d/bh1/home/matt/scivis/config !!!WARNING: Scivis must be run with a 1.1.2 or higher version VM!!! Internal error: caught an unexpected exception. Please check your CLASSPATH and your installation. java/lang/NullPointerException /d/bh1/home/matt/scripts/jser: line 5: 29862 Aborted java svserver -s $HOME/scivis/config bhCommand 'cd /usr/local/java; ls' >>> Executing as root@142.103.235.51 jdk117_v3/ sv1_1/ >>> Executing as root@142.103.235.52 jdk117_v3/ sv1_1/ >>> Executing as root@142.103.235.53 jdk117_v3/ sv1_1/ >>> Executing as root@142.103.235.54 jdk117_v3/ sv1_1/ >>> Executing as root@142.103.235.55 jdk117_v3/ sv1_1/ >>> Executing as root@142.103.235.56 sv1_1/ ssh root@bh6 cd /usr/local/java tar zxf /d/laplace/usr2/people/matt/autoconf/jdk_1.1.7-v3-glibc-x86.tar.gz # OK ############################################################ Thu Oct 19 13:59:36 PDT 2000 ############################################################ (1) Installing xforms on bh[123456] ############################################################ Tue Oct 24 16:27:28 PDT 2000 ############################################################ TODO (1) Upload ftp inoperative on bh[123456] ############################################################ Wed Oct 25 21:27:39 PDT 2000 ############################################################ bhCommand 'cdi; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Install .; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Installz .' bhbgCommand 'cdi; ./Installz p410f' bhCommand 'ls -lt /usr/local/lib/libp410f.a' ############################################################ Mon Oct 30 13:42:13 PST 2000 ############################################################ rrvibh /etc/fstab bhCommand 'ls -ltd /d/laplace/usr2' bhCommand 'mount -a; df | grep laplace' laplace 52> bhCommand 'mount -a; df | grep laplace' >>> Executing as root@142.103.235.51 laplace:/usr 4307148 3860492 446656 90% /d/laplace/usr laplace:/usr2 8885572 6706468 2179104 75% /d/laplace/usr2 >>> Executing as root@142.103.235.52 laplace:/usr 4307148 3860492 446656 90% /d/laplace/usr laplace:/usr2 8885572 6706468 2179104 75% /d/laplace/usr2 >>> Executing as root@142.103.235.53 laplace:/usr 4307148 3860492 446656 90% /d/laplace/usr laplace:/usr2 8885572 6706468 2179104 75% /d/laplace/usr2 >>> Executing as root@142.103.235.54 laplace:/usr 4307148 3860492 446656 90% /d/laplace/usr laplace:/usr2 8885572 6706468 2179104 75% /d/laplace/usr2 >>> Executing as root@142.103.235.55 laplace:/usr 4307148 3860492 446656 90% /d/laplace/usr laplace:/usr2 8885572 6706468 2179104 75% /d/laplace/usr2 >>> Executing as root@142.103.235.56 laplace:/usr 4307148 3860492 446656 90% /d/laplace/usr laplace:/usr2 8885572 6706468 2179104 75% /d/laplace/usr2 ############################################################ Wed Nov 8 12:10:03 PST 2000 ############################################################ (1) Upgrading wu-ftpd bhCommand 'rpm -q wu-ftpd' bhCommand 'rpm -Uvh /d/vnfe1/home/matt/RPM/wu-ftpd-2.6.0-7mdk.i586.rpm' bhCommand 'rpm -q wu-ftpd' >>> Executing as root@142.103.235.51 wu-ftpd-2.6.0-7mdk >>> Executing as root@142.103.235.52 wu-ftpd-2.6.0-7mdk >>> Executing as root@142.103.235.53 wu-ftpd-2.6.0-7mdk >>> Executing as root@142.103.235.54 wu-ftpd-2.6.0-7mdk >>> Executing as root@142.103.235.55 wu-ftpd-2.6.0-7mdk >>> Executing as root@142.103.235.56 wu-ftpd-2.6.0-7mdk ############################################################ Thu Nov 16 20:35:15 PST 2000 ############################################################ etcbh # vi ld.so.conf /usr/X11R6/lib /usr/lib /usr/i486-linux-libc5/lib /usr/local/lib bhDistEtc ld.so.conf bhCommand ldconfig ############################################################ Mon Nov 20 15:10:46 PST 2000 ############################################################ (1) Installing MESAgl on bh[3456] # Hacked 'bhallN' bhCommand 'cdi; tar xf /d/bh1/home/matt/autoconf/MesaDemos-3.1.tar; tar xf /d/bh1/home/matt/autoconf/MesaLib-3.1.tar; ls -ltd Mesa-3.1' bhCommand 'cdi; cd Mesa-3.1; ./configure --prefix=/usr/local; make ; make install' bhCommand 'cd /usr/local/lib; RM *GL*.a' bhCommand 'ls -lt /usr/local/lib/libGL.so' bhCommand 'ls -lt /usr/local/lib/libGLU.so' bhCommand 'cd /usr/local/lib; ln -s libGL.so libMesaGL.so' bhCommand 'cd /usr/local/lib; ln -s libGLU.so libMesaGLU.so' # Restore 'bhallN' (laplace and bh) bhCommand 'cd /usr/local/lib; ls -lt *Mesa*' bhCommand 'cd /usr/local/lib; ln -s libGL.so libMesaGL.so' bhCommand 'cd /usr/local/lib; ln -s libGLU.so libMesaGLU.so' OK ############################################################ Sun Nov 26 10:38:34 PST 2000 ############################################################ (1) bh machines not mounting /d/sgi1/usr/ /d/sgi2/usr/ bhCommand 'mkdir -p /d/sgi1/usr/ /d/sgi2/usr/' rrvibh /etc/fstab bhCommand 'mount -a; df | grep usr' OK ############################################################ Thu Mar 1 10:55:30 PST 2001 ############################################################ (1) Installing StarOffice 5.2 on bh1 cd Office52 so-5_2-ga-bin-linux-en.bin ############################################################ Thu May 3 20:42:51 PDT 2001 ############################################################ (1) Trying build of 2.2.19 kernel with 2.2.14 version of aic7xxx driver # As root@bh1 cd /usr/src/linux-2.2.19 # 2.2.14 /usr/src/linux-2.2.14/drivers/scsi aic7xxx.c aic7xxx.h aic7xxx_seq.c aic7xxx_proc.c aic7xxx_reg.h /usr/src/linux-2.2.14/drivers/scsi/aic7xxx aic7xxx.reg aic7xxx.seq scsi_message.h sequencer.h # 2.2.19 /usr/src/linux-2.2.19/drivers/scsi aic7xxx.c /usr/src/linux-2.2.19/drivers/scsi/aic7xxx aic7xxx.h aic7xxx.reg aic7xxx.seq aic7xxx_proc.c aic7xxx_reg.h aic7xxx_seq.c scsi_message.h sequencer.h # 2.2.19 cd /usr/src/linux-2.2.19/drivers/scsi cp aic7xxx.c aic7xxx.c.O cp -r aic7xxx aic7xxx.O scp root@bh2.physics.ubc.ca:/usr/src/linux-2.2.14/drivers/scsi/aic7xxx.c . cd /usr/src/linux-2.2.19/drivers/scsi/aic7xxx scp root@bh2.physics.ubc.ca:/usr/src/linux-2.2.14/drivers/scsi/aic7xxx.c . scp root@bh2.physics.ubc.ca:/usr/src/linux-2.2.14/drivers/scsi/aic7xxx.h . scp root@bh2.physics.ubc.ca:/usr/src/linux-2.2.14/drivers/scsi/aic7xxx_proc.c . scp root@bh2.physics.ubc.ca:/usr/src/linux-2.2.14/drivers/scsi/aic7xxx_reg.h . scp root@bh2.physics.ubc.ca:/usr/src/linux-2.2.14/drivers/scsi/aic7xxx_seq.c . scp root@bh2.physics.ubc.ca:/usr/src/linux-2.2.14/drivers/scsi/aic7xxx/aic7xxx.reg . scp root@bh2.physics.ubc.ca:/usr/src/linux-2.2.14/drivers/scsi/aic7xxx/aic7xxx.seq . scp root@bh2.physics.ubc.ca:/usr/src/linux-2.2.14/drivers/scsi/aic7xxx/scsi_message.h . scp root@bh2.physics.ubc.ca:/usr/src/linux-2.2.14/drivers/scsi/aic7xxx/sequencer.h . ln -s /usr/src/linux-2.2.19 /usr/src/linux cd /usr/src/linux-2.2.19 # EXTRAVERSION = -Psmp # In top-level Makefile make mrproper make xconfig # ... and with luck, load linux.conf, enable SCSI support, including aix7xxx low-level driver make dep make bzImage # Barfs on aix7xxx.c, so duplicate 2.2.14 structure cd /usr/src/linux-2.2.19/drivers/scsi RM -r aic7xxx RM aic7xxx.c cd /usr/src/linux-2.2.14/drivers/scsi cp -r a*xxx* /usr/src/linux/drivers/scsi cd /usr/src/linux make bzImage make[3]: *** No rule to make target `aic7xxx/aic7xxx.h', needed by `hosts.o'. Stop. cd /usr/src/linux-2.2.19/drivers/scsi/aic7xxx ln -s ../aic7xxx.h . make bzImage make modules In file included from radio-miropcm20.c:13: ../sound/lowlevel/miroaci.h:9: #error Compiling a driver that needs the ACI-mixer but without ACI-mixer support radio-miropcm20.c: In function `pcm20_mute': radio-miropcm20.c:33: warning: implicit declaration of function `aci_write_cmd' radio-miropcm20.c: In function `pcm20_setfreq': radio-miropcm20.c:73: warning: implicit declaration of function `aci_write_cmd_d' radio-miropcm20.c: In function `pcm20_getsigstr': radio-miropcm20.c:81: warning: implicit declaration of function `aci_indexed_cmd CONFIG_ACI_MIXER (is in Additional low level sound drivers) # Disabled sound support, RADIO ... should be in character devices, disable Video for Linux, disable, Ftape, lot of other stuff # Archived configuration file to root@bh1:/root/linux.conf matt@laplace:/usr2/people/matt/system/bh/image/master/kernel/linux.conf.2.2.19.P cd /usr/src/linux make mrproper make xconfig # ... and with luck, load linux.conf, enable SCSI support, including aix7xxx low-level driver make dep make bzImage make modules cd / cp -r boot boot.O cd /lib cp -r modules modules.O cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.2.19-Psmp cp /usr/src/linux-2.2.19/System.map /boot/System.map-2.2.19-Psmp # Modify /etc/lilo.conf cd /etc RM lilo.conf.OO mv lilo.conf.O lilo.conf.OO bu lilo.conf vi lilo.conf image=/boot/vmlinuz-2.2.19-Psmp label=linux-new root=/dev/hda1 append="" read-only cd /usr/src/linux make modules_install /sbin/lilo # Tomorrow try reboot of bh1 with linux-new # Reboot successful, tape driver seems responsive, lots of complaints about # system map, also supermount ? support missing, could also try enabling NSF 3 # support # Second reboot, no error messages other than May 4 11:40:13 bh1 kernel: nfs warning: mount version older than kernel # as per Bill's report ############################################################ Tue May 8 17:33:48 PDT 2001 ############################################################ bhCommand 'hwclock --systohc' bhCommand 'hwclock --show' bhCommand 'ps -elf | grep ntpd | grep -v grep' bhCommand 'ntptimeset' ############################################################ Tue May 15 09:36:47 PDT 2001 ############################################################ bhCommand 'mv /usr/bin/sm /usr/bin/sm.O' ############################################################ Fri Jun 29 15:13:36 PDT 2001 ############################################################ Installing NCAR graphics bhCommand 'cdi; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Install .; scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Installz .' bhCommand 'cdi; Installz ncarg.4.2.2.linux.pgi' # Update /etc/csh.cshrc setenv NCARG_ROOT /usr/local # As matt@laplace etcbh bhDistEtc csh.cshrc ############################################################ Fri Jun 29 23:41:58 PDT 2001 ############################################################ (1) Installing NCAR graphics using gnu compilers bhCommand 'cdi; Installz ncarg.4.2.2.linux.gnu' # Test cd /tmp cp -r /usr/local/lib/ncarg/examples . cd examples ncargf77 -o EzmapDemo EzmapDemo.f EzmapDemo ############################################################ Mon Jul 16 15:39:40 PDT 2001 ############################################################ (1) Updating glade on bh machines glade.gnome.org /d/bh1/home/matt/glade-0.6.2.tar.gz cd; mv glade-0.6.2.tar.gz ~/autoconf cda; scp glade-0.6.2.tar.gz laplace:~/autoconf # As root@bh4 cdi; Installz glade-0.6.2 # Needs 'scrollkeeper-config' scrollkeeper-0.0.1-1.i386.rpm -> matt@bh1:~/RPMS rpm -i /d/bh1/home/matt/RPMS/scrollkeeper-0.0.1-1.i386.rpm ############################################################ Tue Aug 7 10:04:13 PDT 2001 ############################################################ (1) Upgrading bh2 to 850 MHz PIII 1 GB memory 60 GB disk (2) Plan is to back up bh[123456]:{/home,/etc}, then do a clean install of Mandrake 8.0 and restore data # Back-up needs to be done as root to preserve permissions, is # easy once root rsh's are enabled # As matt@vnfe1 etc vi inetd.conf #login stream tcp nowait root /usr/sbin/tcpd in.rlogind login stream tcp nowait root /usr/sbin/tcpd in.rlogind vnallDist /etc/inetd.conf vnallbgCommand killall -HUP inetd # To enable root rlogin's via .rhosts comment out auth required /lib/security/pam_securetty.so # in /etc/pam.d/rlogin killall -HUP inetd vnallCommand 'df' > /tmp/df # Possible nodes vn5 vn6 vn7 vn14 vn15 vn18 vn19 vn20 # As root@vn5 mkdir -p /home/bh1 vi /etc/pam.d/rlogin killall -HUP inetd ssh root@bh1 cd / tar cfps - home | rsh vn5 '(cd /home/bh1; tar x --same-owner --atime-preserve -p -s -f -)' # How are we going to preserve ownership etc.?? ############################################################ Mon Aug 13 19:41:49 PDT 2001 ############################################################ # Installed 7.2 rather than 8.0 ############################################################ ### Secondary set-up of bh2 ############################################################ ###--------------------------------------------------------- ### (1) SSH ###--------------------------------------------------------- # Remove OpenSSH rpm -qa | grep openssh openssh-2.2.0p1-7mdk openssh-askpass-2.2.0p1-7mdk openssh-server-2.2.0p1-7mdk openssh-clients-2.2.0p1-7mdk # Following order may not be correct (dependencies) rpm -e openssh-clients-2.2.0p1-7mdk rpm -e openssh-askpass-2.2.0p1-7mdk rpm -e openssh-server-2.2.0p1-7mdk rpm -e openssh-2.2.0p1-7mdk # Accumulate keys in # matt@laplace.physics.ubc.ca:~/.ssh/master_authorized_keys # (Delete old host entries if necessary) telnet bh2 # login as matt su cd /tmp ftp laplace < /d2/home root@bh2:/etc/exports # Added /home2 allCommand 'mkdir -p /d/bh2/home2' rrviall /etc/fstab OK # Have updated X server on bh2 and installed NVIDIA driver and kernel extensions, # but now having problems with DV [fransp@bh2 ~]$ DV DV: error in loading shared libraries: /usr/lib/libGLcore.so.1: undefined symbol: __glTLSCXIndex [fransp@bh2 ~]$ # As root@bh2 [root@bh2]# ls -lt libGLcore.so.1 lrwxrwxrwx 1 root root 21 Aug 15 12:46 libGLcore.so.1 -> libGLcore.so.1.0.1251* RM libGLcore.so.1 scp root@lnx1.physics.ubc.ca:/usr/lib/libGLcore.so.1.0.5 . ln -s /usr/lib/libGLcore.so.1.0.5 libGLcore.so.1 # No luck # Try uninstalling and installing older version (0.9.769) rpm -qa | grep NV NVIDIA_kernel-1.0-1251.mdk72smp NVIDIA_GLX-1.0-1251 # Shutdown X, restore saved XF86Config file rpm -e NVIDIA_kernel-1.0-1251.mdk72smp rpm -e NVIDIA_GLX-1.0-1251 ftp://ftp1.detonator.nvidia.com/pub/drivers/english/XFree86_40/ ftp://ftp1.detonator.nvidia.com/pub/drivers/english/XFree86_40/0.9-769/ /pub/drivers/english/XFree86_40/0.9-769/NVIDIA_GLX-0.9-769.i386.rpm /pub/drivers/english/XFree86_40/0.9-769/NVIDIA_kernel-0.9-769.mdk72smp.i386.rpm /pub/drivers/english/XFree86_40/0.9-769/NVIDIA_GLX-0.9-769.src.rpm rpm -i NVIDIA_kernel-0.9-769.mdk72smp.i386.rpm rpm -i NVIDIA_GLX-0.9-769.i386.rpm cd /etc/X11 RM XF86Config-4 ln -s XF86Config XF86Config-4 # DV now works but problems with re-draw of windows, shutting down GL # window # re-draw is probably limited to hi-res screen, may be known problem ############################################################ Mon Sep 3 19:54:09 PDT 2001 ############################################################ (1) Problems with tape drive on bh1 ############################################################ Fri Sep 7 10:03:09 PDT 2001 ############################################################ (1) Installing Maple 6 # As root@bhlap bhbgCommand 'cd /usr/local; tar zxf /d/bh1/home/matt/autoconf/maple6.tar.gz; cd linux1/local; mv maple6 ../..; cd ../..; RM -r linux1;' foreach m (bh1 bh2 bh3 bh4 bh5 bh6) ssh $m end cd /usr/local/maple6/bin foreach f (*) ln -s `pwd`/$f /usr/local/bin end # As root@bh1 cd /usr/local/maple6/bin vi * # maple MAPLE=/usr/local/maple6 # mint MAPLE=/usr/local/maple6 # updtsrc foreach m (bh2 bh3 bh4 bh5 bh6) scp * ${m}:/usr/local/maple6/bin end bhCommand 'cd /usr/local/maple6/lib; ls -lt; RM maple.hdb; mv maple.hdb.o maple.hdb' bhCommand 'maple' # maple, xmaple working on bh[123456] # grtensor bhCommand 'cd /usr/local/maple6/grii/lib; ls -lt; RM maple.hdb; mv maple.hdb.o maple.hdb;' # As root@bh1 cd /usr/local/maple6/grii cat< mapleinit ############################################################ #-- Maple routine to initialize GRTensor # # Add to ~/.mapleinit # # Intialize via # # grtw (); # # from the Maple prompt. # grtw := proc () global libname, grOptionMetricPath, grOptionqloadPath: libname := "/usr/local/maple6/grii/lib", libname: readlib (grii): grtensor(): grOptionqloadPath := "/usr/local/maple6/grii/metrics"; end: ############################################################ END cd /usr/local/maple6/grii/ foreach m (bh2 bh3 bh4 bh5 bh6) scp mapleinit ${m}:/usr/local/maple6/grii/ end bhCommand 'cp /usr/local/maple6/grii/mapleinit ~/.mapleinit' bhCommand 'maple' grtw(); ?grcalc quit; ############################################################ Mon Sep 10 10:25:15 PDT 2001 ############################################################ (1) Inaki reports problems with 'DV' on bh2 DV: error in loading shared libraries: /usr/lib/libGLcore.so.1: undefined symbol: __glTLSCXIndex # DV working fine on lnx1, only difference is in /etc/ld.so.conf # Changed bh2:/etc/ld.so.conf to /usr/lib /usr/X11R6/lib /usr/i486-linux-libc5/lib /usr/local/lib /usr/explorer/lib ldconfig # DV now appears to work From scn@warp.physics.ubc.ca Mon Sep 10 14:41:16 2001 Received: from warp.physics.ubc.ca (warp.physics.ubc.ca [142.103.236.11]) by laplace.physics.ubc.ca (8.9.3/8.9.3) with ESMTP id OAA281935 for ; Mon, 10 Sep 2001 14:41:16 -0700 (PDT) Received: (from scn@localhost) by warp.physics.ubc.ca (8.11.3/8.11.3) id f8ALfFU02093 for matt@laplace.physics.ubc.ca; Mon, 10 Sep 2001 14:41:15 -0700 (PDT) From: Scott Noble Message-Id: <200109102141.f8ALfFU02093@warp.physics.ubc.ca> Subject: bh2 and lp* To: matt@laplace.physics.ubc.ca (Matt Choptuik) Date: Mon, 10 Sep 2001 14:41:15 -0700 (PDT) X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Status: R Hey Matt, Just for your records, I setup printing on bh2 the same way I did on lnxN except I used the printcap file from bh1 ('cause we're using a different printer). That is, I moved the links called /usr/sbin/lpc and /usr/bin/lpr, /usr/bin/lpq, /usr/bin/lprm to their associated "lp*-lpd" binary. scott n. ############################################################ Fri Sep 14 14:38:44 PDT 2001 ############################################################ (1) Creating directories on bh2:/home foreach u (matt luisl villegas fransp jason inaki cwlai scn petryk) ssh root@bh2 "cd /home; mkdir $u; chown $u $u; ls -lt" end ############################################################ Fri Sep 14 18:30:41 PDT 2001 ############################################################ (1) Installing Explorer 5.0 on bh2 rooted in /home/explorer # As root@bh2 cd /home/cdrom/explorer ./install.sh ############################################################ Mon Oct 8 15:43:27 PDT 2001 ############################################################ (1) Updating NVIDIA driver, XF86Config-4 Section "Screen" Identifier "Screen 1" Device "NVIDIA GeForce" Monitor "ViewSonic PS790" Option "NvAgp" "1" DefaultDepth 24 cd /usr2/people/matt/system/bh/image/master/etc/X11 scp XF86Config root@bh2:/etc/X11 rpm -qa | grep NV rpm -e NVIDIA_GLX-0.9-769 rpm -e NVIDIA_kernel-0.9-769 vi /etc/inittab id:3:initdefault: rpm -i -vv /d/bh1/home/matt/RPMS/NVIDIA_kernel-1.0-1512.mdk72smp.i386.rpm rpm -i /d/bh1/home/matt/RPMS/NVIDIA_GLX-1.0-1512.i386.rpm cd /usr/lib /bin/rm *RPMSAVE* /bin/rm libGL.so scp matt@laplace:/d/laplace/usr2/people/matt/system/bh/image/master/usr/lib/libGL.so.1.0.1512.x . ln -s libGL.so.1.0.1512.x libGL.so cd /usr/explorer/modules ./Render vi /etc/inittab id:5:initdefault: # Looks OK, need to verify Explorer/DV ############################################################ Sun Oct 28 20:03:32 PST 2001 ############################################################ (1) Trying to install PGI compilers on bh2 after experiencing problems with installation on bh0 # As root@bh2 mkdir -p /var/tmp/install/PGI cd !$ scp matt@vnfe1.physics.ubc.ca:/d/vnfe1/home/matt/system/vnpg/linux86-HPF-CC.tar.gz . tar zxf linux86-HPF-CC.tar.gz ./install TODO # accept # 5 (HPF/F90/F77/C/C++) # y # /usr/local/pgi # n # y cd /usr/local/pgi scp matt@vnfe1.physics.ubc.ca:/usr/local/pgi/license.dat . # Test as root@bh0 cd /root scp -r matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/PGI/TestPGI . cd TestPGI make # Test as matt@bh0 cd scp -r matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/PGI/TestPGI . cd TestPGI make make clean # Not working, why? Try on bh2? # Doesn't work there either ... is large memory the problem?? /lib/libc-2.1.3.so ?? # Probably not, as version on bh[02] is the same as that on # lnx[123] ############################################################ Sun Oct 28 20:03:32 PST 2001 ############################################################ (1) Trying to install PGI compilers on bh2 after experiencing problems with installation on bh0 # As root@bh2 mkdir -p /var/tmp/install/PGI cd !$ scp matt@vnfe1.physics.ubc.ca:/d/vnfe1/home/matt/system/vnpg/linux86-HPF-CC.tar.gz . tar zxf linux86-HPF-CC.tar.gz ./install TODO # accept # 5 (HPF/F90/F77/C/C++) # y # /usr/local/pgi # n # y cd /usr/local/pgi scp matt@vnfe1.physics.ubc.ca:/usr/local/pgi/license.dat . # Test as root@bh0 cd /root scp -r matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/PGI/TestPGI . cd TestPGI make # Test as matt@bh0 cd scp -r matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/PGI/TestPGI . cd TestPGI make make clean # Not working, why? Try on bh2? # Doesn't work there either ... is large memory the problem?? /lib/libc-2.1.3.so ?? # Probably not, as version on bh[02] is the same as that on # lnx[123] ############################################################ Tue Oct 30 13:27:03 PST 2001 ############################################################ (1) Trying to install most recent version PGI compilers on bh0 # As root@bh0 RM -r /usr/local/pgi RM -r /var/tmp/install/PGI mkdir -p /var/tmp/install/PGI cd /var/tmp/install/PGI tar zxf /d/laplace/usr2/people/matt/autoconf/linux86-HPF-CC.tar.gz ./install # Works! # Try to install from CD, but modulo miracles there, will send # a message to PGI # As root@bh0 RM -r /usr/local/pgi RM -r /var/tmp/install/PGI setenv PGI /usr/local/pgi cd /mnt/cdrom ./installcdk TODO # Remove /usr/local/pbs /var/spool/pbs cd /usr/local/pgi scp matt@vnfe1.physics.ubc.ca:/usr/local/pgi/license.dat . # CD version has same problems, double check that new version # works with SMP kernel # As root@bh0 RM -r /usr/local/pgi RM -r /var/tmp/install/PGI RM -r /usr/local/pbs RM -r /var/spool/pbs mkdir -p /var/tmp/install/PGI cd /var/tmp/install/PGI tar zxf /d/laplace/usr2/people/matt/autoconf/linux86-HPF-CC.tar.gz ./install ############################################################ Tue Nov 20 15:20:21 PST 2001 ############################################################ (1) Installing Viewsonic VP201mb monitor, will require modification of XF86Config /d/laplace/usr2/people/matt/system/bh/image/master/etc/X11/XF86Config-lcd Identifier "ViewSonic MP201mb" HorizSync 30-82 VertRefresh 50-75 # As root@bh0 cd /etc/X11 ############################################################ Tue Dec 4 16:35:32 PST 2001 ############################################################ http://insights.syroidmanor.com/2001/20010820.htm # As matt@bh0 cda mkdir XFree86-4.1.0-Linux-ix86-glibc21 cd !$ ncftpget -R ftp://ftp.xfree86.org/pub/XFree86/4.1.0/binaries/Linux-ix86-glibc21 # As root@bh0 cd /etc/ cp -r X11 X11.O cd /usr cp -r X11R6 X11R6.O cd ~matt/autoconf/XFree86-4.1.0-Linux-ix86-glibc21 sh Xinstall.sh You appear to have a termcap file: /usr/share/doc/vim-common-5.7/termcap This should be edited manually to replace the xterm entries with those in /usr/X11R6/lib/X11/etc/xterm.termcap ############################################################ Wed Dec 5 08:32:17 PST 2001 ############################################################ (1) Have installed XFree86 4.1.0 on bh0, apparently need to re-install KDE rpm -qa | grep kde kdesupport-2.0.1-1mdk kdelibs-2.0.1-2mdk kdelibs-sound-2.0.1-2mdk kde1-compat-1.1.2-7mdk kdebase-2.0.1-1mdk kde-i18n-British-2.0-1mdk kdeaddutils-2.0-3mdk kdeadmin-2.0.1-1mdk kdegraphics-2.0.1-1mdk kdegraphics-devel-2.0.1-1mdk kdegames-2.0.1-1mdk kdemultimedia-2.0.1-1mdk kdepim-2.0.1-1mdk kdeaddutils-devel-2.0-3mdk kdemultimedia-devel-2.0.1-1mdk kdetoys-2.0.1-1mdk kdenetwork-2.0.1-1mdk kdeutils-2.0.1-1mdk LS /mnt/cdrom*/Mandrake/RPMS*/kde* | grep -v i18 | grep -v devel rpm -Uvh --force `!!` /etc/sysconfig/desktop # No apparent impact on "blurriness" with motion at 1600x1200 # Blurriness remedied by restricting refresh to 50Hz ############################################################ Fri Jan 4 15:24:12 PST 2002 ############################################################ (1) Disabling annoying (and mostly brain-dead) colorization of gcc diagnostic output. # As root@bh0 cd /usr/bin RM gcc ln -s gcc-2.95.2 gcc ############################################################ Mon Jan 21 17:39:45 PST 2002 ############################################################ (1) MWC's Explorer environment incomplete on bh0 # As root@bh0 cd /usr/local/include scp matt@bh1.physics.ubc.ca:/usr/local/include/mwcexplorer.h . scp matt@bh1.physics.ubc.ca:/usr/local/include/mwcexplorer_types.h . scp matt@bh1.physics.ubc.ca:/usr/local/include/mwcstandards.h . scp matt@bh1.physics.ubc.ca:/usr/local/include/utilexp.h . scp matt@bh1.physics.ubc.ca:/usr/local/include/vs_aux.h . scp matt@bh1.physics.ubc.ca:/usr/local/include/vs_aux_types.h . scp matt@bh1.physics.ubc.ca:/usr/local/include/vs_c.h . scp matt@bh1.physics.ubc.ca:/usr/local/include/vs_constants.h . scp matt@bh1.physics.ubc.ca:/usr/local/include/vsexp.h . cdi Installz particle0 Installz utilexp Installz vsaux # Update configuration file (cxInventorPatch) cd /usr/explorer/config scp matt@bh1.physics.ubc.ca:/d/bh1/home/matt/explorer/config/Linux.cf . ############################################################ Fri Feb 1 14:52:15 PST 2002 ############################################################ (1) gdb is broken on bh0 BUG IN DYNAMIC LINKER ld.so: dynamic-link.h: 57: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed! # Try re-installing gdb rpm --query -f `which gdb` gdb-5.0-4mdk cd /mnt/cdrom/Mandrake/RPMS rpm -Uvh --force gdb-5.0-4mdk.i586.rpm # OK ############################################################ Mon Feb 25 10:12:11 PST 2002 ############################################################ (1) Compiling MPI with INTEL compilers on bh[02] # Regular setup has name-collision with mpich.a # Fix via setenv MPILIBNAME mpichintel etc. /d/laplace/usr2/people/matt/system/bhtest.2002.02/mpi.intel.setup cd /usr/local/intel/mpich-1.2.3/lib ln -s libmpichintel.a libmpi.a vi /usr/local/intel/mpich-1.2.3/share/machines.LINUX setenv MPIBIN /usr/local/intel/mpich-1.2.3/bin/ cd /var/tmp/install/intel/mpich-1.2.3/examples/basic $MPIBIN/mpirun -np 2 cpi cd /var/tmp/install/intel/mpich-1.2.3/examples/perftest iopt make cat<mfile bh2.physics.ubc.ca bh0.physics.ubc.ca END a doit '/bin/rm long.gpl; time $MPIBIN/mpirun -np 2 -machinefile mfile ./mpptest -gnuplot -rate -size 16000 \!* 16000 -fname long.gpl; cat long.gpl' doit 256000 ############################################################ DEBUG # As root@bh[02] /d/laplace/usr2/people/matt/system/bhtest.2002.02/mpi.setup cd /var/tmp/install/intel/mpich-1.2.3/examples/perftest cat<mfile bh2.physics.ubc.ca bh0.physics.ubc.ca END # make in examples/basic examples/perftest fails Error: mpich cannot be used as the name for the MPICH library Pick another name and set the environment variable MPILIBNAME to that name and rerun configure + make make: *** No targets specified and no makefile found. Stop. + make install make: *** No rule to make target `install'. Stop. + cd /usr/local/intel/mpich-1.2.3/lib + ln -s libmpich.a libmpi.a ln: libmpi.a: File exists + vi /usr/local/intel/mpich-1.2.3/share/machines.LINUX [root@bh0]# env | grep LIB LD_LIBRARY_PATH=/opt/intel/compiler50/ia32/lib:/usr/local/lib LIBBLAS=-lblas LIBGL=-lGL -lXmu -lXi -lXext -lX11 -lm LIBGLUT=-lglut -lGLU -lGL -lXmu -lXi -lXext -lX11 -lm LIBINVENTOR=-lInventorXt -lInventor -lGL -lXm -lX11 -lm LIBXFORMS=-lforms -lGL -lXext -lX11 -lm RNPL_FLIBS=-lrnpl -lvs -lsv LIB_PATHS=/usr/local/intel/lib IA32_SAVE_LD_LIBRARY_PATH=/usr/local/lib IA32_CURRENT_LD_LIBRARY_PATH=/opt/intel/compiler50/ia32/lib:/usr/local/lib setenv MPIBIN /usr/local/intel/mpich-1.2.3/bin a doit '/bin/rm long.gpl; time $MPIBIN/mpirun -np 2 -machinefile mfile ./mpptest -gnuplot -rate -size 16000 \!* 16000 -fname long.gpl; cat long.gpl' /d/laplace/usr2/people/matt/system/bhtest.2002.02/mpi.intel.setup setenv MPILIBNAME mpichintel ./configure --prefix=/usr/local/intel/mpich-1.2.3 make make install cd /usr/local/intel/mpich-1.2.3/lib ln -s libmpichintel.a libmpi.a vi /usr/local/intel/mpich-1.2.3/share/machines.LINUX ############################################################ Wed Apr 3 14:05:29 PST 2002 ############################################################ (1) Added account for Luis D'Afonseca via linuxconf as root@bh0 (USERID=13204) ############################################################ Thu Apr 11 09:43:11 PDT 2002 ############################################################ (1) bh7 has arrived and Scott has installed Mdk 8.2. Need "noapic" parameter to SMP kernel with this ASUS MB image=/boot/vmlinuz-smp label=linux-smp root=/dev/hda1 initrd=/boot/initrd-smp.img append=" devfs=nomount noapic" read-only # Boots into SMP OK, make linux-smp the boot default uname -a Linux bh7.physics.ubc.ca 2.4.18-6mdksmp #1 SMP Fri Mar 15 01:24:36 CET 2002 i686 unknown [root@bh7 etc]# /sbin/lilo Added linux Added linux-nonfb Added linux-smp * Added linux-enterpris Added failsafe Added floppy see README.bh7 for more details ############################################################ Sat Jun 8 09:33:58 PDT 2002 ############################################################ (1) Need to install GLUT on bh7 ############################################################ Mon Jun 10 10:48:15 PDT 2002 ############################################################ (1) libXpm.a missing on bh7 # As root@bh0 rpm -qf /usr/X11R6/lib/libXpm.a xpm-devel-3.4k-10mdk rpm -qa | grep xpm xpm-3.4k-10mdk xpm-devel-3.4k-10mdk # As root@bh7 rpm -qa | grep xpm libxpm4-3.4k-19mdk ############################################################ Tue Jun 18 08:45:56 PDT 2002 ############################################################ (1) On ???, Roman notices pt.c and executable in his home directory. pt.c apparently implements root exploit using ptrace and a race condition Kernel isn't fixed until 2.2.19 ? Still exporting /home's to *.physics.ubc.ca cd system cp machines.bh machines rrvi /etc/exports Would be most comfortable to reboot all bh machines ############################################################ Mon Jul 22 17:32:53 PDT 2002 ############################################################ (1) Suspect that there may be a problem with GL lib support on bh[13456] since window bordering in xvs isn't working. # As root@bh6 which xvs ldd `!!` libpthread.so.0 => /lib/libpthread.so.0 (0x4001c000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4002e000) libGLU.so.1 => /usr/local/lib/libGLU.so.1 (0x4004f000) libGL.so.1 => /usr/local/lib/libGL.so.1 (0x40072000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x401cd000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x401da000) libm.so.6 => /lib/libm.so.6 (0x402b0000) libc.so.6 => /lib/libc.so.6 (0x402ce000) libvga.so.1 => /usr/lib/libvga.so.1 (0x403b4000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x403fe000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40408000) libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4041e000) libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40432000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4043a000) but there are also GL libs in /usr/X11R6/lib/ cd /usr/local/lib ls -lt libGL.a* libGL.so* libGLU* mkdir Save mv libGL.a* libGL.so* libGLU* Save cd /var/tmp/install/xvs opt auto make # Had to hack on Makefile '-lGL -> -lGL -lGLU' ldd src/xvs # No change in behaviour, window bordering still apparently inoperative ############################################################ Tue Jul 23 12:05:37 PDT 2002 ############################################################ (1) Kevin points out that old versions of scp need to be expunged as well bhCommand 'ls -lt /usr/local/bin/scp' bhCommand 'mv /usr/local/bin/scp /usr/local/bin/scp.O' ############################################################ Sun Sep 1 12:57:37 PDT 2002 ############################################################ (1) Replacing config.ps with laplace's for saner dvips behaviour bhCommand 'cd /usr/share/texmf/dvips/config/; bu config.ps; scp -q root@laplace.physics.ubc.ca:/usr/local/teTeX/texmf/dvips/config.ps .' ############################################################ Wed Sep 4 07:24:25 PDT 2002 ############################################################ (1) Inaki reports problems with dvips on his machine, restoring previous configuration foreach m (bh1 bh2 bh3 bh4 bh5 bh6 bh7 bh8) ssh root@${m} 'cd /usr/share/texmf/dvips/config/; MV config.ps.O config.ps' end ############################################################ Thu Sep 5 08:48:45 PDT 2002 ############################################################ (1) Disabling old ssh executables bhCommand '/bin/mv /usr/local/sbin/sshd /usr/local/sbin/sshd.O' bhCommand '/bin/mv /usr/local/bin/ssh /usr/local/bin/ssh.O' bhCommand '/bin/mv /usr/local/bin/scp /usr/local/bin/scp.O' bhCommand '/bin/mv /usr/local/bin/ssh-keygen /usr/local/bin/ssh-keygen.O' ############################################################ Tue Sep 24 17:52:43 PDT 2002 ############################################################ (1) Second disk installed on bh7 as /d2 # As root@bh7 cd /d2 mkdir home cd / ln -s /d2/home /home2 vi /etc/exports # Duplicated /home -> /home2 entry exportfs -av # As matt@bh0 allCommand 'mkdir -p /d/bh7/home2' # As root@bh7 rmdir /d/bh7/home2 ln -s /home2 /d/bh7/home2 # As matt@laplace rrvi /etc/fstab allCommand 'mount bh7:/home2' # As root@bh7 foreach u (matt fransp jason scn cwlai inaki petryk) mkdir -p /home2/$u chown $u.choptuik /home2/$u end ############################################################ Thu Oct 3 15:12:22 PDT 2002 ############################################################ (1) Installing majordomo on bh0 See ~/system/MAJORDOMO ############################################################ Tue Oct 15 19:30:52 PDT 2002 ############################################################ (1) revtex4 http://publish.aps.org/revtex4/ # Hacked makefile to install bhCommand 'cd ~matt/autoconf/revtex4; make install' ############################################################ Wed Oct 16 11:30:23 PDT 2002 ############################################################ # Getting X going on Steve Plotkin's new AMD system As root@cher Downloaded from http://www.nvidia.com/view.asp?IO=linux_display_1.0-3123 rpm -i -vv NVIDIA_kernel-1.0-3123.rh72smp.i686.rpm rpm -i -vv NVIDIA_GLX-1.0-3123.i386.rpm # Kernel symbol mismatch insmod /lib/modules/2.4.7-10smp//kernel/drivers/video/NVdriver /lib/modules/2.4.7-10smp//kernel/drivers/video/NVdriver: unresolved symbol create_proc_entry_Rsmp_3a9bfbd2 /lib/modules/2.4.7-10smp//kernel/drivers/video/NVdriver: unresolved symbol init_mm_Rsmp_c2de9968 /lib/modules/2.4.7-10smp//kernel/drivers/video/NVdriver: unresolved symbol register_chrdev_Rsmp_65405f1d /lib/modules/2.4.7-10smp//kernel/drivers/video/NVdriver: unresolved symbol remove_proc_entry_Rsmp_cfd23da1 /lib/modules/2.4.7-10smp//kernel/drivers/video/NVdriver: unresolved symbol proc_root_Rsmp_10df3dd9 /lib/modules/2.4.7-10smp//kernel/drivers/video/NVdriver: unresolved symbol irq_stat_Rsmp_0792a433 /lib/modules/2.4.7-10smp//kernel/drivers/video/NVdriver: unresolved symbol proc_root_driver_Rsmp_dfe4578d /lib/modules/2.4.7-10smp//kernel/drivers/video/NVdriver: unresolved symbol __pollwait_Rsmp_57ac46fa /lib/modules/2.4.7-10smp//kernel/drivers/video/NVdriver: unresolved symbol mem_map_Rsmp_9dd8747b sh NVchooser.sh Please download and install the following files: NVIDIA_kernel-1.0-3123.rh72smp.athlon.rpm NVIDIA_GLX-1.0-3123.i386.rpm rpm -e `rpm -qa | grep NV ` rpm -i -vv NVIDIA_kernel-1.0-3123.rh72smp.athlon.rpm rpm -i -vv NVIDIA_GLX-1.0-3123.i386.rpm cd /etc/X11 # Copied XF86Config-4 from bh0:/etc/X11/XF86Config-4, changed monitor name # and disabled 1600x1200 settings ############################################################ Thu Nov 14 17:20:06 PST 2002 ############################################################ (1) Rationalizing groups on bh/vn choptuik -> 600 etcbh vi group bhDistEtc group # Old values matt:x:243:200:Matthew W. Choptuik:/d/bh0/home/matt:/bin/tcsh jason:x:411:502:Jason Ventrella:/d/bh8/home/jason:/bin/tcsh shawley:x:1143:1143:Scott Hawley:/d/bh3/home/shawley:/bin/tcsh inaki:x:367:502:Ignacio Olabarrieta:/d/bh2/home/inaki:/bin/tcsh fransp:x:390:390:Frans Pretorius:/d/bh7/home/fransp:/bin/tcsh cwlai:x:315:315:Chi Wai Lai:/d/bh3/home/cwlai:/bin/tcsh petryk:x:450:450:Roman J. W. Petryk:/d/bh5/home/petryk:/bin/tcsh unruh:!:800:800:William G. Unruh:/d/bh1/home/unruh:/bin/bash awilson:!:451:100:Brock Wilson:/d/bh6/home/awilson:/bin/tcsh hkr:x:1144:1146:Hanna Ruotsalainen:/d/bh6/home/hkr:/bin/tcsh scn:x:395:200:Scott C. Noble:/d/bh7/home2/scn:/bin/tcsh villegas:x:498:1147:Hugo Villegas:/d/bh1/home/villegas:/bin/tcsh luisl:x:500:1148:Luis Lehner:/d/bh1/home/luisl:/bin/tcsh dale:x:1147:1149:Dae-il Choi:/d/bh1/home/dale:/bin/tcsh stroet:x:1148:1150:Lubomir Stroetmann:/d/bh1/home/stroet:/bin/tcsh cvs:x:1149:100:CVS repository account:/d/bh1/home/cvs:/bin/tcsh grade:x:1150:4:Grading account:/d/bh2/home/grade:/bin/tcsh akiles:x:13204:200:Luis D'Afonseca:/d/bh1/home/akiles:/bin/tcsh mpr:x:12604:200:Markus Rumpfkeil:/d/bh1/home/mpr:/bin/tcsh rousseab:x:417:200:Bruno Rousseau:/d/bh1/home/rousseab:/bin/tcsh psandhu:x:11812:200:Pal Sandhu:/d/bh1/home/psandhu:/bin/tcsh sinat:x:12943:200:Sina Tootoonian:/d/bh1/home/sinat:/bin/tcsh # New matt:x:243:600:Matthew W. Choptuik:/d/bh0/home/matt:/bin/tcsh jason:x:411:600:Jason Ventrella:/d/bh8/home/jason:/bin/tcsh shawley:x:1143:600:Scott Hawley:/d/bh3/home/shawley:/bin/tcsh inaki:x:367:600:Ignacio Olabarrieta:/d/bh2/home/inaki:/bin/tcsh fransp:x:390:600:Frans Pretorius:/d/bh7/home/fransp:/bin/tcsh cwlai:x:315:600:Chi Wai Lai:/d/bh3/home/cwlai:/bin/tcsh petryk:x:450:600:Roman J. W. Petryk:/d/bh5/home/petryk:/bin/tcsh unruh:!:800:800:William G. Unruh:/d/bh1/home/unruh:/bin/bash awilson:!:451:600:Brock Wilson:/d/bh6/home/awilson:/bin/tcsh hkr:x:1144:600:Hanna Ruotsalainen:/d/bh6/home/hkr:/bin/tcsh scn:x:395:600:Scott C. Noble:/d/bh7/home2/scn:/bin/tcsh villegas:x:498:600:Hugo Villegas:/d/bh1/home/villegas:/bin/tcsh luisl:x:500:600:Luis Lehner:/d/bh1/home/luisl:/bin/tcsh dale:x:1147:600:Dae-il Choi:/d/bh1/home/dale:/bin/tcsh stroet:x:1148:600:Lubomir Stroetmann:/d/bh1/home/stroet:/bin/tcsh cvs:x:1149:100:CVS repository account:/d/bh1/home/cvs:/bin/tcsh grade:x:1150:4:Grading account:/d/bh2/home/grade:/bin/tcsh akiles:x:13204:600:Luis D'Afonseca:/d/bh1/home/akiles:/bin/tcsh mpr:x:12604:600:Markus Rumpfkeil:/d/bh1/home/mpr:/bin/tcsh rousseab:x:417:600:Bruno Rousseau:/d/bh1/home/rousseab:/bin/tcsh psandhu:x:11812:600:Pal Sandhu:/d/bh1/home/psandhu:/bin/tcsh sinat:x:12943:600:Sina Tootoonian:/d/bh1/home/sinat:/bin/tcsh # Todo; code regroup script and execute bhbgCommand 'cd /; regroup' ############################################################ Tue Jan 14 12:43:36 PST 2003 ############################################################ (1) Encountering problems with GL applications on bh0, re-installing NVidia software # As root@bh0 cd /usr cp -a X11R6 X11R6.O rpm -e NVIDIA_GLX-1.0-1541 rpm -e NVIDIA_kernel-1.0-1541.mdk72smp rpm -U --nodeps -vv /d/bh1/home/matt/RPMS/NVIDIA_GLX-1.0-1541.i386.rpm rpm -U --nodeps -vv /d/bh1/home/matt/RPMS/NVIDIA_kernel-1.0-1541.mdk72smp.i386.rpm cd /usr/lib RM *RPMSAVE* RM libGL.so scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/usr/lib/libGL.so.1.0.1541.x . ln -s libGL.so.1.0.1541.x libGL.so cd /usr/X11R6/lib RM libGL.so libGLU.so cd /usr/X11R6 scp root@bh2.physics.ubc.ca:/usr/X11R6/lib/libGLU.so.1.3 . ln -s libGLU.so.1.3 libGLU.so mv libGL.a libGL.a.old # Appears to have fixed the problem ############################################################ Sat Jan 18 10:22:51 PST 2003 ############################################################ (1) bh0 crashed overnight, had to do manual fsck on /dev/hda6 for second time in a week. Might be a good idea to get replacement disk from Varsity. Nothing apparent in logs. ############################################################ Sun Jan 19 10:36:58 PST 2003 ############################################################ (1) bh0 again crashed overnight, this time had re-booted itself, but still had bad blocks etc. on disk. Will definitely get replacement disk in. Maybe not, given power problems in Hennings of late. ############################################################ Wed Jan 22 09:48:58 PST 2003 ############################################################ (1) As root@bh0 cd /usr/X11R6/lib mv libGL.a libGL.a.O ############################################################ Fri Jan 24 07:27:50 PST 2003 ############################################################ (1) Adding account for Bojan Losic blosic:x:402:307:Bojan Losic:/home/blosic:/bin/tcsh blosic:8eiOlE3wKo5fU:11940::::::-1 ############################################################ Thu Feb 6 12:17:16 PST 2003 ############################################################ (1) Another bh0 crash, with disk errors, had to re-install NVidia stuff, and apparently also KDE now #!/bin/sh -x # This reinstalls NVidia stuff cd /usr cp -a X11R6 X11R6.O rpm -e NVIDIA_GLX-1.0-1541 rpm -e NVIDIA_kernel-1.0-1541.mdk72smp rpm -U --nodeps -vv /d/bh1/home/matt/RPMS/NVIDIA_GLX-1.0-1541.i386.rpm rpm -U --nodeps -vv /d/bh1/home/matt/RPMS/NVIDIA_kernel-1.0-1541.mdk72smp.i386.rpm cd /usr/lib /bin/rm *RPMSAVE* /bin/rm libGL.so scp matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/usr/lib/libGL.so.1.0.1541.x . ln -s libGL.so.1.0.1541.x libGL.so cd /usr/X11R6/lib /bin/rm libGL.so libGLU.so cd /usr/X11R6 scp root@bh2.physics.ubc.ca:/usr/X11R6/lib/libGLU.so.1.3 . ln -s libGLU.so.1.3 libGLU.so mv libGL.a libGL.a.old ################################################################################ # Re-installation of KDE Made string:/mandrake mount point on bh0 ls /mandrake/Mandrake7.2/Mandrake72-inst/Mandrake/RPMS/kde* ls /mandrake/Mandrake7.2/Mandrake72-inst/Mandrake/RPMS2/kde* ls /mandrake/Mandrake7.2/updates72/RPMS rpm -Uvh --force /mandrake/Mandrake7.2/Mandrake72-inst/Mandrake/RPMS/kde* cd /mandrake/Mandrake7.2/Mandrake72-inst/Mandrake/RPMS LS kde* | pre rpm -Uvh --force | csh cd /mandrake/Mandrake7.2/Mandrake72-inst/Mandrake/RPMS2 LS kde* | pre rpm -Uvh --force | csh cd /mandrake/Mandrake7.2/updates72/RPMS LS kde* | pre rpm -Uvh --force | csh ############################################################ Mon Feb 10 14:33:17 PST 2003 ############################################################ (1) Attempting to back up bh0:/lib, bh0:/home in preparation for replacement of disk # As root@bh0 cd / tar cf lib.tar lib ############################################################ Wed Feb 12 10:00:36 PST 2003 ############################################################ (1) Suspect problem with bh0's disk (IBM), Scott has installed 8.2 on a new disk in bh8, X currently not working. Need to install/mung NVIDIA drivers/libs # Followin README.bh8 ###--------------------------------------------------------- ### (9) NVIDIA driver ### ### NOTE: Name of driver is now 'nvidia.o', previously ### NVdriver.o ###--------------------------------------------------------- http://www.nvidia.com/view.asp?PAGE=linux # Downloaded *NV*4191*rpm cd /home/matt/RPMS /bin/ls -1 NVIDIA_GLX-1.0-4191.i386.rpm NVIDIA_GLX-1.0-4191.src.rpm NVIDIA_kernel-1.0-4191.mdk82smp.i586.rpm cd /home/matt/RPMS rpm -U --nodeps -vv NVIDIA_GLX-1.0-4191.i386.rpm rpm -U --nodeps -vv NVIDIA_GLX-1.0-4191.src.rpm rpm -U --nodeps -vv NVIDIA_kernel-1.0-4191.mdk82smp.i586.rpm cd /usr/lib ls -lt libGL* lrwxrwxrwx 1 root root 10 Feb 12 13:25 libGL.so -> libGL.so.1* lrwxrwxrwx 1 root root 21 Feb 12 13:25 libGLcore.so.1 -> libGLcore.so.1.0.4191* lrwxrwxrwx 1 root root 17 Feb 12 13:25 libGL.so.1 -> libGL.so.1.0.4191* -rwxr-xr-x 1 root root 4773696 Dec 9 15:26 libGLcore.so.1.0.4191* -rwxr-xr-x 1 root root 304820 Dec 9 15:26 libGL.so.1.0.4191* # Remaking /usr/lib/libGL.so.1.0.4191 tcsh setenv VERS 1.0-4191 setenv DSOREV 1.0.4191 cd /usr/src/RPM/SOURCES tar zxf NVIDIA_GLX-${VERS}.tar.gz cd NVIDIA_GLX-${VERS} cat>forInventor.c< #include GLXPixmap glXCreateGLXPixmapMESA( Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap ) { return glXCreateGLXPixmap(dpy, visual, pixmap ); } END vi Makefile # Added update: forInventor.o ld -shared -soname libGL.so -o libGL.so.$(DSOREV).x -lc /usr/lib/libGL.so.$(DSOREV) forInventor.o make update cd /usr/lib ls -lt libGL.so /bin/rm libGL.so cp /usr/src/RPM/SOURCES/NVIDIA_GLX-$VERS/libGL.so.$DSOREV.x . ln -s libGL.so.$DSOREV.x libGL.so scp /usr/lib/libGL.so.$DSOREV.x matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/usr/lib # cd /usr/explorer/modules # ./Render # cd /usr/explorer/lib # mv libGL.so libGL.so.explorer # Relink libGLU.a libGLU.so cd /usr/X11R6/lib/ ln -s libGLU.so.1.3.401 libGLU.so ln -s libGLU.so libGLU.a # XF86Config cd /etc/X11 mv XF86Config-4 XF86Config-4.O mv XF86Config XF86Config.O scp root@bh7:/etc/X11/XF86Config . ln -s XF86Config XF86Config-4 diff XF86Config-4 XF86Config.O READY FOR RE-BOOT reboot # Changed default display manager to gdm /etc/sysconfig DISPLAYMANAGER=gdm # NO, NVdriver may not have loaded, added to /etc/rc.d/rc.local # Load the NVidia driver by hand NVDRIVER=/lib/modules/2.4.18-6mdksmp/kernel/drivers/video/NVdriver test -f $NVDRIVER && lsmod $NVDRIVER # Need to get specs for graphics card Mon Sep 2 11:06:14 PDT 2002 # X starts up if NVdriver module is loaded by hand, need to do this # earlier in boot sequence? insmod /lib/modules/2.4.18-6mdksmp/kernel/drivers/video/NVdriver # Documentation at http://download.nvidia.com/XFree86_40/1.0-2960/README.txt /d/laplace/usr2/people/matt/system/bh/README-nvidia-1.0-2960.txt Q: The kernel module doesn't get loaded dynamically when X starts; I always have to do 'modprobe NVdriver' first. What's wrong? A: Make sure the line "alias char-major-195 NVdriver" appears in your module configuration file, generally one of "/etc/conf.modules", "/etc/modules.conf" or "/etc/modutils/alias"; consult the documentation that came with your distribution for details. cd /etc cp modules.conf modules.conf.O vi modules.conf alias autofs autofs4 alias eth0 3c59x alias usb-interface usb-ohci alias /dev/nvidia* nvidia alias char-major-195 nvidia # Specifications for Viewsonic G90f g90f.pdf f_h = 30-97 kHz f_v = 50-180 Hz # Save XF86Config as matt@bh0:~/system/XFREE86/config/nvidia/viewsonic-g90f/XF86Config # See README.bh0-bad-ide ############################################################ Fri Feb 14 01:43:31 PST 2003 ############################################################ Following O/S upgrade, installation of new disk, had smae problems with file corruption as previously, now suspect IDE controller, or some other m-board problem. bh0's disk, graphics card -> bh8's box bh8's disk -> bh6 new disk , bh8's card -> bh0's box -> VARSITY bh8:/home now physically mounted as bh6:/bh8/home # Created ~/system/machines.all-nobh8 rrvi /etc/fstab #bh8:/home /d/bh8/home nfs rw,bg,hard,intr,vers=2,timeo=20 0 0 bh6:/bh8/home /d/bh8/home nfs rw,bg,hard,intr,vers=2,timeo=20 0 0 #bh8:/home /d/bh8/home nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 bh6:/bh8/home /d/bh8/home nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 # As root@Bh6 cd /etc CP exports exports.O vi /etc/exports # Add /bh8/home entry exportfs -av # As matt@bh0 allCommand 'mount -a' # Having problems on most of the bh machines mounting /d/bh8/home, # probably require a re-boot ############################################################ Wed Mar 5 21:54:58 PST 2003 ############################################################ (1) Adding account for Bruno Mundim # From physics bruno:x:570:307:Bruno Mundim:/home/bruno:/bin/tcsh bruno:BlRw3Ngi7S9nk:11926:::::: cd bh/accounts vi bruno_m bruno:x:570:600:Bruno Mundim:/d/bh1/home/bruno:/bin/tcsh ############################################################ Thu May 1 11:34:35 PDT 2003 ############################################################ (1) Adding account for # From physics drgreen:x:12442:400:Daniel Richard Green:/home2/drgreen:/bin/tcsh drgreen:iHsp4KQrwuD2U:11218::::::-1 cd bh/accounts vi dgreen dgreen:x:12442:800:Daniel Richard Green:/d/bh4/home/dgreen:/bin/tcsh bhNewUsers dgreen ############################################################ Sun Jul 20 13:04:57 PDT 2003 ############################################################ Guest account on sgi2 guest gmunu200 zVaduAjJK1V2Y ############################################################ Tue Sep 2 15:49:44 PDT 2003 ############################################################ (1) Changing Martin Snadjr's UID/GID to 635/600 on bh/sgi machines. # As root@bh0 cd /home chown -R msnajdr.choptuik msnajdr # As root@godel chown -R msnajdr.choptuik ~msnajdr ############################################################ Thu Sep 18 17:11:03 PDT 2003 ############################################################ (1) bh0 has hung up at least twice today, suspected backup via bh1 in the first instance, and killed the tar job. The second time seemed oddly conicidental with my resmuption of usage of the system (following a dental procedure), but the tar job is again running. Will alert Kevin to the problem, and ask him to monitor the situation; if it hangs again, will put bh0's disk in another machine to back it up. ############################################################ Mon Sep 29 11:41:28 PDT 2003 ############################################################ (1) Martin S.'s new machine has arrived, 3 GHz P4 w 2 GB RAM, 120 GB disk bh9.physics.ubc.ca 142.103.234.125 SEE README.bh9 ############################################################ Wed Nov 5 14:04:58 PST 2003 ############################################################ (1) Adding account for Roland Stevenson # From physics roland:x:642:307:Roland Stevenson:/home2/roland:/bin/tcsh roland:Dd6qU28yOYyuw:12299:::::: cd bh/accounts vi roland roland:x:642:600:Roland Stevenson:/d/bh5/home/roland:/bin/tcsh bhNewUsers roland etcbh sola vs ############################################################ Wed Nov 5 14:04:58 PST 2003 ############################################################ # Add all bh machines to mandrake export list via string # Add /mandrake to all bh machines bhCommand 'mkdir -p /mandrake' rrvibh /etc/fstab # Added bh0-bh9 to /etc/exports on string # Added 142.103.234.164 142.103.234.154 142.103.234.155 142.103.234.156 142.103.234.157 142.103.234.158 142.103.234.159 142.103.234.165 142.103.234.198 142.103.234.125 # to /etc/hosts.allow ############################################################ Fri Feb 13 22:42:25 PST 2004 ############################################################ (1) Trying to install PGI compilers on bh9 # As root@bh9 cdi setenv PGI /opt/pgi tar xf /d/bh0/home/matt/system/C2/pgi-cdk.tar bu /etc/hosts.equiv ./installcdk # Compiler now working but, there's about a five second or # more delay # Problem was mismatch between SERVER=head on vnfe4 and # SERVER=vnfe4 on bh9. # SOLUTION: Add 142.103.237.228 vnfe4.physics.ubc.ca head # to /etc/hosts ############################################################ Tue Feb 17 19:37:15 PST 2004 ############################################################ # To print via CUPS to Windows printer, might be easier to # export printer as lpd # Or maybe not smb://printer:@CHOPTUIK/wh0.physics.ubc.ca/HPLaserJ # Command line attempt /usr/sbin/lpadmin -p lp403 -v smb://printer@wh0.physics.ubc.ca/HPLaserJ -P /usr/share/cups/model/HP-PostScript/HP_LaserJet_2200.ppd.gz /usr/bin/enable lp403 /usr/sbin/accept lp403 # Doesn't work either ... how is CUPS communicating with PC, apparently not using smbclient # Uses smbspool2, but smbspool2 smb://printer:@CHOPTUIK/wh0/HPLaserJ 100 matt title 1 a smbspool2 'smb://matt:Bab&g1d0@/wh0/HPLaserJ' 100 matt title 1 a # *Is* straightforward to set up Windows/lpd port, see README.CUPS ############################################################ Fri Feb 20 09:04:18 PST 2004 ############################################################ (1) Removing cups software from bh0 since, even though cups service is disabled, the daemon is starting up from time to time and trashing the /etc/printcap file # As root@bh0 rpm -e xpp-0.6-16mdk rpm -e `rpm -qa | grep cups ############################################################ Mon Feb 23 13:21:16 PST 2004 ############################################################ (1) Kevin reported problem with 'xvs' on bh3 ... OpenGL not supported. After hacking around, remedied by copying libGL* from bh4:/usr/local/lib to bh3 ############################################################ Wed Feb 25 21:39:58 PST 2004 ############################################################ (1) Checking configuration state on updated machines etcbh foreach m (bh3 bh4 bh5 bh6) ssh root@${m} 'chkconfig --list | sort' > config.${m} end # Only installed on bh6 autofs autofs-4.0.0-0.19mdk ssh root@bh6 'chkconfig autofs off; service autofs stop; rpm -e autofs-4.0.0-0.19mdk' # Enable sound on all machines foreach m (bh3 bh4 bh5 bh6) ssh root@${m} 'chkconfig sound on; service sound start' end # Enable postfix on all machines foreach m (bh3 bh4 bh5 bh6) ssh root@${m} 'chkconfig postfix on; service postfix start' end foreach m (bh3 bh4 bh5 bh6) ssh root@${m} 'chkconfig --list | sort' > config.${m} endo # Need a postdrop group for postfix, added postdrop:x:103: # but 'service postfix start' fails ############################################################ Thu Feb 26 13:39:52 PST 2004 ############################################################ #----------------------------------------------------------------------- Q: OpenGL applications exit with the following error message: Error: Could not open /dev/nvidiactl because the permissions are too restrictive. Please see the FREQUENTLY ASKED QUESTIONS section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps to correct. A: It is likely that a security module for the PAM system may be changing the permissions on the NVIDIA device files. In most cases this security system works, but it can get confused. To correct this problem it is recommended that you disable this security feature. Different Linux distributions have different files to control this; please consult with your distributor for the correct method of disabling this security feature. As an example, if your system has the file /etc/security/console.perms then you should edit the file and remove the line that starts with "" (we have also received reports that additional references to in console.perms must be removed, but this has not been verified by NVIDIA). If instead your system has the file /etc/logindevperms then you should edit the file and remove the line that lists /dev/nvidiactl. The above steps will prevent the PAM security system from modifying the permissions on the NVIDIA device files. Next, you will need to reset the permissions on the device files back to their original permissions and owner. You can do that with the following commands: chmod 0666 /dev/nvidia* chown root /dev/nvidia* #----------------------------------------------------------------------- rrvibh /etc/security/console.perms /^ dd # Absolutely need to remove all references to ! bhCommand 'chown root.root /dev/nvidia*; chmod 0666 /dev/nvidia*; ls -lt /dev/nvidia*' ############################################################ Thu Feb 26 15:18:10 PST 2004 ############################################################ (1) Kevin reports that moving /usr/local/maple6/bin.IBM_INTEL_LINUX_REDHAT/libdl.so.2 will allow Maple 6 to run under Mandrake 9.2 mv /usr/local/maple6/bin.IBM_INTEL_LINUX_REDHAT/libdl.so.2 /usr/local/maple6/bin.IBM_INTEL_LINUX_REDHAT/libdl.so.sav bhCommand 'test `mdk` = 9.2 && mv /usr/local/maple6/bin.IBM_INTEL_LINUX_REDHAT/libdl.so.2 /usr/local/maple6/bin.IBM_INTEL_LINUX_REDHAT/libdl.so.sav' ssh root@bh9 'mv /usr/local/maple6/bin.IBM_INTEL_LINUX_REDHAT/libdl.so.2 /usr/local/maple6/bin.IBM_INTEL_LINUX_REDHAT/libdl.so.sav' bhCommand 'echo quit | /usr/local/maple6/bin/maple' # OK ############################################################ Fri Feb 27 15:51:40 PST 2004 ############################################################ (1) Problem with bh7 install, won't boot installation from either CD-ROM or floppy. # Have Pal swap disks out into bh6, but BIOS doesn't # recognize them, bh8 umount -l # lazy unmount, gets around device busy problem ############################################################ Sun Feb 29 08:36:24 PST 2004 ############################################################ (1) Backing up bh1 to vnfe4:/d/bh0 # Did some clean up in /var and /home # Mounted bh1:/ as vnfe4:/bh1 # As root@vnfe4 cd /bh1 cp -ap home etc var /home/bh1 # Copying /d/bh1/home/bruno to /d/bh2/home/bruno, and making # the latter Bruno's home directory # As root@bh2 cd /d/bh2/home cp -ap /d/bh1/home/bruno . cd /d/bh1/home; diff -r bruno /d/bh2/home/bruno > /tmp/diffs # OK # As matt@bh0 etcbh make import vi passwd Change bruno's home to /d/bh2/home/bruno # OK ############################################################ Sun Feb 29 19:08:10 PST 2004 ############################################################ (1) Ran 'updatedb' on bh2 .. bh8 (2) For maximum user flexibility in choosing which version of maple to run foreach h (bh2 bh3 bh4 bh5 bh6 bh7 bh8) ssh root@${h} '/bin/rm /usr/local/bin/xmaple; cd; rehash; which xmaple' end # As matt@bh0 etcbh cp motd (3) Update /etc/csh.cshrc so that it sets RNPL_... vars on bh[2345678] etcbh scp root@bh2:/etc/csh.cshrc csh.cshrc.9.2 vi csh.cshrc.9.2 foreach h (bh2 bh3 bh4 bh5 bh6 bh7 bh8) scp csh.cshrc.9.2 root@${h}:/etc/csh.cshrc end (4) Need to rebuild libraries in /usr/local/intel/lib # As root@bh8 cdi tar zxf ~matt/autoconf/rnpletal.tar.gz Install.intel.P4 /usr/local/intel cdi tar zxf ~matt/autoconf/netlib_lapack3.0.tar.gz cd netlib_lapack3.0 CP make.inc.INTEL make.inc make CP *.a /usr/local/intel cdi Installz.intel p410f tar zxf ~matt/autoconf/ncarg-4.2.3-intel.tar.gz cd ncarg-4.2.3-intel make install foreach h (bh2 bh3 bh4 bh5 bh6 bh7) ssh root@${h} 'cd /usr/local/intel; mv lib lib.O; scp -r root@bh8:/usr/local/intel/lib .' end foreach h (bh2 bh3 bh4 bh5 bh6 bh7 bh8) ssh matt@${h} 'cd rnpl_app/g2beta_clean; make clean; make; lsx' end (5) Need to update /root/.cshrc so that HOMEMWC is set to /d/bh0/home/matt # As matt@bh0 etcbh scp root@bh2:/root/.cshrc root.cshrc vi root.cshrc foreach h (bh2 bh3 bh4 bh5 bh6 bh7 bh8) scp root.cshrc root@${h}:~/.cshrc end ############################################################ Sun Feb 29 21:11:27 PST 2004 ############################################################ (1) "Clean" up of bh0:~/matt # As root@vnfe4 cd /d/bh0/home/matt/system/vnshadow nice +19 mv Rtop.O /home/matt/system/vnshadow.bh0 # As matt@bh0 cd /bin/rm -rf Mandrake cd RM *.gz RM -rf Office51 Office52 ############################################################ Wed Mar 3 22:51:07 PST 2004 ############################################################ (1) Installing 'xvs' on machines updated to Mdk 9.[12} # As matt@bh0 cd RPMS wget ftp://fubphpc.tu-graz.ac.at/pub/redhat/9/RedHat/RPMS/libpng10-1.0.13-8.i386.rpm wget ftp://fubphpc.tu-graz.ac.at/pub/redhat/itp/7.3/xv-3.10a-13.i386.rpm bhCommand 'test `hostname -s` = bh0 || rpm -ivh /d/bh0/home/matt/RPMS/libpng10-1.0.13-8.i386.rpm' bhCommand 'test `hostname -s` = bh0 || rpm -ivh /d/bh0/home/matt/RPMS/xv-3.10a-13.i386.rpm; rehash; which xv' ... Failed dependencies libpng.so.2 # As root@bh0 slocate libpng.so ############################################################ Wed Mar 3 22:59:59 PST 2004 ############################################################ (1) Updating to Intel 8.0 compilers on bh9 # As root@bh9 cd /opt mv intel intel.O cdi mkdir -p INTEL cd INTEL setenv CBALL setenv FBALL tar zxf /d/bh0/home/matt/autoconf/l_cc_p_8.0.055.tar.gz tar zxf /d/bh0/home/matt/autoconf/l_fc_p_8.0.034.tar.gz mkdir -p /opt/intel/licenses cd /opt/intel/licenses scp matt@bh0.physics.ubc.ca:/d/bh0/home/matt/autoconf/intel/licenses/l_for_09682602.lic . scp matt@bh0.physics.ubc.ca:/d/bh0/home/matt/autoconf/intel/licenses/l_cpp_30956520.lic . cd /var/tmp/install/INTEL/l_cc_p_8.0.055 # Default installation now seems to have different components in different directories, # Install in /opt/intel # Use --nodeps -U --replacefiles flags to RPM ./install.sh cd /var/tmp/install/INTEL/l_fc_p_8.0.034 ./install.sh # For backwards compatiblity with Installz scripts cd /opt/intel/bin mv ifc ifc.O ln -s ifort ifc bu /etc/ld.so.conf vi /etc/ld.so.conf /usr/X11R6/lib /usr/lib/qt3/lib /usr/local/lib /opt/intel/lib ldconfig cdi; ./Installz rvs cdi; ./Installz.intel rvs vi /etc/csh.cshrc setenv INTEL /opt/intel ############################################################ Wed Mar 3 23:22:33 PST 2004 ############################################################ (1) Installing PGI compilers on bh1-bh8 # AS root@bh1 setenv PGI /opt/pgi tar xf /d/bh0/home/matt/system/C2/pgi-cdk.tar cd pgi-cdk bu /etc/hosts.equiv ./installcdk< /tmp/matt-modified foreach f (`cat /tmp/matt-modified`) diff -r $f /d/bh0/home/matt/$f >> /tmp/matt-diffs end # Doesn't appear that anything is missing ############################################################ Fri Apr 2 14:50:05 PST 2004 ############################################################ (1) Replacing config.ps with laplace's for saner dvips behaviour mkdir -p /d/bh0/home/matt/system/bh/image/master/usr/share/texmf/dvips/config cd !$ scp -q root@laplace.physics.ubc.ca:/usr/local/teTeX/texmf/dvips/config.ps . bhCommand 'cd /usr/share/texmf/dvips/config/; bu config.ps; scp -q bh0:/d/bh0/home/matt/system/bh/image/master/usr/share/texmf/dvips/config/config.ps .' # Doesn't produce output identical to that on laplace, but is close ############################################################ Mon Apr 5 13:34:10 PDT 2004 ############################################################ (1) Roman reports that bh7 has hung up multiple times, X server seems to be running amok. Have enabled hardware AGP support in XF86Config-4 file Section "Screen" Identifier "Screen 1" Device "NVIDIA GeForce" Monitor "ViewSonic G90f" Option "NvAGP" "1" DefaultDepth 24 ############################################################ Thu Apr 8 15:49:43 PDT 2004 ############################################################ (1) smpeg bhCommand 'rpm -ivh --force /mandrake/Mandrake921/cd*/Mandrake/RPM*/*libtiff*' bhCommand 'rpm -ivh --force /mandrake/Mandrake921/cd*/Mandrake/RPM*/{*SDL*,*smpeg*}' ############################################################ Tue Apr 13 15:22:42 PDT 2004 ############################################################ (1) Adding account for John Homenuke # From physics jhomenuk:x:13224:400:John Nicholas Homenuke:/home2/jhomenuk:/bin/tcsh jhomenuk:B6iicC9kTBsfY:12311:::::: cd bh/accounts vi jhomenuk jhomenuk:x:13224:600:John Nicholas Homenuke:/d/bh4/home/jhomenuk:/bin/tcsh bhNewUsers jhomenuk etcbh sola vs B6iicC9kTBsfY bhDistEtc shadow ############################################################ Wed Apr 14 16:04:57 PDT 2004 ############################################################ (1) Istalling harvmac.tex on bh machines bhCommand 'mkdir -p /usr/local/share/texmf/tex/tex/misc; cd /usr/local/share/texmf/tex/tex/misc; scp -q matt@laplace.physics.ubc.ca:/usr/local/tex/inputs/harvmac.tex .; texhash' ############################################################ Wed Apr 14 19:59:14 PDT 2004 ############################################################ (1) Installing maloc (Holst's Minimal Abstraction Layer for Object-oriented C) http://scicomp.ucsd.edu/~mholst/codes/maloc/ # As matt@bh0 cd RPMS wget http://scicomp.ucsd.edu/~mholst/codes/maloc/maloc-0.1-2.i386.rpm alllinuxCommand 'cd /tmp; scp matt@bh0.physics.ubc.ca:/d/bh0/home/matt/RPMS/maloc-0.1-2.i386.rpm .; rpm -ivh maloc-0.1-2.i386.rpm' # Installs libraries in /usr/local/lib/i686-pc-linux # Installs headers in /usr/local/include/maloc # Need to add /usr/local/lib/i686-pc-linux to /etc/ld.so.conf rrvi /etc/ld.so.conf /usr/local/lib/i686-pc-linux alllinuxCommand ldconfig # Will need to build from source on vnfe[1234] ############################################################ Wed Apr 14 20:15:03 PDT 2004 ############################################################ (1) Installing mpich (1.2.5.2) # As matt@bh0 cd /tmp wget http://www-unix.mcs.anl.gov/mpi/mpich/downloads/mpich.tar.gz tar zxf mpich.tar.gz tz mpich-1.2.5.2 mv mpich-1.2.5.2.tar.gz ~/autoconf cda tar zxf mpich-1.2.5.2.tar.gz cd mpich-1.2.5.2 # As root@bh0 cdi tar zxf ~matt/autoconf/mpich-1.2.5.2.tar.gz cd mpich-1.2.5.2 gopt setenv RSHCOMMAND ssh configure --prefix=/usr/local -opt="-O" --disable-debug make make install bhbgCommand 'cdi; tar zxf ~matt/autoconf/mpich-1.2.5.2.tar.gz; cd mpich-1.2.5.2; gopt; setenv RSHCOMMAND ssh; configure --prefix=/usr/local -opt="-O" --disable-debug ; make; make install;' bhbgCommand '/bin/rm /usr/local/lib/libmpi.a; ln -s /usr/local/lib/libmpich.a /usr/local/lib/libmpi.a' # As matt@bh0 # Something wrong with build, MPI_Init etc. not defined in libmpich.a ############################################################ Sat Jun 12 09:52:05 PDT 2004 ############################################################ (1) Bill points out that bh machines are exporting Lexmark printer /etc/cups/cupsd.conf # BrowseAddress @LOCAL # Enable on bh1, disable on remainder rrvibh /etc/cups/cupsd.conf bhbgCommand service cups restart ############################################################ Mon Jun 14 13:00:45 PDT 2004 ############################################################ (1) Printing to lpd://wh0.physics.ubc.ca/HPLaserJ-lpd no longer working Try deleting, then adding printer mozilla http://localhost:631/admin Name -> lp Location -> Hennings 403 Decription -> HP LaserJet 2220D Device -> LPD/LPR Host or Printer Device URI -> lpd://wh0.physics.ubc.ca/HPLaserJ-lpd -> HP Model/Driver for lp -> HP LaserJet 2200 (en) # Setting default printer lpoptions -d lp # This didn't work, but deleting and reinstalling # Other Network File and Print Services component of Windows did ############################################################ Mon Jul 5 14:27:58 PDT 2004 ############################################################ (1) Possible problem with ifort/icc on bh5 No problem with environment---rnpl f77 program was using too much memory for bh5. ############################################################ Sat Jul 31 16:37:57 PDT 2004 ############################################################ (1) Had Mary Ann add MX records to bh0's DNS configuration, mail to matt@bh0 from outside works (2) Need to get anonymous FTP working on bh0 chkconfig --list | grep ftp # Can run proftpd or proftpd-xinet ? ############################################################ Fri Aug 6 09:15:49 PDT 2004 ############################################################ (1) Last stages of laplace retirement. ------------------------------------------------------------ Mail ------------------------------------------------------------ Begin to read mail on bh0, need to transfer ~/mail from laplace. # On laplace ~/mail -> /d/bh0/home/laplace/usr2/people/matt/mail ~/private -> /d/bh0/home/matt/private # On bh0 ~/mail -> /home/laplace/usr2/people/matt/mail ~/private /home/matt/private # As matt@bh0 cd mail; cd ..; cp -a mail mail.2004.08.06 /bin/rm ~/mail mv mail ~ mv ~/.forward ~/.forward.O # AS matt@laplace cat>>.forward< Aug 9 13:59:24 bh0 postfix/cleanup[4447]: 33D6DEE990: message-id=<20040809175924.33D6DEE990@bh0.physics.ubc.ca> Aug 9 13:59:24 bh0 postfix/nqmgr[4438]: 33D6DEE990: from=, size=349, nrcpt=1 (queue active) Aug 9 13:59:24 bh0 postfix/smtp[4449]: 33D6DEE990: to=, relay=mail.physics.ubc.ca[142.103.236.13], delay=0, status=sent (250 2.0.0 i79HxOlY006399 Message accepted for delivery) Aug 9 13:59:33 bh0 postfix/smtpd[4456]: connect from laplace.physics.ubc.ca[142.103.234.160] Aug 9 13:59:33 bh0 postfix/smtpd[4456]: BC901EE98E: client=laplace.physics.ubc.ca[142.103.234.160] Aug 9 13:59:33 bh0 postfix/cleanup[4447]: BC901EE98E: message-id=<20040809175924.33D6DEE990@bh0.physics.ubc.ca> Aug 9 13:59:33 bh0 postfix/nqmgr[4438]: BC901EE98E: from=, size=1838, nrcpt=1 (queue active) Aug 9 13:59:33 bh0 postfix/smtpd[4456]: disconnect from laplace.physics.ubc.ca[142.103.234.160] Aug 9 10:59:33 bh0 postfix/local[4458]: BC901EE98E: to=, relay=local, delay=0, status=sent ("|/usr/bin/procmail -Y -a $DOMAIN") cd mv .procmailrc.sav .procmailrc tm # Trying to build/install UW imapd # Downloaded imap.tar.Z to matt@bh0:~/autoconf # Uninstall Courier version rpm -qa | grep courier rpm -e `!!` # As matt@bh0, and after much flailing (i.e. need to # figure out how to get encyrpted passwords working (need # SSL certificates?) cda zcat imap.tar.Z | tar xf - cd imap-2004a # The following SSLTYPE enables both plain-text and # encrypted # As root@bh0 cd ~matt/autoconf make slx SSLTYPE=unix cd imapd cp imapd /usr/local/bin # Created /etc/xinetd.d/imap # default: off # description: The IMAP service allows remote users to access their mail using \ # an IMAP client such as Mutt, Pine, fetchmail, or Netscape \ # Communicator. service imap { socket_type = stream wait = no user = root server = /usr/local/bin/imapd log_on_success += HOST DURATION log_on_failure += HOST disable = no } /etc/xinetd.d/imaps # default: off # description: The IMAPS service allows remote users to access their mail \ # using an IMAP client with SSL support such as Netscape \ # Communicator or fetchmail. service imaps { socket_type = stream wait = no user = root server = /usr/local/bin/imapd log_on_success += HOST DURATION log_on_failure += HOST disable = no } # Mail retrieval via Mozilla now works, but deletion doesn't # seem to be working from Mozilla ... actually is working, # but need to Exit from Mozilla (?) to force update of remote # mbox? # Mail retrieval AND deletion seems to be working from # Windows TODO # GET ENCRYPTED PASSWORD / CONNECTION WORKING # SYNOPSIS - Install UW-imap (/usr/local/bin) make slx SSLTYPE=unix - Add /etc/hosts.allow entry for imapd imapd: 192.186.1.,127.0.0.1 - Add /etc/xinetd.d entries for imap / imaps /etc/xinetd.d imap /etc/xinetd.d imaps - Nothing in ~/.procmail (thus far) - Configure client ------------------------------------------------------------ FTP / Anonymous FTP ------------------------------------------------------------ http://www.aerospacesoftware.com/proftpd.html vi /etc/proftpd.conf # Modified ServerName "UBC Numerical Relativity FTP Server" ServerType standalone # Added User ftp Group ftp UserAlias anonymous ftp RequireValidShell off DenyAll # OK chkconfig proftpd on chkconfig httpd on ------------------------------------------------------------ Postfix ------------------------------------------------------------ (1) Added to /etc/postfix/main.cf relayhost=physics.ubc.ca # following aliasing of laplace and bh0 ------------------------------------------------------------ /usr/people ------------------------------------------------------------ # As root@bh0 cd /d/bh0/home/laplace mv usr usr.O mkdir usr cd usr cp -a /d/laplace/usr/people . # As root@laplace cd /usr mv people people.O ln -s /d/bh0/home/laplace/usr/people . ############################################################ Sat Aug 7 09:21:46 PDT 2004 ############################################################ (1) New account for Jason Penner # As choptuik@physics sudo pwentry ajpenner:x:689:307:Andrew Jason Penner:/home2/ajpenner:/bin/tcsh ajpenner:vTRev1W0igUD2:12635:::::: # As root@bh0 /usr/sbin/drakconf /usr/sbin/drakconf.real # Added account chmod a+rx ~ajpenner # As matt@bh0 etcbh make import sola vs # vTRev1W0igUD2 bhDistEtc passwd shadow ############################################################ Tue Aug 17 15:33:24 PDT 2004 ############################################################ (1) Power outage in Hennings ?? this PM, Roman reports that X-servers on bh[23678] do not start, even after reboot # As root@bh[23678] insmod /lib/modules/2.4.22-26mdksmp/kernel/drivers/video/nvidia.o killall gdm-binary sleep 3 gdm # OK, except on bh3--does that machine *have* an NVIDIA card? # Apparently so, will try reinstalling NVidia driver. # From README.NVIDIA cd /usr/src/linux make clean make mrproper make oldconfig make dep # Disable X11 at boot, precautionary in case something goes awry # in installation procedure vi /etc/inittab # Set C compiler to gcc with optimization and compile kernel module gopt sh ~matt/RPMS/NVIDIA-Linux-x86-1.0-5336-pkg1.run -a --opengl-headers # Documentation in /usr/share/doc/NVIDIA_GLX-1.0/README # Copy X configuration file from bh2 cd /etc/X11 bu XF86Config-4 scp bh2:/etc/X11/XF86Config-4 . # Make 'gdm' default display manager #cd /d/bh9/home/Mandrake921.install/cd1/Mandrake #rpm -ivh RP*/*zenity* #rpm -ivh RP*/*gdm-2* # Ensure that gdm package is intalled rpm -qa | grep gdm-2 echo "DISPLAYMANAGER=GDM" > /etc/sysconfig/desktop # Disable PAM security on /dev/nvidia* # Be sure to delete *all* lines that begin with or system # may not boot!!! vi /etc/security/console.perms / delete insmod nvidia chown root.root /dev/nvidia*; chmod 0666 /dev/nvidia*; ls -lt /dev/nvidia* vi /etc/inittab # Enable X11 at boot #----------------------------------------------------------------------- # Testing reboot of bh2 # Failed, NVidia module doesn't install and X server fails to start # OK, apparently kernels have been updated, but NVidia stuff hasn't # been bhCommand uname -a bhCommand ls -lt /usr/src/linux #----------------------------------------------------------------------- # Rebuilt on bh3, OK, but then noticed that default kernel on bh3 should be 22-32 ! Linux bh0.physics.ubc.ca 2.4.22-26mdkenterprise #1 SMP Wed Jan 7 07:10:39 MST 2004 i686 unknown unknown GNU/Linux Linux bh1.physics.ubc.ca 2.4.22-32mdksmp #1 SMP Tue May 18 00:49:17 MDT 2004 i686 unknown unknown GNU/Linux Linux bh2.physics.ubc.ca 2.4.22-32mdksmp #1 SMP Tue May 18 00:49:17 MDT 2004 i686 unknown unknown GNU/Linux Linux bh3.physics.ubc.ca 2.4.22-32mdksmp #1 SMP Tue May 18 00:49:17 MDT 2004 i686 unknown unknown GNU/Linux Linux bh4.physics.ubc.ca 2.4.22-32mdksmp #1 SMP Tue May 18 00:49:17 MDT 2004 i686 unknown unknown GNU/Linux Linux bh5.physics.ubc.ca 2.4.22-26mdksmp #1 SMP Wed Jan 7 03:34:51 MST 2004 i686 unknown unknown GNU/Linux Linux bh6.physics.ubc.ca 2.4.22-32mdksmp #1 SMP Tue May 18 00:49:17 MDT 2004 i686 unknown unknown GNU/Linux Linux bh7.physics.ubc.ca 2.4.22-32mdksmp #1 SMP Tue May 18 00:49:17 MDT 2004 i686 unknown unknown GNU/Linux Linux bh8.physics.ubc.ca 2.4.22-32mdksmp #1 SMP Tue May 18 00:49:17 MDT 2004 i686 unknown unknown GNU/Linux Linux bh9.physics.ubc.ca 2.4.21-0.13mdkenterprise #1 SMP Fri Mar 14 14:40:17 EST 2003 i686 unknown unknown GNU/Linux # Pal doesn't apparently have a copyt of the source for 22-32, found it at # http://ftp.sh.cvut.cz/MIRRORS/Mandrake/mandrake-updates/9.2/RPMS/ # As matt@bh0 cd RPMS wget http://ftp.sh.cvut.cz/MIRRORS/Mandrake/mandrake-updates/9.2/RPMS/kernel-source-2.4.22-32mdk.i586.rpm # Hack bhCommand (bhN) to exclude bh0, bh9 bhCommand 'hostname; rpm -Ufvh /d/bh0/home/matt/RPMS/kernel-source-2.4.22-32mdk.i586.rpm; ls -lt /usr/src/linux' # As root@bh2 rpm -e kernel-source-2.4.22-36mdk rpm -Ufvh /d/bh0/home/matt/RPMS/kernel-source-2.4.22-32mdk.i586.rpm bhbgCommand 'cd /usr/src/linux; make clean; make mrproper; make oldconfig; make dep' # bhCommand 'gopt; sh ~matt/RPMS/NVIDIA-Linux-x86-1.0-5336-pkg1.run -a --opengl-headers' bhCommand 'which nvidia-installer' # Doesn't exist on bh1, bh4 #----------------------------------------------------------------------- # Following is not necessary as nvidia-installer has an update option. X needs to be # killed prior to update, however. #----------------------------------------------------------------------- # Get most recent version of installer nvidia-installer --current # returns URL # As matt@bh0 cd RPMS wget ftp://download.nvidia.com/XFree86/Linux-x86/1.0-6111/NVIDIA-Linux-x86-1.0-6111-pkg1.run foreach i (1 2 3 4 5 6 7 8) ssh root@bh$i # Set C compiler to gcc with optimization and compile kernel module gopt sh /d/bh0/home/matt/RPMS/NVIDIA-Linux-x86-1.0-6111-pkg1.run end #----------------------------------------------------------------------- # Check for users and kill X where possible # To do bh1, bh5, bh7 foreach i (2 3 4 6 8) ssh root@bh$i killall gdm-binary killall gdm-binary gopt nvidia-installer --update end WARNING: Your kernel was configured to include rivafb support as a loadable kernel module. The rivafb driver conflicts with the NVIDIA driver; the NVIDIA kernel module will still be built and installed, but be aware that the NVIDIA driver will not be able to function properly if the rivafb module is loaded! # As root@bh2 ... lsmod | grep riv # ... returns nothing, so proceed ... build OK insmod nvidia gdm # seems good to go. reboot # OK # bh1 John's machine---doesn't have NVIDIA card? # bh2 OK # bh3 OK # bh4 needed echo "DISPLAYMANAGER=GDM" > /etc/sysconfig/desktop # and doesn't have NVIDIA card # bh5 runs the 22-26 kernel by default still! # As root@bh5 cd /boot /bin/ln -sf kernel.h-2.4.22-32mdksmp kernel.h /bin/ln -sf System.map-2.4.22-32mdksmp System.map /bin/ln -sf config-2.4.22-32mdksmp config /bin/ln -sf initrd-2.4.22-32mdksmp.img initrd-smp.img /bin/ln -sf vmlinuz-2.4.22-32mdksmp vmlinuz-smp /bin/ln -sf message-graphic message /bin/ln -sf initrd-2.4.22-26mdk.img initrd.img /bin/ln -sf vmlinuz-2.4.22-26mdk vmlinuz nvidia-installer --uninstall gopt sh /d/bh0/home/matt/RPMS/NVIDIA-Linux-x86-1.0-6111-pkg1.run # ... OK # bh6 OK WARNING: Unable to restore symbolic link /usr/X11R6/lib/libGL.so.1 -> libGL.so.1.2 (File exists). # bh7 OK after a reboot # bh8 OK bhCommand ls -lt /boot/vmlinuz-smp >>> Executing as root@bh0.physics.ubc.ca lrwxrwxrwx 1 root root 23 May 30 10:44 /boot/vmlinuz-smp -> vmlinuz-2.4.22-32mdksmp >>> Executing as root@bh1.physics.ubc.ca lrwxrwxrwx 1 root root 23 May 30 10:45 /boot/vmlinuz-smp -> vmlinuz-2.4.22-32mdksmp >>> Executing as root@bh2.physics.ubc.ca lrwxrwxrwx 1 root root 23 May 30 10:46 /boot/vmlinuz-smp -> vmlinuz-2.4.22-32mdksmp >>> Executing as root@bh3.physics.ubc.ca lrwxrwxrwx 1 root root 23 May 30 10:47 /boot/vmlinuz-smp -> vmlinuz-2.4.22-32mdksmp >>> Executing as root@bh4.physics.ubc.ca lrwxrwxrwx 1 root root 23 May 30 10:47 /boot/vmlinuz-smp -> vmlinuz-2.4.22-32mdksmp >>> Executing as root@bh5.physics.ubc.ca lrwxrwxrwx 1 root root 23 Jun 14 12:36 /boot/vmlinuz-smp -> vmlinuz-2.4.22-26mdksmp >>> Executing as root@bh6.physics.ubc.ca lrwxrwxrwx 1 root root 23 May 28 2004 /boot/vmlinuz-smp -> vmlinuz-2.4.22-32mdksmp >>> Executing as root@bh7.physics.ubc.ca lrwxrwxrwx 1 root root 23 May 30 10:49 /boot/vmlinuz-smp -> vmlinuz-2.4.22-32mdksmp >>> Executing as root@bh8.physics.ubc.ca lrwxrwxrwx 1 root root 23 May 30 10:49 /boot/vmlinuz-smp -> vmlinuz-2.4.22-32mdksmp ############################################################ Thu Aug 19 18:54:27 PDT 2004 ############################################################ (1) New account for Benjamin Gutierrez # Scott and Pal probably have most of this automated/automatable ! # As matt@vnfe1 # vn; vi README # As matt@bh2 # c2; vi README # As choptuik@physics sudo pwentry benjamin:x:694:307:Benjamin Gutierrez:/home2/benjamin:/bin/tcsh benjamin:p/9yuV5eZh6N.:12648:::::: # As root@bh0 /usr/sbin/drakconf /usr/sbin/drakconf.real # Added account setenv U benjamin chmod a+rx ~${U} cd /Public/People mkdir -p $U chmod a+rx $U chown $U.choptuik $U ls -ltd /Public/People/$U # As matt@bh0 etcbh make import sola vs # p/9yuV5eZh6N. bhDistEtc passwd shadow ############################################################ Fri Aug 20 10:09:52 PDT 2004 ############################################################ (1) Coded matt@bh0:~/scripts/sys-usage # As matt@bh0, for the 6 fullest partitions sys-usage `ddf | skip 1 | nth 6 | lino 1 6` 5347489 maggie 28909472 inaki 13871888 scn 11783724 rousseab 10374136 cwlai 27776024 scn 10665412 inaki2 # Sent mail to maggie@math.ubc.ca scott_n inaki kevin ############################################################ Mon Aug 23 16:23:05 PDT 2004 ############################################################ # (1) Still trying to get Mozilla to browse Fortran source code. # Try installing more recent version (1.7) # As root@bh0 rpm -e galeon-1.3.9-0.92mdk rpm -qa | grep mozilla rpm -e `!!` # Downloaded Mozilla 1.7.2 from http//www.mozilla.org cd /tmp/mozilla-installer # At first blush, seems to be a no-go, grabbed source code, and will see if # there's any reference to Fortran # Need to read up on Mozilla and MIME types ############################################################ Fri Aug 27 10:43:12 PDT 2004 ############################################################ # 1) physics down? Replaced /etc/resolv.conf on bh machines to search physics.ubc.ca nameserver 137.82.1.1 nameserver 142.103.236.1 nameserver 137.82.28.3 # 2) Looking for software to merge mbox files, which amounts to # sorting messages. # As root@bh0 cdi wget http://cpan.mybsd.org.my/authors/id/A/AZ/AZS/mailsort/mailsort-1.26 cp mailsort-1.26 /usr/local/bin/mailsort bhCommand 'scp root@bh0:/usr/local/bin/mailsort /usr/local/bin' # Discovered that there's a /usr/local/bin/perl, default for {root,matt} bhCommand mv /usr/local/bin/perl /usr/local/bin/perl.O bhCommand mailsort -h ############################################################ Wed Sep 1 10:14:23 PDT 2004 ############################################################ # 1) Following POWER OUTAGE (Henn 200, 201), wh0 generates # "Remote computer not available" error when trying to mount # bh0 disk. # smbd apparently running, will try restart, log files are in # /var/log/samba/log.smbd*, created alias 'slog' # Looks like problem with wh0, reboot, after much flailing, restart # of service on bh0 clears up the problem (duh) ############################################################ Wed Sep 1 11:12:19 PDT 2004 ############################################################ # 1) bh0:/home usage 32930900 matt 11978668 laplace 1780496 Public-bh0 696540 ftp 690972 Public 455364 laplace.O 48912 backups 9300 RPMS 9088 guest 692 majordomo 168 mrnis 20 httpd 4 Usage.O 4 Usage cd matt; usage # As root@bh0 cd /d/bh0/home RM -r laplace.O mv /d/bh0/home/laplace /d/bh9/home ln -s /d/bh9/home/laplace /d/bh0/home ############################################################ Thu Sep 2 14:34:35 PDT 2004 ############################################################ # 1) Need to merge /d/laplace/usr2/people/matt/scripts # and /d/bh0/home/matt/scripts diff -r /d/laplace/usr2/people/matt/scripts /d/bh0/home/matt/scripts | grep 'Only in /d/laplace/usr2/people/matt/scripts' > /tmp/out nth last < /tmp/out > /tmp/files cd /d/laplace/usr2/people/matt/scripts foreach f (`cat /tmp/files`) test -f $f && (echo "$f is a regular file"; cp $f /d/bh0/home/matt/scripts) test -f $f || echo "$f is not a regular file" end ############################################################ Sun Sep 5 11:30:46 PDT 2004 ############################################################ # 1) Installing bzflag on bh machines bhbgCommand 'rpm -Uvh /d/bh9/home/Mandrake921.install/cd1/Mandrake/RPMS3/bzflag-1.7g2-1mdk.i586.rpm' etcbh scp root@bh0:/etc/csh.cshrc csh.cshrc.bh0 diff csh.cshrc csh.cshrc.bh0 ############################################################ Sun Sep 12 15:09:11 PDT 2004 ############################################################ # 1) Geting Maple 6 / Maple 8 working simultaneously on # laptop # As root@bhlap0 mv /usr/local/maple6/bin.IBM_INTEL_LINUX_REDHAT/libc.so.6 /usr/local/maple6/bin.IBM_INTEL_LINUX_REDHAT/libc.so.6.sav mv /usr/local/maple6/bin.IBM_INTEL_LINUX_REDHAT/libdl.so.2 /usr/local/maple6/bin.IBM_INTEL_LINUX_REDHAT/libdl.so.2.SAV ############################################################ Tue Sep 21 13:17:11 PDT 2004 ############################################################ # Make Maple 8 default bhCommand lnmaple bhCommand 'ls -lt `which maple`' bhCommand 'ls -lt `which xmaple`' ############################################################ Fri Sep 24 15:25:08 PDT 2004 ############################################################ # 1) Power outage 3rd/4th floors of Hennings scheduled for # tomorrow 7:30 AM - 4:00 PM etcbh vi motd.2004.09.24 CP !$ motd bhDistEtc motd Sat Sep 25 07:47:24 PDT 2004 # All powered down save bh0 ############################################################ Thu Sep 30 13:32:22 PDT 2004 ############################################################ # Recovering from Thunderbird disaster, whereby changing an # account name via the Thunderbird interface on wh0 resulted # in the deletion of most of matt@bh0.physics.ubc.ca:~/mail # On vnfe4 # Pal has recovered to # As root@vnfe4 setenv R /home/backups/restore/bh0-level-0-aug/d/bh0/home/d/bh0/home/matt/mail cd $R; ls cd .. zf mail ftp bh0 tar xf mail.tar mail # ftp bh0 ftp> put mail.tar.gz local: mail.tar.gz remote: mail.tar.gz 227 Entering Passive Mode (142,103,234,164,134,29). 150 Opening BINARY mode data connection for mail.tar.gz 226 Transfer complete. 256944598 bytes sent in 26.1 secs (9.6e+03 Kbytes/sec) ftp> # As matt@bh0 mkdir ~/restore cd ~/restore ls # Identical LS | wc in restore and original, proceed by adding incremental, # oldest first, have 25 + 1(sigh) incrementals, # 1) Sept2 Sept28 # 2) Sept29 # 3) Merge with current matt@bh0:~/mail #( $) Sept30) foreach d ( Sept2 Sept3 Sept4 Sept5 Sept6 Sept7 Sept8 Sept9 Sept10 Sept11 Sept12 Sept13 Sept14 Sept18 Sept19 Sept20 Sept21 Sept22 Sept23 Sept24 Sept25 Sept26 Sept27 Sept28 ) cd /home/backups/restore foreach d ( Sept2 Sept3 Sept4 Sept5 Sept6 Sept7 Sept8 Sept9 Sept10 Sept11 Sept12 Sept13 Sept14 Sept18 Sept19 Sept20 Sept21 Sept22 Sept23 Sept24 Sept25 Sept26 Sept27 Sept28 ) test -d && echo "Yes, $d exists!" test -d || echo "OUCH!!" end script /root/LOG-2004-09-30 cd /home/backups/restore foreach d ( Sept2 Sept3 Sept4 Sept5 Sept6 Sept7 Sept8 Sept9 Sept10 Sept11 Sept12 Sept13 Sept14 Sept18 Sept19 Sept20 Sept21 Sept22 Sept23 Sept24 Sept25 Sept26 Sept27 Sept28 ) mail-restore $d # skip the sent-mail!! end # OK have been using 'cp' without the '-a' option, so need to revert to original level-0 state from tar file # As root@vnfe4 cd /home/backups/restore/bh0-level-0-aug/d/bh0/home/d/bh0/home/matt mv mail mail.0 cd /tmp tar zxf /home/backups/restore/bh0-level-0-aug/d/bh0/home/d/bh0/home/matt/mail.tar.gz cd mail # MV root owned mkdir Sept29-root-owned mv mail /home/backups/restore/bh0-level-0-aug/d/bh0/home/d/bh0/home/matt [root@head mail]# lsm total 461584 drwxr-xr-x 2 matt choptuik 4096 Sep 30 18:06 Sept29-root-owned/ drwxr-xr-x 2 root root 4096 Sep 29 17:47 Archive/ -rw------- 1 matt choptuik 82576383 Aug 25 09:50 sent-mail -rw-r--r-- 1 matt choptuik 28406 Aug 24 11:49 scott_w -rw-r--r-- 1 matt choptuik 132545 Aug 24 11:48 bruno_m -rw-r--r-- 1 matt choptuik 34511 Aug 24 11:29 aps -rw-r--r-- 1 matt choptuik 13677880 Aug 24 11:29 grad_scholarships -rw-r--r-- 1 matt choptuik 13677880 Aug 24 11:29 gs -rw-r--r-- 1 matt choptuik 87175 Aug 24 11:29 pfc -rw-r--r-- 1 matt choptuik 1619574 Aug 24 09:33 petryk -rw-r--r-- 1 matt choptuik 1619574 Aug 24 09:33 roman -rw-r--r-- 1 matt choptuik 100835 Aug 24 09:31 hlcp -rw-r--r-- 1 matt choptuik 2960 Aug 24 09:30 pims # Need to fix links up first? # No ... let's see how the script goes script /root/LOG-2004-09-30 cd /home/backups/restore foreach d ( Sept2 Sept3 Sept4 Sept5 Sept6 Sept7 Sept8 Sept9 Sept10 Sept11 Sept12 Sept13 Sept14 Sept18 Sept19 Sept20 Sept21 Sept22 Sept23 Sept24 Sept25 Sept26 Sept27 Sept28 ) mail-restore $d end # No incremental for # TODO Ask Pal about Sept 8 incremental Sept 8 Sept 14 Sept 27 # skip a list 'ls -lt /home/backups/restore/*/d/bh0/home/matt/mail/\!* | more' a last 'ls -lt /home/backups/restore/*/d/bh0/home/matt/mail/\!* | lino 1' grad_scholarships 28 sent-mail 28 pitp ubc C3 wg CQG last grad_scholarships last sent-mail last pitp last ubc last C3 last wg last CQG -rw-r--r-- 1 matt choptuik 22445359 Sep 27 18:21 /home/backups/restore/Sept28/d/bh0/home/matt/mail/grad_scholarships -rw------- 1 matt choptuik 88991613 Sep 27 20:34 /home/backups/restore/Sept28/d/bh0/home/matt/mail/sent-mail -rw-r--r-- 1 matt choptuik 3392221 Sep 22 15:37 /home/backups/restore/Sept23/d/bh0/home/matt/mail/pitp -rw-r--r-- 1 matt choptuik 12309883 Sep 25 20:28 /home/backups/restore/Sept26/d/bh0/home/matt/mail/ubc -rw-r--r-- 1 matt choptuik 40845137 Sep 12 08:29 /home/backups/restore/Sept13/d/bh0/home/matt/mail/C3 -rw-r--r-- 1 matt choptuik 12006345 Sep 24 10:40 /home/backups/restore/Sept25/d/bh0/home/matt/mail/wg -rw-r--r-- 1 matt choptuik 15068791 Sep 20 08:30 /home/backups/restore/Sept21/d/bh0/home/matt/mail/CQG cp -a -i -u /home/backups/restore/Sept28/d/bh0/home/matt/mail/grad_scholarships $R cp -a -i -u /home/backups/restore/Sept28/d/bh0/home/matt/mail/sent-mail $R cp -a -i -u /home/backups/restore/Sept23/d/bh0/home/matt/mail/pitp $R cp -a -i -u /home/backups/restore/Sept26/d/bh0/home/matt/mail/ubc $R cp -a -i -u /home/backups/restore/Sept13/d/bh0/home/matt/mail/C3 $R cp -a -i -u /home/backups/restore/Sept25/d/bh0/home/matt/mail/wg $R # Sep 29 cd /home/backups/restore/matt-Sept29/mail /bin/cp -aiu * $R # Sep 30 cd /home/backups/restore/Sept30/bh0/home/matt/mail.9-29 /bin/cp -aiu * $R [matt@bh0 ~/mail]$ ls -lt | grep -v '.msf$' | grep -v '\*$' total 140 -rw------- 1 matt choptuik 36499 Sep 30 16:00 sent-mail lrwxrwxrwx 1 matt choptuik 50 Sep 29 19:20 410 -> /d/bh0/home/matt/teaching/04Fall/PHYS410/mail/from drwxr-xr-x 2 matt choptuik 4096 Sep 29 13:48 INBOX..sbd/ lrwxrwxrwx 1 matt choptuik 18 Sep 24 15:44 cc -> computer_committee lrwxrwxrwx 1 matt choptuik 7 Sep 24 10:12 birsamr -> BIRSamr lrwxrwxrwx 1 matt choptuik 14 Sep 22 10:18 richard_h -> richard_harris lrwxrwxrwx 1 matt choptuik 6 Sep 22 10:16 harvey -> richer lrwxrwxrwx 1 matt choptuik 8 Sep 16 13:54 kevin_m -> kevmitch lrwxrwxrwx 1 matt choptuik 8 Sep 16 13:54 kevin_mitchell -> kevmitch lrwxrwxrwx 1 matt choptuik 12 Sep 15 08:09 aaron -> aaron_froese -rw-r--r-- 1 matt choptuik 850 Aug 25 15:15 Sent lrwxrwxrwx 1 matt choptuik 26 Aug 25 11:49 jeremy -> /d/bh0/home/matt/mail/heyl lrwxrwxrwx 1 matt choptuik 7 Aug 24 09:28 brett -> gladman lrwxrwxrwx 1 matt choptuik 6 Aug 17 11:34 roman -> petryk -rw-r--r-- 1 matt choptuik 0 Aug 9 12:31 Trash lrwxr-xr-x 1 matt choptuik 5 Aug 5 13:24 bcnet -> BCNET lrwxrwxrwx 1 root root 4 Jul 26 20:09 birs -> BIRS lrwxr-xr-x 1 root root 6 Jul 26 15:37 wgrac -> wg_rac drwxr-xr-x 2 matt choptuik 4096 Jul 26 15:37 Archive/ lrwxr-xr-x 1 root root 18 Jul 26 15:35 fred_l -> frederic_laliberte lrwxr-xr-x 1 root root 4 Jul 26 15:34 cprt -> CPRT lrwxr-xr-x 1 root root 17 Jul 26 15:33 gs -> grad_scholarships [matt@bh0 ~/mail]$ file * | grep -v broken | grep -v empty 410: symbolic link to `/d/bh0/home/matt/teaching/04Fall/PHYS410/mail/from' Archive: directory INBOX.msf: C++ program text INBOX..msf: C++ program text INBOX..sbd: directory msgFilterRules.dat: ASCII text, with CRLF line terminators Sent: ASCII news text, with CRLF line terminators sent-mail: ASCII English text Sent.msf: C++ program text Trash.msf: C++ program text [matt@bh0 ~/mail]$ file * | grep -v broken | grep -v empty 410: symbolic link to `/d/bh0/home/matt/teaching/04Fall/PHYS410/mail/from' Archive: directory INBOX.msf: C++ program text INBOX..msf: C++ program text INBOX..sbd: directory msgFilterRules.dat: ASCII text, with CRLF line terminators Sent: ASCII news text, with CRLF line terminators sent-mail: ASCII English text Sent.msf: C++ program text Trash.msf: C++ program text [matt@bh0 ~/mail]$ mv sent-mail sent-mail-new cd $R [root@head mail]# cp -aui * /d/bh0/home/matt/mail cp: overwrite `/d/bh0/home/matt/mail/bcnet'? n cp: overwrite `/d/bh0/home/matt/mail/birsamr'? n cp: overwrite `/d/bh0/home/matt/mail/brett', overriding mode 0777? n cp: overwrite `/d/bh0/home/matt/mail/cc', overriding mode 0777? n cp: overwrite `/d/bh0/home/matt/mail/gs'? n cp: overwrite `/d/bh0/home/matt/mail/harvey', overriding mode 0777? n cp: overwrite `/d/bh0/home/matt/mail/richard_h', overriding mode 0777? n cp: overwrite `/d/bh0/home/matt/mail/roman'? n cp: overwrite `/d/bh0/home/matt/mail/wgrac'? n view sent-mail sent-mail-new sent-mail From matt@laplace.physics.ubc.ca Tue Mar 6 01:16:29 2001 -0800 From matt@bh0.physics.ubc.ca Wed Sep 29 00:27:33 2004 -0700 sent-mail-new From matt@bh0.physics.ubc.ca Wed Sep 29 13:55:57 2004 -0700 # TODO: CHECK BUT LOOKING OK, NEED TO SEND MESSAGE ABOUT MISSING INCREMENTALS # DONE cd /home/matt/mail.O ls -lt | grep '\->' | grep private | nth 11 9 | pre ln -s > /tmp/so cd /home/matt/mail so /tmp/so cd /home/matt/mail.O ls -lt | grep '\->' | grep -v private | nth 11 9 | pre ln -s > /tmp/so cp -a mail mail.2004.09.30a /bin/rm /tmp/so cd /home/matt/mail/Sept29-root-owned foreach f (*) ls -lt /home/matt/mail/$f end # All exist cd mail.O foreach f ( `LS | grep -v '.msf$'` ) foreach? ls -lt ~/mail/$f >> /tmp/lslt foreach? end ls: /d/bh0/home/matt/mail/526: No such file or directory ls: /d/bh0/home/matt/mail/Unsent: No such file or directory ls: /d/bh0/home/matt/mail/Messages: No such file or directory ls: /d/bh0/home/matt/mail/david_tait: No such file or directory ls: /d/bh0/home/matt/mail/google: No such file or directory ls: /d/bh0/home/matt/mail/grad-bbq: No such file or directory ls: /d/bh0/home/matt/mail/news: No such file or directory cd cp -r mail mail.2004.09.30b cd mail.O /bin/cp -au * ../mail cd mail.O foreach f ( `LS | grep -v '.msf$'` ) foreach? ls -lt ~/mail/$f >> /tmp/lslt foreach? end # OK ############################################################ Fri Oct 1 13:09:48 PDT 2004 ############################################################ # Symbolic link for /usr/bin/mozilla ssh root@bh0 'ln -s /usr/local/mozilla/mozilla /usr/bin/mozilla' # pine configuration information http://www.washington.edu/pine/faq/config.html 9.1 Where does Pine look for configuration information? In Unix and PC-Pine 3.90 and higher, the PINE RELEASE NOTES (Press "R" when on the [M]AIN MENU) contain a section on Configuration, including default file names and environment variables. Almost all personal configuration can be accomplished through the SETUP CONFIGURATION SCREEN (Press "S Setup" then "C Config" when on the [M]AIN MENU. Unix Pine uses three configuration files: a system-wide defaults file, a system-wide non-overridable settings file and a personal coniguration file (.pinerc in the user's home directory). If, for some reason, you need to generate a blank personal configuration file, run "pine -pinerc pinerc.blank". If you need to generate a "blank" copy of the system wide configuration files (can usually only be done by systems administrator), run "pine -conf > /usr/local/lib/pine.conf". 9.1.1 How can I get a fresh copy of my Pine configuration file? If you run "pine -pinerc new_pinerc_file_name" you will get a fresh copy of your .pinerc configuration information placed into the file new_pinerc_file_name" with the options you are using set. It will also have fresh comments, and then everything in the config screen and the pinerc file should match. Old variables that are no longer being used will disappear. If you ever plan on editing your .pinerc file in the future (and don't want to be confused by obsolete comments), it would be a good idea to run the command: "pine -pinerc .p # Easiest thing may to modify /etc/mailcap # As matt@bh0 etcbh scp root@bh0:/etc/mailcap mailcap.bh0 cp !$ mailcap vi !$ bhDistEtc mailcap # Bingo ############################################################ Wed Oct 20 22:14:10 PDT 2004 ############################################################ # 1) New account for Brian Martin # As choptuik@physics sudo pwentry brianmar:x:12476:400:Brian Martin:/home/brianmar:/bin/tcsh brianmar:O9a37VNe5l8QU:11220::::::-1 # As root@bh0 /usr/sbin/drakconf /usr/sbin/drakconf.real # Added account setenv U brianmar chmod a+rx ~${U} cd /Public/People mkdir -p $U chmod a+rx $U chown $U.choptuik $U ls -ltd /Public/People/$U # As matt@bh0 etcbh make import sola vs # O9a37VNe5l8QU bhDistEtc passwd shadow # As root@bh0 cd /Public Arc index.html cp index.html index.2004.10.20.html vi index.html ############################################################ Thu Oct 21 15:15:52 PDT 2004 ############################################################ # Bad INTEL libs on some bh machines (p10f bhbgCommand 'mkdir -p /var/tmp/install; cd /var/tmp/install; wget ftp://bh0.physics.ubc.ca/pub/rnpletal/rnpletal.tar.gz' sleep 10 bhCommand ls /var/tmp/install bhbgCommand 'test -d rnpletal && /bin/rm -rf rnpletal' bhbgCommand 'cd /var/tmp/install; tar zxf rnpletal.tar.gz; cd rnpletal; ./Install.intel.P4 /usr/local/intel' bhbgCommand 'cd /var/tmp/install; cd rnpletal; ./Install.intel.P4 /usr/local/intel' bhbgCommand "cdi; scp -q matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Install .; scp -q matt@laplace.physics.ubc.ca:/d/laplace/usr2/people/matt/system/bh/image/master/install/Installz.intel .; ./Installz.intel p410f" ############################################################ Sun Oct 31 11:52:16 PST 2004 ############################################################ # NFS on vnfe2 in VERY strange state. Even after reboot # of bh0-bh9, and removal of all NFS mounts from /etc/fstab # (via /etc/fstab.sa), vnfe2 is being deluged by mount requests # from bh machines # As root@vnfe2 cd /etc/rc.d/init.d ./nfs stop Oct 31 11:47:23 vnfe2 mountd[9357]: authenticated mount request from bh9.physics.ubc.ca:907 Oct 31 11:47:26 vnfe2 mountd[9357]: authenticated mount request from bh9.physics.ubc.ca:907 Oct 31 11:47:29 vnfe2 mountd[9357]: authenticated mount request from bh8.physics.ubc.ca:891 Oct 31 11:47:38 vnfe2 last message repeated 3 times Oct 31 11:47:41 vnfe2 mountd[9357]: authenticated mount request from bh8.physics.ubc.ca:893 Oct 31 11:47:47 vnfe2 last message repeated 2 times Oct 31 11:47:50 vnfe2 mountd[9357]: authenticated mount request from bh3.physics.ubc.ca:656 Oct 31 11:51:21 vnfe2 nfs: nfsd shutdown succeeded Oct 31 11:51:22 vnfe2 nfs: rpc.rquotad shutdown succeeded # OK, looks quiet. Start up NFS again, re-mount on vnfe[134] if necessary. [root@vnfe2]# ./nfs start Starting NFS services: [ OK ] Starting NFS statd: [ OK ] Starting NFS quotas: [ OK ] Starting NFS mountd: [ OK ] Starting NFS daemon: [ OK ] Oct 31 11:51:22 vnfe2 nfs: rpc.statd shutdown succeeded Oct 31 11:56:13 vnfe2 nfs: Starting NFS services: succeeded Oct 31 11:56:13 vnfe2 nfs: rpc.statd startup succeeded Oct 31 11:56:13 vnfe2 nfs: rpc.rquotad startup succeeded Oct 31 11:57:00 vnfe2 nfs: rpc.mountd startup succeeded Oct 31 11:57:01 vnfe2 nfs: rpc.nfsd startup succeeded # As root@vnfe2 /etc/rc.d/init.d/nfs start # As matt@bh0 rrvi /etc/fstab.nfs # vi ~/system/machines # disabled bh[0-9] rrvi /etc/fstab # Disabled various and sundry on lnx[123] allCommand 'mount -a' # vnfe2:{/home,/home2} apparently visible from all vn machines # But things fritzed up on vnfe1, ultimately had to cd /d mv vnfe2 vnfe2.O mkdir vnfe2; cd vnfe2; mkdir home home2; mount -a; ... # Similarly with vnfe3, vnfe4 was OK Oct 31 12:09:51 vnfe2 mountd[20702]: authenticated mount request from vnfe3.physics.ubc.ca:879 Oct 31 12:09:52 vnfe2 mountd[20702]: authenticated mount request from vnfe3.physics.ubc.ca:881 Oct 31 12:10:00 vnfe2 CROND[20836]: (root) CMD ( /sbin/rmmod -as) Oct 31 12:10:40 vnfe2 sshd[20837]: Accepted publickey for root from 142.103.237.227 port 4646 ssh2 Oct 31 12:10:40 vnfe2 modprobe: can't locate module net-pf-10 Oct 31 12:10:40 vnfe2 last message repeated 2 times Oct 31 12:11:17 vnfe2 mountd[20702]: authenticated mount request from vnfe3.physics.ubc.ca:896 [root@vnfe2]# date Sun Oct 31 12:12:16 PST 2004 # As matt@bh0 bhCommand 'CP /etc/fstab.nfs /etc/fstab; cat /etc/fstab' # Verified that vnfe2 entries disabled for all bhCommand 'mount -a; df' date Sun Oct 31 12:14:50 PST 2004 # All looks well, and I can probably reenable NFS mounts of vnfe2 by bh machines ... # defined 'mach' alias via a mach 'cd ~/system; Arc machines; vi machines' mach rrvi /etc/fstab # Enable vnfe2 mounts date Sun Oct 31 12:23:59 PST 2004 ssh root@vnfe2 tail -50 /var/log/messages Oct 31 12:11:17 vnfe2 mountd[20702]: authenticated mount request from vnfe3.physics.ubc.ca:896 Oct 31 12:20:00 vnfe2 CROND[20865]: (root) CMD ( /sbin/rmmod -as) Oct 31 12:24:31 vnfe2 sshd[20866]: Accepted publickey for root from 142.103.234.164 port 32920 ssh2 Oct 31 12:24:32 vnfe2 modprobe: can't locate module net-pf-10 bhCommand 'umount /d/vnfe2/home; mount /d/vnfe2/home || (killall mount; mount /d/vnfe2/home); df; sleep 10' bh0 bh1 bh2 bh3 bh4 bh5 bh6 bh7 bh8 bh9 bhCommand 'mount /d/vnfe2/home2; df' bhCommand 'mount /d/vnfe2/home; df' # Same thing, bh0 and bh2 have gone berserk with mount requests, re-disable vnfe2 mounts and # defer this # Put up messages in bh[0-9]:/etc/motd, and group news page etcbh ############################################################################# # # # ----------------- SUNDAY OCTOBER 31st ------------------------ # # # # Due to an unresolved and severe system problem, the bh machines are # # temporarily NOT mounting vnfe2:/home or vnfe2:/home2. Those partitions # # are visible from all of vnfe[134], so this should not present a hardship # # to anyone. Let Matt know if you think it does, or if you have any # # other questions/gripes about this matter. # # # # HAPPY HALLOWEEN! # # # ############################################################################# ############################################################ Sun Oct 31 14:01:03 PST 2004 ############################################################ # Trying to get vnfe2:{/home.home2} mounted on bh machines # As root@bh0 vi /etc/fstab vnfe2:/home /d/vnfe2/home nfs rw,rsize=8192,wsize=8192,hard,bg,intr,timeo=10000 0 0 vnfe2:/home2 /d/vnfe2/home2 nfs rw,rsize=8192,wsize=8192,hard,bg,intr,timeo=10000 0 0 mount vnfe2:/home mount vnfe2:/home2 # OK rrvi /etc/fstab # As root@bh0 umount vnfe2:/home umount vnfe2:/home2 bhCommand 'mount vnfe2:/home; sleep 30; mount vnfe2:/home2; df; sleep 30' # get bh0, bh1, bh2 up, all hell breaks loose for bh3! # Now have bh3, bh4, hung up on bh5, slow manual process ... as long as don't make more than # about one request a minute, things are OK. Superficial diff-ing of vnfe[12]:/etc doesn't # reveal anything obvious. Sun Oct 31 14:40:24 PST 2004 # OK, vnfe2 now mounted on all bh machines ############################################################ Sun Nov 7 15:59:14 PST 2004 ############################################################ # Installing slatec with Intel compilers # As root@bh0 cdi tar zxf ~matt/autoconf/netlib_slatec.tar.gz iopt configure --prefix=/usr/local/intel make make install bhCommand 'cd /usr/local/intel; scp bh0:/usr/local/intel/lib/libslatec.a .' ############################################################ Mon Nov 15 16:04:13 PST 2004 ############################################################ # boson rather than string is now exporting /mandrake rrvi /etc/fstab # Needed to update root@boson:/etc/hosts.allow portmap: 142.103.234.164 142.103.234.154 142.103.234.155 142.103.234.156 142.103.234.157 142.103.234.158 142.103.234.159 142.103.234.165 142.103.234.198 142.103.234.125 # OK ############################################################ Mon Dec 6 08:28:49 PST 2004 ############################################################ # Took bh1-bh9 down for electrical test prior to 3rd floor # asbestos work, all back OK except bh3 which is having a # mouse issue ############################################################ Thu Dec 9 10:41:04 PST 2004 ############################################################ # Have a lot of hard links to laplace etc in Installz scripts # As matt@bh0 find . -name '*stal*' -exec grep -l laplace {} \; > /tmp/laplace # 106 (!) files grep -v bhtest.2002 < /tmp/laplace | grep -v bh.OO | grep -v bh.O | grep -v vn.O | grep -v 8100.O > /tmp/laplace1 # 61 (!) files SRC="$HOMEMWC/autoconf" # Hand fixed, need to check for RSRC find . -name '*stal*' -exec grep -l laplace {} \; > /tmp/laplace2 grep -v bhtest.2002 < /tmp/laplace2 | grep -v bh.OO | grep -v bh.O | grep -v vn.O | grep -v 8100.O > /tmp/laplace3 vi ./lnx/image/master/install/pp3d/Install.pp3d find . -name '*stal*' -exec grep -l RSRC {} \; > /tmp/rsrc grep -v bhtest.2002 < /tmp/rsrc | grep -v bh.OO | grep -v bh.O | grep -v vn.O | grep -v 8100.O > /tmp/rsrc1 ############################################################ Wed Dec 22 11:54:32 PST 2004 ############################################################ # Updating /etc/ntpd.conf now that vnfe2 has died and vn1 # is stepping in # As matt@bh0 etcbh cp ntp.conf ntp.conf.2004.12.22 vi ntp.conf # Node /etc/ntp.conf # peer configuration for hosts # bh0.physics.ubc.ca -- bh9.physics.ubc.ca # (expected to operate at stratum 4, off vnfe[23],vn1 server 142.103.237.225 server 142.103.237.1 server 142.103.237.227 driftfile /etc/ntp.drift bhDistEtc ntp.conf bhCommand 'killall -HUP ntpd' # Did the same for lnx (see ../lnx/README) allCommand ntptimeset # OK! ############################################################ Thu Dec 23 10:33:14 PST 2004 ############################################################ # 1) New account for Bryan Kelleher (UBC PHAS PDF Unruh) # From physics kelleher:x:271:307:Bryan Kelleher:/home/kelleher:/bin/tcsh kelleher:uadLtj2954.1M:12706:::::: # As root@bh0 /usr/sbin/drakconf /usr/sbin/drakconf.real ssh kelleher@lnx1 'pwd; date; ls -a' cp ~phys410/.cshrc . cp ~phys410/.aliases . etclnx make import RM -f shadow CP shadow.lnx1 shadow CP passwd.lnx1 passwd sola vs # uadLtj2954.1M lnxDistEtc passwd shadow ############################################################ Fri Dec 24 02:10:37 PST 2004 ############################################################ # Fixing up vnfe2:{/home,/home2} mounts rrvi /etc/fstab vnfe1:/home /d/vnfe1/home nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 vnfe1:/home2 /d/vnfe1/home2 nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 vnfe1:/home3/home /d/vnfe2/home nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 vnfe3:/home /d/vnfe3/home nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 vnfe3:/home2 /d/vnfe3/home2 nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 vnfe4:/home /d/vnfe4/home nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 #vnfe2:/home /d/vnfe2/home nfs rw,rsize=8192,wsize=8192,hard,bg,intr,timeo=10000 0 0 #vnfe2:/home2 /d/vnfe2/home2 nfs rw,rsize=8192,wsize=8192,hard,bg,intr,timeo=10000 0 0 bhCommand 'umount /d/vnfe2/home2' bhCommand 'cd /d/vnfe2; ls -lR home2;' bhCommand 'cd /d/vnfe2; RM -r home2; ln -s /d/vnfe4/home/vnfe2-tmp/home2 /d/vnfe2/home2; cd home2; ls' # OK bhCommand 'mount -a; df | grep vnfe' >>> Executing as root@bh4.physics.ubc.ca mount: RPC: Remote system error mount: backgrounding "vnfe1:/home3/home" >>> Executing as root@bh7.physics.ubc.ca mount: RPC: Remote system error mount: backgrounding "vnfe1:/home3/home" # Maybe should set the timeout? Something amiss with drive? # As root@bh4 mount vnfe1:/home3/home # OK # As root@bh7 mount vnfe1:/home3/home # OK bhCommand 'cd /d/vnfe2/home; ls; cd /d/vnfe2/home2; ls' ############################################################ Fri Jan 7 14:20:40 PST 2005 ############################################################ # Working on Jeremy's cluster # # jmd.physics.ubc.ca 142.103.152.177 touch /tmp/ping && /bin/rm -rf /tmp/ping echo '#' > /tmp/ping foreach i (`iota 256 0`) ping -c 1 142.103.152.$i >> /tmp/ping end vi /tmp/ping # As matt@bh0 etcbh setenv HA hosts.allow scp root@vnfe1:/etc/hosts.allow hosts.allow.vnfe1 diff hosts.allow hosts.allow.vnfe1 foreach m (bh0 lnx1 vnfe1 vnfe4) scp root@${m}:/etc/hosts.allow hosts.allow.$m end diff $HA.vnfe1 $HA.vnfe4 diff $HA.vnfe1 $HA.bh0 diff $HA.vnfe1 $HA.lnx1 diff $HA.vnfe4 $HA.bh0 diff $HA.vnfe4 $HA.lnx1 diff $HA.bh0 $HA.lnx1 # Perhaps not surprisingly, they are all distinct. # Create union, then prune ... perhaps not, simply add # Jeremy to all and export # BH etcbh diff hosts.allow hosts.allow.bh0 vi hosts.allow # Jeremy's Opteron cluster portmap: 142.103.152.177 imapd: 142.103.152.177 ALL: 142.103.152.177 portmap: jmd.physics.ubc.ca imapd: jmd.physics.ubc.ca ALL: jmd.physics.ubc.ca vi /etc/exports rrvibh /etc/exports :w! /tmp/j jmd.physics.ubc.ca(async,rw,no_root_squash) \ bhCommand exportfs -av # vnfe4 etcc2 make import vi hosts.allow # Jeremy's Opteron cluster portmap: 142.103.152.177 imapd: 142.103.152.177 ALL: 142.103.152.177 portmap: jmd.physics.ubc.ca imapd: jmd.physics.ubc.ca ALL: jmd.physics.ubc.ca c2DistEtc hosts.allow # As matt@vnfe4 c2Command 'grep jmd /etc/hosts.allow; ping -c 1 jmd' rvi root@vnfe4:/etc/exports /home jmd.physics.ubc.ca(rw,no_root_squash) # As root@vnfe4 exportfs -u bhtest1.physics.ubc.ca:/home ############################################################ Thu Jan 13 13:45:38 PST 2005 ############################################################ # Graphics performance on bh0 with NVIDIA 6629 drivers and # AGP (4 x) # As matt@bh0 cd /tmp/matt tar zxf /d/bh0/home/matt/autoconf/viewperf.tar.gz cd viewperf/src gopt make clean; make # TODO setenv viewperf /tmp/matt/viewperf/src/viewperf cd datasets/DX-06 DX-06.csh ../tools/vpost.pl -v dx viewperf.log ../tools/vpost.pl -v dx viewperf.log Log file: viewperf.log Data Explorer (DX-06) Viewset ------------------------------------------------------------------------------- Test Weight Frames DList Visual Double Frame Buffer Accumulation # % Per Sec Build ID Buffer R G B A Z Stencil R G B A ------------------------------------------------------------------------------- 1 40.00 28.30 0.000 0X21 True 8 8 8 0 24 8 16 16 16 16 2 20.00 30.00 0.000 0X21 True 8 8 8 0 24 8 16 16 16 16 3 10.00 50.70 0.310 0X21 True 8 8 8 0 24 8 16 16 16 16 4 8.00 29.80 0.000 0X21 True 8 8 8 0 24 8 16 16 16 16 5 5.00 33.50 0.130 0X21 True 8 8 8 0 24 8 16 16 16 16 6 5.00 39.40 0.000 0X21 True 8 8 8 0 24 8 16 16 16 16 7 5.00 29.90 0.000 0X21 True 8 8 8 0 24 8 16 16 16 16 8 2.50 27.00 0.000 0X21 True 8 8 8 0 24 8 16 16 16 16 9 2.50 30.20 0.000 0X21 True 8 8 8 0 24 8 16 16 16 16 10 2.00 52.30 0.120 0X21 True 8 8 8 0 24 8 16 16 16 16 -------------------------------------------------------------------------------- Weighted Geometric Mean = 31.735 ############################################################ Tue Mar 29 22:12:52 PST 2005 ############################################################ # Installing OpenInventor on bh machines # See also ../OPEN-INVENTOR/README :n ../OPEN-INVENTOR/README ############################################################ Mon Apr 4 15:38:00 PDT 2005 ############################################################ # Ordering 20.1" flat panel monitors for the group # Ben # Bruno # Jason # Roman # Pal # Roland # Martin! # Matt Varsity NSERC: B G38 C82 DJRW 830000 (Computer hardware) Wed Apr 6 16:43:50 PDT 2005 # Monitors have arrived, 5 20.1" -> 408 etc, 21.0" -> 403 ############################################################ Fri Apr 8 10:18:29 PDT 2005 ############################################################ # 1) New account for Rob Hocking #------------------------------------------------- # meowmeow #------------------------------------------------- # As choptuik@physics sudo pwentry meowmeow:x:13413:400:Laird Robert Hocking:/home2/meowmeow:/bin/tcsh meowmeow:SZsyJtxX8.NQY:12503:::::: #------------------------------------------------- # BH #------------------------------------------------- # New account for Rob Hocking (UBC PHAS UG Choptuik) meowmeow:x:13413:400:Laird Robert Hocking:/home2/meowmeow:/bin/tcsh meowmeow:SZsyJtxX8.NQY:12503:::::: # As root@bh0 /usr/sbin/drakconf /usr/sbin/drakconf.real # Added account setenv U meowmeow chmod a+rx ~${U} cd /Public/People mkdir -p $U chmod a+rx $U chown $U.choptuik $U ls -ltd /Public/People/$U # As matt@bh0 etcbh make import sola vs # SZsyJtxX8.NQY bhDistEtc passwd shadow bhCommand finger $U # No finger on bh9! # OK # !!! Edit /Public/index.html with composer, verify .www link #------------------------------------------------- # LNX #------------------------------------------------- # New account for Rob Hocking (UBC PHAS UG Choptuik) meowmeow:x:13413:400:Laird Robert Hocking:/home2/meowmeow:/bin/tcsh meowmeow:SZsyJtxX8.NQY:12503:::::: # As matt@bh0 etclnx make import # As root@lnx1 /usr/sbin/drakconf.real setenv U meowmeow ssh ${U}@lnx1 'pwd; date; ls -a' cd ~${U} scp ~phys410/.cshrc . scp ~phys410/.aliases . chown -R ${U}.choptuik ~${U} # As matt@bh0 # Created 'newuser' target which imports # /etc/{passwd,shadow,group,hosts.{allow,deny},csh.cshrc} # from MASTER (root@lnx1) Nope etclnx # make newuser sola vs # SZsyJtxX8.NQY lnxDistEtc passwd shadow # As root@lnx1 setenv U meowmeow chmod a+rx ~${U} # As matt@bh0 setenv U meowmeow lnxCommand finger $U #------------------------------------------------- # VN #------------------------------------------------- # New account for Rob Hocking (UBC PHAS UG Choptuik) meowmeow:x:13413:400:Laird Robert Hocking:/home2/meowmeow:/bin/tcsh meowmeow:SZsyJtxX8.NQY:12503:::::: # As matt@vnfe1 cd vn Arc README.USERS vi README.USERS 13413 meowmeow # Rob Hocking (UBC PHAS UG Choptuik) nu setenv U meowmeow cat<${U} ${U}:x:13413:600:Laird Robert Hocking:/d/vnfe1/home/${U}:/bin/tcsh END vnNewUsers ${U} # As root@vnfe1 setenv U meowmeow setenv G choptuik cp ~phys410/.cshrc ~${U}; chown ${U}.${G} ~${U}/.cshrc ssh ${U}@vnfe1 ssh ${U}@vn35 # OK # As matt@vnfe1 etc sola; vs # SZsyJtxX8.NQY vnDistEtc shadow setenv U meowmeow setenv G choptuik ssh root@vnfe1 "cd ~${U}; echo ${U}@physics.ubc.ca > .forward; chown ${U}.${G} .forward; ls -al; finger ${U}" vnCommand finger ${U} #------------------------------------------------- # VNP4 #------------------------------------------------- # New account for Rob Hocking (UBC PHAS UG Choptuik) meowmeow:x:13413:400:Laird Robert Hocking:/home2/meowmeow:/bin/tcsh meowmeow:SZsyJtxX8.NQY:12503:::::: # As matt@bh0 setenv U meowmeow etcc2 cd NewUsers scp -q matt@vnfe1.physics.ubc.ca:/d/vnfe1/home/matt/system/vn/accounts/${U} . vi ${U} c2NewUsers ${U} ssh ${U}@vnfe4 date # OK etcc2 sola vs # SZsyJtxX8.NQY c2DistEtc shadow ############################################################ Sun Apr 24 11:30:17 PDT 2005 ############################################################ # Adding 1998 p387n accounts that Dave N has recovered # As root@bh0 cd /Public chown matt.choptuik Students # As matt@bh0 cd /Public/Students scp -q -r root@vnfe4.physics.ubc.ca:/d/vnfe4/home/dave/people/p387g5/public_html p387g5 scp -q -r root@vnfe4.physics.ubc.ca:/d/vnfe4/home/dave/people/p387g1/public_html p387g1 scp -q -r root@vnfe4.physics.ubc.ca:/d/vnfe4/home/dave/people/p387g2/public_html p387g2 scp -q -r root@vnfe4.physics.ubc.ca:/d/vnfe4/home/dave/people/p387g3/public_html p387g3 scp -q -r root@vnfe4.physics.ubc.ca:/d/vnfe4/home/dave/people/p387g4/public_html p387g4 ############################################################ Sun Apr 24 11:30:17 PDT 2005 ############################################################ # Changing postfix relay host # Old: physics.ubc.ca # New: smtp.phas.ubc.ca # As root@bh0 cd /etc/postfix Arc main.cf vi main.cf service postfix restart # As matt@bh0 pine # Send mail to self ... OK? ... OK # As root@bh0 cd /etc/postfix foreach i (`iota 9`) scp main.cf root@bh${i}:/etc/postfix ssh root@bh${i} service postfix restart end I ############################################################ Fri May 20 15:11:14 PDT 2005 ############################################################ # 1) New account for Evgeny Sorkin #------------------------------------------------- # sorkin #------------------------------------------------- # As choptuik@physics sudo pwentry evgeny:x:801:307:Evgeny Sorkin:/home/evgeny:/bin/tcsh evgeny:90MvigzBf1UTE:12922:::::: #------------------------------------------------- # BH #------------------------------------------------- # New account for Evgeny Sorkin (UBC PHAS UG Choptuik) # As root@bh0 /usr/sbin/drakconf /usr/sbin/drakconf.real # Added account setenv U evgeny chmod a+rx ~${U} cd /Public/People mkdir -p $U chmod a+rx $U chown $U.choptuik $U ls -ltd /Public/People/$U # As matt@bh0 etcbh make import sola vs # 90MvigzBf1UTE bhDistEtc passwd shadow bhCommand finger $U # No finger on bh9! # OK # TODO # !!! Edit /Public/index.html with composer, verify .www link ############################################################ Sun Apr 24 11:30:17 PDT 2005 ############################################################ # Adding 1998 p387n accounts that Dave N has recovered # As root@bh0 cd /Public chown matt.choptuik Students # As matt@bh0 cd /Public/Students scp -q -r root@vnfe4.physics.ubc.ca:/d/vnfe4/home/dave/people/p387g5/public_html p387g5 scp -q -r root@vnfe4.physics.ubc.ca:/d/vnfe4/home/dave/people/p387g1/public_html p387g1 scp -q -r root@vnfe4.physics.ubc.ca:/d/vnfe4/home/dave/people/p387g2/public_html p387g2 scp -q -r root@vnfe4.physics.ubc.ca:/d/vnfe4/home/dave/people/p387g3/public_html p387g3 scp -q -r root@vnfe4.physics.ubc.ca:/d/vnfe4/home/dave/people/p387g4/public_html p387g4 ############################################################ Sun Apr 24 11:30:17 PDT 2005 ############################################################ # Changing postfix relay host # Old: physics.ubc.ca # New: smtp.phas.ubc.ca # As root@bh0 cd /etc/postfix Arc main.cf vi main.cf service postfix restart # As matt@bh0 pine # Send mail to self ... OK? ... OK # As root@bh0 cd /etc/postfix foreach i (`iota 9`) scp main.cf root@bh${i}:/etc/postfix ssh root@bh${i} service postfix restart end I ############################################################ Fri Jun 3 14:14:13 PDT 2005 ############################################################ # 1) New account for Jesko Sirker (UBC PHAS PDF Affleck) #------------------------------------------------- # sirker #------------------------------------------------- # As choptuik@physics sudo pwentry sirker:x:766:307:Jesko Sirker:/home/sirker:/bin/tcsh sirker:1tF8Xa3ErvOVc:12801:::::: #------------------------------------------------- # BH #------------------------------------------------- # New account for Jesko Sirker (UBC PHAS PDF Affleck) # As root@bh0 /usr/sbin/drakconf /usr/sbin/drakconf.real # Added account ssh sirker@bh0 # OK echo "sirker@physics.ubc.ca" > ~sirker/.forward # As matt@bh0 etcbh make import sola vs # 1tF8Xa3ErvOVc # As matt@bh0 bhDistEtc passwd shadow bhCommand finger sirker # No finger on bh9! # TODO: OK? ############################################################ Thu Jun 16 13:13:06 PDT 2005 ############################################################ # Exporting bh0:/usr/local and bh0:/opt from # As matt@bh0 etcbh scp root@bh0:/etc/exports exports.bh0 Arc exports.bh0 vi exports.bh0 # Added /usr/local, /opt exports scp exports.bh0 root@bh0:/etc/exports ssh root@bh0 exportfs -av ############################################################ Sun Jun 19 05:21:17 PDT 2005 ############################################################ # The first of the new machines, bh6, in Martin's ofc was # close to hung this AM. Could get some response from # window manager, but it was very slow. Hardware reset. # Came back fine, and nothing obvious in logs. # Hope that this isn't an ominous harbinger of things to # come! # PGI compilers all screwed up # Not working on new machines new to unresolved so # Now not working on bh6 due to FLEXLM problem!, # ... NO, due to /etc/hosts !!, # As root@bh6 ssh root@bh6 scp matt@bh0.physics.ubc.ca:/d/bh0/home/matt/system/bh/image/master/etc/hosts /etc/hosts libpgc.so => /usr/local/pgi/linux86/5.2/lib/libpgc.so (0xb7e90000) # ... and a ldconfig fixes on bhtest2, so looks like we're in business, # add ldconfig to script if missing? # NOW HAVE PROBLEMS GETTING xvs/DV servers to start xvs: /usr/lib/libGL.so.1: no version information available (required by xvs) bind: Cannot assign requested address xvs: Type 'xvs help' for client-side commands. Sun Jun 19 15:33:50 PDT 2005 # Back after a delicious lunch and nap, but the beach is beckoning now. # Try hosts, turned out to be a rougue 'setenv HOSTNAME...' in /etc/csh.cshrc ############################################################ Mon Jun 20 07:17:37 PDT 2005 ############################################################ # bh6 not responding again ... # bh3 up, but maple links are apparently still in place ssh root@bh3 ############################################################ Tue Jun 21 15:10:15 PDT 2005 ############################################################ # Pal has restored clobbered directories from /d/bh0/home/Public-bh0/People # Restore to /Public/Members (bh9 per se) cd /home/laplace/usr2/Public/Members RM fransp inaki petryk # As root@bh9 cd /home/backups/restore/public-bh0/bh0/home/Public-bh0/People cp -a * /d/bh9/home/laplace/usr2/Public/Members ############################################################ Thu Jun 23 08:23:16 PDT 2005 ############################################################ # Perhaps not surprisingly, reports of all hell breaking loose # with machines, annoyingly, we have, e.g. bh2:/etc/fstab # modified with no backup etc.! # Send a nasty message, done ... get the music on and # get bh8 going! Thu Jun 23 13:12:25 PDT 2005 # Have new bh8 in place and standalone /etc/fstab's for all # machines rrvi /etc/fstab # vnfe4:/home seems to be a problem, but was just slow response # bh9 can't mount bh8:/home rrvi /etc/fstab bhCommand 'mkdir -p /d/bh7/home2' bhCommand 'mount /d/bh7/home2' ############################################################ Thu Jun 23 15:37:55 PDT 2005 ############################################################ # Copy Pal from bh6 -> bh8 # As root@bh8 date; cp -a /d/bh6/home/psandhu /home; date Thu Jun 23 15:40:01 EDT 2005 Thu Jun 23 15:45:46 EDT 2005 ############################################################ Sat Jun 25 06:05:37 PDT 2005 ############################################################ # USED: bh0, bh2, bh3, bh4, bh5, bh6, bh8 # # Ask Mary Ann for IP numbers for bh10, bh11 # # # Recycle # # bh8 -> bhtest3 -> Mandriva 2005 LE -> bh10 # bh2 -> Mandriva 2005 LE -> # bh7 -> Mandriva 2005 LE -> # . # . # . ############################################################ Sat Jun 25 09:30:38 PDT 2005 ############################################################ # Just about ready to install Mandriva 2005 LE on Rob H's # machine # 2.4 GHz P4 # configure as bhtest3 and install from bh9 echo 142.103.234.192 echo bhtest3,physics.ubc.ca # How big is drive and how much is Windows using at the current time # Good news is that it's a 70GB drive, bad news is that there's only # about 11 GB free, which is probably enough (has a second, mostly empty, # drive, so shouldn't feel too bad about using, e.g., 8GB for Linux), and # will use disk clean utility, which is taking forever, as is an attempt # to ensure that he's got all the patches from redmond. OK, turned off # the flippin firewall, that MAY help, which it does, in spades # AND ... I'm late for breakfast, and I would really like to see this thing # patched before I'm off! # Copy C: to F: ############################################################ Sat Jun 25 14:19:18 PDT 2005 ############################################################ # ntp, mail (postfix), printers # NTP setenv MDK /d/bh9/home/2005/i586/media/main/ test -d $MDK || echo "+++ IIIEEEEE!! No '$MDK' directory" cd $MDK rpm -ivh ntp*rpm chkconfig ntpd on cd /etc test -f /etc/ntp.conf.O && /bin/rm -rf /etc/ntp.conf.O test -d /etc/ntp.conf.O && /bin/rm -rf /etc/ntp.conf.O test -f /etc/ntp.conf && /bin/mv /etc/ntp.conf /etc/ntp.conf.O scp root@bh0:/etc/ntp.conf . # NTP foreach m (bh2 bh3 bh4 bh5 bh6 bh8) ssh root@$m 'cd /d/bh9/home/2005/i586/media/main/; rpm -ivh ntp*rpm; chkconfig ntpd on; cd /etc; test -f /etc/ntp.conf.O && /bin/rm -rf /etc/ntp.conf.O; test -d /etc/ntp.conf.O && /bin/rm -rf /etc/ntp.conf.O; test -f /etc/ntp.conf && /bin/mv /etc/ntp.conf /etc/ntp.conf.O; scp root@bh0:/etc/ntp.conf .;' end # bh8 is down ... a propos or what?, rebooted both it and bh2, # set nvagp to 0 in bh8, not yet in bh2 bhCommand 'chkconfig --list | grep ntp' >>> Executing as root@bh0.physics.ubc.ca ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off >>> Executing as root@bh1.physics.ubc.ca ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off >>> Executing as root@bh2.physics.ubc.ca ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off >>> Executing as root@bh3.physics.ubc.ca ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off >>> Executing as root@bh4.physics.ubc.ca ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off >>> Executing as root@bh5.physics.ubc.ca ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off >>> Executing as root@bh6.physics.ubc.ca ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off >>> Executing as root@bh7.physics.ubc.ca ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off >>> Executing as root@bh8.physics.ubc.ca ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off >>> Executing as root@bh9.physics.ubc.ca ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off # Get the timezone right buddy! bhCommand drakconf bhCommand vnSetdate bhCommand ntptimeset # nope, # As root@Bh0 cd /etc foreach h (bh1 bh2 bh3 bh4 bh5 bh6 bh7 bh8 bh9) scp ntp.conf root@${h}:/etc ssh $h 'service ntpd restart; ntptimeset' end foreach i (`iota 10`) bhCommand ntptimeset | tee -a /tmp/ntptimeset sleep 180 end # As Chico would say ... Loooking Goooodd! ############################################################ Sat Jun 25 16:53:19 PDT 2005 ############################################################ # bh8-old -> bh10 (bhtest3) essentially complete # and am now running secondary script on Rob H's machine, # having successfully installed Linux on SECOND (larger) # disk # Bring up as bhtest2 # As root@bhtest2 mkdir -p /root/install cd !$ scp matt@bh0:~/scripts/secondary-rob-h s ./s -x bhtest2 # HAS partitioned, so should do via /home as with other # bh's # OK ... in progress # TODO: Trim passwd, copy meowmeow from bh cp -a /d/bh9/home/meowmeow /home # Copied selected matt files to /home cp -a /d/bh0/home/matt /home ############################################################ Sun Jun 26 06:32:22 PDT 2005 ############################################################ # Done with Rob H's machine, at least for the current time ############################################################ Sun Jun 26 06:32:22 PDT 2005 ############################################################ # Continue with clean-up, installation/upgrade on old bh # machines # #----------------------------------------------------------- # old bh6 -> bhtest2 -> ?? # As root@bhtest2 (bh6) ls -ltd /home*/* -rw-r--r-- 1 root root 44 Jun 18 07:30 /home/Usage drwxr-xr-x 77 psandhu psandhu 4096 Jun 17 19:33 /home/psandhu/ drwx--x--x 32 hkr choptuik 4096 Feb 25 2004 /home/hkr/ drwxr-xr-x 26 root root 4096 Feb 8 2004 /home/awilson/ # Make extra copy on vnfe4 # As root@bhtest2 mount vnfe4:/home /d/vnfe4/home mkdir /d/vnfe4/home/bh6-2005 cd !$ cp -a /home . #----------------------------------------------------------- # old bh2 -> bhtest3 -> ?? # As root@bhtest3 (bh2) ls -ltd /home*/* -rw-r--r-- 1 root root 44 Jun 21 07:39 /home/Usage -rw-r--r-- 1 root root 138 Jun 21 07:08 /home2/Usage drwxr-xr-x 61 bruno choptuik 12288 Jun 20 19:04 /home/bruno/ drwxr-xr-x 21 brianmar users 4096 Jun 14 12:13 /home2/brianmar/ drwxr-xr-x 170 inaki choptuik 16384 Apr 26 06:06 /home2/inaki/ drwx------ 22 grade adm 4096 Mar 29 01:26 /home/grade/ drwxr-xr-x 9 inaki root 4096 Feb 26 2004 /home/inaki2/ drwxr-xr-x 6 cwlai root 4096 Feb 14 2004 /home/cwlai/ drwxr-xr-x 3 scn root 4096 Mar 1 2003 /home/scn/ drwxr-xr-x 19 fransp root 4096 Oct 9 2002 /home/fransp/ drwxr-xr-x 3 petryk root 4096 May 15 2002 /home/petryk/ drwxr-xr-x 3 villegas root 4096 Apr 15 2002 /home/villegas/ drwxr-xr-x 8 luisl root 4096 Oct 25 2001 /home/luisl/ drwxr-xr-x 18 root root 4096 Sep 14 2001 /home/explorer/ drwxr-xr-x 19 scn choptuik 4096 Oct 4 2000 /home2/scn2/ drwxr-xr-x 6 root root 4096 Jan 7 2000 /home2/ftp/ drwxr-xr-x 7 root root 4096 Jan 5 2000 /home2/httpd/ drwx------ 5 shawley choptuik 4096 Nov 4 1999 /home2/shawley/ drwx------ 7 jason 411 4096 Nov 3 1999 /home2/jason/ # Make extra copy on vnfe4 # As root@bhtest3 mount vnfe4:/home /d/vnfe4/home mkdir /d/vnfe4/home/bh2-2005 cd !$ cp -a /home /home2 . ############################################################ Fri May 20 15:11:14 PDT 2005 ############################################################ # 1) New accounts for # # Jinho Kim # Ji-Haeng Huh # # Visiting graduate students from SNU, Korea #------------------------------------------------- # jhkim # jhhuh #------------------------------------------------- # As choptuik@physics sudo pwentry jhkim:x:807:307:Jinho Kim:/home2/jhkim:/bin/tcsh jhkim:ezhBEzkbuHSbg:12961:::::: jhhuh:x:806:307:Ji-Haeng Huh:/home2/jhhuh:/bin/tcsh jhhuh:doHWjf5SCHCeU:12961:::::: #------------------------------------------------- # BH #------------------------------------------------- # New account for Jinho Kim # New account for Ji-Haeng Huh # As root@bh0 /usr/sbin/drakconf /usr/sbin/drakconf.real # Added account foreach U (jhkim jhhuh) chmod a+rx ~${U} cd /Public/People mkdir -p $U chmod a+rx $U chown $U.choptuik $U ls -ltd /Public/People/$U end # As matt@bh0 etcbh make import sola vs # 90MvigzBf1UTE bhDistEtc passwd shadow bhCommand finger $U # No finger on bh9! # OK # Edit /Public/index.html with composer, verified link #------------------------------------------------- # LNX #------------------------------------------------- # New accounts for Ji-Haeng and Jinho jhkim:x:807:307:Jinho Kim:/home2/jhkim:/bin/tcsh jhkim:ezhBEzkbuHSbg:12961:::::: jhhuh:x:806:307:Ji-Haeng Huh:/home2/jhhuh:/bin/tcsh jhhuh:doHWjf5SCHCeU:12961:::::: # As matt@bh0 etclnx make import # As root@lnx1 /usr/sbin/drakconf.real # As root@lnx1 foreach U (jhhuh jhkim) cd ~${U} scp ~phys410/.cshrc . scp ~phys410/.aliases . chown -R ${U}.choptuik ~${U} end # As matt@bh0 # Created 'newuser' target which imports # /etc/{passwd,shadow,group,hosts.{allow,deny},csh.cshrc} # from MASTER (root@lnx1) Nope etclnx # make newuser sola vs # SZsyJtxX8.NQY lnxDistEtc passwd shadow # As root@lnx1 setenv U meowmeow chmod a+rx ~${U} # As matt@bh0 setenv U meowmeow lnxCommand finger $U #------------------------------------------------- # VN #------------------------------------------------- # New accounts for Jinho Kim and Ji-Haeng Huh jhkim:x:807:307:Jinho Kim:/home2/jhkim:/bin/tcsh jhkim:ezhBEzkbuHSbg:12961:::::: jhhuh:x:806:307:Ji-Haeng Huh:/home2/jhhuh:/bin/tcsh jhhuh:doHWjf5SCHCeU:12961:::::: # As matt@vnfe1 cd vn Arc README.USERS vi README.USERS 806 jhhuh # Ji-Haeng Huh (UBC Visiting Grad Choptuik) 807 jhkim # Jinho Kim (UBC Visiting Grad Choptuik) nu setenv U jhhuh-jhkim cat<${U} jhhuh:x:806:600:Ji-Haeng Huh:/d/vnfe1/home/jhhuh:/bin/tcsh jhkim:x:807:600:Jinho Kim:/d/vnfe1/home/jhkim:/bin/tcsh END vnNewUsers ${U} # As root@vnfe1 setenv G choptuik foreach U (jhhuh jhkim) cp ~phys410/.cshrc ~${U}; chown ${U}.${G} ~${U}/.cshrc end ssh ${U}@vnfe1 ssh ${U}@vn35 # OK # As matt@vnfe1 etc sola; vs # ezhBEzkbuHSbg # doHWjf5SCHCeU vnDistEtc shadow setenv G choptuik foreach U (jhhuh jhkim) ssh root@vnfe1 "cd ~${U}; echo ${U}@physics.ubc.ca > .forward; chown ${U}.${G} .forward; ls -al; finger ${U}" vnCommand finger ${U} end #------------------------------------------------- # VNP4 #------------------------------------------------- # New accounts for Jinho Kim and Ji-Haeng Huh jhkim:x:807:307:Jinho Kim:/home2/jhkim:/bin/tcsh jhkim:ezhBEzkbuHSbg:12961:::::: jhhuh:x:806:307:Ji-Haeng Huh:/home2/jhhuh:/bin/tcsh jhhuh:doHWjf5SCHCeU:12961:::::: # As matt@bh0 foreach U (jhkim jhhuh) etcc2 cd NewUsers scp -q matt@vnfe1.physics.ubc.ca:/d/vnfe1/home/matt/system/vn/accounts/${U} . vi ${U} c2NewUsers ${U} ssh ${U}@vnfe4 date end # OK etcc2 sola vs # ezhBEzkbuHSbg # doHWjf5SCHCeU c2DistEtc shadow ############################################################ Tue Jun 28 21:12:21 PDT 2005 ############################################################ # Mary Ann has assigned me bh10 - bh16 bh10 142.103.234.61 bh11 142.103.234.62 bh12 142.103.234.63 bh13 142.103.234.69 bh14 142.103.234.70 bh15 142.103.234.71 bh16 142.103.234.72 ############################################################ Wed Jun 29 12:47:24 PDT 2005 ############################################################ # Pine bhCommand 'which pine' # Pine foreach h (bh2 bh3 bh4 bh6) ssh root@${h} rpm -ivh /d/bh9/home/2005/i586/media/contrib/libldap2-2.1.30-6mdk.i586.rpm ssh root@${h} rpm -ivh /d/bh0/home/matt/RPMS/pine-4.58-1plf.i586.rpm sleep 1 which pine end # gnuplot bhbgCommand 'rpm -ivh /d/bh9/home/2005/i586/media/main/libgd2-2.0.33-3mdk.i586.rpm' bhbgCommand 'rpm -ivh /d/bh9/home/2005/i586/media/main/libreadline5-5.0-2mdk.i586.rpm' bhbgCommand 'rpm -ivh /d/bh9/home/2005/i586/media/main/gnuplot-4.0.0-5mdk.i586.rpm; rehash; which gnuplot' ############################################################ Sat Jul 2 07:02:36 PDT 2005 ############################################################ # Secondary installation of bh11 - bh15. # Starting with bh15 # Coded matt@bh0.physics.ubc.ca:/d/bh0/home/matt/scripts/secondary-bh15 # and now should be able to create symlinks, so will do # As matt@bh0 cds ls -lt secondary-bh* -rwxr-xr-x 1 matt choptuik 46856 Jul 2 07:02 secondary-bh15* -rwxr-xr-x 1 matt choptuik 58044 Jun 28 13:21 secondary-bh12* -rwxr-xr-x 1 matt choptuik 57948 Jun 28 13:21 secondary-bh11* -rwxr-xr-x 1 matt choptuik 57861 Jun 28 13:21 secondary-bh10* Arc secondary-bh* RM secondary-bh12 foreach h (bh12 bh13 bh14) ln -s secondary-bh15 secondary-$h end # bh11? Done, powered down # bh12 (142.103.234.63) In progress # bh13 (142.103.234.69) In progress Check compilers (compiler paths /usr/local/pgi ...), seems to be a problem with PG at least on bh12 bh10,bh14 secondary Done: 11, 12, 13 (modulo compilers etc.) bh10 - bh16 exports # Roland reports problems with maple and xmaple on the new systems. # Is it working on any of them? # Should do debugging on, bhtest1, soon to be bh16, take bh10 down ############################################################ Sun Jul 3 09:42:21 PDT 2005 ############################################################ # Have bhtest1 up # Modify emkgcnad example so that it actually uses xvs test: default echo; echo "Executing unigrid/RNPL test" (cd src/ref_unigrid; time Doit 1.0e-2; seg2vs *.segdat) (cd src/src_rnpl; time emkgcna id0; sdftovs *tmr*sdf) echo; echo "Executing adaptive test" (cd src/ref_adaptive; Doit 1.0e-2; seg2vs *.segdat) # tag := u src/ref_unigrid/Testrun # tag := r src/src_rnpl/Testrun # tag := a src/ref_adaptive/Testrun ############################################################ Wed Jul 6 06:42:51 PDT 2005 ############################################################ # Have "installed" Netgear 16 port Gig switch in office, # ostensibly everything is OK, haven't tried switching the # wall port yet # bh2 is dead (Bruno's) # In Henn 408, hot as Hades, of course, bh2 alive but in # communicado, need to fix dependence of root login on # mounted disks. As I typed this, network froze, and # came back only after two restarts, and glitched on # startup. STRONGLY suspect drivers, which would make s # sense since Intel boards probably nowhere near the market # share outside NA where MDK relatively weak # Changing machine 0 / "bh0 wheels" identity to bh16 # ... but ... also noticed that bh2 still had NVAGP = 2, # AND display manager WAS running so hacked, ~/systems/machines, # then # As matt@bh0 rrvi /etc/X11/xorg.conf # viewperf performance # NvAgp = 3 -> 68.5 # NvAgp = 2 -> 69.9 # NvAgp = 1 -> ??.? # NvAgp = 0 -> ??.? # Option "NvAgp" "3" # Option "NvAgp" "2" # Option "NvAgp" "1" Option "NvAgp" "0" # Need to run performance tests, should do that now, but will postpone until # console-based installation finished ############################################################ Wed Jul 6 07:53:10 PDT 2005 ############################################################ # Need to swap machine in Jinho's carrell, bh1? in 414 with # bh10 (old bh8), then exchange identities of bh1 and bh16, # so that bh0 and bh1 will be final swap (if I am to continue # to use server) # As root@vnfe4 mkdir -p /home/bh1-2005 # As root@bh1 cd / du -hs home var etc 3.1G home 275M var 33M etc cp -a /home /var /etc /d/vnfe4/home/bh1-2005 # As root@vnfe4 cd /home/bh1-2005 du -hs home var etc 3.1G home 262M var 33M etc # As matt@bh0 bhbgCommand 'umount -l /d/bh0/home' bhCommand 'df' Wed Jul 6 08:40:28 PDT 2005 # Something tres strange happened, lost /home on bh0, which was a little # nerve wracking, but I *knew* per these notes, that I handn;t /bin/rm -rf # anything, let the MDK installer do that!!, so came back OK on reboot # clearly # OK, now that I *look* at the notes is clear, could have simply mounted # /home of course!! # As matt@bh0 bhbgCommand 'umount -l /d/bh1/home' # define 'm -> df | grep \!*' bhCommand 'df | grep bh0; df | grep bh1' # No output! bhCommand 'test `hostname -s` = bh0 || mount bh0:/home; df | grep bh0' bhCommand 'df | grep bh2; df | grep bh1' bhCommand 'df | grep bh0; df | grep bh1' # OK # Once .aliases distributed, bhCommand 'm bh0; m bh1' ssh root@bh1 'shutdown -h now &' ############################################################ Mon Jul 11 06:42:54 PDT 2005 ############################################################ # 1) New account for Andrew Wilson (UBC PHAS UG Choptuik) # Working file README.NEWU :r README.NEWU #------------------------------------------------- # agwilson #------------------------------------------------- # As choptuik@physics sudo pwentry agwilson:x:13373:400:Andrew Gordon Wilson:/home2/agwilson:/bin/tcsh agwilson:smhedQy/CXsvc:12959:::::: #------------------------------------------------- # BH #------------------------------------------------- # New account for Andrew Wilson UBC PHAS UG Choptuik) agwilson:x:13373:400:Andrew Gordon Wilson:/home2/agwilson:/bin/tcsh agwilson:smhedQy/CXsvc:12959:::::: # As root@bh0 /usr/sbin/drakconf # Added account # Test ... ssh agwilson@bh16 # OK setenv U agwilson chmod a+rx ~${U} cd /Public/People mkdir -p $U chmod a+rx $U chown $U.choptuik $U ls -ltd /Public/People/$U # As matt@bh0 etcbh make import sola vs # SZsyJtxX8.NQY bhDistEtc passwd shadow bhCommand finger $U # No finger on any of the new machines # As matt@bh0 cds Arc secondary secondary-bh15 vi !* # As root@bh0 via a mand 'cd /d/bh9/home/2005/i586/media; pwd; ls' soa mand f finger ./main/finger-server-0.17-5mdk.i586.rpm ./main/finger-0.17-5mdk.i586.rpm # Hack bhCommand so that it uses 2005 machines viw bhCommand bhCommand 'cd /d/bh9/home/2005/i586/media/main; rpm -ivh finger*rpm' bhCommand 'chkconfig --list | grep finger' # As matt@bh0 setenv U agwilson bhCommand finger $U # Edit /Public/index.html with composer, verify index.html link #------------------------------------------------- # LNX #------------------------------------------------- # New account for Andrew Wilson UBC PHAS UG Choptuik) agwilson:x:13373:400:Andrew Gordon Wilson:/home2/agwilson:/bin/tcsh agwilson:smhedQy/CXsvc:12959:::::: # As matt@bh0 etclnx make import # As root@lnx1 /usr/sbin/drakconf setenv U agwilson ssh ${U}@lnx1 'pwd; date; ls -a' cd ~${U} scp ~phys410/.cshrc . scp ~phys410/.aliases . chown -R ${U}.choptuik ~${U} # As matt@bh0 # Created 'newuser' target which imports # /etc/{passwd,shadow,group,hosts.{allow,deny},csh.cshrc} # from MASTER (root@lnx1) Nope etclnx # make newuser sola vs # SZsyJtxX8.NQY lnxDistEtc passwd shadow # As root@lnx1 setenv U agwilson chmod a+rx ~${U} # As matt@bh0 setenv U agwilson lnxCommand finger $U #------------------------------------------------- # VN #------------------------------------------------- # New account for Andrew Wilson UBC PHAS UG Choptuik) agwilson:x:13373:400:Andrew Gordon Wilson:/home2/agwilson:/bin/tcsh agwilson:smhedQy/CXsvc:12959:::::: # As matt@vnfe1 cd vn Arc README.USERS vi README.USERS 13373 agwilson # Andrew Wilson UBC PHAS UG Choptuik) nu setenv U agwilson cat<${U} ${U}:x:13373:600:Andrew Gordon Wilson:/d/vnfe1/home/${U}:/bin/tcsh END vnNewUsers ${U} # As root@vnfe1 setenv U agwilson setenv G choptuik cp ~phys410/.cshrc ~${U}; chown ${U}.${G} ~${U}/.cshrc ssh ${U}@vnfe1 ssh ${U}@vn35 # OK # As matt@vnfe1 etc sola; vs # smhedQy/CXsvc vnDistEtc shadow setenv U agwilson setenv G choptuik ssh root@vnfe1 "cd ~${U}; echo ${U}@physics.ubc.ca > .forward; chown ${U}.${G} .forward; ls -al; finger ${U}" vnCommand finger ${U} #------------------------------------------------- # VNP4 #------------------------------------------------- # New account for Andrew Wilson UBC PHAS UG Choptuik) agwilson:x:13373:400:Andrew Gordon Wilson:/home2/agwilson:/bin/tcsh agwilson:smhedQy/CXsvc:12959:::::: # As matt@bh0 setenv U agwilson etcc2 cd NewUsers scp -q matt@vnfe1.physics.ubc.ca:/d/vnfe1/home/matt/system/vn/accounts/${U} . vi ${U} c2NewUsers ${U} ssh ${U}@vnfe4 date # OK etcc2 sola vs # smhedQy/CXsvc c2DistEtc shadow ############################################################ Mon Jul 11 14:18:04 PDT 2005 ############################################################ # bh16 can't mount anything. # 142.103.234.72 # Ensure /etc/{exports,hosts,hosts.allow} properly configured etcbh vila a get 'Arc \!*; chmod u+w \!*; scp root@bh0:/etc/\!* .; ls -lt \!*' cala sola get hosts get hosts.allow get exports vi hosts hosts.allow # OK bhDistEtc hosts hosts.allow rrvi /etc/exports bhbgCommand 'exportfs -a' bhCommand 'mount -a' # bh1 can't mount ... bhCommand '/bin/rm -rf ~/.ssh/known_hosts' bhCommand 'service xinetd restart; service nfs restart; mount -a' # TODO: # Still some sticky mounts, especially with vn machines, bh[0-9] need # bh[10-16] dirs ############################################################ Thu Jul 14 14:13:08 PDT 2005 ############################################################ # # Coded mkbhhomes bhCommand mkbhhomes bhCommand 'mount -a; df' | tee /tmp/df ############################################################ Fri Jul 15 06:35:46 PDT 2005 ############################################################ # Updating NIC Driver after Ben's sleuthing (thanks Ben!!) # # From benjamin@phas.ubc.ca Fri Jul 15 06:36:11 2005 Date: Wed, 13 Jul 2005 17:09:11 -0700 (PDT) From: Benjamin Gutierrez To: choptuik@phas.ubc.ca Subject: Network Driver sk98lin driver hi Matt, I understand we have the following driver working on the bh machines: (/usr/src/linux-2.6.11-6mdk/Documentation/networking/sk98lin.txt) [root@bh4]# ls /proc/net/sk98lin/ eth0 its indeed there in the lsmod list. Marvell Yukon/SysKonnect SK-98xx Gigabit Ethernet Adapter driver for LINUX Looks like our problem is known as the "Mandriva 2005LE 2.6.11-6mdksmp sk98lin BUG" I found the website of the latest version: http://www.syskonnect.de/syskonnect/support/driver/ I am just looking around, i wont touch anything of course, i am just sending you the info i find. ben. # Looks like 8.23 is the most recent version matt@bh0.physics.ubc.ca:/d/bh0/home/matt/system/bh/image/drivers/SysKonnect-8.23 matt@bh0.physics.ubc.ca:/d/bh0/home/matt/system/bh/image/drivers/SysKonnect-8.23/install-8_23.tar.bz2 # Documentation in bunzip2 install-8_23.tar.bz2 /d/bh0/home/matt/system/bh/image/drivers/SysKonnect-8.23/readme.html # hack bhallN to exclude bh0 viw bhallN bhCommand '/d/bh0/home/matt/system/bh/image/drivers/SysKonnect-8.23/DriverInstala/install.sh' # Nope, looks like script wants everything in /root bhCommand ' tar xfv /d/bh0/home/matt/system/bh/image/drivers/SysKonnect-8.23/install-8_23.tar; cd DriverInstall; ./install.sh' # Nope, can't do installation remotely since, disconnects eth0, so will do manually bhCommand 'tar xfv /d/bh0/home/matt/system/bh/image/drivers/SysKonnect-8.23/install-8_23.tar; cd DriverInstall' # Done manually on all machines in West Penthouse. Having trouble with bh1, but that may # be due to bad kernel source configuration etc. # During distribution of /etc/motd, bh4 hangs ... would like to think it was a one-off # coincidence, but that's probably just being naive ############################################################ Sat Jul 16 03:37:49 PDT 2005 ############################################################ # sshd (at a minimum) appears to have died on bh0 at some point # in the past. Machine was still letting ftp, nfs get through, but # could not ssh into it. # # In office, and after 'su'-ing cd /etc/init.d ./network restart # OK ############################################################ Sat Jul 16 04:19:32 PDT 2005 ############################################################ # Installation of new NIC driver didn't work on bh1, kernel # configuration issue? # As root@bh1 cd /usr/src/linux make clean make mrproper make oldconfig make ############################################################ Sat Jul 16 04:22:51 PDT 2005 ############################################################ # NFS mounts for bh10-bh16 bhbgCommand mkbhhomes bhCommand 'cd /d; pwd; ls' ############################################################ Sun Jul 17 07:03:07 PDT 2005 ############################################################ # bh13 down (incommunicado) for second time this AM # ... but was connected to KVM cables with bad mouse connector # (as had been bh1 from time to time). Brought bh13 up as # standalone unit (second console) and all seems OK # rebuilt kernel on bh1, and still encountered same problem # with installation of new NIC driver. I then dropped down # into the shell and executed # As root@bh1 cd cd DriverInstall bash ./install.sh > /tmp/log 2>&1 # ... and seemed to build and install the new driver OK # The parnoid in me would still like to see something in the system # log that shows the NIC version number or some such # Boy, am getting optimistic! bh1 now dies on boot up, simply reinstall # since it IS likely to be faster bh1.physics.ubc.ca 142.103.234.154 ############################################################ Sun Jul 17 08:35:55 PDT 2005 ############################################################ # Working with Steve P.'s second machine, whitney # currently configured as bhtest2 # Raw Usage from whitney / 39G backup 3.7M boot 60M etc 62G home 4.0K misc 484M root 2.8G usr 62M var # Edited Usage from whitney / # Usage from vnfe4:/home/whitney 39G backup 3.7M boot 60M etc 62G home 4.0k misc 484M root 28M usr 63M var # As root@bhtest2 !!ssh root@bhtest2 du -hs /usr/local 28M /usr/local # Good to go ... get on with the installation of Mandriva # ... and have done so, and see the same problem ... incredibly # slow boot sequence, definitely starting with the USB devices, # but perhaps even sooner. Pal/Benjamin, something else to # google for (you can come use the machine in my ofc when you want, # it's the one on the desk by the door. Root password is the usual # thing. Ben, you know how to do this, look in /proc for the hardware # details etc. Last time I was pretty sure that it was the NIC, this # time I'm HOPING that it's the kernel per se. Please look into this # ASAP and let me know what you've found out. If you can't do it # fairly quickly, let me know, and I'll go ahead with a 10.1 install # on Steve's machines, prior to insertion in the cluster (and, in factr # am likely to do that anyway, since it should only take 2-3 hours) ############################################################ Sun Jul 17 16:23:40 PDT 2005 ############################################################ # As root@Bh9 du -hs /mandrake/Mandrake101/i586 7.9G /mandrake/Mandrake101/i586 cd /home ls 2005/ Usage backups/ jhhuh/ matlab-14/ sgi1/ Mandrake101/ aaron/ evgeny/ jhkim/ meowmeow/ sirker/ Mandrake921.install/ agwilson/ garfinkl/ kelleher/ msnajdr/ updates/ Mandrake921.updates/ ajpenner/ godel/ laplace/ ph0/ RM -rf Mandrake101 mkdir -p /home/10.1 cp -a /mandrake/Mandrake101/i586 /home/10.1 cd /home/10.1/i586 du -hs /home/10.1/i586 f rpmsrate #----------------------------------------------------------- Mon Jul 18 14:26:28 PDT 2005 #----------------------------------------------------------- # 10.1 on Whitney still incredibly slow!! What gives? # MAY be faster than 10.2, and perhaps I'm simply impatient # Will see how it RUNS, then try a reboot or two # As root@bhtest2 time find / | wc 5.54user 5.57system 0:53.05elapsed 20%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+288minor)pagefaults 0swaps 244385 251669 12438811 time find / | wc 5.67user 2.53system 0:27.23elapsed 30%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+288minor)pagefaults 0swaps 244385 251669 12438811 time find / | wc 5.72user 2.48system 0:27.68elapsed 29%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+287minor)pagefaults 0swaps 244385 251669 12438811 # so, looks like that's all the caching is going to do for us, and performance # doesn't look too shabby, might as well install on # As root@bh1 time find / | wc find: WARNING: Hard link count is wrong for /proc: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched. # ... and takes MUCH longer than bhtest2 (Steve's machine) ############################################################ Sun Jul 17 16:23:40 PDT 2005 ############################################################ # While the copy is proceeding, check progamming environment on # bh1 # As matt@bh1 cd emkgcnad make clean iopt make cd src lsx Doit emkgcnad femkgcnad ldd emkgcnad ldd femkgcnad # Problem with PGI 'C' executables, missing library Executing RNPL test (cd src/src_rnpl; time emkgcna id0; sdftovs *tmr*sdf) emkgcna: error while loading shared libraries: libpgc.so: cannot open shared object file: No such file or directory Command exited with non-zero status 127 # As matt@bh1 popt cd emkgcnad make clean cd src/src_rnpl ldd emkgcna linux-gate.so.1 => (0xffffe000) libc.so.6 => /lib/tls/libc.so.6 (0xb7ea7000) libpgc.so => not found libm.so.6 => /lib/tls/libm.so.6 (0xb7e83000) /lib/ld-linux.so.2 (0xb7fec000) # /etc/ld.so.conf is obvious culprit # As matt@bh0 etchbh scp root@bh2:/etc/ld.so.conf ld.so.conf-10.2 Arc ld.so.conf-10.2 vi ld.so.conf-10.2 /usr/X11R6/lib /usr/lib/qt3/lib /usr/local/lib /usr/local/pgi/linux86/5.2/lib /opt/intel/lib /usr/local/lib/i686-pc-linux /usr/local/maple8/bin.IBM_INTEL_LINUX cp ld.so.conf-10.2 ld.so.conf viw bhallN bhDistEtc ld.so.conf bhbgCommand ldconfig # As matt@bh1 ldd emkgcna linux-gate.so.1 => (0xffffe000) libc.so.6 => /lib/tls/libc.so.6 (0xb7ea5000) libpgc.so => /usr/local/pgi/linux86/5.2/lib/libpgc.so (0xb7e90000) libm.so.6 => /lib/tls/libm.so.6 (0xb7e6d000) /lib/ld-linux.so.2 (0xb7fec000) # Hack bhallN to limit to new machines bhCommand cat /proc/cpuinfo | grep bogo bogomips : 5931.00 bogomips : 5931.00 bogomips : 5931.00 bogomips : 5931.00 bogomips : 5931.00 bogomips : 5931.00 bogomips : 5931.00 ############################################################ Mon Jul 18 17:08:46 PDT 2005 ############################################################ # Andrew reporting problem with bh10 when logged in via console # As root@bh10 cd /etc/X11 vi xorg.conf Option "NvAgp" "1" ############################################################ Tue Jul 19 08:45:42 PDT 2005 ############################################################ # Restored bhallN # As matt@bh0 bhallN uptime | tee /tmp/uptime # Load average on bh15 is at 1.00, and there's a root owned # 'dialog' process that has apparently been running flat # out since reboot # As root@bh15 pstree # dialog hangs off gdm-greeter or some such. Killed ... OK? ############################################################ Tue Jul 19 11:10:39 PDT 2005 ############################################################ # Switched network cable in my ofc (Hennings 403) # From PORT: NET 1001411 026-PD 032 # # To PORT: NET 1001410 026-PD 031 # # the latter having being connected, I believe, sometime # earlier to gig fabric by Mary Ann ############################################################ Tue Jul 19 12:34:44 PDT 2005 ############################################################ # Installing Mandriva 2005 LE on Inspiron 7000 # Backing up # As root@vnfe4 mkdir -p /d/vnfe4/home/bhlap-dell-7000/ # As root@bhlap mkdir -p /d/vnfe4/home/ mount vnfe4:/home !$ cp -a / /d/vnfe4/home/bhlap-dell-7000/ # Size check # As root@bhlap cd / du -hs * # As root@vnfe4 cd /d/vnfe4/home/bhlap-dell-7000/ du -hs * # This isn't working ... cd / cp -a bin boot etc home initrd lib mnt/windows opt Public root sbin usr var /d/vnfe4/home/bhlap-dell-7000/ # ... which chokes up on mnt/windows, so interrupt, and cp -a opt Public root sbin usr var /d/vnfe4/home/bhlap-dell-7000/ # ... meanwhile ... as root@bhlap, we determine cd /mnt; du -hs windows du: `windows/cvirt31': No such file or directory . . . du: `windows/cwlai': No such file or directory 2.5G windows # ... so probably wasn't hanging up after all ... # As root@bhlap cd /d/vnfe4/home/bhlap-dell-7000 mkdir mnt cd mnt cp -a /mnt/windows . # Size check # As root@bhlap cd / du -hs bin boot etc home initrd lib mnt/windows opt Public root sbin usr var 5.6M bin 3.7M boot 14M etc 124M home 8.0K initrd 29M lib 4.0K opt 39M Public 2.5G mnt/windows 8.4M root 6.2M sbin 1.6G usr 68M var # As root@vnfe4 cd /home/bhlap-dell-7000/ du -hs bin boot etc home initrd lib mnt/windows opt Public root sbin usr var 5.6M bin 3.7M boot 14M etc 124M home 8.0k initrd 29M lib 2.6G mnt 4.0k opt 8.4M root 6.2M sbin 1.6G usr 68M var # OK ... let's rock! # On console@7100 # BIOS: Boot set to CD-ROM: Insert Mandriva 2005 LE # configure as bhtest1 142.103.234.190 # Mount bh9 /home/2005/i586 # Yee-hah ... 4 hours to install all this s*&t ... you better believe it's going to # pretty much all of that Tue Jul 19 18:07:03 PDT 2005 # ... and the installer claims that there's 1:33 to go. # Need to go check the outcome of today's assignment (Sine Gordon in axysymmetry) Wed Jul 20 06:11:17 PDT 2005 # TODO: Primary done, should time reboot Wed Jul 20 06:15:35 PDT 2005 Wed Jul 20 06:19:53 PDT 2005 # ... so about 4.5 minutes, but some of that is apparently database initialization # and there are a lot of services running. # As root@bhlap1 uname -a; cat /etc/issue Linux bhtest1.physics.ubc.ca 2.6.11-6mdk #1 Tue Mar 22 16:04:32 CET 2005 i686 Pentium II (Deschutes) unknown GNU/Linux Mandrakelinux release 10.2 (Limited Edition 2005) for i586 Kernel 2.6.11-6mdk on an i686 / \l df -h Filesystem Size Used Avail Use% Mounted on /dev/hda5 5.9G 3.3G 2.3G 60% / # TODO: Now need to hack secondary and run it. ############################################################ Thu Jul 21 07:45:34 PDT 2005 ############################################################ # Mistake not to configure X at installation time, # As root@bhlap xf86config # Old values on vnfe4 !!ssh root@vnfe4.physics.ubc.ca cat /home/bhlap-dell-7000/etc/X11/XF86Config-4 # File generated by XFdrake. # ********************************************************************** # Refer to the XF86Config man page for details about the format of # this file. # ********************************************************************** Section "Files" # Multiple FontPath entries are allowed (they are concatenated together) # By default, Mandrake 6.0 and later now use a font server independent of # the X server to render fonts. FontPath "unix/:-1" EndSection Section "ServerFlags" #DontZap # disable (server abort) #DontZoom # disable / (resolution switching) AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work EndSection Section "Module" Load "dbe" # Double-Buffering Extension Load "v4l" # Video for Linux Load "extmod" Load "type1" Load "freetype" Load "glx" # 3D layer Load "/usr/X11R6/lib/modules/extensions/libglx.a" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "Keyboard" Option "XkbModel" "pc105" Option "XkbLayout" "en_US" Option "XkbOptions" "" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "6 7" EndSection Section "Monitor" Identifier "monitor1" VendorName "Generic" ModelName "Flat Panel 1024x768" HorizSync 31.5-48.5 VertRefresh 40-70 # Sony Vaio C1(X,XS,VE,VN)? # 1024x480 @ 85.6 Hz, 48 kHz hsync ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync # TV fullscreen mode or DVD fullscreen output. # 768x576 @ 79 Hz, 50 kHz hsync ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630 # 768x576 @ 100 Hz, 61.6 kHz hsync ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616 EndSection Section "Device" Identifier "device1" VendorName "ATI" BoardName "ATI Mach64 Utah" Driver "ati" Option "DPMS" EndSection Section "Screen" Identifier "screen1" Device "device1" Monitor "monitor1" DefaultColorDepth 24 Subsection "Display" Depth 8 Virtual 1024 768 EndSubsection Subsection "Display" Depth 15 Virtual 1024 768 EndSubsection Subsection "Display" Depth 16 Virtual 1024 768 EndSubsection Subsection "Display" Depth 24 Virtual 1024 768 EndSubsection EndSection Section "ServerLayout" Identifier "layout1" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" Screen "screen1" EndSection # Need to create X link (secondary script does that, want to rexamine services, TODO: do later) # As [console]root@bhtest1 drakconf # Changed eth0 IP: 142.103.234.161 # etho hostname: bhlap.physics.ubc.ca reboot Thu Jul 21 07:59:47 PDT 2005 Thu Jul 21 08:02:51 PDT 2005 # Just over three minutes, can probably get it to under two with service disabling # As matt@bh0 cd 7000 cp -a image image-mdk-10.0 mkdir -p /home/matt/system/7000/image/etc/X11 cd !$ scp root@bhlap:/etc/X11/xorg.conf . # As [console]root@bhlap mkdir -p /root/install cd !$ scp matt@bh0:~/scripts/secondary-7000 s ./s -x bhlap # OK ... that will keep it busy for a while, especially the kernel build Thu Jul 21 15:32:21 PDT 2005 # Secondary ostensibly finished, although doesn't appear that all (any) of # the key /etc files were scp-ed from bh0 date; ssh root@bhlap 'reboot &' # AS root@bhlap cd /etc foreach f (passwd shadow group) scp root@bh0:/etc/$f $f.bh0 end foreach f (csh.cshrc ld.so.conf resolv.conf hosts.equiv hosts hosts.allow hosts.deny) test -f /etc/$f.O && (chmod a+w /etc/$f.O; rm -rf /etc/$f.O) cp /etc/$f /etc/$f.O scp root@bh0:/etc/$f . end mount vnfe4:/home /d/vnfe4/home # Restore /home directories cd /d/vnfe4/home/bhlap-dell-7000/home foreach u (cwlai inaki jason matt monique msnajdr petryk scn) mv /home/$u /home/$u.O cp -a $u /home end # ... and now only have 300 Mbyte or so left # TODO: Wireless card # D-lINK DWL-G650 # As root@bhlap chkconfig httpd off ############################################################ Thu Jul 21 07:45:34 PDT 2005 ############################################################ # TODO: MAPLE # Guys seem to want Maple 8 # Bill is running Maple 9.5 # Start from there # TODO: CUPS # TODO: Postfix # As root@string slocate maple > /tmp/string-maple cd /usr/local for d in maple9.5 maple6 maple8; do du -hs $d done 367M maple9.5 106M maple6 166M maple8 # Best to copy to {vnfe4,bh0} first # As root@{vnfe4,bhh0} mkdir /home/maple cd /home/maple foreach d (maple9.5 maple6 maple8) scp -r root@string:/usr/local/$d . end # Look for README etc. re installation and or get pointers from Bill ############################################################ Fri Jul 22 14:44:38 PDT 2005 ############################################################ # Installing MDK 10.2 on Frans' laptop # Bring up as bhtest1 # Mount /d/vnfe4/home, and back up to # /d/vnfe4/home/frans-dell-8100 mkdir -p /d/vnfe4/home mount vnfe4:/home /d/vnfe4/home # Hangs up, probably has firewall or something on cd / cp -a bin boot etc home lib root sbin usr var /d/vnfe4/home/frans-dell-8100 ############################################################ Thu Jul 28 15:03:34 PDT 2005 ############################################################ # Going for reinstall on Frans' laptop, to try to fix network # issues, following backup of # # /etc -> /d/vnfe4/home/ # As root@bhtest1 mount vnfe4:/home /d/vnfe4/home mkdir -p /d/vnfe4/home/fransp-8200/Install0 cp -a /home2/matt /root /etc /d/vnfe4/home/fransp-8200/Install0 # Reinstalled, running secondary script # As root@bhtest1 mkdir -p /d/vnfe4/home mount vnfe4:/home !$ mv /home /home.O cd /d/vnfe4/home/fransp-8200/ cp -a home / cd /d/vnfe4/home/fransp-8200/Install0/ cp -a matt /home # After secondary is done, copy /etc files /etc/(passwd,shadow,group,hosts,hosts.allow,hosts.deny} /etc/X11/xorg.conf cd /etc setenv D /d/vnfe4/home/fransp-8200/Install0/etc foreach f (passwd shadow group hosts hosts.allow hosts.deny) test -f $f && /bin/cp $f $f.O test -f $D/$f && /bin/cp $D/$f $f end ############################################################ Tue Aug 2 14:22:32 PDT 2005 ############################################################ # Ben reports problems with xvs on bh[26] and sure enough # have # /usr/local/maple8/bin.IBM_INTEL_LINUX/libGL.so.1 -> libGL.so.1.old* # on those machines bhCommand '/bin/rm -rf /usr/local/maple8/bin.IBM_INTEL_LINUX/libGL.so.1' bhCommand 'ldconfig; ls -lt /usr/local/maple8/bin.IBM_INTEL_LINUX/libGL.so.1' # Not working # As root@bh[26 RM /usr/local/maple8/bin.IBM_INTEL_LINUX/libGL.so.1 bhCommand 'cd /usr/local/maple8/bin.IBM_INTEL_LINUX/; mkdir Archive; mv libGL.so.1 libGL.so.1.old Archive; ldconfig; ls /usr/local/maple8/bin.IBM_INTEL_LINUX/libGL.so.1' bhCommand 'ldconfig; ls -lt /usr/local/maple8/bin.IBM_INTEL_LINUX/libGL.so.1' bhCommand 'ldd `which xvs`' # OK ############################################################ Mon Aug 8 03:20:42 PDT 2005 ############################################################ # Jason has found fix for maple problem on new machines setenv LD_ASSUME_KERNEL 2.4.1 export LD_ASSUME_KERNEL=2.4.1 ############################################################ Sun Aug 14 04:06:45 PDT 2005 ############################################################ # Problems with bh9's disk while I'm at Cambridge. # Ben trying to resolve problem, and has apparently been # able to get /Public off of it and onto bh8 bhCommand 'ls -ltd /Public' # As root@bh0 /bin/rm /Public ln -s /d/bh8/home/laplace/usr2/Public /Public # Problems continue, Bill notices problems with 'ls' on bh0, suspects # possible corruption of O/S, but we've seen this before---the # --color=auto option is apparently responsible for the hangs, # changing the alias fixes this up # Ben has restored most (?) of /Public to bh8, but bh0 apparently # unable to serve off of it # Serving via link to bh1 seems to work. Will start up httpd server on # bh8 # As root@bh8 cd /etc/httpd/2.0/conf/ mv httpd.conf httpd.conf.orig bu httpd2.conf bu commonhttpd.conf scp root@bh0.physics.ubc.ca:/etc/httpd/2.0/conf/httpd2.conf . scp root@bh0.physics.ubc.ca:/etc/httpd/conf/commonhttpd.conf . # Bad user name apache cd /etc ssh root@bh0 'grep apache /etc/{passwd,shadow}' service httpd start # OK ############################################################ Tue Aug 16 03:46:34 PDT 2005 ############################################################ # Ben has bh9's disk installed in bh0, relink # /Public # Added /d/bh9 to bh0:/etc/exports exportfs -av rrvi /etc/fstab bh0:/d/bh9 /d/bh9 nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 # As root@bh{1,2,3,4,5,6,7,8} mv /d/bh9 /d/bh9.O; mkdir -p /d/bh9; mount bh0:/d/bh9 /d/bh9; RM /Public; ln -s /d/bh9/home/laplace/usr2/Public/ /Public; cd /Public; ls # Update /etc/passwd # As matt@bh0 etcbh sola get passwd get shadow ############################################################ Tue Aug 16 04:08:09 PDT 2005 ############################################################ # Bill points out that his home directory (/d/bh1/home) is # missing. Apparently forgot to restore after update # As root@bh1 cd /d/vnfe4/home/bh1-2005/home LS > /tmp/LS vi /tmp/LS akiles bruno dale grade jason jdoe luisl mpr psandhu rousseab shawley sinat stroet unruh villegas foreach u (`cat /tmp/LS`) echo "Copying $u" test -d /home/$u || cp -a $u /home end ############################################################ Thu Aug 25 07:42:19 PDT 2005 ############################################################ # Remounting bh9's old disk as # # bh0:/home2 # # rather than # # bh0:/d/bh9 # # Will then need to remake /Public links # # As root@bh0 cd /etc Arc fstab vi fstab vi exports # added entry for /home2 exportfs -av cd /home2 ln -s home/laplace/usr2/Public . RM /Public cd /d/bh0 ln -s /home2 . cd / ln -s /d/bh0/home2/Public . allCommand 'mkdir -p /d/bh0/home2' # As matt@bh0 rrvi /etc/fstab viw bhallN # disable bh1 bhCommand 'umount -l /d/bh9/home; mount /d/bh0/home2; cd /d/bh0/home2; ls' # Problem with bh8 bhCommand 'cd /; RM /Public; ln -s /d/bh0/home2/Public .; cd /Public; ls' ############################################################ Thu Aug 25 08:06:17 PDT 2005 ############################################################ # Secondary on bh2 # Hacked on matt@bh0:~/scripts/secondary # As root@bh9 mkdir -p /root/install cd /root/install scp matt@bh0:~/scripts/secondary s ./s -x bh9 ############################################################ Sun Aug 28 10:54:20 PDT 2005 ############################################################ # Asked Ben to do bare bones install, which he did, but then # couldn't resist installing X. Oh well, hope he didn't do # anything else that might interfere with the script. # However, does report that SMP kernel is being used Linux bh9.physics.ubc.ca 2.6.11-6mdksmp #1 SMP Tue Mar 22 15:40:42 CET 2005 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz unknown GNU/Linux Mandrakelinux release 10.2 (Limited Edition 2005) for i586 Kernel 2.6.11-6mdksmp on a Dual-processor i686 / \l # As matt@bh0 cd .ssh vi known_hosts # Excise bh9, 142.103.234.125 # As root@bh9 # File generated by DrakX/drakboot # WARNING: do not forget to run lilo after modifying this file default="linux" boot=/dev/hda map=/boot/map keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label="linux" root=/dev/hda5 initrd=/boot/initrd.img append="acpi=ht resume=/dev/hda1 splash=silent" vga=788 read-only image=/boot/vmlinuz label="linux-nonfb" root=/dev/hda5 initrd=/boot/initrd.img append="acpi=ht resume=/dev/hda1" read-only image=/boot/vmlinuz label="failsafe" root=/dev/hda5 initrd=/boot/initrd.img append="failsafe acpi=ht resume=/dev/hda1 devfs=nomount" read-only # Transfer Martin's home to bh6 # As root@bh6 cd /home cp -a /d/bh8/home/msnajdr_27Ago05 /home/msnajdr # AS root@bh8 du -hs /home/msnajdr_27Ago05/ 13G msnajdr_27Ago05/ # As root@bh6 foreach i (`seq 1000`) du -hs /home/msnajdr end # As root@bh6 cd /home/msnajdr usage | tee /tmp/usage 6079780 WORK 1150172 CRITICAL 800624 mail_ualberta 758496 GPU 574588 NOTEBOOK 539212 critical.tgz 480688 BROOKS 392416 PAPERS 308864 SDK_BAK 150108 tmp 142888 FIDICAD 126720 MAIL_UALBERTA 99064 SPECViewperf81.tar.gz.part 64564 test.ps 62156 WEB 59652 DDD_install 48372 OpenDX_samples 45004 THESIS 43832 kernel-source-2.6-2.6.8.1-12mdk.i586.rpm 38388 AdobeReader_enu-7.0.0-2.i386.rpm 35888 rnpletal 34616 Amaya 34292 Cg 34248 ACROBAT-INSTALL 30932 MUDPACK5.0 30548 graxi 30160 firefox-installer 29872 TEMP5 27372 java 24484 CC_HIGHER_DIM 21216 dublin.tgz 20572 TAMULI 19788 fftw-3.0.1 19604 MULTIGRID_DOCS 17916 rnpl 16644 kernel.tar 16488 u_3.sdf 15900 thesis_nitro.tgz 14716 PDE_LECTURES 14256 MPLAYER 12928 sql21-4.ps 12852 sql21.ps 12020 TEMP2 12008 php24-4.ps 11888 php24.ps 11632 valgrind-2.0.0 11092 NVIDIA-Linux-x86-1.0-7676-pkg1.run 11060 NVIDIA-Linux-x86-1.0-7667-pkg1.run 10212 DV 10136 xvs 9272 ds_psi_2.sdf 9268 OpenGL 9056 qsub.tgz 8968 amaya-src-8.1b.tgz 8588 redland 8436 firefox-1.0.6.installer.tar.gz 8336 RealOnePlayerV2GOLD.exe 8208 Strings 8120 exam391.ps 7984 NVIDIA-Linux-x86-1.0-6106-pkg1.run 7712 NCAR 7660 aL.sdf 7312 DV_TOOLS 7100 parlata.mp3 6956 TEMP3 6896 DVR 6888 CLISER 6856 CapitalAssets.ps 6068 TEMP4 6040 libwww 5844 pamr 5820 phd.ps 5524 gv_4165a53f_1_ddd.ps.tmp 5304 valgrind-20031012 5248 riemann.tgz 4928 canada.ps 4828 rp8_linux20_libc6_i386_cs2_rpm 4528 amaya-8.1a-2mdk.i586.rpm 4280 mozilla.ps 4276 fglrx-glc22-4.3.0-3.2.8.i586.rpm 4104 valgrind-2.0.0.tar 3996 valgrind-20031012.tar 3828 canada2-4.ps 3812 canada2.ps 3768 vimbook-OPL.pdf 3660 TESTS 3368 dv.tgz 3368 EPARSER 3132 rnpletal.tar.gz 3012 MPI 2888 v1_unif.mpg 2820 INAKI 2756 NUMREL 2752 sql71.pdf 2732 bicycles1.ps 2724 junk.ps 2720 bicycles1b.ps 2604 dctc-0.85.6 2520 php24.pdf 2520 dvtools.tgz 2452 newwest2.ps 2452 newwest1.ps 2452 mozilla2.ps 2452 Surrey3.ps 2452 Surrey2.ps 2452 Surrey1.ps 2432 SLAVKA 2420 MPA1240.ps 2352 DVexp.tgz 2328 ds_psi_1.sdf 2144 Documents 2116 AMD64 2004 gremaxi 1908 fftw-3.0.1.tar.gz 1768 res-4.ps 1760 res.ps 1636 junk2.ps 1632 bicycles2.ps 1508 install_flash_player_6_linux 1504 install_flash_player_6_linux.tar 1424 XFORMS 1260 bin 1064 TEMP 1060 libMagick5.5.7-5.5.7.10-7mdk.i586.rpm 1032 5862.mp3 1024 JUNK 912 local 856 DV_tools 820 EXTENDED 808 mpeg_play 792 MCALC 784 DVtest 764 CFD-BOOK 720 mdsb.pdf 700 exam391.pdf 696 flash-plugin-6.0.79-1.i386.rpm 648 ns_program.ps 644 comm297_ch7-4.ps 632 EVGENY 628 comm297_ch7.ps 608 AN501_Latency_Settings_and_Performance.pdf 592 ds_psi_0.sdf 556 numrec19-1-1.ps 544 the.ps 504 MMLViewerInstall.jar 500 c295_final_2002.ps 480 capital.ps 476 dctc-0.85.6.tar.gz 452 libstdc++2.10-2.96-0.83mdk.i586.rpm 396 valgrind-1.9.6-1mdk.i586.rpm 372 zee.pdf 364 libdb4.1-4.1.25-3mdk.i586.rpm 356 dc_gui2-0.77-1.i586.rpm 340 passport044.pdf 324 libstdc++5-3.3.4-4mdk.i586.rpm 324 axnwhd 316 aolsetup.exe 304 53.ps 252 DIGIFOTO 248 WD250_invoice.ps 232 bhV_travel_exp.ps 212 comm297_ch7.pdf 208 53.pdf 200 LSODA 196 test.ps.gz 176 UCRL_JC_150259.pdf 176 PERL 172 fieldmap-soccer.gif 172 Introduction to Financial Accounting.pdf 168 bla1 168 Mobilis-Domain-WebHosting.doc 164 PAMR_ref.ps 156 redland-0.9.14-2mdk.i586.rpm 156 nserc_v2.pdf 156 main.tgz 156 class8.ps 156 81ds_psi_2.sdf 152 userf.eps 152 application_v1.pdf 148 userf_def.eps 148 nserc_final.pdf 148 mpeg_play-2.4-patched-src.tar.gz 144 test2.sdf 140 Phi_z.sdf 140 Mail 128 class5.ps 124 the.pdf 116 ccultra1d.tgz 116 capital.ps_pages 112 fit.log 108 ccultra1d.tar.gz 104 mass2.ps 96 unrar-3.50-0.beta1.0.1.101plf.i586.rpm 88 stagp2.ps 88 T2202A.ps 88 E-Series.doc 84 libexif9-0.5.12-3mdk.i586.rpm 80 stagp1.ps 80 CapitalAssets.doc 76 PAL 72 mass1.ps 72 Aircoach Discount.pdf 68 zaciname_s_digitalem_druhy_dil.html 68 temp.tgz 64 shadow0.ps 64 scr_save_3.jpeg 64 scr_save_2.jpeg 64 scr_save_1.jpeg 64 NETWORK 60 subroutine_generator2.mws 60 scr_save_9.jpeg 60 scr_save_8.jpeg 60 scr_save_7.jpeg 60 scr_save_6.jpeg 60 scr_save_5.jpeg 60 scr_save_4.jpeg 60 scr_save_11.jpeg 60 scr_save_10.jpeg 60 accMB1_SchwEF 60 WHISKY 56 scr_save_15.jpeg 56 libredland0-0.9.12-2mdk.i586.rpm 52 ULTRA 52 SNAJO_BACKUP 48 scr_save_29.jpeg 48 scr_save_28.jpeg 48 scr_save_23.jpeg 48 scr_save_22.jpeg 48 scr_save_21.jpeg 48 scr_save_19.jpeg 48 scr_save_18.jpeg 48 scr_save_17.jpeg 48 scr_save_16.jpeg 48 scr_save_13.jpeg 44 statement.doc 44 scr_save_68.jpeg 44 scr_save_65.jpeg 44 scr_save_64.jpeg 44 scr_save_63.jpeg 44 scr_save_62.jpeg 44 scr_save_61.jpeg 44 scr_save_60.jpeg 44 scr_save_59.jpeg 44 scr_save_58.jpeg 44 scr_save_55.jpeg 44 scr_save_54.jpeg 44 scr_save_53.jpeg 44 scr_save_52.jpeg 44 scr_save_51.jpeg 44 scr_save_50.jpeg 44 scr_save_49.jpeg 44 scr_save_48.jpeg 44 scr_save_46.jpeg 44 scr_save_45.jpeg 44 scr_save_44.jpeg 44 scr_save_43.jpeg 44 scr_save_42.jpeg 44 scr_save_41.jpeg 44 scr_save_40.jpeg 44 scr_save_39.jpeg 44 scr_save_38.jpeg 44 scr_save_37.jpeg 44 scr_save_36.jpeg 44 scr_save_35.jpeg 44 scr_save_34.jpeg 44 scr_save_33.jpeg 44 scr_save_32.jpeg 44 scr_save_31.jpeg 44 scr_save_30.jpeg 44 scr_save_27.jpeg 44 scr_save_26.jpeg 44 scr_save_25.jpeg 44 scr_save_24.jpeg 44 rho_schw.ps 44 libraptor1-1.0.0-1mdk.i586.rpm 40 userf_def.jpg 40 scr_save_79.jpeg 40 scr_save_78.jpeg 40 scr_save_76.jpeg 40 scr_save_75.jpeg 40 scr_save_74.jpeg 40 scr_save_72.jpeg 40 scr_save_71.jpeg 40 scr_save_70.jpeg 40 scr_save_69.jpeg 40 scr_save_67.jpeg 40 scr_save_66.jpeg 40 main.jpg 40 file.ps 40 Desktop 40 81ds_psi_1.sdf 36 v_schw.ps 36 userf.jpg 36 scr_save_99.jpeg 36 scr_save_98.jpeg 36 scr_save_97.jpeg 36 scr_save_96.jpeg 36 scr_save_95.jpeg 36 scr_save_94.jpeg 36 scr_save_93.jpeg 36 scr_save_92.jpeg 36 scr_save_91.jpeg 36 scr_save_90.jpeg 36 scr_save_89.jpeg 36 scr_save_88.jpeg 36 scr_save_87.jpeg 36 scr_save_84.jpeg 36 scr_save_83.jpeg 36 scr_save_81.jpeg 36 CV.doc 32 stag_point.ps 32 rho20.ps 32 problem6_16_rec3.ps 32 problem4_8_rec3.ps 32 problem4_16_rec3.ps 32 problem3_8_rec3.ps 32 problem3_16_rec3.ps 32 problem2_8_rec3.ps 32 problem2_1_rec3.ps 32 problem2_16_rec3.ps 32 mass_acc.ps 32 libraptor0-0.9.8-1mdk.i586.rpm 32 gv120.ps 32 grho20.ps 32 gP20.ps 32 cctest.f 32 c295_final_2002.pdf 32 Answer2 28 resume2004.pdf 28 research.doc 28 perl.tgz 28 numrellibsubroutine_generator_common.m 28 exp12_2_l2.ps 28 exp12_2_l1.ps 28 exp12_1_l1.ps 28 bookmarks1.html 28 bookmarks.html 24 stag.ps 24 output.txt 24 mass.ps 24 maplef.f 24 exp12_1_l2.ps 24 assignment_p1.tgz 24 accMB1_Schw 24 NUMREL: 24 CODE 20 shocktube1.ps 20 shocktube.ps 20 maptosoccer.gif 20 hoho 20 gauss1.ps 20 cover.pdf 20 amr_bo.f 16 temp.mws 16 scaling.ps 16 refpkg-prl.asc.bak 16 mail 16 mach.ps 16 gauss2.ps 16 ccultra1d.tex 16 cc_ultra_1.ps 16 bla.ps 16 a.out 16 MAPLELIB 12 radial.txt 12 problem3_2_rec1.ps 12 problem3_2.ps 12 problem2_2_rec3.ps 12 plots.tgz 12 main.f 12 dreceipt.php.html 12 dos2unix-0.8.1-2mdk.i586.rpm 12 acc_objectives.pdf 12 Pozvanie.doc 12 LT_derivation_details_for_f0.mws 12 ANNOUNCE 12 81ds_psi_0.sdf 12 18214KED5.htm 8 vtipy.txt 8 ssh.tgz 8 spline.f 8 scr_save_86.jpeg 8 scr_save_85.jpeg 8 scr_save_82.jpeg 8 scr_save_80.jpeg 8 scr_save_77.jpeg 8 scr_save_73.jpeg 8 scr_save_57.jpeg 8 scr_save_56.jpeg 8 scr_save_47.jpeg 8 scr_save_20.jpeg 8 scr_save_14.jpeg 8 scr_save_12.jpeg 8 scr_save_0.jpeg 8 refresp-prl.asc 8 refpkg-prl.asc 8 numrellibsubroutine_generator_pamr.m 8 numrellibsubroutine_generator.m 8 nserc_letter.sxw 8 message 8 make_step2h.f 8 itinerary.txt 8 code.zip 8 MATHML 8 LT_check.mws 8 BHV_travel_expenses.sxw 4 zive_vysielanie.ram 4 zive_vysielanie-3.ram 4 view 4 user_func 4 uptime.pl 4 uninstall.log 4 test3 4 test2.txt 4 test2 4 test1 4 test.txt 4 test.pl 4 test.o 4 test.f 4 test.c 4 test 4 terminal 4 temp 4 sshanoncvs 4 spline.o 4 soGCC.opt 4 signature 4 radiocity.ram 4 radiocity-2.ram 4 radiocity-1.ram 4 put9.sh 4 perl-script 4 nsmail 4 music.txt 4 msinstall_bh6.log 4 mpage.txt 4 matt.txt 4 math.inc 4 live.ram 4 justif.txt 4 junk.c 4 junk.bak 4 junk 4 intro_dx9.pdf 4 intel.sh 4 integral.f 4 id_Mink_1D 4 gr17_receipt.txt 4 gold-40m.ram 4 ghj 4 get9.sh 4 font.txt 4 fit.f 4 filmy.txt 4 fd 4 errata.pdf 4 dublin_reimb.txt 4 dns.txt 4 dead.letter 4 data 4 cisla.txt~ 4 cisla.txt 4 calc_vols1D.f 4 bla2 4 bla.sh 4 bla 4 bhtest1.txt 4 bashrc 4 autosave 4 adresar.txt 4 abs_gr17.txt 4 abs.txt 4 _003.js 4 _003.gif 4 _002.js 4 _002.gif 4 _001.js 4 _001.gif 4 XF86Config-4 4 Usage 4 RadioBlanik.ram 4 RAC_proposal 4 Installz.valgrind 4 Installz.intel.rnpl 4 Installz.intel.DV 4 Installz.gnu.xvs 4 Installz.gnu.rnpl 4 Installz.gnu.DV~ 4 Installz.gnu.DV_tools 4 Installz.gnu.DV 4 GASDYNAMICS 4 288s.ram 0 shocktube2.ps 0 fifo_write 0 fifo_read # As root@bh6 cd /d/bh8/home/msnajdr_27Ago05 usage | tee /tmp/usage 6079780 WORK 1150172 CRITICAL 800624 mail_ualberta 758496 GPU 574588 NOTEBOOK 539212 critical.tgz 480688 BROOKS 392416 PAPERS 308864 SDK_BAK 150108 tmp 142888 FIDICAD 126720 MAIL_UALBERTA 99064 SPECViewperf81.tar.gz.part 64564 test.ps 62156 WEB 59652 DDD_install 48372 OpenDX_samples 45004 THESIS 43832 kernel-source-2.6-2.6.8.1-12mdk.i586.rpm 38388 AdobeReader_enu-7.0.0-2.i386.rpm 35888 rnpletal 34616 Amaya 34292 Cg 34248 ACROBAT-INSTALL 30932 MUDPACK5.0 30548 graxi 30160 firefox-installer 29872 TEMP5 27372 java 24484 CC_HIGHER_DIM 21216 dublin.tgz 20572 TAMULI 19788 fftw-3.0.1 19604 MULTIGRID_DOCS 17916 rnpl 16644 kernel.tar 16488 u_3.sdf 15900 thesis_nitro.tgz 14716 PDE_LECTURES 14256 MPLAYER 12928 sql21-4.ps 12852 sql21.ps 12020 TEMP2 12008 php24-4.ps 11888 php24.ps 11632 valgrind-2.0.0 11092 NVIDIA-Linux-x86-1.0-7676-pkg1.run 11060 NVIDIA-Linux-x86-1.0-7667-pkg1.run 10212 DV 10136 xvs 9272 ds_psi_2.sdf 9268 OpenGL 9056 qsub.tgz 8968 amaya-src-8.1b.tgz 8588 redland 8436 firefox-1.0.6.installer.tar.gz 8336 RealOnePlayerV2GOLD.exe 8208 Strings 8120 exam391.ps 7984 NVIDIA-Linux-x86-1.0-6106-pkg1.run 7712 NCAR 7660 aL.sdf 7312 DV_TOOLS 7100 parlata.mp3 6956 TEMP3 6896 DVR 6888 CLISER 6856 CapitalAssets.ps 6068 TEMP4 6040 libwww 5844 pamr 5820 phd.ps 5524 gv_4165a53f_1_ddd.ps.tmp 5304 valgrind-20031012 5248 riemann.tgz 4928 canada.ps 4828 rp8_linux20_libc6_i386_cs2_rpm 4528 amaya-8.1a-2mdk.i586.rpm 4280 mozilla.ps 4276 fglrx-glc22-4.3.0-3.2.8.i586.rpm 4104 valgrind-2.0.0.tar 3996 valgrind-20031012.tar 3828 canada2-4.ps 3812 canada2.ps 3768 vimbook-OPL.pdf 3660 TESTS 3368 dv.tgz 3368 EPARSER 3132 rnpletal.tar.gz 3012 MPI 2888 v1_unif.mpg 2820 INAKI 2756 NUMREL 2752 sql71.pdf 2732 bicycles1.ps 2724 junk.ps 2720 bicycles1b.ps 2604 dctc-0.85.6 2520 php24.pdf 2520 dvtools.tgz 2452 newwest2.ps 2452 newwest1.ps 2452 mozilla2.ps 2452 Surrey3.ps 2452 Surrey2.ps 2452 Surrey1.ps 2432 SLAVKA 2420 MPA1240.ps 2352 DVexp.tgz 2328 ds_psi_1.sdf 2144 Documents 2116 AMD64 2004 gremaxi 1908 fftw-3.0.1.tar.gz 1768 res-4.ps 1760 res.ps 1636 junk2.ps 1632 bicycles2.ps 1508 install_flash_player_6_linux 1504 install_flash_player_6_linux.tar 1424 XFORMS 1260 bin 1064 TEMP 1060 libMagick5.5.7-5.5.7.10-7mdk.i586.rpm 1032 5862.mp3 1024 JUNK 912 local 856 DV_tools 820 EXTENDED 808 mpeg_play 792 MCALC 784 DVtest 764 CFD-BOOK 720 mdsb.pdf 700 exam391.pdf 696 flash-plugin-6.0.79-1.i386.rpm 648 ns_program.ps 644 comm297_ch7-4.ps 632 EVGENY 628 comm297_ch7.ps 608 AN501_Latency_Settings_and_Performance.pdf 592 ds_psi_0.sdf 556 numrec19-1-1.ps 544 the.ps 504 MMLViewerInstall.jar 500 c295_final_2002.ps 480 capital.ps 476 dctc-0.85.6.tar.gz 452 libstdc++2.10-2.96-0.83mdk.i586.rpm 396 valgrind-1.9.6-1mdk.i586.rpm 372 zee.pdf 364 libdb4.1-4.1.25-3mdk.i586.rpm 356 dc_gui2-0.77-1.i586.rpm 340 passport044.pdf 324 libstdc++5-3.3.4-4mdk.i586.rpm 324 axnwhd 316 aolsetup.exe 304 53.ps 252 DIGIFOTO 248 WD250_invoice.ps 232 bhV_travel_exp.ps 212 comm297_ch7.pdf 208 53.pdf 200 LSODA 196 test.ps.gz 176 UCRL_JC_150259.pdf 176 PERL 172 fieldmap-soccer.gif 172 Introduction to Financial Accounting.pdf 168 bla1 168 Mobilis-Domain-WebHosting.doc 164 PAMR_ref.ps 156 redland-0.9.14-2mdk.i586.rpm 156 nserc_v2.pdf 156 main.tgz 156 class8.ps 156 81ds_psi_2.sdf 152 userf.eps 152 application_v1.pdf 148 userf_def.eps 148 nserc_final.pdf 148 mpeg_play-2.4-patched-src.tar.gz 144 test2.sdf 140 Phi_z.sdf 140 Mail 128 class5.ps 124 the.pdf 116 ccultra1d.tgz 116 capital.ps_pages 112 fit.log 108 ccultra1d.tar.gz 104 mass2.ps 96 unrar-3.50-0.beta1.0.1.101plf.i586.rpm 88 stagp2.ps 88 T2202A.ps 88 E-Series.doc 84 libexif9-0.5.12-3mdk.i586.rpm 80 stagp1.ps 80 CapitalAssets.doc 76 PAL 72 mass1.ps 72 Aircoach Discount.pdf 68 zaciname_s_digitalem_druhy_dil.html 68 temp.tgz 64 shadow0.ps 64 scr_save_3.jpeg 64 scr_save_2.jpeg 64 scr_save_1.jpeg 64 NETWORK 60 subroutine_generator2.mws 60 scr_save_9.jpeg 60 scr_save_8.jpeg 60 scr_save_7.jpeg 60 scr_save_6.jpeg 60 scr_save_5.jpeg 60 scr_save_4.jpeg 60 scr_save_11.jpeg 60 scr_save_10.jpeg 60 accMB1_SchwEF 60 WHISKY 56 scr_save_15.jpeg 56 libredland0-0.9.12-2mdk.i586.rpm 52 ULTRA 52 SNAJO_BACKUP 48 scr_save_29.jpeg 48 scr_save_28.jpeg 48 scr_save_23.jpeg 48 scr_save_22.jpeg 48 scr_save_21.jpeg 48 scr_save_19.jpeg 48 scr_save_18.jpeg 48 scr_save_17.jpeg 48 scr_save_16.jpeg 48 scr_save_13.jpeg 44 statement.doc 44 scr_save_68.jpeg 44 scr_save_65.jpeg 44 scr_save_64.jpeg 44 scr_save_63.jpeg 44 scr_save_62.jpeg 44 scr_save_61.jpeg 44 scr_save_60.jpeg 44 scr_save_59.jpeg 44 scr_save_58.jpeg 44 scr_save_55.jpeg 44 scr_save_54.jpeg 44 scr_save_53.jpeg 44 scr_save_52.jpeg 44 scr_save_51.jpeg 44 scr_save_50.jpeg 44 scr_save_49.jpeg 44 scr_save_48.jpeg 44 scr_save_46.jpeg 44 scr_save_45.jpeg 44 scr_save_44.jpeg 44 scr_save_43.jpeg 44 scr_save_42.jpeg 44 scr_save_41.jpeg 44 scr_save_40.jpeg 44 scr_save_39.jpeg 44 scr_save_38.jpeg 44 scr_save_37.jpeg 44 scr_save_36.jpeg 44 scr_save_35.jpeg 44 scr_save_34.jpeg 44 scr_save_33.jpeg 44 scr_save_32.jpeg 44 scr_save_31.jpeg 44 scr_save_30.jpeg 44 scr_save_27.jpeg 44 scr_save_26.jpeg 44 scr_save_25.jpeg 44 scr_save_24.jpeg 44 rho_schw.ps 44 libraptor1-1.0.0-1mdk.i586.rpm 40 userf_def.jpg 40 scr_save_79.jpeg 40 scr_save_78.jpeg 40 scr_save_76.jpeg 40 scr_save_75.jpeg 40 scr_save_74.jpeg 40 scr_save_72.jpeg 40 scr_save_71.jpeg 40 scr_save_70.jpeg 40 scr_save_69.jpeg 40 scr_save_67.jpeg 40 scr_save_66.jpeg 40 main.jpg 40 file.ps 40 Desktop 40 81ds_psi_1.sdf 36 v_schw.ps 36 userf.jpg 36 scr_save_99.jpeg 36 scr_save_98.jpeg 36 scr_save_97.jpeg 36 scr_save_96.jpeg 36 scr_save_95.jpeg 36 scr_save_94.jpeg 36 scr_save_93.jpeg 36 scr_save_92.jpeg 36 scr_save_91.jpeg 36 scr_save_90.jpeg 36 scr_save_89.jpeg 36 scr_save_88.jpeg 36 scr_save_87.jpeg 36 scr_save_84.jpeg 36 scr_save_83.jpeg 36 scr_save_81.jpeg 36 CV.doc 32 stag_point.ps 32 rho20.ps 32 problem6_16_rec3.ps 32 problem4_8_rec3.ps 32 problem4_16_rec3.ps 32 problem3_8_rec3.ps 32 problem3_16_rec3.ps 32 problem2_8_rec3.ps 32 problem2_1_rec3.ps 32 problem2_16_rec3.ps 32 mass_acc.ps 32 libraptor0-0.9.8-1mdk.i586.rpm 32 gv120.ps 32 grho20.ps 32 gP20.ps 32 cctest.f 32 c295_final_2002.pdf 32 Answer2 28 resume2004.pdf 28 research.doc 28 perl.tgz 28 numrellibsubroutine_generator_common.m 28 exp12_2_l2.ps 28 exp12_2_l1.ps 28 exp12_1_l1.ps 28 bookmarks1.html 28 bookmarks.html 24 stag.ps 24 output.txt 24 mass.ps 24 maplef.f 24 exp12_1_l2.ps 24 assignment_p1.tgz 24 accMB1_Schw 24 NUMREL: 24 CODE 20 shocktube1.ps 20 shocktube.ps 20 maptosoccer.gif 20 hoho 20 gauss1.ps 20 cover.pdf 20 amr_bo.f 16 temp.mws 16 scaling.ps 16 refpkg-prl.asc.bak 16 mail 16 mach.ps 16 gauss2.ps 16 ccultra1d.tex 16 cc_ultra_1.ps 16 bla.ps 16 a.out 16 MAPLELIB 12 radial.txt 12 problem3_2_rec1.ps 12 problem3_2.ps 12 problem2_2_rec3.ps 12 plots.tgz 12 main.f 12 dreceipt.php.html 12 dos2unix-0.8.1-2mdk.i586.rpm 12 acc_objectives.pdf 12 Pozvanie.doc 12 LT_derivation_details_for_f0.mws 12 ANNOUNCE 12 81ds_psi_0.sdf 12 18214KED5.htm 8 vtipy.txt 8 ssh.tgz 8 spline.f 8 scr_save_86.jpeg 8 scr_save_85.jpeg 8 scr_save_82.jpeg 8 scr_save_80.jpeg 8 scr_save_77.jpeg 8 scr_save_73.jpeg 8 scr_save_57.jpeg 8 scr_save_56.jpeg 8 scr_save_47.jpeg 8 scr_save_20.jpeg 8 scr_save_14.jpeg 8 scr_save_12.jpeg 8 scr_save_0.jpeg 8 refresp-prl.asc 8 refpkg-prl.asc 8 numrellibsubroutine_generator_pamr.m 8 numrellibsubroutine_generator.m 8 nserc_letter.sxw 8 message 8 make_step2h.f 8 itinerary.txt 8 code.zip 8 MATHML 8 LT_check.mws 8 BHV_travel_expenses.sxw 4 zive_vysielanie.ram 4 zive_vysielanie-3.ram 4 view 4 user_func 4 uptime.pl 4 uninstall.log 4 test3 4 test2.txt 4 test2 4 test1 4 test.txt 4 test.pl 4 test.o 4 test.f 4 test.c 4 test 4 terminal 4 temp 4 sshanoncvs 4 spline.o 4 soGCC.opt 4 signature 4 radiocity.ram 4 radiocity-2.ram 4 radiocity-1.ram 4 put9.sh 4 perl-script 4 nsmail 4 music.txt 4 msinstall_bh6.log 4 mpage.txt 4 matt.txt 4 math.inc 4 live.ram 4 justif.txt 4 junk.c 4 junk.bak 4 junk 4 intro_dx9.pdf 4 intel.sh 4 integral.f 4 id_Mink_1D 4 gr17_receipt.txt 4 gold-40m.ram 4 ghj 4 get9.sh 4 font.txt 4 fit.f 4 filmy.txt 4 fd 4 errata.pdf 4 dublin_reimb.txt 4 dns.txt 4 dead.letter 4 data 4 cisla.txt~ 4 cisla.txt 4 calc_vols1D.f 4 bla2 4 bla.sh 4 bla 4 bhtest1.txt 4 bashrc 4 autosave 4 adresar.txt 4 abs_gr17.txt 4 abs.txt 4 _003.js 4 _003.gif 4 _002.js 4 _002.gif 4 _001.js 4 _001.gif 4 XF86Config-4 4 Usage 4 RadioBlanik.ram 4 RAC_proposal 4 Installz.valgrind 4 Installz.intel.rnpl 4 Installz.intel.DV 4 Installz.gnu.xvs 4 Installz.gnu.rnpl 4 Installz.gnu.DV~ 4 Installz.gnu.DV_tools 4 Installz.gnu.DV 4 GASDYNAMICS 4 288s.ram 0 shocktube2.ps 0 fifo_write 0 fifo_read Sun Aug 28 13:34:19 PDT 2005 # ... looks like about 20 minutes or so. /home/msnajdr_27Ago05/ # Looks good. do the physical transfer, bh9 <-> bh6 # bh9 needs CRT /etc/ # Changing Martin's home directory on all machines # NOTE THIS GENERAL PROCEDURE FOR syncING /etc file # (passwd, shadow, group, hosts, hosts.allow, hosts.deny ...) # ON ALL bh MACHINES ############################################################ # As matt@bh0 etcbh sola getl passwd getl shadow vi passwd msnajdr:x:635:600:Martin Snajdr:/d/bh6/home/msnajdr:/bin/tcsh # 'bhDistEtc' script does the disribution, answering, e.g. # ben's question re the distribution of /etc/passwd bhDistEtc passwd # As matt@bh0 viw bhallN # Restore all, save bh11 bhDistEtc passwd # OK bhCommand 'cd ~msnajdr; pwd; ls' # As matt@bh9 Xvs tcomp # OK ############################################################ # Per Ben's observation, the majority of the new machines # have a separate / (and measly at that). How did THAT # happen? bhnewp4 # All but bh1 will need "fix"; move /usr to / ?? # As root@bh4 cd / usage # As root@bh3 df -h / Filesystem Size Used Avail Use% Mounted on /dev/sda5 5.8G 5.0G 575M 90% / du -hs /usr 4.4G /usr Sun Aug 28 15:30:55 PDT 2005 # Now there's something wrong with bh3!! # rebooted with NFS mostly disabled -> /d/bh9/home doesn't exist # As matt@bh0 bhCommand 'ls -ltd /d/bh9/home' viw bhallN #bh9.physics.ubc.ca bhCommand 'mkdir -p /d/bh9/home' rrvi /etc/fstab # As root@Bh9 cd /etc a get 'Bu \!*; scp root@bh0:/etc/\!* .' get hosts get hosts.allow get hosts.deny get exports exporfs -av # Now all mounts OK? bhCommand df # Probably ... pretty slow though # As matt ############################################################ #Mon Aug 29 12:15:42 PDT 2005 # PRoblem with MArtin's new machine (bh6) using dvi output, # need to recover bh9:/etc/X11/xorg.conf Bu xorg.conf scp root@bh6.physics.ubc.ca:/d/bh0/home2/etc/X11/XF86Config-4 /etc/X11/xorg.conf # Copyright 2004 The X.Org Foundation # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. # # Except as contained in this notice, the name of The X.Org Foundation shall # not be used in advertising or otherwise to promote the sale, use or other # dealings in this Software without prior written authorization from # The X.Org Foundation. # # ********************************************************************** # Refer to the xorg.conf(5x) man page for details about the format of # this file. # ********************************************************************** # ********************************************************************** # Module section -- this section is used to specify # which dynamically loadable modules to load. # ********************************************************************** # Section "Module" Load "dbe" # Double buffer extension Load "type1" Load "speedo" Load "freetype" Load "/usr/X11R6/lib/modules/extensions/libglx.so" Subsection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubsection EndSection # ********************************************************************** # Files section. This allows default font and rgb paths to be set # ********************************************************************** Section "Files" # The location of the RGB database. Note, this is the name of the # file minus the extension (like ".txt" or ".db"). There is normally # no need to change the default. RgbPath "/usr/X11R6/lib/X11/rgb" # Multiple FontPath entries are allowed (which are concatenated together), # as well as specifying multiple comma-separated entries in one FontPath # command (or a combination of both methods) FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" EndSection # ********************************************************************** # Server flags section. # ********************************************************************** Section "ServerFlags" EndSection # ********************************************************************** # Input devices # ********************************************************************** # ********************************************************************** # Core keyboard's InputDevice section # ********************************************************************** Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "XkbModel" "pc104" Option "XkbLayout" "us" Option "AutoRepeat" "500 30" Option "XkbRules" "xorg" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" Option "Device" "/dev/mouse" Option "ZAxisMapping" "6 7" EndSection Section "Monitor" Identifier "monitor1" HorizSync 31.5-90 VertRefresh 60 EndSection Section "Device" Identifier "device1" VendorName "nVidia Corporation" BoardName "NVIDIA GeForce FX (generic)" Driver "nvidia" Option "DPMS" Option "IgnoreEDID" "1" EndSection Section "Screen" Identifier "screen1" Device "device1" Monitor "monitor1" DefaultColorDepth 24 Subsection "Display" Depth 8 Virtual 1600 1200 EndSubsection Subsection "Display" Depth 15 Virtual 1600 1200 EndSubsection Subsection "Display" Depth 16 Virtual 1600 1200 EndSubsection Subsection "Display" Depth 24 Virtual 1600 1200 EndSubsection EndSection # ********************************************************************** # ServerLayout sections. # ********************************************************************** Section "ServerLayout" Identifier "Simple Layout" InputDevice "Keyboard1" "CoreKeyboard" InputDevice "Mouse1" "CorePointer" Screen "screen1" EndSection ############################################################ Mon Aug 29 12:45:08 PDT 2005 ############################################################ # NFS state bhCommand 'rpm -qa | grep nfs' | tee /tmp/nfs grep '^nfs-' /tmp/nfs | sort | uniq nfs-utils-1.0.5-1.2.92mdk nfs-utils-1.0.6-1mdk nfs-utils-1.0.6-2mdk nfs-utils-1.0.7-4mdk nfs-utils-clients-1.0.5-1.2.92mdk nfs-utils-clients-1.0.6-1mdk nfs-utils-clients-1.0.7-4mdk # So clearly, an update to 1.0.7-4 is in order # As root@bh0 find /mandrake/2005 -name '*1.0.7-4mdk' # Downloaded /d/bh0/home/matt/RPMS/nfs-utils-1.0.7-4mdk.i586.rpm /d/bh0/home/matt/RPMS/nfs-utils-clients-1.0.7-4mdk.i586.rpm # viw bhallN #bh0.physics.ubc.ca bhCommand 'rpm -Uvh /d/bh0/home/matt/RPMS/nfs-utils-1.0.7-4mdk.i586.rpm' bhCommand 'rpm -Uvh /d/bh0/home/matt/RPMS/nfs-utils-clients-1.0.7-4mdk.i586.rpm' # NFS state bhCommand 'rpm -qa | grep nfs' | grep '^nfs-' | sort | uniq nfs-utils-1.0.7-4mdk nfs-utils-clients-1.0.7-4mdk rrvi /etc/fstab bhbgCommand 'service nfs restart' bhbgCommand 'umount -a -t nfs -l; mount -a' date; bhCommand 'df | tee /tmp/df'; date # Had some problems with bh1, but nothing that a couple of reboots couldn't fix viw bhallN bhCommand uptime # OK, but time to fix/enable ntp # As matt@bh0 etcbh cat ntp.conf # Node /etc/ntp.conf # peer configuration for hosts # vn2.physics.ubc.ca -- vn64.physics.ubc.ca # bh0.physics.ubc.ca -- bh16.physics.ubc.ca # (expected to operate at stratum 4, off vnfe[23],vn1 server 142.103.237.225 server 142.103.237.1 server 142.103.237.227 driftfile /etc/ntp.drift bhCommand 'umount -l /d/bh1/home; mount /d/bh1/home; cd /d/bh1/home; ls' | tee /tmp/mntbh1 # OK viw bhallN # enable bh1 # As matt@bh0 via a renfs 'bhbgCommand "umount -a -t nfs -l; mount -a"' date; bhCommand 'df | tee /tmp/df'; date # Implemented Makefile with export target to export README to web, linked in via new # part of my web page (system admin) # To test, I execute make export # ... and this message should then be visible on the Web. # ... which it is. ############################################################ Mon Aug 29 17:17:19 PDT 2005 ############################################################ # Evgeny, bless his heart, wants kile and opera # As root@bh0 cd /mandrake/2005/i586 f kile | jam | tee /tmp/kile bhbgCommand 'cd /mandrake/2005/i586; rpm -ivh ./media/contrib/kile-i18n-es-1.7.1-5mdk.i586.rpm ./media/contrib/kile-i18n-it-1.7.1-5mdk.i586.rpm ./media/contrib/kile-i18n-pt_BR-1.7.1-5mdk.i586.rpm ./media/contrib/kile-i18n-hu-1.7.1-5mdk.i586.rpm ./media/contrib/kile-i18n-pt-1.7.1-5mdk.i586.rpm ./media/contrib/kile-i18n-ta-1.7.1-5mdk.i586.rpm ./media/contrib/kile-i18n-en_GB-1.7.1-5mdk.i586.rpm ./media/contrib/guide-kile-1.0.0-3mdk.noarch.rpm ./media/contrib/kile-i18n-de-1.7.1-5mdk.i586.rpm ./media/contrib/kile-i18n-et-1.7.1-5mdk.i586.rpm ./media/contrib/kile-i18n-sr-1.7.1-5mdk.i586.rpm ./media/contrib/kile-i18n-sv-1.7.1-5mdk.i586.rpm ./media/contrib/kile-i18n-da-1.7.1-5mdk.i586.rpm ./media/contrib/kile-i18n-fr-1.7.1-5mdk.i586.rpm ./media/contrib/kile-i18n-nl-1.7.1-5mdk.i586.rpm ./media/contrib/kile-1.7.1-5mdk.i586.rpm' # ... and there are only a cabillion choices ... clearly should install everything # from the contributed as well. Also learn urpmi # TODO: Finish up the above (could do an update on each machine!) # Coded following aliases # As matt@bh0 via a nfs-test 'setenv NFSLOG /tmp/nfs-test; setenv DATE `date`; echo $DATE; bhCommand df | tee $NFSLOG; echo "+++ Timestamps"; echo $DATE; date; ls -lt $NFSLOG' a nt 'nfs-test' # So that execution of 'nt' provides output as follows bh8:/home 144364120 117748344 26615776 82% /d/bh8/home bh9:/home 152230984 6374704 138123392 5% /d/bh9/home vnfe4:/home 1014438800 876225880 86682432 91% /d/vnfe4/home +++ Timestamps Mon Aug 29 17:33:43 PDT 2005 Mon Aug 29 17:33:56 PDT 2005 -rw-r--r-- 1 matt choptuik 21758 Aug 29 17:33 /tmp/nfs-test ############################################################ Tue Aug 30 07:35:23 PDT 2005 ############################################################ # Need to move /usr,/tmp to /home/slash/{usr.tmp} # on # # bh[34568] # TODO: bh4 seeems "hung up" foreach m (bh6 bh3 bh4 bh5 bh8) #set m=bh ssh root@$m wall system going down in 10 seconds ... please log off now :-\); sleep 10; reboot; exit ping $m ssh root@$m set m=`hostname -s`; echo "m=$m"; setenv LOG rpm-qa-$m-pre; rpm -qa > $LOG; scp $LOG matt@bh0.physics.ubc.ca:/d/bh0/home/matt/system/bh/Bhnew-usr-mv-2005 mkdir -p /home/slash; /bin/mv /tmp /usr /home/slash; ln -s /home/slash/usr /usr; ln -s /home/slash/tmp /tmp setenv LOG rpm-qa-$m-pst rpm -qa > $LOG; scp $LOG matt@bh0.physics.ubc.ca:/d/bh0/home/matt/system/bh/Bhnew-usr-mv-2005 cd ~matt/system/bh; cd Bhnew-usr-mv-2005/; pwd; ls; echo "pre diff"; diff *${m}*; echo "pst diff" /home/matt/system/bh/Bhnew-usr-mv-2005 rpm-qa-${m}-pre rpm-qa-${m}-pst pre diff pst diff # OK for bh6, bh3, bh5 TODO: check bh8, bh4 # Ben has rebooted bh4 Tue Aug 30 10:54:18 PDT 2005 # ... and bh4 hangs during the mv of usr and tmp # TODO: Replace RAM # Step 1) take out 1/2 RAM Tue Aug 30 11:22:35 PDT 2005 # Done # As root@bh4 /bin/rm -rf /home/slash/{tmp,usr} # Continue as above ... # ... hangs up again # Step 2) Install other 1/2 RAM #####------------------------------------------------------------------- Tue Aug 30 11:53:12 PDT 2005 # YIKES!! Repeated /bin/rm -rf /home/slash/{tmp,usr} # and thus trashed usr!! #####------------------------------------------------------------------- Tue Aug 30 12:09:26 PDT 2005 # # Will try to get usr.tar to machine using ftp. Ben to get # ftp executable to /bin and call back # MAY HAVE SCREWED THINGS UP ROYALLY, START WITH A SINGLE USER # REBOOT OF ALL MACHINES # TODO: OK for bh1?, bh2?, bh3?, bh4?, bh5?, bh6? # Ben has installed 'ncftp' # As root@bh3 cd /home/slash tar cf usr.tar usr # Enable ftp on bh3 # As root@Bh3 chkconfig proftpd on service proftpd start cd /etc bu proftpd.conf scp root@bh0.physics.ubc.ca:/etc/proftpd.conf . service proftpd restart # Reboot all machines, including bh0 bhCommand 'cd ~matt; ls' # OK ... # TODO: Restore function key functionality by moving /tmp viw bhnewp4 bh2.physics.ubc.ca bh3.physics.ubc.ca bh4.physics.ubc.ca bh5.physics.ubc.ca bh6.physics.ubc.ca bh8.physics.ubc.ca /bin/rm /tmp; /bin/mv /home/slash/tmp /tmp # Still seems to be some strange interaction with bh0 (and perhaps others) # with new bh machines, also bh1 log indicates that NFS is older than the # Kernel. Which version in running on bh1, and is it really older? # As root@bh1 rpm -qa | grep nf-clients-1.0.7-4mdk nfs-utils-1.0.7-4mdk uname -a Linux bh1.physics.ubc.ca 2.6.11-6mdk #1 Tue Mar 22 16:04:32 CET 2005 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz unknown GNU/Linux # Current kernel message in /var/log/messages Aug 30 16:28:18 bh1 kernel: nfs warning: mount version older than kernel reboot # INDEED SEEMS TO BE THE CASE. NEED TO UPDATE KERNEL. # STILL HAVE PROBLEMS WITH bh0: NFS mounts Mandrake Linux Install configuration .../i586/media/media_info/rpmsrate /home2/home/2005/i586/media/media_info/rpmsrate /home2/home/2005/i586/media/contrib/media_info ... but no 'rpmsrate' here # Typical structure of 'rpmsrate' CAT_LSB 5 lsb CAT_GRAPHICAL_DESKTOP 5 WindowMaker icewm 5 epplets blackbox enlightenment ethemes icepref xfce 5 wmnet 5 lesstif-mwm CAT_GNOME . . . 5 cups cups-drivers hpoj libhpojip0 gimpprint-cups xojpanel libsane-hpoj1 sane-backends sane-frontends scanner-gui xsane 5 xorg-x11-glide-module Glide_V3-DRI Glide_V5 Mesa hplip libsane-hpaio1 libhpip0 # So with luck, cp-ing all contributed stuff, then appending CAT_CONTRIB 5 ... # ... should work? # Produce package list # As root@bh0 mkcontrib #!/bin/sh MDK=/d/bh0/home2/home/2005/i586/media/contrib LIST=`/bin/ls /d/bh0/home2/home/2005/i586/media/contrib | sed 's/mdk.*rpm$//g' | sed 's/[0-9\.\-][0-9\.\-][0-9\.\-][0-9\.\-].*$//g'` cd $MDK for p in $LIST; do rpm -qp $p*.rpm 2>&1 | grep -v 'warning:.*NOKEY' done LS $MDK | sed 's/mdk.*rpm$//g' | sed 's/[0-9\.\-][0-9\.\-][0-9\.\-][0-9\.\-].*$//g' | jam > /tmp/rpmsrate-contrib-2005 scp /tmp/rpmsrate-contrib-2005 ssh matt@bh0.physics.ubc.ca 'cat /d/bh0/home/matt/system/bh/rpmsrate-contrib-2005' # Contents of /home2/home/2005/i586/media/media_info/media.cfg [media_info] version=10.2 branch=Official arch=i586 [main] hdlist=hdlist_main.cz name=Main size=3400m [contrib] hdlist=hdlist_contrib.cz name=Contrib size=4300m [jpackage] hdlist=hdlist_jpackage.cz name=Jpackage size=360m noauto=1 .. suggest that modiying rpmsrate may work # ... which has been done ... now test on bh1 !!ssh root@bh1 'rpm -qa' > bh1-rpm-qa-pre-contrib-install # Reboot bh1 with Boot CD ROM # 18 Fatal rpmsrate errors which may or may not be that bad # given that there are 6000 packages # Supposedly screenshots will be available within /root # following reboot cat /root/drakx/ddebug.log2 * can not handle complicate flags for packages appearing twice (MySQL) * can not handle complicate flags for packages appearing twice (dkms-zaptel) * can not handle complicate flags for packages appearing twice (gnomba) * can not handle complicate flags for packages appearing twice (hotkeys) * can not handle complicate flags for packages appearing twice (jmcce) * can not handle complicate flags for packages appearing twice (kernel) * can not handle complicate flags for packages appearing twice (kernel-enterprise) * can not handle complicate flags for packages appearing twice (kernel-smp) * can not handle complicate flags for packages appearing twice (lkmpg) * can not handle complicate flags for packages appearing twice (memprof) * can not handle complicate flags for packages appearing twice (perl-GTK-Glade) * can not handle complicate flags for packages appearing twice (perl-GTK-Gnome) * can not handle complicate flags for packages appearing twice (php-manual-en) * can not handle complicate flags for packages appearing twice (php-manual-fr) * can not handle complicate flags for packages appearing twice (rxvt-unicode) * can not handle complicate flags for packages appearing twice (zaptel-tools) # Mucked up rpmsrate, restore from Archive ssh matt@bh0.physics.ubc.ca 'cat /d/bh0/home/matt/system/bh/rpmsrate-contrib-2005' >> rpmsrate vi !$ # Manually removed second instance of '/MySQL ' etc from CONTRIB section # Stop this nonsense. foreach m (`bhnewp4`) ssh $m "df | grep '\/dev'" end # As root@vnfe4 # Managed to lose bh8 copy from # Back Wed Aug 31 12:24:08 PDT 2005 # Scott N reports that /d/vnfe4/home/scn has dissappeared, which sure enough, it has # ... anyone else? bhnewp4Command "wall This machine going down in 5 minutes. PLEASE LOG OFF NOW" sleep 300; bhnewp4Command 'shutdown -h now &' bhbgCommand 'umount -a -t nfs -l' ############################################################ Wed Aug 31 13:44:33 PDT 2005 ############################################################ # In 408 A (Evgeny) # bh5 up with df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda5 6040288 618700 5114752 11% / /dev/sda7 144323956 19169356 125154600 14% /home /dev/sda1 41471760 5119108 36352652 13% /mnt/windows vnfe4:/home 1014438800 877251992 85656320 92% /d/vnfe4/home ls -ltd /d/vnfe4/home/*2005* drwxr-xr-x 2 root root 4096 Aug 31 13:46 /d/vnfe4/home/bh8-2005/ drwxr-xr-x 2 root root 4096 Aug 31 09:56 /d/vnfe4/home/bh6-2005/ drwxr-xr-x 2 root root 4096 Aug 31 09:56 /d/vnfe4/home/bh5-2005/ drwxr-xr-x 2 root root 4096 Aug 31 09:56 /d/vnfe4/home/bh4-2005/ drwxr-xr-x 2 root root 4096 Aug 31 09:56 /d/vnfe4/home/bh3-2005/ drwxr-xr-x 2 root root 4096 Aug 31 09:56 /d/vnfe4/home/bh2-2005/ drwxr-xr-x 5 root root 4096 Jul 6 08:26 /d/vnfe4/home/bh1-2005/ # set m=bh5 In progress # set m=bh8 In progress # set m=bh2 In progress # set m=bh6 In progress set m=bh4 nice cp -a /home/slash/usr /var /opt /etc /d/vnfe4/home/$m-2005 du -sh /home/slash/usr /var /opt /etc #----------------------------------------------------------------------- # bh2 PRE 4.5G /home/slash/usr 399M /var 0 /opt 54M /etc # TODO: bh2 PST OK???? #----------------------------------------------------------------------- # Things are hanging up #----------------------------------------------------------------------- # Do it from vnfe4 end and space them out 30 minutes sleep for each # As root@vnfe4 # set m=bh6 In progress # set m=bh5 In progress set sleep=1800 # set m=bh3 In progress set sleep=5400 # set m=bh2 In progress set sleep=7200 # set m=bh8 In progress set sleep=10800 # set m=bh4 In progress set sleep=12400?? # As root@bh5 # As root@bh3 # As root@bh2 # As root@bh8 # As root@bh4 cd /etc Bu exports scp root@bh6:/etc/exports . exportfs -av # As root@vnfe4 #set m=bh5 #set m=bh3 #set m=bh2 #set m=bh8 # set m=bh4 set sleep=12400 cd /d/$m mkdir -p home var etc opt mount ${m}:/home /d/$m/home mount ${m}:/var /d/$m/var mount ${m}:/etc /d/$m/etc mount ${m}:/opt /d/$m/opt df | grep $m echo sleep="$sleep" cd /home/$m-2005 pwd; ls sleep $sleep; nice +19 cp -a /d/$m/* cd /home/$m-2005 # As root@bh5 foreach m (bh2 bh3 bh4 bh5 bh6 bh8) echo "+++ USAGE: MACHINE $m PRE COPY" | tee -a /root/bhusage.log ssh root@${m} 'cd /home; du -hs *' | tee -a /root/bhusage.log end !!ssh root@bh5 cat /root/bhusage.log # As root@bh0 set LOG=/root/bhusage-PST.log test -f $LOG && /bin/rm -rf $LOG foreach m (bh6 bh5 bh3 bh2 bh8 bh4) echo "+++ USAGE: MACHINE $m PST COPY" | tee -a $LOG ssh root@vnfe4 "cd /home/$m-2005; du -hs home etc var opt" | tee -a $LOG end +++ USAGE: MACHINE bh2 PRE COPY 4.0K Usage 492M brianmar 3.0G bruno 1.1G cwlai 206M explorer 253M fransp 6.8G grade 2.6M guest 14G inaki 11G inaki2 5.0M jason 4.0K lost+found 2.4G luisl 97M opt 546M petryk 6.6G scn 18M scn2 296K shawley 4.5G slash 1.1G usr 2.2G villegas +++ USAGE: MACHINE bh3 PRE COPY 4.0K Usage 4.3G ajpenner 7.0G cwlai 4.0G ftp 2.6M guest 272K jason 97M opt 37M shawley 4.5G slash 1.2G usr +++ USAGE: MACHINE bh4 PRE COPY 4.0K Usage 6.4G benjamin 2.1G dgreen 2.7M guest 1.4G jhomenuk 97M opt 3.0G scn 8.4G slash 1.3G usr +++ USAGE: MACHINE bh5 PRE COPY 4.0K Usage 246M evgeny 2.9M guest 2.3G jhkim 97M opt 11G roland 4.4G slash 1.2G usr +++ USAGE: MACHINE bh6 PRE COPY 4.0K Usage 1.2G agwilson 222M awilson 4.0M guest 293M hkr 49G mariah 3.5G meowmeow 13G msnajdr 97M opt 3.4G psandhu 4.5G slash 1.3G usr +++ USAGE: MACHINE bh8 PRE COPY 4.0K Usage 24G backups 78M blosic 12M dale 3.2M guest 6.7G inaki 4.9G jason 44G laplace 2.7M msguest 13G msnajdr_27Ago05 97M opt 3.9G psandhu 12G rousseab 3.1G scn 2.0G sgi2 4.4G slash 1.2G usr #----------------------------------------------------------------------- #----------------------------------------------------------------------- # Monitoring #----------------------------------------------------------------------- #----------------------------------------------------------------------- ssh root@head 'ls /home/bh[234568]-2005; du -hs /home/bh[234568]-2005' # As root@bh6 du -hs /home # Lord almight, 76G!! 75G /home cd /home usage #----------------------------------------------------------------------- # As root@bh5 du -hs /home 19G /home # ... a MUCH more reasonable 19G, so bh5 should be about ready to rock # and roll in a couple of hours ? #----------------------------------------------------------------------- foreach m ( bh2 bh3 bh4 bh8 ) ssh root@$m 'hostname; du -hs /home' end bh2.physics.ubc.ca 53G /home bh3.physics.ubc.ca 21G /home bh4.physics.ubc.ca 23G /home bh8.physics.ubc.ca 117G /home # try to head off bh8, bh2 at the pass, whittle down etc. # urpmi http://mandrake.vmlinuz.ca/bin/view/Main/UsingUrpmi # As root@bh8 cd /home Usage 45728768 laplace + 24463852 backups + 12973940 msnajdr_27Ago05 11783724 rousseab 6945696 inaki 5071692 jason 4567468 slash 4003560 psandhu 3244228 scn 2056360 sgi2 1247248 usr 99248 opt 79812 blosic 11448 dale 3276 guest 2680 msguest 4 Usage ls -ltd backups msnajdr_27Ago05 /bin/rm -rf backups msnajdr_27Ago05 # As root@vnfe4 cd /home df . Wed Aug 31 21:12:41 PDT 2005 # Back after dinner, not clear than anything, even bh5 is finished up, # although probably is # Things would go MUCH faster if there was 1000 Mbit to vnp4, so # do backups locally # bh8 -> bh2 # As root@bh8 set m=bh8; mount bh2:/home /d/bh2/home; mkdir -p /d/bh2/home/$m-2005; cp -a /home /etc /var /opt /d/bh2/home/$m-2005 # ... and this is going much more quickly, so also do # bh4 -> bh2 (23 G) # As root@bh4 set m=bh4; mount bh2:/home /d/bh2/home; mkdir -p /d/bh2/home/$m-2005; cp -a /home /etc /var /opt /d/bh2/home/$m-2005 # bh3 -> bh2 (21 G) # As root@bh3 set m=bh3; mount bh2:/home /d/bh2/home; mkdir -p /d/bh2/home/$m-2005; cp -a /home /etc /var /opt /d/bh2/home/$m-2005 # bh5 -> bh2 (19 G) # As root@bh5 set m=bh5; mount bh2:/home /d/bh2/home; mkdir -p /d/bh2/home/$m-2005; cp -a /home /etc /var /opt /d/bh2/home/$m-2005 # Can't do bh6 -> bh8 (75 G, 81 G), or to bh2 after packing bh[345] on # As root@bh6 set m=bh6; mount bh8:/home /d/bh8/home; mkdir -p /d/bh8/home/$m-2005; cp -a /home /etc /var /opt /d/bh8/home/$m-2005 Wed Aug 31 23:51:16 PDT 2005 # Time to phone Carolin, but bh3, bh4 and bh5 seem ready to rock Wed Aug 31 23:39:00 PDT 2005 22G bh3-2005 23G bh4-2005 19G bh5-2005 4.0K bh8-2005 Wed Aug 31 23:43:15 PDT 2005 22G bh3-2005 23G bh4-2005 19G bh5-2005 4.0K bh8-2005 Wed Aug 31 23:47:25 PDT 2005 22G bh3-2005 23G bh4-2005 19G bh5-2005 4.0K bh8-2005 # ... so tend to them first. User level verify # As root@bh3 cd /home du -hs * 4.0K Usage 4.3G ajpenner 7.0G cwlai 4.0G ftp 2.6M guest 272K jason 97M opt 37M shawley 4.5G slash 1.2G usr # As root@bh2 cd /home/bh3-2005/home du -hs * 4.0K Usage 4.3G ajpenner 7.0G cwlai 4.0G ftp 2.6M guest 272K jason 97M opt 37M shawley 4.5G slash 1.2G usr RM -rf slash opt usr du -hs * 4.0K Usage 4.3G ajpenner 7.0G cwlai 4.0G ftp 2.6M guest 272K jason 37M shawley # OK #----------------------------------------------------------------------- # As root@bh4 cd /home du -hs * 4.0K Usage 6.4G benjamin 2.1G dgreen 2.7M guest 1.4G jhomenuk 97M opt 3.0G scn 8.4G slash 1.3G usr # As root@bh2 cd /home/bh4-2005/home du -hs * 4.0K Usage 6.4G benjamin 2.1G dgreen 2.7M guest 1.4G jhomenuk 97M opt 3.0G scn 8.4G slash 1.3G usr RM -rf opt slash usr du -hs * 4.0K Usage 6.4G benjamin 2.1G dgreen 2.7M guest 1.4G jhomenuk 3.0G scn # OK #----------------------------------------------------------------------- # As root@bh5 cd /home du -hs * 4.0K Usage 246M evgeny 2.9M guest 2.3G jhkim 97M opt 11G roland 4.4G slash 1.2G usr # As root@bh2 cd /home/bh5-2005/home du -hs * 4.0K Usage 246M evgeny 2.9M guest 2.3G jhkim 97M opt 11G roland 4.4G slash 1.2G usr #TODO RM -rf slash opt usr du -hs * 4.0K Usage 246M evgeny 2.9M guest 2.3G jhkim 11G roland # OK #----------------------------------------------------------------------- Thu Sep 1 01:18:55 PDT 2005 #----------------------------------------------------------------------- # Getting bh1 (about 100G free) into the act, hauled over to 408 # As root@bh6 umount -a -t nfs -l mount bh1:/home mkdir -p /d/bh1/home/bh6-2005 cd !$ cp -a /home /etc . du -hs /home /etc 75G /home 54M /etc # Clean up cd /home /bin/rm -rf slash usr opt Thu Sep 1 01:58:40 PDT 2005 # bh3 has finished /home restore from /d/bh2/home/bh3-2005/home # As root@bh2 du -hs /d/bh2/home/bh3-2005/home/* 4.0K /d/bh2/home/bh3-2005/home/Usage 4.3G /d/bh2/home/bh3-2005/home/ajpenner 7.0G /d/bh2/home/bh3-2005/home/cwlai 4.0G /d/bh2/home/bh3-2005/home/ftp 2.6M /d/bh2/home/bh3-2005/home/guest 272K /d/bh2/home/bh3-2005/home/jason 37M /d/bh2/home/bh3-2005/home/shawley # As root@bh3 du -hs /home/* 4.3G /home/ajpenner 7.0G /home/cwlai 4.0G /home/ftp 2.6M /home/guest 272K /home/jason 24K /home/juser 37M /home/shawley 4.0K /home/Usage # Looks good; on with the secondary, and # As root@bh0 # TODO: ls -ltd /home/bh3-2005/home/* # TODO: /bin/rm -rf /home/bh3-2005/home/* # TODO: Update NIC driver --- can't automate since needs to be done at console cd /root/install; tar xfv /d/bh0/home/matt/system/bh/image/drivers/SysKonnect-8.23/install-8_23.tar; cd DriverInstall; ls # TODO: bh4 ... OK? # TODO: bh3 ... OK? # TODO: bh5 ... OK? # Back up bh8 -> bh4 # Verify /home # Verify /etc # Back up bh2 -> bh3 # Verify {/home,/etc} # As root@bh2 ssh root@bh2 'du -hs /home' 54G /home ssh root@bh2 'du -ks /home/* | sort -rn' 13781348 /home/inaki 10665464 /home/inaki2 7072560 /home/grade 6895400 /home/scn 4627672 /home/slash 3122720 /home/bruno 2466668 /home/luisl 2306448 /home/villegas 1109884 /home/usr 1055876 /home/cwlai 558256 /home/petryk 503028 /home/brianmar 437548 /home/bh3-2005 350052 /home/bh5-2005 303352 /home/bh4-2005 258756 /home/fransp 210732 /home/explorer 99248 /home/opt 17616 /home/scn2 5064 /home/jason 2644 /home/guest 296 /home/shawley 8 /home/bh8-2005 4 /home/lost+found 4 /home/Usage ssh root@bh2 'du -hs /etc' 54M /etc # As root@bh3 ssh root@bh3 'du -hs /home/bh2-2005/home | sort -rn' 47G /home/bh2-2005/home ssh root@bh3 'du -ks /home/bh2-2005/home/* | sort -rn' 13781604 /home/bh2-2005/home/inaki 10665464 /home/bh2-2005/home/inaki2 7072560 /home/bh2-2005/home/grade 6895400 /home/bh2-2005/home/scn 3122996 /home/bh2-2005/home/bruno 2466668 /home/bh2-2005/home/luisl 2306448 /home/bh2-2005/home/villegas 1055876 /home/bh2-2005/home/cwlai 558256 /home/bh2-2005/home/petryk 503028 /home/bh2-2005/home/brianmar 258756 /home/bh2-2005/home/fransp 210732 /home/bh2-2005/home/explorer 17616 /home/bh2-2005/home/scn2 5064 /home/bh2-2005/home/jason 2644 /home/bh2-2005/home/guest 296 /home/bh2-2005/home/shawley ssh root@bh3 'du -hs /home/bh2-2005/etc' #----------------------------------------------------------------------- # bh2 good to go #----------------------------------------------------------------------- # Start install # Back up bh8 -> bh4 # Verify {/home,/etc} # As root@bh8 ssh root@bh8 'du -hs /home' 81G /home ssh root@bh8 'du -ks /home/* | sort -rn' 45728768 /home/laplace 11783724 /home/rousseab 6945696 /home/inaki 5071692 /home/jason 4567468 /home/slash 4003560 /home/psandhu 3244228 /home/scn 2056360 /home/sgi2 1247248 /home/usr 99248 /home/opt 79812 /home/blosic 11448 /home/dale 3276 /home/guest 2680 /home/msguest 4 /home/Usage ssh root@bh8 'du -hs /etc' 54M /etc # As root@bh4 ssh root@bh4 'du -hs /home/bh8-2005/home' 76G /home/bh8-2005/home ssh root@bh4 'du -ks /home/bh8-2005/home/* | sort -rn' 45728764 /home/bh8-2005/home/laplace 11783724 /home/bh8-2005/home/rousseab 6945696 /home/bh8-2005/home/inaki 5071692 /home/bh8-2005/home/jason 4004376 /home/bh8-2005/home/psandhu 3244228 /home/bh8-2005/home/scn 2056360 /home/bh8-2005/home/sgi2 79812 /home/bh8-2005/home/blosic 11448 /home/bh8-2005/home/dale 3312 /home/bh8-2005/home/guest 2680 /home/bh8-2005/home/msguest ssh root@bh4 'du -hs /home/bh8-2005/etc' 54M /home/bh8-2005/etc #----------------------------------------------------------------------- # [bh2,bh8] good to go #----------------------------------------------------------------------- # Install, running secondary # Restore /home's # As root@bh2 mkdir -p /d/bh3/home mount bh3:/home /d/bh3/home cp -a /d/bh3/home/bh2-2005/home/* /home # As root@bh8 mkdir -p /d/bh4/home mount bh4:/home /d/bh4/home cp -a /d/bh4/home/bh8-2005/home/* /home #----------------------------------------------------------------------- # Get bh6's disk into bh1. Have sent message to B&J for assistance # in this particular piece of dirty work. #----------------------------------------------------------------------- Thu Sep 1 10:27:37 PDT 2005 # As root@bh6 shutdown -h now Thu Sep 1 11:11:45 PDT 2005 # Installation of bh6 HD1 ad bh1 HD2 turning out to be problematic; # B&J working on it ... decided simply to do (minimal) REINSTALL # on bh6, to get it up with NFS # bh6 -> bh5 (XX G) # As root@bh5 du -hs /home/bh6-2005/home 70G /home/bh6-2005/home du -hs /home/bh6-2005/home/* 4.0K /home/bh6-2005/home/Usage 1.2G /home/bh6-2005/home/agwilson 222M /home/bh6-2005/home/awilson 4.0M /home/bh6-2005/home/guest 293M /home/bh6-2005/home/hkr 24K /home/bh6-2005/home/juser 49G /home/bh6-2005/home/mariah 3.5G /home/bh6-2005/home/meowmeow 13G /home/bh6-2005/home/msnajdr 3.4G /home/bh6-2005/home/psandhu du -hs /home/bh6-2005/{etc,var,opt} 46M /home/bh6-2005/etc 154M /home/bh6-2005/var 4.0K /home/bh6-2005/opt # As root@Bh6 du -hs /home 70G /home du -hs /home/* 1.2G /home/agwilson 222M /home/awilson 4.0M /home/guest 293M /home/hkr 24K /home/juser 49G /home/mariah 3.5G /home/meowmeow 13G /home/msnajdr 3.4G /home/psandhu 4.0K /home/Usage du -hs /{etc,var,opt} 46M /etc 154M /var 4.0K /opt # Post install 4.0K Usage 1.2G agwilson 222M awilson 4.0M guest 293M hkr 24K juser 49G mariah 3.5G meowmeow 13G msnajdr 3.4G psandhu # OK, take bh6 and bh1 down, bh2-HD2 -> bh1-HD1 # Start install on bh6 # As matt@bh0 via a etc-update 'viw bhN; bhDistEtc passwd shadow group hosts hosts.allow hosts.deny csh.cshrc ntp.conf' # Thu Sep 1 14:50:59 PDT 2005 # Ben points out missing compilers etc. # # Question (*) On which machines is /usr/local a link? bhCommand 'ls -ltd /usr/local' bh1 bh2 bh3 bh4 bh5 bh6 bh2 # As root@bh1 du -hs /usr/local 1.2G /usr/local vi /etc/exports # Add /usr/local \ exportfs -av # As root@bh2 # Answer (*): bh2, bh3, bh4, bh5, bh8 foreach m (bh2 bh3 bh4 bh6 bh8) ssh root@${m} RM /usr/local; mkdir -p /d/bh1/usr/local; mount bh1:/usr/local /d/bh1/usr/local; cp -a /d/bh1/usr/local /usr end # As matt@bh... foreach m (bh1 bh2 bh3 bh4 bh5 bh6 bh8) ssh matt@${m} tcomp end # Pine missing # secondary had some bugs, rpm path is /d/bh0/home2/home/2005 # As root@bh2 cd /root/install cp s t vi t # Hacked in install pine ./t -x bh2 # As root@bh[34568] set m=bh3 cd /root/install; scp bh2:/root/install/t .; ./t -x `hostname -s` ./t -x $m # Lots of hangs etc., will be nice to get bh6's driver patched once the # kernel (modules!) has done compiling # Secondary is still copying /usr/local -> /home/usr/local # Post-patch RM /usr/local; mv /home/usr/local /usr/local RM /opt; mv /home/opt /opt Thu Sep 1 15:46:09 PDT 2005 # Rebooted all machines, still need to restore bh6:/home from # bh5 # Need to update etc files to include bh6 # As matt@Bh0 viw bhallN etc-update # As root@bh6 cp -a /d/bh5/home/bh6-2005/home/* /home # Can move bh1 back to 403 bhbgCommand 'umount bh1:/home -l' # Copy is VERY slow, indicating possible problem with interface # bhMPPtest of even a trivial scp example should help # diagnose # Coded 'mktfile' matt@bh0.physics.ubc.ca:/d/bh0/home/matt/system/00TOOLS/mktfile.f # ... to generate file with specific number of bytes (8 byte blocks) # Seems terrifically slow, i.e. substantially slower than the # network on bh0 bhCommand tcomp # Need to update PGI compiler on bh0 machine, but no urgency on that account # Hadn't copied /opt over, did manually via tar ball from bh1 # OK bhnewp4Command 'grep "Setting mode" /var/log/Xorg.0.log' # OK bhnewp4Command 'df | grep bh0' # OK # Not too shabby at all ... Should pretty well do it, and can fix up the # rest at home ############################################################ Fri Sep 2 10:41:47 PDT 2005 ############################################################ # The day after ... # As matt@bh0 etc-update rrvi /etc/exports # Looks OK. Check 2005-PHYS410 into CVS # Looks OK. Check 2005-W-hHYS410 into CVS ############################################################ Mon Sep 5 18:25:44 PDT 2005 ############################################################ # Looks like bh4 is having problems with # # bh0:/home2 root@bh4:/var/log/messages Sep 5 18:23:50 bh4 kernel: nfs_statfs: statfs error = 512 Sep 5 18:24:08 bh4 kernel: nfs warning: mount version older than kernel Sep 5 18:24:13 bh4 last message repeated 16 times Sep 5 18:24:16 bh4 kernel: nfs_statfs: statfs error = 512 # Try a reboot of bh4? # Taking a long time to come up, problem with bh0 mount? Tue Sep 6 08:29:04 PDT 2005 # In 414 (Ben has subsequently sent a message, perhaps from # res, asking whether there is anyone who can attend to bh4, # I didn't bother to reply) # ... anywho, not a NFS problem, but, yes you guessed it, # A??? sound card driver hang on shutdown; of course we've # seen this many times, TODO: fix would be nice # Is mount of bh0:/home2 any better? # As root@bh4 bash strace mount bh0:/home2 2>&1 > /tmp/strace-mount-bh0-home2 # Yes, mount seems fine now, perhaps some task on bh4 was # modifying something in /Public, e.g. bhCommand 'cd /Public; ls -lt /Public' # returns expected output, save for one or more of the old # machines ~ bh13 # OLD_TODO: Low priority: Ensure /Public link is good on all bhbgCommand 'RM /Public; ln -s /d/bh0/home2/Public /Public' bhCommand 'cd /Public; ls' | tee /tmp/bh-Public # OK (modulo bh7 which is down at the current time) # Need to invest the n hours that it will take to get # urpmi going # # TODO: Get a dedicated disk for Mandrake (like Bill), # or work out a procedure with Bill for swapping # in/out rpmrates so that we can modify the type # of install # TODO: For the time being, use rsync to mirror Bill's # updates in our local copy # TODO: Get urpmi configured to use OUR distro, and # test on bh1 # Ben did a 'ldconfig' on all machines bhbgCommand 'ldconfig' # gnuplot setenv MDK /d/bh0/home2/home/2005/i586/media bhbgCommand "rpm -ivh $MDK/main/libgd2-2.0.33-3mdk.i586.rpm" bhbgCommand "rpm -ivh $MDK/main/libreadline5-5.0-2mdk.i586.rpm" bhbgCommand "rpm -ivh $MDK/main/gnuplot-4.0.0-5mdk.i586.rpm; rehash; which gnuplot" # ntp viw bhallN setenv MDK /d/bh0/home2/home/2005/i586/media/main/; bhbgCommand "cd $MDK; rpm -ivh ntp*rpm; chkconfig ntpd on; cd /etc; test -f /etc/ntp.conf.O && /bin/rm -rf /etc/ntp.conf.O; test -d /etc/ntp.conf.O && /bin/rm -rf /etc/ntp.conf.O; test -f /etc/ntp.conf && /bin/mv /etc/ntp.conf /etc/ntp.conf.O; scp root@bh0:/etc/ntp.conf .;" bhbgCommand 'service ntpd restart' bhCommand 'ntptimeset' | tee /tmp/bh-ntptimeset # TODO: xmgr # Doesn't seem to be included in Mandriva # Downloaded from # http://rpmfind.net/linux/RPM/contrib/libc6/i386/xmgr-dynamic-4.1.2-12.i386.html matt@bh0.physics.ubc.ca:/d/bh0/home/matt/RPMS/xmgr-dynamic-4.1.2-12.i386.rpm # As matt@bh0 cd RPMS # ... requires libXae.so.6 bhbgCommand 'cd /d/bh0/home2/home/2005/i586/media/contrib/; rpm -ivh Xbae-4.50.99-1mdk.i586.rpm libXbae4-4.50.99-1mdk.i586.rpm' bhbgCommand 'ldconfig' # ... requires libXae.so.6, libXae.so.4 provided by RPM package bhCommand rpm -ivh --nodeps `full xmgr-dynamic-4.1.2-12.i386.rpm` # ... Nope, will need to update libXae # bh9 needs /usr/local copied over # As root@bh9 mkdir -p /d/bh1/usr/local mount bh1:/usr/local !$ cd /d/bh1/usr mv /usr/local.O /usr/local.OO mv /usr/local /usr/local.O cp -a local /usr # bh1:/usr/local mount hanging. Why? How about /usr, but barring that can # tar /usr/local to bh0:/home/local.tar # 1.2 G # As root@bh1 cd /usr tar cf /home/local.tar local # As root@bh9 cd /usr tar xf /d/bh1/home/local.tar . # Nope ... scp it # OK # bh16 also needs a /usr/local # As root@bh1 vi /etc/exports /usr/local \ jmd.physics.ubc.ca(async,rw,no_root_squash) \ bhlap.physics.ubc.ca(async,rw,no_root_squash) \ . . . bh9.physics.ubc.ca(async,rw,no_root_squash) \ bh16.physics.ubc.ca(async,rw,no_root_squash) \ exportfs -a # As root@bh16 mkdir -p /d/bh1/usr/local mount bh1:/usr/local !$ rmdir /usr/local cd /d/bh1/usr cp -a local /usr # OK ############################################################ Tue Sep 6 19:54:23 PDT 2005 ############################################################ # bh7, bh11 off-line # As matt@bh0 viw bhallN # disabled bh7, bh11 # As matt@bh0 renfs # Can't get ANYTHING to mount bh1:/home # Try reboot bhCommand 'umount -l bh1:/home; mount !$; cd /d/bh1/home; ls' # OK # bh4 can't mount bh0:/home2 Wed Sep 7 00:33:16 PDT 2005 # reboot will probably fix it #Ben says Wed Sep 7 8:44 PDT 2005 #bh4 and bh7 rebooted #bh10 ssh root@bh10 [root@bh10]# service netfs restart Unmounting NFS filesystems: [ OK ] Mounting NFS filesystems: mount: bh1:/home failed, reason given by server: Permission denied mount: bh2:/home failed, reason given by server: Permission denied mount: bh3:/home failed, reason given by server: Permission denied mount: bh4:/home failed, reason given by server: Permission denied mount: bh5:/home failed, reason given by server: Permission denied mount: bh6:/home failed, reason given by server: Permission denied mount: RPC: Remote system error - No route to host mount: backgrounding "bh7:/home" mount: backgrounding "bh7:/home2" mount: bh8:/home failed, reason given by server: Permission denied mount: RPC: Program not registered mount: backgrounding "vnfe1:/home" mount: backgrounding "vnfe1:/home2" mount: backgrounding "vnfe1:/home3" mount: RPC: Program not registered mount: backgrounding "vnfe3:/home" mount: backgrounding "vnfe3:/home2" [FAILED] Mounting other filesystems: [ OK ] #Ben says: I am asking Matt to have a look at this #Ben says: i sent Matt the fix for the mouse wheel thing, #which consists in modifying the following lines #of /etc/X11/xorg.conf Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "explorerps/2" Option "Name" "PS/2 Generic Mouse" Option "Buttons" "3" Option "Device" "/dev/mouse" Option "ZAxisMapping" "4 5" #Ben says: I did test it on bh4, it works. # As matt@bh0 cd /home/matt/system/bh/image/master/etc/X11 scp root@bh4:/etc/X11/xorg.conf . viw bhnewp4 # exclude bh4 bhnewp4Command 'cd /etc/X11; Arc xorg.conf; scp matt@bh0.physics.ubc.ca:/d/bh0/home/matt/system/bh/image/master/etc/X11/xorg.conf .' # ... and should restart X on all machines. # bh11 dead in the water, hard reboot, /var/log/messages has many messages of the ilk Sep 7 15:11:19 bh11 kernel: devfs_mk_dev: could not append to parent for 105 Sep 7 15:11:19 bh11 kernel: devfs_mk_dev: could not append to parent for 106 Sep 7 15:11:19 bh11 kernel: devfs_mk_dev: could not append to parent for 107 Sep 7 15:11:19 bh11 kernel: devfs_mk_dev: could not append to parent for 108 Sep 7 15:11:19 bh11 kernel: devfs_mk_dev: could not append to parent for 109 Sep 7 15:11:19 bh11 kernel: devfs_mk_dev: could not append to parent for 110 # As matt@bh0 via a renfs 'bhbgCommand "umount -a -t nfs -l; mount -a"; setenv SLP 20; echo "+++ Sleeping for $SLP seconds."; sleep $SLP; dfall' viw bhallN # re-enabled bh11 rn # OK # ... and now bh8 is down! Lordy, lordy!! Phoned Jason who will look into it. Wed Sep 7 16:14:05 PDT 2005 #bh8 is up and running Wed Sep 7 16:14:27 PDT 2005 #ben #i rebooted bh7, it just froze when i intended to print a ps file #lpr -Plp 520.ps #(bh7 is the only one where the printers are configured) #if freezes again while trying to access my imported home from bh4 # i gave up Wed Sep 7 16:34:10 PDT 2005 #Ben RPMDRAKE ready #I configured rpmdrake to detect the latest main and security updates #from the official Mandrake mirror in Canada: #http://gulus.usherbrooke.ca/pub/distro/Mandrakelinux/official/updates/10.2 #Waiting for Matt to give the go on updates #NO further action with rpmdrake Wed 7 16:48:31 PDT 2005 #Ben PRINTER EXPERIMENT #I used the cups daemon in bh7 to print from bh4. #I started drakconf-->Hardware-->Setup the Printers... #A window will pop up asking: # ***************************************************************** # *"There are no printers found which are directly connected to * # *your machine, Do you want to enable printing on printers in the* # *local network?" * # ***************************************************************** #Answer YES #Now another window will ask: # ***************************************************** # *"Local CUPS Printing system or remote CUPS server? * # ***************************************************** #Click on Remote server and specify bh7 #Then it will install the packages. Before this #procedure its necessary to configure the updates server #in Drakconf (see above) so it can go and retrive the packages. Otherwise #it will not work. #After a sucessfull configuration it shows a list of all printers #in the newtork, I defined lp on bh7 (the one in Henn 408) as default. #The GUI is the easiest for this configuration. The corresponding config #files are located in /etc/cups. cupsd.conf stores the info if you have a #local daemon (not our case). client.conf and lpoptions store the client info #(our case). ############################################################ # Thu Sep 8 08:41:35 PDT 2005 # MWC: PLEASE NO MORE EXPERIMENTS !!! ############################################################ Thu Sep 8 11:44:36 PDT 2005 ############################################################ # Aaryn reports that 'pine' not installed on bh9 # As matt@bh0 setenv MDK /d/bh0/home2/home/2005/i586/media foreach h (bh9) ssh root@${h} rpm -ivh $MDK/contrib/libldap2-2.1.30-6mdk.i586.rpm ssh root@${h} rpm -ivh /d/bh0/home/matt/RPMS/pine-4.58-1plf.i586.rpm sleep 1 which pine end Thu Sep 8 19:02:27 PDT 2005 #Jason and I (Ben) have noticed #the following message is all over /var/log/kernel/errors warnings:Sep 8 18:31:18 bh4 kernel: nfs_statfs: statfs error = 512 warnings:Sep 8 18:31:52 bh4 kernel: nfs_statfs: statfs error = 512 warnings:Sep 8 18:32:07 bh4 kernel: nfs warning: mount version older than kernel Thu Sep 8 19:17:31 PDT 2005 #Ben #Upgrades performed in bh4 using rpmdrake. #Security, bugfixes and normal updates applied. #We proceed with the other machines Thu Sep 8 19:17:50 PDT 2005 #Ben #Matt i know how to set up a passwd for the sysadmin website, #would you like us to do it? ############################################################ Fri Sep 9 07:36:59 PDT 2005 ############################################################ # Shutdown prior to electrical upgrade in 401, 403 # As root@ph0 shutdown -h now # From console@bh11 Actions -> Turn off computer # As matt@bh0 viw bhallN # .. disabled all but bh1, bh12-bh16 bhbgCommand 'shutdown -h now' # As matt@bh0 viw bhallN # ... disabled complement ... bhbgCommand 'umount -a -t nfs -l' bhCommand df # OK # As root@bh0 umount /d/wh0/c # Power down wh0 # Power down bh0 # As root@bh0 shutdown -h now ############################################################ Fri Sep 9 14:10:53 PDT 2005 ############################################################ # Back in 403 with new circuit, are all machines powered up? # As matt@bh0 viw bhallN Fri Sep 9 16:07:58 PDT 2005 # Jason # as root on each machine specifically rpmdrake --mode=update -no-confirmation -no-verify-rpm # security updates, et al. performed on machines bh2->bh9 inclusive # waiting instructions for bh7, bh0,1,11->16 ############################################################ Fri Sep 9 17:36:34 PDT 2005 ############################################################ # Ben reported mismatch of portmapper version on bh7 relative # to, e.g., bh4 bhCommand "rpm -qa | grep '^portmap-'" | tee -a /tmp/bh-log viw bhallN # Disable bh0 bhCommand 'rpm -ivh /d/bh0/home2/home/2005/i586/media/main/portmap-4.0-23mdk.i586.rpm' | tee -a /tmp/bh-log # ... what's with bh4 again?? Sat Sep 10 09:15:47 PDT 2005 # TODO: bh4 still down via remote access, needs attention # TODO: vis a vis Jason's report that rpmdrake is not installed # on bh7 # As matt@bh0 /bin/rm /tmp/bh-log bhCommand "rpm -qa | grep '^rpmdrake'" | tee -a /tmp/bh-log ssh root@bh1 'rpm -qa | grep rpmdrake' rpmdrake-2.10-4mdk ssh root@XXX /d/bh0/home2/home/2005/i586/media/main/park-rpmdrake-2.10-4mdk.i586.rpm # Confusion is probably due to the fact that bh7 is still running # 9.2 (cat /etc/issue). # TODO: JASON, BEN, DO NOTHING ON bh7 for the time being, MATT # will upgrade to to 10.2 over the weekend or soon thereafter Sat Sep 10 12:20:46 PDT 2005 # Unmount bh7:{/home,/home2} and shutdown bh7 # Hacked on matt@bh0:~/scripts/secondary-2005-08-31 scp matt@bh0.physics.ubc.ca:/d/bh0/home/matt/scripts/secondary-2005-08-31 . # bh7 now in 403, bringing up in multi-user, console mode with # only vnfe4 mounted # As root@bh7 du -hs /home /etc /opt 42G /home 33M /etc 159M /opt du -hs /home2 41G /home2 mkdir -p /d/vnfe4/home/bh7-2005 cd !$ cp -a /home . & cp -a /etc . & cp -a /opt . & cp -a /home2 . & # Sat Sep 10 16:22:18 PDT 2005 # Upto 42G home 25G home2 # ... will be another couple of hours. Sat Sep 10 16:31:03 PDT 2005 ############################################################ Sat Sep 10 17:38:54 PDT 2005 # as root@bh3 bhCommand "rpmdrake --mode=update' # ran on all machines, skipping bh0, bh7, and bh16 # all updates were completed successfully # NOTE: You can use bhbgCommand to initiate jobs on the bh machines # simultaneously. Why was bh16 skipped? ############################################################ Sat Sep 10 17:49:06 PDT 2005 ############################################################ # Copy of bh7:{/home,/home2,/etc,/opt} to vnfe4:/home/bh7-2005 # complete # As root@bh7 du -hs /etc /opt /home /home2 33M /etc 159M /opt 42G /home 41G /home2 # As root@vnfe4 cd /home/bh7-2005 du -hs * 33M etc 42G home 41G home2 159M opt # Shutdown and do primary install bh7 IP: 142.103.234.165 Sat Sep 10 18:59:02 PDT 2005 # Primary install done # As matt@bh0 cd .ssh vi known_hosts # Excise bh7 entries Dist # Note ... this machine has dual CPUs so need to hack script so # that Makefile munging is to SMP # As root@bh7 uname -a Linux bh7.physics.ubc.ca 2.6.11-6mdksmp #1 SMP Tue Mar 22 15:40:42 CET 2005 i686 Pentium III (Coppermine) unknown GNU/Linux mkdir /root/install cd /root/install # As matt@bh0 cds cp secondary-2005-09-10 secondary-bh7 Arc !$ vi secondary-bh7 warn "Executing 'perl -p -i.O -e "s/mdkcustom/mdksmp/" Makefile'" sleep $Slp perl -p -i.O -e "s/mdkcustom/mdksmp/" Makefile # As root@bh7 (preemptive) mkdir -p /root/install mkdir -p /d/bh1/usr/local /d/bh1/opt mount bh1:/usr/local /d/bh1/usr/local mount bh1:/opt /d/bh1/opt # Run secondary script # As matt@bh0 scp secondary-bh7 root@bh7:/root/install/s # As [console]root@bh7 cd /root/install ./s -x bh7 Sat Sep 10 19:17:48 PDT 2005 # Kernel now compiling, will be an hour or more, could start copying stuff back # but probably isn't advised. On to Roland's thesis, since the 410 assignment # is FINALLY very close to being done! get-nasa-iod should be some fun, at # least for some Sat Sep 10 19:48:49 PDT 2005 # OK, this time I mean it, really ... the handout is JUST ABOUT THERE ... # kernel still compiling Sat Sep 10 20:25:15 PDT 2005 # One more pass, and the kernel compilation keeps on truckin' ... Sun Sep 11 07:01:43 PDT 2005 # Secondary is done, finishing up a few things ... # As root@bh7 mount bh0:/home2 /d/bh0/home2 setenv MDK /d/bh0/home2/home/2005/i586/media/main/; cd $MDK; rpm -ivh ntp*rpm; chkconfig ntpd on; cd /etc; test -f /etc/ntp.conf.O && /bin/rm -rf /etc/ntp.conf.O; test -d /etc/ntp.conf.O && /bin/rm -rf /etc/ntp.conf.O; test -f /etc/ntp.conf && /bin/mv /etc/ntp.conf /etc/ntp.conf.O; scp root@bh0:/etc/ntp.conf .; service ntpd restart ntptimeset # Second disk isn't mounted drakconf # ... complains that is already mounted, reboot reboot # No joy ... will delay for time being. mount vnfe4:/home /d/vnfe4/home mv /home /home.O nohup cp -a /d/vnfe4/home/bh7-2005 /home & # Sun Sep 11 11:23:25 PDT 2005 # Back in office, /home transfer might be done. # As root@bh7 cd /home du -hs * 4.0K Usage 632K backups 32G fransp 4.0K lost+found 11G petryk # As root@vnfe4 cd /home/bh7-2005/home du -hs * 4.0k Usage 632k backups 32G fransp 4.0k lost+found 11G petryk # OK # See if can't get /home2 mounted via boot-disk ssh root@bh7 reboot # Checked all BIOS settings, seem OK with possible exception of # Ultra DMA # Boot from Mandriva 2005 Bootdisk F1 rescue mount devices console df # See /mnt/home2 OK reboot # ... and frustratingly enough, comes up WITHOUT mounting /home2 # indeed mount: /dev/hdb1 already mounted or /home2 busy # Can probably do something about this, but for the time being # will simply ask users to migrate stuff off of bh7:/home2, # via moving it off vnfe4:/home/bh7-2005/home2, and wipe former find /etc -type f -exec grep -l hdb1 {} \; | tee /tmp/trace-find # looks like the NVidia configuration didn't work # Just for kicks, let's see what happens when we remove hdb1 # As root@bh7 /bin/rm hdb1 reboot # ... into single mode ... again, mount is fine, and I can see # the contents of /home2 etc. ... go through minimal install http://download.nvidia.com/XFree86/nforce/1.0-0306/NFORCE-Linux-x86-1.0-0306-pkg1.run # This may end up wasting too much time. In interests of getting bh7 back in play, should # just configure with supplied module modprobe rivafb # then ship back to 40? # OK, tried to mount as /disk2, but again no dice, but have # X working # As root@bh7 shutdown -h now # Secondary is done, finishing up a few things ... # As root@bh7 mount bh0:/home2 /d/bh0/home2 setenv MDK /d/bh0/home2/home/2005/i586/media/main/; cd $MDK; rpm -ivh ntp*rpm; chkconfig ntpd on; cd /etc; test -f /etc/ntp.conf.O && /bin/rm -rf /etc/ntp.conf.O; test -d /etc/ntp.conf.O && /bin/rm -rf /etc/ntp.conf.O; test -f /etc/ntp.conf && /bin/mv /etc/ntp.conf /etc/ntp.conf.O; scp root@bh0:/etc/ntp.conf .; service ntpd restart ntptimeset Your clock is off by -3.2520235 seconds. (142.103.237.225) [15/15] vnSetdate ntptimeset Your clock is off by 0.0831495 seconds. (142.103.237.225) [15/15] Sun Sep 11 16:19:06 PDT 2005 # bh11 was down, probably from the circuit-breaking of yesterday # Hard reset (front panel) # As matt@bh0 ping bh11 # As root@bh11 ntptimeset Your clock is off by 0.0086800 seconds. (142.103.237.1) [15/15] df # OK # As matt@bh0 bhn bhallN | wc 17 17 330 bhc date # bh14's clock askew ssh root@vbh14 'service ntpd start; vnSetdate; ntptimeset' # OK bhc date # OK rn # Disable /home2 in bh7, and /d/bh7/home2 in all /etc/fstab # As root@bh7 cd /etc Arc fstab vi fstab umount -a -t nfs -l; mount -a; df # OK rrvi /etc/fstab # Some problem with bh3? # TODO: bh3 HAS PROBLEM MOUNTING bh0:/home2, would like to try # reboot, and/or search for "residuals" from NFS install which # WAS via bh0:/home2/home/2005 # As root@bh3 find / -type f -exec grep -l 'bh0.*home2' {} \; | tee /tmp/log-find # As matt@bh0 rn # Hopeless thing that I am, I took "another" look in /usr/src/linux # and sure enough, Makefile would configure with "custom" viM EXTRAVERSION = -12mdksmp cd /usr/src/linux; make clean; make mrproper; make oldconfig; bash make 2>&1 | tee /tmp/trace-make-kernel & make-modules 2>&1 | tee /tmp/trace-make-kernel-modules & # Get # Jason # All machines from bh1-> bh16 are updated # Note GUI update fails once in a while when attempting an update. # This occurs when I update from home and from school. It is likely an issue with the GUI rather than the update command # MWC: Thanks Jason. Once we have urpmi configured, (we should initiate # a sysadmin seminar, and have Bill give it for us on urpmi), then this # sort of thing should disappear, but for the time being, the manual # approach doesn't seem too onerous, no? TODO: LET ME KNOW IF AUTOMATING # UPDATES SHOULD BE A PRIORITY ############################################################ ############################################################ Mon Sep 12 11:40:30 PDT 2005 ############################################################ # Scott N has how relocated /d/bh7/home2/scn to /d/bh2/home/scn # which should now become his bh home directory. # Note, bh mastering is done as matt@bh0, and for '/etc' mastering # type the alias 'etcbh' to 'cd' to the appropriate directory and # generate a listing of files # As matt@bh0 etcbh # Back up 'passwd', import from bh0 sola Bu passwd get passwd vi passwd scn:x:395:600:Scott C. Noble:/d/bh2/home/scn:/bin/tcsh bhDistEtc passwd bhCommand 'cd ~scn; pwd; ls' | tee /tmp/bh-ls-scn-home bhn # bh7 is still down, and I won't make any snide remarks about the # kids, worst case, jump a bus get out at Alma and have Varsity # look at it # TODO: Kids have power supply on order rn nfall # NFS Connecttivity looks AOK, sans bh7 # As matt@bh0 # Coded matt@bh0:~/scripts/bhFix when enumerates machines needing # patch/fix, plus aliases 'bhnf', 'fbhn' to edit said script # cd ~/system; Bu machines bhFix > machines.bhfix CP machines machines.all CP machines.bhfix machines rrvi /etc/fstab # After this frenzied script writing realized that it was the # server end (e.g /etc/exportfs on bh2) that was the issue # so updated files and Makefile in bh:/etc master # As matt@bh0 etcbh viM Exports-home: for h in bh2 bh3 bh4 bh5 bh6 bh7 bh8 bh9 bh10 bh11 bh12 bh13 bh14 bh15 bh16; do \ (ssh root@$$h 'cd /etc/; Bu exports'); \ (scp exports-home root@$$h:/etc/exports); \ (ssh root@$$h 'exportfs -av'); \ done make Exports-home rn # ... also created files # # exports-var # exports-etc # exports-usr # exports-usr-local # exports-home2 # # ... that really should be generated from script gen-hosts.allow that I # will write TODO: code gen-hosts.allow # As root@bh5 # bh0:/home2 presenting a problem?? vi /etc/fstab bh0:/home /d/bh0/home nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 #bh0:/home2 /d/bh0/home2 nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 mount -a # OK df # OK vi /etc/fstab bh0:/home /d/bh0/home nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 bh0:/home2 /d/bh0/home2 nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 grep home2 /etc/mtab vnfe1:/home2 /d/vnfe1/home2 nfs rw,rsize=8192,wsize=8192,hard,bg,intr,addr=142.103.237.225 0 0 vnfe3:/home2 /d/vnfe3/home2 nfs rw,rsize=8192,wsize=8192,hard,bg,intr,addr=142.103.237.227 0 0 # OK ... NOPE, DEFINITELY HANGS ... # Tons of snarked mount/umount processes, so seems no recourse bu to reboot sleep 180; reboot ############################################################ Mon Sep 12 12:17:54 PDT 2005 ############################################################ # Jason/Ben have installed bh7:/home2 in bh1, and bh7 # now apparently needs a new PS, so is off-line. # As root@bh1 drakconf Hardware Detection # Sees hdb sda <- Disk 1 /dev/sda6 150340000 102586848 40116256 72% / /dev/sda1 41552084 4500636 37051448 11% /mnt/windows # Used tool to mount as /home2 EXIT # As root@bh1 df # no /home2 mount, and 'mount -a', mount /home2 etc. results in the familiar mount: /dev/hdb1 already mounted or /home2 busy execve("/bin/mount", ["mount", "/home2"], [/* 117 vars */]) = 0 uname({sys="Linux", node="bh1.physics.ubc.ca", ...}) = 0 brk(0) = 0x8064000 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7feb000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=112977, ...}) = 0 old_mmap(NULL, 112977, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fcf000 close(3) = 0 open("/lib/i686/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220S\1"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1201552, ...}) = 0 old_mmap(NULL, 1211604, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ea7000 old_mmap(0xb7fc9000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x121000) = 0xb7fc9000 old_mmap(0xb7fcd000, 7380, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fcd000 close(3) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ea6000 mprotect(0xb7fc9000, 4096, PROT_READ) = 0 mprotect(0xb8000000, 4096, PROT_READ) = 0 munmap(0xb7fcf000, 112977) = 0 brk(0) = 0x8064000 brk(0x8085000) = 0x8085000 umask(033) = 022 open("/dev/null", O_RDWR|O_LARGEFILE) = 3 close(3) = 0 getuid32() = 0 geteuid32() = 0 lstat64("/etc/mtab", {st_mode=S_IFREG|0644, st_size=1625, ...}) = 0 readlink("/home2", 0xbfffdc80, 4096) = -1 EINVAL (Invalid argument) umask(077) = 033 open("/etc/fstab", O_RDONLY|O_LARGEFILE) = 3 umask(033) = 077 fstat64(3, {st_mode=S_IFREG|0644, st_size=1867, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fea000 read(3, "/dev/sda6 / ext3 defaults 1 1\n#\n"..., 4096) = 1867 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7fea000, 4096) = 0 stat64("/sbin/mount.ext3", 0xbfffeb70) = -1 ENOENT (No such file or directory) rt_sigprocmask(SIG_BLOCK, ~[TRAP SEGV], NULL, 8) = 0 mount("/dev/hdb1", "/home2", "ext3", 0xc0ed0000, 0x8066420) = -1 EBUSY (Device or resource busy) rt_sigprocmask(SIG_UNBLOCK, ~[TRAP SEGV], NULL, 8) = 0 write(2, "mount: /dev/hdb1 already mounted"..., 48mount: /dev/hdb1 already mounted or /home2 busy ) = 48 umask(077) = 033 open("/etc/mtab", O_RDONLY|O_LARGEFILE) = 3 umask(033) = 077 fstat64(3, {st_mode=S_IFREG|0644, st_size=1625, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fea000 read(3, "/dev/sda6 / ext3 rw 0 0\nnone /pr"..., 4096) = 1625 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7fea000, 4096) = 0 exit_group(32) = ? # TODO: (LOW PRIORITY) Bring up in windows, and see if windows can do anything with it, or could try reformatting? Mon Sep 12 17:00:51 PDT 2005 #Ben #bh7 back online, ATX power supply replaced. There are two cables which go #to the systemboard in the old ATX power supply models. The one with less #number of connections is not necessary, just the big fat one. New ATX #power supplies do not come with the small connector anymore, so it does not #matter. Tue Sep 13 00:04:31 PDT 2005 #Ben #Updated the mdk version of bh7 in the Hardware Inventory ############################################################ Tue Sep 13 15:08:35 PDT 2005 ############################################################ # Bruno having problems logging into bh0 from bh2. # # Disabling bh0:/home2 mount as well as bh7:/home2 on # all bh1 ... bh16 # TODO: Is it just coincidence that bh0:/home2 is problematic # when that is the installation partition? I.e. it was via # an export of bh0:/home2 that the initial install was # performed. ############################################################ Tue Sep 13 15:41:28 PDT 2005 ############################################################ # Getting rwho working on all machinss in preparation for # installation of cluster monitoring scripts. # Use scp in lieu of NFS mounting bhbgCommand 'setenv RD /root/install/RPMS; mkdir -p $RD; cd $RD; pwd; ls; scp root@bh0.physics.ubc.ca:/home2/home/2005/i586/media/main/rwho-0.17-11mdk.i586.rpm .; rpm -ivh *.rpm' # ... NOPE ... THAT overloads 'sshd' (as configured---pretty wussy daemon), so do it sequentially bhCommand 'setenv RD /root/install/RPMS; mkdir -p $RD; cd $RD; pwd; ls; scp root@bh0.physics.ubc.ca:/home2/home/2005/i586/media/main/rwho-0.17-11mdk.i586.rpm .; rpm -ivh *.rpm' bhCommand 'chkconfig rwhod on; chkconfig --list | grep rwho' bhCommand 'service rwhod start' # Need 'rwhod' user ssh root@vnfe1 grep rwhod /etc/passwd # As matt@bh0 etcbh sola get passwd vi passwd rwhod:x:9999:9999:rwhod user:/:/bin/false grep rwhod passwd bhDistEtc passwd bhCommand 'chown -R rwhod /var/spool/rwho' bhCommand 'service rwhod restart' bhCommand 'ruptime' | tee /tmp/bh-ruptime # OK? ############################################################ Wed Sep 14 06:56:56 PDT 2005 ############################################################ # Updating NIC driver on bh7 # # As matt@bh0 cat /tmp/d cd /root/install; tar xfv /d/bh0/home/matt/system/bh/image/drivers/SysKonnect-8.23/install-8_23.tar; cd DriverInstall; ls scp /tmp/d root@bh7:/root/install/d # As root@bh7 so d README install.sh* sk98lin.4 sk98lin.tar.bz2 # ... now over to the console in the W PH # ... BUT, bh7 is using eepro100 driver (who else) ... look for updates for that. ############################################################ # NIC Driver list ############################################################ bhCommand lsmod | tee /tmp/bh-lsmod >>> Executing as root@bh0.physics.ubc.ca Module Size Used by Tainted: P 3c59x 31536 1 (autoclean) >>> Executing as root@bh1.physics.ubc.ca sk98lin 201624 1 >>> Executing as root@bh2.physics.ubc.ca sk98lin 201784 1 >>> Executing as root@bh3.physics.ubc.ca sk98lin 201624 1 >>> Executing as root@bh4.physics.ubc.ca sk98lin 201624 1 >>> Executing as root@bh5.physics.ubc.ca sk98lin 201624 1 >>> Executing as root@bh6.physics.ubc.ca e100 30624 0 >>> Executing as root@bh7.physics.ubc.ca eepro100 28144 0 >>> Executing as root@bh8.physics.ubc.ca sk98lin 201784 1 >>> Executing as root@bh9.physics.ubc.ca e100 30624 0 >>> Executing as root@bh10.physics.ubc.ca eepro100 28144 0 >>> Executing as root@bh11.physics.ubc.ca 8139too 22624 0 <- DLINK >>> Executing as root@bh12.physics.ubc.ca eepro100 28144 0 >>> Executing as root@bh13.physics.ubc.ca eepro100 28144 0 >>> Executing as root@bh14.physics.ubc.ca eepro100 28144 0 >>> Executing as root@bh15.physics.ubc.ca eepro100 28144 0 >>> Executing as root@bh16.physics.ubc.ca eepro100 28144 0 # Thu Sep 15 17:03:04 PDT 2005 viw bhallN bhallN bh7.physics.ubc.ca bh10.physics.ubc.ca bh12.physics.ubc.ca bh13.physics.ubc.ca bh14.physics.ubc.ca bh15.physics.ubc.ca bh16.physics.ubc.ca # Verified that all have eepro100 driver running bhbgCommand 'cd /usr/src/linux; make clean; make mrproper; make oldconfig; make'kconf # TODO: So look for updates to eepro100 and apply to # Go to Intel site bh7, bh10, bh12, bh13, bh14, bh15, bh16 # TODO: Look for updates to e100 bh6, bh6 # The Intel drivers are the # # e100 # e1000 # As root@vnfe4 # As root@node020 e1000 71508 0 (unused) e100 60280 1 slocate e1000 /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000 /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/Makefile /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/.depend /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/LICENSE /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/e1000_ethtool.c /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/e1000.h /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/e1000_main.c /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/e1000_hw.c /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/e1000_hw.h /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/e1000_osdep.h /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/e1000_param.c /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/e1000_proc.c /lib/modules/2.4.18-18.7.x/kernel/drivers/net/e1000 /lib/modules/2.4.18-18.7.x/kernel/drivers/net/e1000/e1000.o /lib/modules/2.4.18-18.7.xsmp/kernel/drivers/net/e1000 /lib/modules/2.4.18-18.7.xsmp/kernel/drivers/net/e1000/e1000.o.O /lib/modules/2.4.18-18.7.xsmp/kernel/drivers/net/e1000/e1000.o total 388 -rw-r--r-- 1 root root 8211 Nov 13 2002 e1000.h -rw-r--r-- 1 root root 82407 Nov 13 2002 e1000_hw.h -rw-r--r-- 1 root root 6100 Nov 13 2002 e1000_osdep.h -rw-r--r-- 1 root root 4282 Nov 13 2002 Makefile -rw-r--r-- 1 root root 17251 Nov 13 2002 e1000_ethtool.c -rw-r--r-- 1 root root 130281 Nov 13 2002 e1000_hw.c -rw-r--r-- 1 root root 65635 Nov 13 2002 e1000_main.c -rw-r--r-- 1 root root 20328 Nov 13 2002 e1000_param.c -rw-r--r-- 1 root root 22610 Nov 13 2002 e1000_proc.c -rw-r--r-- 1 root root 3771 Nov 13 2002 LICENSE -rw-r--r-- 1 root root 4282 Nov 13 2002 /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/Makefile -rw-r--r-- 1 root root 3183 Nov 13 2002 /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/.depend -rw-r--r-- 1 root root 3771 Nov 13 2002 /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/LICENSE -rw-r--r-- 1 root root 17251 Nov 13 2002 /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/e1000_ethtool.c -rw-r--r-- 1 root root 8211 Nov 13 2002 /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/e1000.h -rw-r--r-- 1 root root 65635 Nov 13 2002 /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/e1000_main.c -rw-r--r-- 1 root root 130281 Nov 13 2002 /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/e1000_hw.c -rw-r--r-- 1 root root 82407 Nov 13 2002 /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/e1000_hw.h -rw-r--r-- 1 root root 6100 Nov 13 2002 /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/e1000_osdep.h -rw-r--r-- 1 root root 20328 Nov 13 2002 /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/e1000_param.c -rw-r--r-- 1 root root 22610 Nov 13 2002 /usr/src/linux-2.4.18-18.7.x/drivers/net/e1000/e1000_proc.c total 72 -rw-r--r-- 1 root root 68331 Nov 13 2002 e1000.o -rw-r--r-- 1 root root 68331 Nov 13 2002 /lib/modules/2.4.18-18.7.x/kernel/drivers/net/e1000/e1000.o total 160 -rw-r--r-- 1 root root 84693 Dec 4 2003 e1000.o -rw-r--r-- 1 root root 69188 Dec 4 2003 e1000.o.O -rw-r--r-- 1 root root 69188 Dec 4 2003 /lib/modules/2.4.18-18.7.xsmp/kernel/drivers/net/e1000/e1000.o.O -rw-r--r-- 1 root root 84693 Dec 4 2003 /lib/modules/2.4.18-18.7.xsmp/kernel/drivers/net/e1000/e1000.o # Get latest e100 e1000 drivers from intel google e1000 intel linux driver download wget http://support.intel.com/support/network/sb/CS-006120.htm # Two versions newest with "special instructions" e1000-4.3.15.tar.gz e1000-6.1.16.tar.gz # Get both, start with the newer google e100 intel linux driver download e100-3.4.14.tar.gz # So have downloaded all the tarballs, can now presumably proceed # as per Nov/Dec '03 with build/install Thu Sep 15 08:10:24 PDT 2005 #----------------------------------------------------------- # Start the driver update process with the NEW machines, since # we know there's a problem there, and there's a chance that # the Mdk updates may have munged the sk98lin driver update #----------------------------------------------------------- # As matt@bh0 viw bhnewp4 bhnewp4Command 'mkdir -p /root/install; cd /root/install; RM -rf DriverInstall; tar xfv /d/bh0/home/matt/system/bh/image/drivers/SysKonnect-8.23/install-8_23.tar; cd DriverInstall; ls' # Now, need to go to each console separately, shutdown the # network, install the driver and reboot ... # As root@bh1 # Unfortunately, as usual, life is not that simple. >>> Executing as root@bh1.physics.ubc.ca EXTRAVERSION = -12mdk >>> Executing as root@bh2.physics.ubc.ca EXTRAVERSION = -12mdkcustom >>> Executing as root@bh3.physics.ubc.ca EXTRAVERSION = -12mdkcustom >>> Executing as root@bh4.physics.ubc.ca EXTRAVERSION = -12mdkcustom >>> Executing as root@bh5.physics.ubc.ca EXTRAVERSION = -12mdkcustom >>> Executing as root@bh6.physics.ubc.ca EXTRAVERSION = -12mdkcustom >>> Executing as root@bh8.physics.ubc.ca EXTRAVERSION = -12mdkcustom # ... again, presumably from the updates, hacked ~matt/system/machines # to be newP4's then rrvi /usr/src/linux/Makefile # and changed all of the 'mdkcustom' - > 'mdk' # Now it seems to work on bh1 ... over to the WPH # ... except that on reboot bh1 was grumbling about the # second disk so I took the mount out of /etc/fstab # Still problems with the driver, so it looks like it will be safest to recompile the # kernels on all the machines viw bhnewP4 # Created bhnewp4bgCommand bhnewp4bgCommand 'cd /usr/src/linux; make clean; make mrproper; make oldconfig; make' # Superficially OK bhnewp4Command 'cd /usr/src/linux; make' # ... and modulo the follow error messages ... CHK usr/initramfs_list awk: cmd. line:1: fatal: cannot open file `/lib/modules/2.6.11-6mdk/build/include/linux/version.h' for reading (No such file or directory) awk: cmd. line:1: fatal: cannot open file `/lib/modules/2.6.11-6mdk/build/include/linux/version.h' for reading (No such file or directory) grep: /lib/modules/2.6.11-6mdk/build/.config: No such file or directory Kernel: arch/i386/boot/bzImage is ready Building modules, stage 2. # ... we seem to be good to go. # Implement # bholdN # bholdCommand # bholdbgCommand # As matt@bh0 cds cp bhallN bholdN cp bhnewp4Command bholdCommand cp bholdCommand bholdbgCommand bholdCommand cat /proc/cpuinfo | tee -a /tmp/bhold-cpuinfo # bh11 off line! viw bholdN >>> Executing as root@bh7.physics.ubc.ca processor : 0 model name : Pentium III (Coppermine) cpu MHz : 1005.126 bogomips : 1990.65 processor : 1 model name : Pentium III (Coppermine) cpu MHz : 1005.126 bogomips : 2007.04 >>> Executing as root@bh9.physics.ubc.ca processor : 0 model name : Intel(R) Pentium(R) 4 CPU 3.00GHz cpu MHz : 2993.279 bogomips : 5931.00 >>> Executing as root@bh10.physics.ubc.ca processor : 0 model name : Pentium III (Coppermine) cpu MHz : 1004.574 bogomips : 1990.65 processor : 1 model name : Pentium III (Coppermine) cpu MHz : 1004.574 bogomips : 2007.04 >>> Executing as root@bh12.physics.ubc.ca processor : 0 model name : Pentium III (Katmai) cpu MHz : 451.055 bogomips : 892.92 processor : 1 model name : Pentium III (Katmai) cpu MHz : 451.055 bogomips : 901.12 >>> Executing as root@bh13.physics.ubc.ca processor : 0 model name : Pentium III (Katmai) cpu MHz : 451.050 bogomips : 892.92 processor : 1 model name : Pentium III (Katmai) cpu MHz : 451.050 bogomips : 901.12 >>> Executing as root@bh14.physics.ubc.ca processor : 0 model name : Pentium III (Katmai) cpu MHz : 451.201 bogomips : 892.92 processor : 1 model name : Pentium III (Katmai) cpu MHz : 451.201 bogomips : 901.12 >>> Executing as root@bh15.physics.ubc.ca processor : 0 model name : Pentium III (Katmai) cpu MHz : 451.209 bogomips : 892.92 processor : 1 model name : Pentium III (Katmai) cpu MHz : 451.209 bogomips : 901.12 >>> Executing as root@bh16.physics.ubc.ca processor : 0 model name : Pentium III (Katmai) cpu MHz : 450.991 bogomips : 892.92 processor : 1 model name : Pentium III (Katmai) cpu MHz : 450.991 bogomips : 901.12 # Ostensibly kernel recompile is done, and sk98lin has been # rebuilt on all machines, BUT bhnewp4Command 'uptime; lsmod | grep sk98' >>> Executing as root@bh1.physics.ubc.ca 14:38:22 up 55 min, 0 users, load average: 0.00, 0.00, 0.00 sk98lin 201624 1 >>> Executing as root@bh2.physics.ubc.ca 14:38:20 up 43 min, 0 users, load average: 0.00, 0.00, 0.00 sk98lin 201624 1 >>> Executing as root@bh3.physics.ubc.ca 14:38:20 up 43 min, 1 user, load average: 0.02, 0.07, 0.04 sk98lin 201624 1 >>> Executing as root@bh4.physics.ubc.ca 14:38:21 up 39 min, 1 user, load average: 0.00, 0.05, 0.14 sk98lin 201624 1 >>> Executing as root@bh5.physics.ubc.ca 14:38:21 up 41 min, 1 user, load average: 0.41, 0.14, 0.11 sk98lin 201624 1 >>> Executing as root@bh6.physics.ubc.ca 14:38:25 up 41 min, 1 user, load average: 1.44, 0.70, 0.35 >>> Executing as root@bh8.physics.ubc.ca 14:38:21 up 45 min, 0 users, load average: 0.00, 0.00, 0.00 sk98lin 201624 1 # reveals that bh6 is running e100? e100 30624 0 mii 4224 1 e100 # Compare drakconf running on bh[56] # Will give Martin bh1 and keep bh6 in my office. Let # Varsity know # Copied bh6:{/home,/etc} to bh2 (nicely filling up the # disk in the process, though apparently with these new # fangled FS's there's some headroom # As root@bh2 cd /home/bh6-2005 du -hs * 54M etc 71G home # Note that a lot of 'home' is the 'mariah' backup # As root@bh6 du -hs /etc/home 54M etc 71G home # Good to go, shutdown bh1, walk it over and swap with bh6 ssh root@bh1 'shutdown -h now &' # Better idea is to swap IDs as well, i.e. reconfigure bh1 # as bh6 bh1: 142.103.234.154 bh6: 142.103.234.159 Fri Sep 16 09:19:25 PDT 2005 # Have swapped IP numbers on machines, currently restoring # /home onto bh6 (old bh1, TODO: need to [physically relabel]) # as well as cleaning up on bh1 (old bh6) # bh1 now has 100 Mbit on-board interface, and arrangements # have been made to have it picked up here before noon Fri Sep 16 11:03:27 PDT 2005 # TODO: Tony came by about an hour ago and took bh1 into the shop, # hopes to have it back later today. I told him that if there # wasn't any answer here, to hold off on it, and that I would # pick it up from the shop: # Relocation to "new" bh6 # As root@bh6 cd /home du -hs * 8.0K Public 4.0K Usage 4.0K Usage.O 1.3G agwilson 374M akiles 222M awilson 279M bruno 195M dale 264K grade 4.0M guest 24K guest.O 293M hkr 118M jason 12K jdoe 24K juser 96M luisl 49G mariah 4.5G meowmeow 152K mpr 13G msnajdr 13G msnajdr.O 3.4G psandhu 10M psandhu.O 74M rousseab 276K shawley 1.4M sinat 388K stroet 192M unruh 1009M villegas 4.0K Usage 1.3G agwilson 222M awilson 4.0M guest 293M hkr 24K juser 49G mariah 4.5G meowmeow 13G msnajdr 3.4G psandhu # As root@bh2 cd /home/bh6-2005/home du -hs * 4.0K Usage 1.3G agwilson 222M awilson 4.0M guest 293M hkr 24K juser 49G mariah 4.5G meowmeow 13G msnajdr 3.4G psandhu # Looks good, change all those with directories on # /d/bh1/home to /d/bh6/home and send message # As matt@bh0 etcbh sola get passwd Arc passwd grep '/d/bh1/home' passwd | upto \: | tee /tmp/bh1-users unruh villegas luisl dale stroet cvs akiles mpr rousseab sinat vi passwd viw bhallN # bh1, bh11 disabled (TODO: bhDistEtc ... should be a cron job) # All relocated, sent message to Martin that he should be good # to go. ############################################################ Wed Sep 14 08:28:50 PDT 2005 ############################################################ # Frans makes small mod to DV, I push out the latest version # and, find, not surprisingly, that the 'E' script isn't # exactly doing what it's supposed to # TODO: Fix up execution of 'E' bhCommand 'ls -lt `which DV`; ls -lt /usr/local/intel/bin/DV; ls -lt /usr/local/PGI/bin/DV' | tee /tmp/bh-DV; Rcat /tmp/bh-DV >>> Executing as root@bh0.physics.ubc.ca -rwxr-xr-x 1 root root 554849 Jul 17 08:00 /usr/local/bin/DV* -rwxr-xr-x 1 root root 863895 Sep 3 2004 /usr/local/intel/bin/DV* >>> Executing as root@bh1.physics.ubc.ca -rwxr-xr-x 1 root root 548565 Sep 14 08:11 /usr/local/bin/DV* * -rwxr-xr-x 1 root root 863895 Sep 3 2004 /usr/local/intel/bin/DV* >>> Executing as root@bh2.physics.ubc.ca * -rwxr-xr-x 1 root root 554849 Jul 17 08:00 /usr/local/bin/DV* * -rwxr-xr-x 1 root root 863895 Sep 3 2004 /usr/local/intel/bin/DV* >>> Executing as root@bh3.physics.ubc.ca -rwxr-xr-x 1 root root 548565 Sep 14 08:11 /usr/local/bin/DV* -rwxr-xr-x 1 root root 863895 Sep 3 2004 /usr/local/intel/bin/DV* >>> Executing as root@bh4.physics.ubc.ca -rwxr-xr-x 1 root root 548565 Sep 14 08:11 /usr/local/bin/DV* -rwxr-xr-x 1 root root 894808 Sep 14 08:11 /usr/local/intel/bin/DV* >>> Executing as root@bh5.physics.ubc.ca * -rwxr-xr-x 1 root root 548565 Sep 14 08:11 /usr/local/bin/DV* * -rwxr-xr-x 1 root root 863895 Sep 3 2004 /usr/local/intel/bin/DV* >>> Executing as root@bh6.physics.ubc.ca * -rwxr-xr-x 1 root root 554849 Jul 17 08:00 /usr/local/bin/DV* -rwxr-xr-x 1 root root 894808 Sep 14 08:11 /usr/local/intel/bin/DV* >>> Executing as root@bh7.physics.ubc.ca -rwxr-xr-x 1 root root 548565 Sep 14 08:12 /usr/local/bin/DV* * -rwxr-xr-x 1 root root 863895 Sep 3 2004 /usr/local/intel/bin/DV* >>> Executing as root@bh8.physics.ubc.ca -rwxr-xr-x 1 root root 548565 Sep 14 08:11 /usr/local/bin/DV* * -rwxr-xr-x 1 root root 863895 Sep 3 2004 /usr/local/intel/bin/DV* >>> Executing as root@bh9.physics.ubc.ca -rwxr-xr-x 1 root root 548565 Sep 14 08:11 /usr/local/bin/DV* * -rwxr-xr-x 1 root root 863895 Sep 3 2004 /usr/local/intel/bin/DV* >>> Executing as root@bh10.physics.ubc.ca * -rwxr-xr-x 1 root root 548558 Jul 17 08:10 /usr/local/bin/DV* * -rwxr-xr-x 1 root root 863895 Sep 3 2004 /usr/local/intel/bin/DV* >>> Executing as root@bh11.physics.ubc.ca * -rwxr-xr-x 1 root root 548558 Jul 17 08:10 /usr/local/bin/DV* -rwxr-xr-x 1 root root 894808 Sep 14 08:11 /usr/local/intel/bin/DV* >>> Executing as root@bh12.physics.ubc.ca * -rwxr-xr-x 1 root root 517722 May 6 04:41 /usr/local/bin/DV* -rwxr-xr-x 1 root root 894808 Sep 14 08:12 /usr/local/intel/bin/DV* >>> Executing as root@bh13.physics.ubc.ca * -rwxr-xr-x 1 root root 517722 May 6 04:41 /usr/local/bin/DV* -rwxr-xr-x 1 root root 894808 Sep 14 08:12 /usr/local/intel/bin/DV* >>> Executing as root@bh14.physics.ubc.ca * -rwxr-xr-x 1 root root 517722 May 6 04:41 /usr/local/bin/DV* -rwxr-xr-x 1 root root 894808 Sep 14 08:12 /usr/local/intel/bin/DV* >>> Executing as root@bh15.physics.ubc.ca * -rwxr-xr-x 1 root root 517722 May 6 04:41 /usr/local/bin/DV* * -rwxr-xr-x 1 root root 894272 Jul 17 08:10 /usr/local/intel/bin/DV* >>> Executing as root@bh16.physics.ubc.ca * -rwxr-xr-x 1 root root 554849 Jul 17 08:00 /usr/local/bin/DV* -rwxr-xr-x 1 root root 894808 Sep 14 08:12 /usr/local/intel/bin/DV* ############################################################ Wed Sep 14 08:34:03 PDT 2005 ############################################################ # Status of bh7:/home2 relocation # As root@vnfe4 cd /home/bh7-2005/home2 ls usage scn YES cwlai YES fransp YES petryk YES jason NO inaki NO ############################################################ Thu Sep 15 15:08:49 PDT 2005 ############################################################ # Need ntp user # As matt@bh0 etcbh scp root@bh0:/etc/passwd passwd.bh0 diff passwd.bh0 passwd vi passwd rwhod:x:9999:9999:rwhod user:/:/bin/false ntp:x:9998:9998:ntp user:/:/bin/false bhDistEtc passwd bhCommand 'vnSetdate; service ntpd restart; ps -elf | grep ntp | grep -v grep; ntptimeset' | tee /tmp/bh-ntp ############################################################ Fri Sep 16 09:27:43 PDT 2005 ############################################################ # Reboot bh0 due to excessive http load --- may need to use # one of the old machines as a dedicated server. # As root@bh0 wall "bh0 will be rebooted in 180 seconds; please log off NOW" wall "bh0 will be rebooted in 180 seconds; please log off NOW" wall "bh0 will be rebooted in 180 seconds; please log off NOW" wall "bh0 will be rebooted in 180 seconds; please log off NOW" wall "bh0 will be rebooted in 180 seconds; please log off NOW" sleep 180; reboot ############################################################ Fri Sep 16 17:00:26 PDT 2005 ############################################################ # Clearly something wrong with bh11, should take it and # bh16 down, bring bh11 up as bh16 and vice versa # Connect KVM to bh11 bring up and down (disabling NFS in process) # since will be taking it home and configuring to work on home # network. Take 3 sets of KVM cables home ############################################################ Sat Sep 17 13:20:24 PDT 2005 ############################################################ # Build e100 driver on bh7 bh10 bh12 bh13 bh14 bh15 bh16 /d/bh0/home/matt/system/INTEL/Drivers/e1000-4.3.15.tar.gz /d/bh0/home/matt/system/INTEL/Drivers/e1000-6.1.16.tar.gz /d/bh0/home/matt/system/INTEL/Drivers/e100-3.4.14.tar.gz # As root@Bh7 cd /root/install bhbgCommand 'rpmbuild -tb /d/bh0/home/matt/system/INTEL/Drivers/e100-3.4.14.tar.gz' bhbgCommand 'modprobe e100' bhCommand '/lib/modules/2.6.11-6mdksmp/kernel/drivers/net/e100/e100.[k]o' # Automatic didn't work, manual looks good bhCommand 'cd /root/install; RM -rf e100-3.4.14*; tar zxf /d/bh0/home/matt/system/INTEL/Drivers/e100-3.4.14.tar.gz; cd e100-3.4.14/src; make; make install; modprobe e100' bhCommand 'lsmod | grep e100' # Looks better ############################################################ Sun Sep 18 09:07:12 PDT 2005 ############################################################ # e100 work # On bh7 at least, seems that driver may not have been updated/installed # properly # 'make install' in INTEL/.../src is Installing in 2.6.11-12mdksmp # rather than 2.6.11-6mdksmp bhCommand 'slocate 2.6.11-12' | tee /tmp/bh-2.6.11-12 bhCommand 'slocate 2.6.11-6' | tee /tmp/bh-2.6.11-6 # ... so apparently kernel source has been updated, # so can either install new kernel, or back off on # source, in which case will probably have to recompile, # At this stage would rather get rid of the -12 source # As root@bh10 rpm -qa | grep kernel kernel-source-2.6-2.6.11-12mdk # TODO: Will need to do this on bh1 # TODO: Send a message to Jason asking him NOT to update kernel source!! bhCommand 'rpm -e kernel-source-2.6-2.6.11-12mdk; mkdir -p /d/bh0/home2; umount -l bh0:/home2; mount bh0:/home2 /d/bh0/home2; cd /d/bh0/home2; ls' bhCommand 'cd /usr/src/linux' # Need to do this on ALL machines, not just those with e100 cards!! viw bhAlln # Change bh16 -> bh11 bhCommand date bhCommand 'ps -elf | grep ntpd | grep -v grep' | tee /tmp/bh-ntp bhCommand 'ntptimeset' # restore all bh machines save bh0, bh1 and bh16 bhCommand 'rpm -e kernel-source-2.6-2.6.11-12mdk; mkdir -p /d/bh0/home2; umount -l bh0:/home2; mount bh0:/home2 /d/bh0/home2; cd /d/bh0/home2; ls; sleep 1; cd /usr/src/linux' bhCommand 'rpm -ivh /d/bh0/home2/home/2005/i586/media/main/kernel-source-2.6-2.6.11-6mdk.i586.rpm; cd /usr/src/linux; Arc Makefile' bhCommand 'uname -a' | grep 'Linux' | tee /tmp/bh-uname-a Linux bh2.physics.ubc.ca 2.6.11-6mdk #1 Tue Mar 22 16:04:32 CET 2005 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz unknown GNU/Linux Linux bh3.physics.ubc.ca 2.6.11-6mdk #1 Tue Mar 22 16:04:32 CET 2005 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz unknown GNU/Linux Linux bh4.physics.ubc.ca 2.6.11-6mdk #1 Tue Mar 22 16:04:32 CET 2005 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz unknown GNU/Linux Linux bh5.physics.ubc.ca 2.6.11-6mdk #1 Tue Mar 22 16:04:32 CET 2005 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz unknown GNU/Linux Linux bh6.physics.ubc.ca 2.6.11-6mdk #1 Tue Mar 22 16:04:32 CET 2005 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz unknown GNU/Linux Linux bh7.physics.ubc.ca 2.6.11-6mdksmp #1 SMP Tue Mar 22 15:40:42 CET 2005 i686 Pentium III (Coppermine) unknown GNU/Linux Linux bh8.physics.ubc.ca 2.6.11-6mdk #1 Tue Mar 22 16:04:32 CET 2005 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz unknown GNU/Linux Linux bh9.physics.ubc.ca 2.6.11-6mdk #1 Tue Mar 22 16:04:32 CET 2005 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz unknown GNU/Linux Linux bh10.physics.ubc.ca 2.6.11-6mdksmp #1 SMP Tue Mar 22 15:40:42 CET 2005 i686 Pentium III (Coppermine) unknown GNU/Linux Linux bh11.physics.ubc.ca 2.6.11-6mdksmp #1 SMP Tue Mar 22 15:40:42 CET 2005 i686 Pentium III (Katmai) unknown GNU/Linux Linux bh12.physics.ubc.ca 2.6.11-6mdksmp #1 SMP Tue Mar 22 15:40:42 CET 2005 i686 Pentium III (Katmai) unknown GNU/Linux Linux bh13.physics.ubc.ca 2.6.11-6mdksmp #1 SMP Tue Mar 22 15:40:42 CET 2005 i686 Pentium III (Katmai) unknown GNU/Linux Linux bh14.physics.ubc.ca 2.6.11-6mdksmp #1 SMP Tue Mar 22 15:40:42 CET 2005 i686 Pentium III (Katmai) unknown GNU/Linux Linux bh15.physics.ubc.ca 2.6.11-6mdksmp #1 SMP Tue Mar 22 15:40:42 CET 2005 i686 Pentium III (Katmai) unknown GNU/Linux rrvi /usr/src/linux/Makefile bhCommand 'uname -a | grep Linux; grep EXTRAVERSION /usr/src/linux/Makefile; echo' | tee /tmp/bh-uname-a # ALLOK! # As root@bh10 (cd /usr/src/linux; make clean; make mrproper; make oldconfig; make) 2>&1 | tee /tmp/`hostname -s`-kernel-build # ... proceeding OK, edit bhallN and disable bh10 viw bhallN # Coded /d/bh0/home/matt/scripts/bh-kernel-build (one liner as above) bhCommand 'which bh-kernel-build' # OK bhbgCommand 'bh-kernel-build' viw bhallN # reenable bh10 bhCommand 'tail /tmp/bh*kern*' # TODO: # 1) Wait for a few hours for all of the kernels to compile # 2) Recompile/reinstall Sysconnect kernels: has to be # done from console # 3) Recompile/reinstall Intel kernels and have them used # instead of eepro # 4) This probably explains why NVidia driver wouldn't # build on one of the machines Sun Sep 18 14:22:34 PDT 2005 # Looks like we're good to go. # Start with the new machines, with bh1 in the shop (Varsity) # awaiting a mobo with the syskonnect Gig-on-board, we # have # and all are over in the other penthouse # ... also, am going to have to reboot bh0 (again) on # account of the insane httpd load. Send a msg to # Gerry-Gandalf to see whether he has any suggestions #----------------------------------------------------------- Sun Sep 18 16:08:03 PDT 2005 #----------------------------------------------------------- # bhnewp4 machines have all been rebooted, all seem fine >>> Executing as root@bh2.physics.ubc.ca 5 S ntp 6047 1 0 76 0 - 924 select 16:00 ? 00:00:00 ntpd -A -u ntp:ntp Your clock is off by -0.0147715 seconds. (142.103.237.225) [15/15] Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda6 149336320 94103548 47646884 67% / /dev/sda1 41544052 5070204 36473848 13% /mnt/windows bh0:/home 50023608 40304752 9718856 81% /d/bh0/home bh0:/home2 112380608 88122752 18549160 83% /d/bh0/home2 bh7:/home 56680064 50187152 3613664 94% /d/bh7/home bh9:/home 152230984 13660936 130837168 10% /d/bh9/home vnfe1:/home 10958176 9881856 1076320 91% /d/vnfe1/home vnfe1:/home2 17496688 15492880 2003808 89% /d/vnfe1/home2 vnfe1:/home3 17496688 9545768 7950920 55% /d/vnfe2/home vnfe3:/home 10958176 8397560 2560616 77% /d/vnfe3/home vnfe3:/home2 17066304 13822776 2354736 86% /d/vnfe3/home2 vnfe4:/home 1014438800 852640376 110267936 89% /d/vnfe4/home bh8:/home 149446720 87277320 54577888 62% /d/bh8/home bh5:/home 149406560 95925896 45891160 68% /d/bh5/home bh6:/home 150340000 95855128 46847976 68% /d/bh6/home bh3:/home 149422624 71202384 70629936 51% /d/bh3/home bh4:/home 149414592 99277680 42547008 71% /d/bh4/home >>> Executing as root@bh3.physics.ubc.ca 5 S ntp 6037 1 0 76 0 - 924 select 16:00 ? 00:00:00 ntpd -A -u ntp:ntp Your clock is off by -0.0131365 seconds. (142.103.237.225) [15/15] Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda6 149422620 71202380 70629932 51% / /dev/sda1 41455696 7308232 34147464 18% /mnt/windows bh0:/home 50023608 40304752 9718856 81% /d/bh0/home bh0:/home2 112380608 88122752 18549160 83% /d/bh0/home2 bh7:/home 56680064 50187152 3613664 94% /d/bh7/home bh9:/home 152230984 13660936 130837168 10% /d/bh9/home boson:/mandrake 115377640 101232688 8284040 93% /mandrake vnfe1:/home 10958176 9881856 1076320 91% /d/vnfe1/home vnfe1:/home2 17496688 15492880 2003808 89% /d/vnfe1/home2 vnfe1:/home3 17496688 9545768 7950920 55% /d/vnfe2/home vnfe3:/home 10958176 8397560 2560616 77% /d/vnfe3/home vnfe3:/home2 17066304 13822776 2354736 86% /d/vnfe3/home2 vnfe4:/home 1014438800 852640376 110267928 89% /d/vnfe4/home bh2:/home 149336320 94103544 47646888 67% /d/bh2/home bh5:/home 149406560 95925904 45891152 68% /d/bh5/home bh8:/home 149446720 87277320 54577888 62% /d/bh8/home bh6:/home 150340000 95855128 46847976 68% /d/bh6/home bh4:/home 149414592 99277680 42547008 71% /d/bh4/home >>> Executing as root@bh4.physics.ubc.ca 5 S ntp 6030 1 0 76 0 - 924 select 16:02 ? 00:00:00 ntpd -A -u ntp:ntp Your clock is off by -0.5194290 seconds. (142.103.237.225) [15/15] Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda6 149414588 99277680 42547004 71% / /dev/sda1 41463728 6279924 35183804 16% /mnt/windows bh0:/home 50023608 40304752 9718856 81% /d/bh0/home bh0:/home2 112380608 88122752 18549160 83% /d/bh0/home2 bh2:/home 149336320 94103544 47646888 67% /d/bh2/home bh3:/home 149422624 71202384 70629936 51% /d/bh3/home bh5:/home 149406560 95925904 45891152 68% /d/bh5/home bh6:/home 150340000 95855128 46847976 68% /d/bh6/home bh7:/home 56680064 50187160 3613656 94% /d/bh7/home bh8:/home 149446720 87277320 54577888 62% /d/bh8/home bh9:/home 152230984 13660936 130837168 10% /d/bh9/home boson:/mandrake 115377640 101232688 8284040 93% /mandrake vnfe1:/home 10958176 9881856 1076320 91% /d/vnfe1/home vnfe1:/home2 17496688 15492880 2003808 89% /d/vnfe1/home2 vnfe1:/home3 17496688 9545768 7950920 55% /d/vnfe2/home vnfe3:/home 10958176 8397560 2560616 77% /d/vnfe3/home vnfe3:/home2 17066304 13822776 2354736 86% /d/vnfe3/home2 vnfe4:/home 1014438800 852640376 110267928 89% /d/vnfe4/home >>> Executing as root@bh5.physics.ubc.ca 5 S ntp 6031 1 0 76 0 - 924 select 16:00 ? 00:00:00 ntpd -A -u ntp:ntp Your clock is off by -0.0040430 seconds. (142.103.237.225) [15/15] Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda6 149406556 95925900 45891152 68% / /dev/sda1 41471760 5191004 36280756 13% /mnt/windows bh0:/home 50023608 40304752 9718856 81% /d/bh0/home bh0:/home2 112380608 88122752 18549160 83% /d/bh0/home2 bh2:/home 149336320 94103544 47646888 67% /d/bh2/home bh7:/home 56680064 50187160 3613656 94% /d/bh7/home bh8:/home 149446720 87277320 54577888 62% /d/bh8/home bh9:/home 152230984 13660936 130837168 10% /d/bh9/home vnfe1:/home 10958176 9881856 1076320 91% /d/vnfe1/home vnfe1:/home2 17496688 15492880 2003808 89% /d/vnfe1/home2 vnfe1:/home3 17496688 9545768 7950920 55% /d/vnfe2/home vnfe3:/home 10958176 8397560 2560616 77% /d/vnfe3/home vnfe3:/home2 17066304 13822776 2354736 86% /d/vnfe3/home2 vnfe4:/home 1014438800 852640376 110267928 89% /d/vnfe4/home bh3:/home 149422624 71202384 70629936 51% /d/bh3/home bh6:/home 150340000 95855128 46847976 68% /d/bh6/home bh4:/home 149414592 99277680 42547008 71% /d/bh4/home >>> Executing as root@bh6.physics.ubc.ca 5 S ntp 6213 1 0 76 0 - 924 select 16:00 ? 00:00:00 ntpd -A -u ntp:ntp Your clock is off by -0.0013115 seconds. (142.103.237.225) [15/15] Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda6 150340000 95855132 46847972 68% / /dev/sda1 41552084 4500636 37051448 11% /mnt/windows bh0:/home 50023608 40304752 9718856 81% /d/bh0/home bh0:/home2 112380608 88122752 18549160 83% /d/bh0/home2 bh2:/home 149336320 94103544 47646888 67% /d/bh2/home bh3:/home 149422624 71202384 70629936 51% /d/bh3/home bh5:/home 149406560 95925904 45891152 68% /d/bh5/home bh7:/home 56680064 50187168 3613648 94% /d/bh7/home bh8:/home 149446720 87277320 54577888 62% /d/bh8/home bh9:/home 152230984 13660936 130837168 10% /d/bh9/home vnfe1:/home 10958176 9881856 1076320 91% /d/vnfe1/home vnfe1:/home2 17496688 15492880 2003808 89% /d/vnfe1/home2 vnfe1:/home3 17496688 9545768 7950920 55% /d/vnfe2/home vnfe3:/home 10958176 8397560 2560616 77% /d/vnfe3/home vnfe3:/home2 17066304 13822776 2354736 86% /d/vnfe3/home2 vnfe4:/home 1014438800 852640384 110267928 89% /d/vnfe4/home bh4:/home 149414592 99277680 42547008 71% /d/bh4/home >>> Executing as root@bh8.physics.ubc.ca 5 S ntp 6096 1 0 76 0 - 924 select 16:00 ? 00:00:00 ntpd -A -u ntp:ntp Your clock is off by -0.0100115 seconds. (142.103.237.1) [15/15] Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda6 149446716 87277320 54577884 62% / /dev/sda1 41431596 4345024 37086572 11% /mnt/windows bh0:/home 50023608 40304752 9718856 81% /d/bh0/home bh0:/home2 112380608 88122752 18549160 83% /d/bh0/home2 bh2:/home 149336320 94103544 47646888 67% /d/bh2/home bh7:/home 56680064 50187176 3613640 94% /d/bh7/home bh9:/home 152230984 13660936 130837168 10% /d/bh9/home vnfe1:/home 10958176 9881856 1076320 91% /d/vnfe1/home vnfe1:/home2 17496688 15492880 2003808 89% /d/vnfe1/home2 vnfe1:/home3 17496688 9545768 7950920 55% /d/vnfe2/home vnfe3:/home 10958176 8397560 2560616 77% /d/vnfe3/home vnfe3:/home2 17066304 13822776 2354736 86% /d/vnfe3/home2 vnfe4:/home 1014438800 852640384 110267928 89% /d/vnfe4/home bh5:/home 149406560 95925904 45891152 68% /d/bh5/home bh3:/home 149422624 71202384 70629928 51% /d/bh3/home bh6:/home 150340000 95855128 46847976 68% /d/bh6/home bh4:/home 149414592 99277680 42547008 71% /d/bh4/home # TODO: e100 builds on viw bhallN !!bhe100N # ... and removal of eepro100.o association with the hardware bhCommand 'lsmod | grep mii' | tee /tmp/bh-lsmod ; Rcat /tmp/bh-lsmod >>> Executing as root@bh7 mii 4448 2 e100,eepro100 >>> Executing as root@bh10 mii 4448 2 e100,eepro100 >>> Executing as root@bh11 mii 4448 1 eepro100 >>> Executing as root@bh12 mii 4448 2 e100,eepro100 >>> Executing as root@bh13 mii 4448 2 e100,eepro100 >>> Executing as root@bh14 mii 4448 2 e100,eepro100 >>> Executing as root@bh15 mii 4448 2 e100,eepro100 bhCommand 'setenv PACK e100-3.4.14; cd /root/install; /bin/rm -rf $PACK*; ls -ltd $PACK*; tar zxf /d/bh0/home/matt/system/INTEL/Drivers/e100-3.4.14.tar.gz; cd $PACK; pwd; ls' bhCommand 'setenv PACK e100-3.4.14; cd /root/install/$PACK/src; make; make install; pwd; ls -lt' bhCommand 'ps -elf | grep update | grep -v grep' | tee /tmp/bh-update bhCommand 'killall updatedb; killall updatedb' bhbgCommand 'updatedb' sleep 5 bhCommand 'ps -elf | grep update | grep -v grep' | tee /tmp/bh-update # Looks satisfying viw bhallN # ... back to the e100 set !!bhallN.e100 bh7 bh10 bh11 bh12 bh13 bh14 bh15 #bh16 # find eepro100 drivers and "disinfect" i.e. move them bhCommand 'lsmod | grep mii' bhCommand 'ps -elf | grep update | grep -v grep' | tee /tmp/bh-update bhCommand 'slocate eepro100' | tee /tmp/bh-eepro100 bhCommand 'ls -ltd /usr/src/linux-2.6.11-12mdk' rpm -qf /usr/src/linux-2.6.11-12mdk file /usr/src/linux-2.6.11-12mdk is not owned by any package rpm -qf /usr/src/linux-2.6.11-6mdk kernel-source-2.6-2.6.11-6mdk bhCommand 'test -d /usr/src/linux-2.6.11-12mdk && /bin/rm -rf /usr/src/linux-2.6.11-12mdk; cd /usr/src/linux; pwd; ls -lt' bhbgCommand 'updatedb' bhCommand 'slocate eepro100' | tee /tmp/bh-eepro100 bhCommand 'setenv PAT eepro100; cd /usr/src/linux-2.6.11-6mdk/drivers/net; Arc .${PAT}* ${PAT}*; ls -ltd .${PAT}* ${PAT}*' bhCommand 'slocate e100.o' | tee /tmp/bh-e100.o >>> Executing as root@bh7 /root/install/e100-3.4.14/src/e100.o /root/install/e100-3.4.14/src/.e100.o.cmd /usr/src/RPM/BUILD/e100-3.4.14/src/e100.o /usr/src/RPM/BUILD/e100-3.4.14/src/.e100.o.cmd /usr/src/linux-2.6.11-6mdk/drivers/net/e100.o /usr/src/linux-2.6.11-6mdk/drivers/net/.e100.o.cmd # Looking good, do as bh11, KVM:3 # TODO: Problem with bh11's keyboard port? Or KVM cable? # Do as bh15, KVM:3 # Do as bh14 KVM:3 ssh root@bh14 reboot # ... reboot approach seems to be working? #As root@bh14 setenv PAT eepro100; cd /usr/src/linux-2.6.11-6mdk/drivers/net; /bin/rm -rf .${PAT}* ${PAT}*; ls -ltd .${PAT}* ${PAT}* vi /etc/modules.conf reboot lsmod | grep e100 cat /etc/modules.conf # No e100, but OK, configuration has apparently changed, reboot again to be sure ... reboot # As root@bh13 ssh root@bh13 'modprobe -r eepro100; modprobe e100; reboot' # Try remote approach ssh root@bh12 'modprobe -r eepro100; modprobe e100; reboot' # TODO: OK?? ssh root@bh11 '(modprobe -r eepro100; modprobe e100; reboot) &' # WRONG configuration file!! # Use /etc/modprobe.conf # This file is autogenerated from /etc/modules.conf using generate-modprobe.conf command alias eth0 e100 install scsi_hostadapter /sbin/modprobe ata_piix; /bin/true install usb-interface /sbin/modprobe uhci-hcd; /bin/true # Doesn't seem overly promising ... better to do via console # TODO # # bh7 --- TODO: OK? May have bunged up X, still can't build NVidia driver (could try older version) # bh12 --- OK # bh11 --- OK # bh15 --- OK # bh10 --- OK #----------------------------------------------------------- Mon Sep 19 08:23:12 PDT 2005 #----------------------------------------------------------- # bh0's NFS needed restarting, and a consequence, root # logins to the new P4 machines were hanging (/d/bh0/home # dependence). Futzed about with bringing some of the # new machines up in single user mode before I figured that # out, but all seems back to "normal" now? # TODO: Verify that all machines but bh0 have updated NIC # drivers, and if not, which, if any, require updating # Get rid of the 2.6.11-12 stuff in /lib/modules bhCommand 'setenv D 2.6.11-12mdksmp; cd /lib/modules; test -d $D && /bin/rm -rd $D; ls' bhCommand 'lsmod' | tee /tmp/bh-lsmod; Rcat /tmp/bh-lsmod >>> Executing as root@bh0 Module Size Used by Tainted: P 3c59x 31536 1 (autoclean) >>> Executing as root@bh2 Module Size Used by sk98lin 201624 1 >>> Executing as root@bh3 sk98lin 201624 1 >>> Executing as root@bh4 sk98lin 201624 1 >>> Executing as root@bh5 sk98lin 201624 1 >>> Executing as root@bh6 sk98lin 201624 1 >>> Executing as root@bh7 e100 44936 0 >>> Executing as root@bh8 sk98lin 201624 1 >>> Executing as root@bh9 e100 30624 0 >>> Executing as root@bh10 e100 44936 0 >>> Executing as root@bh11 e100 44936 0 >>> Executing as root@bh12 e100 44936 0 >>> Executing as root@bh13 e100 44936 0 >>> Executing as root@bh14 e100 44936 0 >>> Executing as root@bh15 e100 44936 0 # So should be just about as up to date as we can be. #----------------------------------------------------------- Mon Sep 19 08:35:19 PDT 2005 #----------------------------------------------------------- # TODO: PRAY *HARD* FOR AN END TO GLITCHING, UNEXPECTED # NFS HANGS etc. #----------------------------------------------------------- # Unfortunately, this has apparently solved nothing. # Everything apparently hanging on bh0 # Put a 5 minute # # service nfs restart # # in Bh0's cron #Coded /d/bh0/home/matt/scripts/bhRestartNFS 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /d/bh0/home/matt/scripts/bhRestartNFS # bh9 (actually all ssh's are /usr/local except for bh9) # Problem with bh2 now? # For some reason had stopped recognizing gigabit interface # but saw it in Windows, and then recompiling and installing # Marvel driver seemed to restore state #----------------------------------------------------------- Mon Sep 19 12:35:45 PDT 2005 #----------------------------------------------------------- # JUST TO BE SAFE, kicked everyone off the new machines, # then at console /root/install/DriverInstall/install.sh reboot # TODO: NOTE THAT IT SEEMS CLEAR THAT ONE CAN GET # TODO: DEADLOCK / RACE CONDITION WHEN HAVING MACHINES # TODO: WITH X-MOUNTS BOOT UP SIMULTANEOUSLY. SHOULD MAKE # TODO: NFS MOUNTS *LAST* THING IN # TODO: BOOT SEQUENCE bhallN | wc 15 15 66 # OK, since bh1 and bh16 are off-line (TODO: Status of # 2 new MOBO [Bill was confused, didn't realize that # the WORKING P4's were Marvel and NOT INTEL] bhCommand crontab -l | tee /tmp/bh-crontab # NFS *not* stable, even with periodic restart on bh0. # Start with "minimal" configuration # # bh0 mounts everything # bhn mounts bh0:{/home,/home2} # # See whether we get hangs # bhCommand "grep -v '^#' /etc/fstab" | tee /tmp/bh-fstab # Had to fix bh11:/etc/fstab bhbgCommand 'umount -a -t nfs -l; mount -a' bhCommand 'umount -a -t nfs -l; mount -a' # reboot the following machines bh10 bh11 bh12 bh13 bh14 bh15 # So executed, manually # ssh bh16 ... bh0 # cd /Public # df # and all was well until bh0, wherein df Filesystem 1K-blocks Used Available Use% Mounted on /dev/ide/host0/bus0/target0/lun0/part2 8056524 4637188 3010084 61% / none 515932 0 515932 0% /dev/shm /dev/ide/host0/bus0/target0/lun0/part6 50023608 39636120 10387488 80% /home /dev/ide/host0/bus0/target1/lun0/part1 112380608 88123808 18548104 83% /home2 //wh0/C$ 60042240 40520704 19521536 68% /d/wh0/c bh2:/home 149336320 94105328 47645104 67% /d/bh2/home bh4:/home 149414592 99269760 42554928 70% /d/bh4/home bh5:/home 149406560 95911032 45906024 68% /d/bh5/home bh6:/home 150340000 95862280 46840824 68% /d/bh6/home bh7:/home 56680064 51712944 2087872 97% /d/bh7/home bh8:/home 149446720 87275664 54579544 62% /d/bh8/home # ... i.e. df hangs ... presumably the cron job will reset that, # but also will try reboot into new master-slave configuration ############################################################ Sun Sep 18 10:40:29 PDT 2005 ############################################################ # Monitoring for bh machines # Coded 'bhStatus' from 'vnStatus', exports to # http://laplace.physics.ubc.ca/BH/STATUS # Link in to group web page, and add to root@bh0's cron # jobs # As root@bh0 crontab -e 0,10,20,30,40,50 * * * * /d/bh0/home/matt/scripts/bhStatus ############################################################ Tue Sep 20 09:37:42 PDT 2005 ############################################################ # Master/slave NFS setup appears fairly stable, disable # restart in bh0's crontab #0,5,10,15,20,25,30,35,40,45,50,55 * * * * /d/bh0/home/matt/scripts/bhRestartNFS Tue Sep 20 11:48:02 PDT 2005 # ... and the hangs are back, so will reenable NFS restart # As root@bh0 crontab -e ############################################################ Tue Sep 20 13:16:36 PDT 2005 ############################################################ # Ben phones to report that Jesko's home is not mounted on # bh7. His home (~sirker) is on bh9, so have reenabled # mount of bh9:/home on bh7 # As root@bh7 vi /etc/fstab bh9:/home /d/bh9/home nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 mount -a df /dev/hda5 56680060 51713608 2087204 97% / bh0:/home 50023608 39639048 10384560 80% /d/bh0/home bh0:/home2 112380608 88123624 18548288 83% /d/bh0/home2 bh9:/home 152230984 13667096 130831000 10% /d/bh9/home cd ~sirker ls Desktop/ Fisher_surface_suci.pdf position_oxford.ps position_yale.ps Documents/ ferro.t # End of incident. Noted to Ben (and to you Jason) that I don't # mind hacking of /etc/fstab files at this level, so long as # you log them! Tue Sep 20 13:32:37 PDT 2005 # bh3 was hung up on /d/bh0/home2, and verified that mounting that # specific partition resulted in the hang, so now will run without # /d/bh0/home2 being mounted, and will relocate /Public ############################################################ Thu Sep 22 09:45:50 PDT 2005 ############################################################ # When working on bh0, can tell when NFS is being restarted, # typing latencies etc., so am reducing restart freq j # # root@bh0' crontab # # to every 10 minutes rather than every 5 # As root@Bh0 crontab -e #0,5,10,15,20,25,30,35,40,45,50,55 * * * * /d/bh0/home/matt/scripts/bhRestartNFS 0,10,20,30,40,50 * * * * /d/bh0/home/matt/scripts/bhRestartNFS #Thu Sep 22 18:36:59 PDT 2005 #Ben #Reboot of bh4 because root consoles were hanging either su'ing or ssh'ing. ############################################################ Mon Sep 26 10:30:59 PDT 2005 ############################################################ # Problems with bh2's NFS, BUT, won't worry about that since # want to get old bh6 (new bh1) up, stable then change its # identity to bh2, so that the current bh2 can go into the # shop (supsected bad NIC) ############################################################ # As [console}@bh1.physics.ubc.ca # # IP: bh1.physics.ubc.ca 142.103.234.154 # Boot up in windows, had some problems with KVM switch, so # couldn't get into BIOS to change boot order # Re boot into windows, CD that came is apparently only # for the mother board, use hardware browser to get # NIC details, and it is ... # # Marvell Yukon 88E8050 PCI-E ASF Gigabit Ethernet Adapter # # manually configured IP and we're up and running. # # Now reinstall 10.2 # So far, so good, hardware recognized and marvell driver # apparently installed. Will need to update driver # # As root@bh1 # # cd /root/install/DriverInstall # ./install.sh # What's the state on bh2? # As root@bh2 # 90 GB used!! 19G bh6-2005 16G scn 14G inaki 7.2G petryk 6.8G grade 6.6G scn2 4.6G inaki2 3.0G bruno 2.4G luisl 2.2G villegas 1.2G usr 1.1G cwlai 492M brianmar 253M fransp 206M explorer 97M opt 5.0M jason 2.6M guest 296K shawley 24K juser 4.0K Usage # Trash the bh6-2005 and take it from there ... # As root@bh2 cd /home RM -rf bh6-2005 # Copy complete 16592112 scn 13763884 inaki 7520412 petryk 7072560 grade 6913004 scn2 4772880 inaki2 3146244 bruno 2466668 luisl 2306448 villegas 1247384 usr 1055876 cwlai 503028 brianmar 258756 fransp 210732 explorer 99248 opt 5240 guest 5064 jason 296 shawley 24 juser 4 Usage 16592112 scn 13763752 inaki 7520412 petryk 7067028 grade 6913004 scn2 4772884 inaki2 3145592 bruno 2466668 luisl 2306448 villegas 1247352 usr 1055876 cwlai 503028 brianmar 258756 fransp 210732 explorer 99248 opt 5064 jason 2644 guest 296 shawley 24 juser 4 Usage # Looks good to go. Shut down bh2, bring up bh1 as bh2 # # bh2.physics.ubc.ca 142.103.234.155 # As root@bh2 shutdown -h now # Have swapped identities, need to ensure that host keys mounts etc. cleaned up bhbgCommand 'umount -l /d/bh2/home' bhCommand 'mount /d/bh2/home' # Only mounts on bh0 at the current time ... # Phoned Varsity to come pick up bh1 ... # Bring Pal's machine (bh8) into 403 # ... and unfortunately, sent wrong machine (i.e. bh8) to the shop. ############################################################ Mon Sep 26 17:25:58 PDT 2005 ############################################################ # Get urpmi configured on all machines. # # Instructions from Bill urpmi is really the way to go to keep machines up to date. The file which I have on all the theory machines is 10.1 /mandrake/Mandrake101/i586/media/main { hdlist: hdlist.10.1.cz key-ids: 70771ff3 with_hdlist: media_info/hdlist.cz } 10.1-updates /mandrake/Mandrake101/updates/main_updates { hdlist: hdlist.10.1-updates.cz key-ids: 22458a98 list: list.10.1-updates update with_hdlist: media_info/hdlist.cz } 10.1-contrib /mandrake/Mandrake101/i586/media/contrib { hdlist: hdlist.10.1-contrib.cz key-ids: 78d019f5 with_hdlist: media_info/hdlist.cz } The best idea would be to remove (urpmi.removemedia ) on each of the current entries in /etc/urpmi/urpmi.cfg and then put in the above (or whereever you have the files ) (or better use teh MandrakeControlCenter to put remove and put in the location of the various package repositories) [ Actually I just remembered you are using 2005, so you would have to set it up to use the 2005 files, not the 10.1 files] Then whenever you want you can run urpmi.update 10.1-update urpmi --auto-select --auto --update which will update all of the files on your system which need updating and update them. (note that if you want to be able to say yes or no, remove the --auto from the above line.) It really does make updating painless and fast, since it is from a local source. (My system dowloads the latest updates every night). # ... and, yes, check for that blue moon, but WGU *IS* recommending # use of the GUI, and who are we to buck convention :-) # Use bh1 as the guinea pig # As root@bh1 (but remotely) drakconf # Fetched WGU Media Manager x Main (nfs1) x Contrib (nfs2) x Java Contrib (nfs3) x update_source Then add manually Path ... /mandrake/2005/i586/media/main/media Path ... media_info/hdlist.cz ############################################################ Mon Sep 26 17:25:58 PDT 2005 ############################################################ # Strategy: Configure all using media manager. # Need to ensure that all bh machines can mount /mandrake # TODO: Get sshd running again on bh9 (and thus, presumably, on # the rest of the machines. once the /usr/local/... copy # is purged, or, perhaps better yet, uninstall the mandrake # version and reinsert /usr/local version ?? # As root@boson cd /etc cp hosts.allow hosts.allow-2005-09-27 view hosts.allow portmap: 142.103.234.61 142.103.234.62 142.103.234.63 142.103.234.69 142.103.234.70 142.103.234.71 142.103.234.72 # As matt@bh0 bhbgCommand 'umount -l /mandrake; mkdir -p /mandrake; mount boson:/mandrake /mandrake' # Things look buggered up on bh0, reboot and leave the rest for work. # drakconf # Media Manager # Remove # Add custom # Remove 2005-mandrake /mandrake/2005/i586/media/main media_info/hdlist.cz 2005-update /mandrake/2005/updates/main_updates media_info/hdlist.cz 2005-contrib /mandrake/2005/i586/media/contrib media_info/hdlist.cz # As matt@bh0 vbh # disable bh0, bh1, bh8, bh16 bhCommand drakconf # /etc/urpmi/urpmi.cfg bhCommand 'cat /etc/urpmi/urpmi.cfg' | tee /tmp/bh-urpmi.cfg # OK, looks good, so in principle, can now, e.g. install cups on # everything via # As root@bh15 urpmi --auto --auto-select cups # Looks good urpmi --auto --auto-select cups-common urpmi --auto --auto-select kile bhbgCommand hostname | sort # OK bhbgCommand 'urpmi --auto --auto-select cups cups-common kile' # TODO: NOTE!! THIS IS GOING TO INSTALL the UPDATED kernel-source, # so will need to delete then reinstall old version then # rebuild kernels # Opera isn't open souce, but have easy to use web site that lets one # download tar ball # As root@bh2 cd /root/install tar zxf /d/bh0/home/matt/RPMS/opera-8.50-20050916.5-shared-qt.i386-en.tar.gz cd /root/install/opera-8.50-20050916.5-shared-qt.i386-en ./install.sh bhCommand 'bhOperaInstall' bhCommand 'which opera; which kile; which cupsd' | tee /tmp/bh-which-things # Printing # As root@{bh2,...bh16} service cups start mozilla http://localhost:631/admin Name: lp Location; Hennings 408 Description: Generic Lexmark Printer Device -> LPD/LPR Host or Printer Device URI -> socket://lexprint.physics.ubc.ca:9100 Chose generic lexmark driver # Made default # Probably need additional drivers Tue Sep 27 15:51:10 PDT 2005 ############################################################ # bh8 back from shop, transer /d/bh8/home/atonita to # bh9 ############################################################ # As root@bh9 mount bh8:/home /d/bh8/home cd /d/bh8/home cp -a atonita /home # ... which hangs, so try from other way # As root@bh8 mount bh9:/home /d/bh9/home cd /d/bh9/home RM -rf /d/bh9/home/atonita cp -a /home/atonita . # ... hangs up as well ... create tar and 'scp' # As root@bh8 cd /home tar cf atonita.tar atonita scp atonita.tar root@bh9:/home # As root@bh9 cd /home; RM -rf atonita; tar xf atonita.tar # As matt@bh0 etcbh sola get passwd vi passwd atonita:x:846:600:Aaryn Tonita:/d/bh9/home/atonita:/bin/tcsh bhDistEtc passwd # As root@Bh8 cd /home/atonita usage - | tee /tmp/bh8-tonita 12132 code 3852 docs 712 Desktop 20 Mail 12 tmp 4 mail # As root@Bh9 cd /home/atonita usage - | tee /tmp/bh9-tonita 12132 code 3852 docs 712 Desktop 20 Mail 12 tmp 4 mail # Looks good ############################################################ Tue Sep 27 16:22:43 PDT 2005 ############################################################ # Opera bhCommand 'slocate libstdc++.so.5' >>> Executing as root@bh0 /usr/lib/libstdc++.so.5.0.5 /usr/lib/libstdc++.so.5 /home2/home/matlab-14/sys/os/glnx86/libstdc++.so.5 /home2/home/matlab-14/sys/os/glnx86/libstdc++.so.5.0.3 /home2/usr/lib/libstdc++.so.5 /home2/usr/lib/libstdc++.so.5.0.3 >>> Executing as root@bh2 /usr/lib/libstdc++.so.5.0.6 /usr/lib/libstdc++.so.5 >>> Executing as root@bh3 >>> Executing as root@bh4 >>> Executing as root@bh5 >>> Executing as root@bh6 /usr/lib/libstdc++.so.5.0.6 /usr/lib/libstdc++.so.5 >>> Executing as root@bh7 >>> Executing as root@bh9 >>> Executing as root@bh10 >>> Executing as root@bh11 >>> Executing as root@bh12 >>> Executing as root@bh13 >>> Executing as root@bh14 >>> Executing as root@bh15 # As root@Bh2 ssh root@bh2 rpm -qf /usr/lib/libstdc++.so.5.0.6 bhbgCommand 'urpmi --auto --auto-select libstdc++5' bhbgCommand 'urpmi --auto --auto-select cups-drivers' # Got a couple of 'database locked error messages' bhCommand 'rpm -qa | grep cups-drivers' | tee /tmp/bh-cups-drivers # "Had to"/"chose to" reboot bh9, bh2 bhCommand service cups start bhbgCommand service cups restart foreach h (`bhallN`) ssh root@${h} 'mozilla http://localhost:631/admin' end service cups start mozilla http://localhost:631/admin Name: lex408 Location; Hennings 408 Description: Generic Lexmark Printer Device -> LPD/LPR Host or Printer Device URI -> socket://lexprint.physics.ubc.ca:9100 Chose generic lexmark driver Optra Rn+ # Tag as default # Still doesn't seem to get anything than the single lexmark driver # which DOES NOT seem to work, bh0 has MANY more drivers bhbgCommand 'umount -l /d/bh0/home; mount bh0:/home /d/bh0/home' bhbgCommand 'urpmi --auto --auto-select `cat /d/bh0/home/matt/system/bh/README.URPMI.CUPS`' apcupsd bluez-utils-cups cups cups-common cups-drivers cups-serial cupsddk gimpprint-common gimpprint-cups gimpprint-escputil gimpprint-foomatic gimpprint-ijs gnome-cups-manager libcups2 libgimpprint1 libgimpprint1-devel libgnomecups libgnomecupsui-1.0_1 libgnomecupsui-1.0_1-devel php-cups # On [console]root@bh3.physics.ubc.ca # more drivers, use "foo-matic" need to check whether that's # the right one up in west penthouse # Got in touch with WGU who diagnosed the problem, namely that # should be using 'lp' rather than '9100' in the URL service cups start mozilla http://localhost:631/admin Name: lex408 Location; Hennings 408 Description: Lexmark Optra Rn+ Device -> LPD/LPR Host or Printer Device URI -> lpd://lexprint.physics.ubc.ca/lp Driver -> Lexmark Z11 Foomatic/lz11-V2 # ... but lex408@bh2 *isn't* working! # Driver should be Generic Postscript, which is what Bill had used, so # there was some confusion with the cups config, possible caused by # multiple browser sessions? # Will follow Bill's advice and spool everything to lex408@bh2 # As matt@bh0 foreach h (`bhallN`) ssh $h mozilla localhost:631/admin ... set lex408 as default # bh8, permission denied! (check bh2 logs) # Try removing, reinstalling cups using urpme cups urpmi --auto --auto-select cups warning: /etc/cups/printers.conf saved as /etc/cups/printers.conf.rpmsave warning: /etc/cups/cupsd.conf saved as /etc/cups/cupsd.conf.rpmsave warning: /etc/cups/classes.conf saved as /etc/cups/classes.conf.rpmsave # As matt@bh0 etcbh mkdir urpmi cd !$ scp root@bh8.physics.ubc.ca:/etc/urpmi/urpmi.cfg . .IGNORE: URPMI_CFG = urpmi.cfg default: echo "Nothing to be done by default" echo "Type 'make export' to push '$(URPMI_CFG)'" export: for h in `bhallN`; do\ (scp ${URPMI_CFG} root@$$h:/etc/urpmi); \ done make export bhCommand 'cat /etc/urpmi/urpmi.cfg' | tee /tmp/bh-urpmi # Now, can either use #------------------------------------------------------ # Action #------------------------------------------------------ # Installs available updates from update source urpmi --update --auto-select # Update all packages, but don't remove anything, print diagnosthcs urpmi --keep --auto --auto-select #------------------------------------------------------ # Info #------------------------------------------------------ # Lists available updates from update source (well, not exactly? # also updates local database ??) urpmi.update updates # As matt@bh0 # coded 'tbh' alias to execute an argumentless command on all of the bh # machines and capture the output in /tmp/bh-, needs to be # a script to deal with arguments bhCommand urpmi.update 2005-update | tee /tmp/bh-2005-update # Using drakconf on bh8 manually identifies the problem immediately, # i.e. that /mandrake wasn't mounted # As root@bh8 urpme `cat /d/bh0/home/matt/system/bh/README.URPMI.CUPS` urpmi `cat /d/bh0/home/matt/system/bh/README.URPMI.CUPS` unknown packages: bluez-utils-cups, cups-drivers, cups-serial, cupsddk, gimpprint-cups cp /d/bh0/home/matt/system/bh/README.URPMI.CUPS /tmp/c vi /tmp/c urpme `cat /tmp/c` rpm -qa | grep cups libgnomecups-0.2.0-1mdk urpmi `cat /d/bh0/home/matt/system/bh/README.URPMI.CUPS` http://bh2.physics.ubc.ca:631/admin/?op=set-as-default&printer_name=lex408 # So must be on bh2 side? Nothing apparent in logs? ############################################################ Thu Sep 29 14:40:41 PDT 2005 ############################################################ # Report of DOS being instigated from one of the machines # connected to 408 switch # Looks like someone is getting DOS'ed with lnx2 / bh? addresses # spoofed, mentions the FBI, and Dennis O-Reilly pulls the plug # Ben downloads and installs rkhunter on all machines bhbgCommand 'rkhunter -c --createlogfile --allow-ssh-root-user --skip-keypress' # logs in /var/log/rkhunter.log Fri Sep 30 00:25:50 PDT 2005 #Ben #rkhunter installed in bh0-bh15 #as root in bh4 scp rkhunter-1.2.7-2bgn.noarch.rpm bh0: ssh bh0 \ rpm -ivh rkhunter-1.2.7-2bgn.noarch.rpm #The same for each bh Fri Sep 30 10:02:02 PDT 2005 #Ben #Begining installation of sniffit-0.3.7.beta-6mdk.i586.rpm in bh0-bh15 #Thsi rpm requires a dependence [root@bh4]# scp libpcap0-0.8.3-3mdk.i586.rpm bh0: [root@bh4]# scp sniffit-0.3.7.beta-6mdk.i586.rpm bh0: [root@bh4]# ssh bh0 \ rpm -ivh libpcap0-0.8.3-3mdk.i586.rpm Preparing... ################################################## libpcap0 ################################################## [root@bh4]# ssh bh0 \ rpm -ivh sniffit-0.3.7.beta-6mdk.i586.rpm Preparing... ################################################## sniffit ################################################## #The same for all bh0-bh15, so i wrote a script: [root@bh4]# ./install_sniffit_bh.sh bh3 Warning: Permanently added 'bh3,142.103.234.156' (RSA) to the list of known hosts. libpcap0-0.8.3-3mdk.i586.rpm 100% 86KB 0.0KB/s 00:00 sniffit-0.3.7.beta-6mdk.i586.rpm 100% 48KB 0.0KB/s 00:00 Preparing... ################################################## libpcap0 ################################################## Preparing... ################################################## sniffit ################################################## Fri Sep 30 10:19:53 PDT 2005 #Skipping bh2 for now, its too busy with Matts proftp (lnx upgrade) #and it hangs while installing the rpms #Cleaning up rpm mess [root@bh4]# ssh bh0 \ mkdir rpms [root@bh4]# ssh bh0 \ mv *.rpm rpms #for all bh0-bh15. I am leaving the rkhunter rpm in /root since I dont know if #Matt needs it for his script. Sep 30 10:20:56 PDT 2005 #Tested sniffit -i in bh0-bh15 #End installation of sniffit ############################################################ Fri Sep 30 10:45:19 PDT 2005 ############################################################ # TODO This needs to be a cron job on all bh and lnx machines bhCommand urpmi.update 2005-update # As root@bh1 ssh root@bh1 'urpmi --auto --auto-select `cat /d/bh0/home/matt/system/bh/README.URPMI`' bhOperaInstall # Fix up postfix confguration a la ../lnx/README # As matt@bh0 etcbh grep postfix passwd # OK vbh # Enable ONLY bh1 bhCommand 'cd /etc/postfix; Arc main.cf; scp matt@bh0.physics.ubc.ca:/d/bh0/home/matt/system/lnx/image/master/etc/postfix/main.cf .; chown -R postfix.postdrop /var/spool/postfix; service postfix start' # OK vbh # Enable all but bh0, bh1, bh16 bhCommand 'cd /etc/postfix; Arc main.cf; scp matt@bh0.physics.ubc.ca:/d/bh0/home/matt/system/lnx/image/master/etc/postfix/main.cf .; chown -R postfix.postdrop /var/spool/postfix; service postfix start' vbh # Enable all but bh16 bhCommand 'date | mail -s "test" choptuik@physics.ubc.ca' # OK ... all but bh15, but may be spooling issue ############################################################ Fri Sep 30 12:03:45 PDT 2005 ############################################################ # 1) New account for Toantiuh Matos (UBC PHAS Vstng Fac Choptuik) #------------------------------------------------- # tmatos #------------------------------------------------- # As choptuik@physics finger tmatos sudo pwentry tmatos:x:829:307:Tonatiuh Matos:/home/tmatos:/bin/tcsh tmatos:ZUnTRjFig068U:13024:::::: #------------------------------------------------- # BH #------------------------------------------------- # New account for Tonatiuh Matos (UBC PHAS Vstng Fac Choptuik) tmatos:x:829:307:Tonatiuh Matos:/home/tmatos:/bin/tcsh tmatos:ZUnTRjFig068U:13024:::::: # As matt@bh0 etcbh sola get passwd get shadow # As root@bh0 /usr/sbin/drakconf # Added account # As matt@bh0 etcbh sola get passwd get shadow etc-update # Test ... ssh tmatos@bh9 # OK # As root@bh0 setenv U tmatos chmod a+rx ~${U} cd /Public/People mkdir -p $U chmod a+rx $U chown $U.choptuik $U ls -ltd /Public/People/$U # As matt@bh0 etcbh make import sola vs # ZUnTRjFig068U bhDistEtc passwd shadow bhCommand finger $U # Edit /Public/index.html with composer, verify index.html link ############################################################ Fri Sep 30 12:24:54 PDT 2005 ############################################################ # 1) New account for Jaskeerat Makkar (UBC PHAS UG Choptuik) #------------------------------------------------- # jmakkar #------------------------------------------------- # As choptuik@physics sudo pwentry jmakkar:x:12610:400:Jaskeerat Makkar:/home2/jmakkar:/bin/tcsh jmakkar:w2LTo6AzQDVkg:11572::::::-1 #------------------------------------------------- # BH #------------------------------------------------- # New account for Jaskeerat Makkar (UBC PHAS UG Choptuik) jmakkar:x:12610:400:Jaskeerat Makkar:/home2/jmakkar:/bin/tcsh jmakkar:w2LTo6AzQDVkg:11572::::::-1 # As matt@bh0 etcbh sola get passwd get shadow get group # Add to choptuik # As root@bh0 ssh root@bh0 /usr/sbin/drakconf # Added account # As matt@bh0 etcbh sola get passwd get shadow etc-update # Test ... # As root@bh9 ssh root@bh9 'chown -R jmakkar.choptuik /home/jmakkar' ssh jmakkar@bh9 # OK # As root@bh0 setenv U jmakkar chmod a+rx ~${U} cd /Public/People mkdir -p $U chmod a+rx $U chown $U.choptuik $U ls -ltd /Public/People/$U # As matt@bh0 etcbh sola get passwd get shadow vs # w2LTo6AzQDVkg bhDistEtc passwd shadow bhCommand finger $U # Edit /Public/index.html with composer, verify index.html link ############################################################ Fri Sep 30 17:01:40 PDT 2005 ############################################################ # Cobpying /Public to bh1:/Public # As root@bh0 cd /Public cd .. du -hs Public 15G Public # As root@bh1 cd /Public cd .. RM /Public cp -a Public / foreach i (`iota 100`) date du -hs /Public echo sleep 30 end cd /etc Arc exports vi exports # As root@bh2 mkdir /tmp/Public mount bh1:/Public !$ # OK ... Fri Sep 30 17:45:01 PDT 2005 # At home ... Fri Sep 30 17:45:13 PDT 2005 15G /Public cd /Public (usage - ) | tee /tmp/Public-Usage cd /Public/Members (usage - ) | tee /tmp/Public-Members-Usage # As root@bh0 cd /Public (usage - ) | tee /tmp/Public-Usage-bh0 Rcp /tmp/Public-Usage-bh0 cd /Public/Members (usage - ) | tee /tmp/Public-Members-Usage-bh0 Rcp /tmp/Public-Members-Usage-bh0 # As matt@bh0 cd system vi machines rrvi /etc/fstab bh1:/Public /Public nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 bhCommand 'RM /Public' vbh bhCommand 'mkdir -p /Public' bhCommand 'mount -a; df' # OK ############################################################ Sat Oct 1 08:13:16 PDT 2005 ############################################################ # bh3 seems 'hung' on /Public mount # Perhaps it's time to take warning about NFS version being # older than kernel seriously # Ben reports same problem # Coded /d/bh0/home/matt/scripts/bhRemountNFS viw bhnewp4 # Disable bh1 bhnewp4Command 'cd /usr/local/bin; scp matt@bh0:/d/bh0/home/matt/scripts/bhRemountNFS .' bhnewp4Command 'bhRemountNFS' bhnewp4Command 'cd /Public; ls' # Hangs on bh3, bh4 # Take out mounts on bh3 bh4 ############################################ Sun Oct 2 ############################################ # Backups of BH machines Created script /usr/local/bin/find_all # finds all text files that need to be recorded, dumps the file list to a file in home $mach.physics.ubc.ca-find-files Created script /usr/local/bin/find_inc # finds all text files that have been modified in the last 24 hours that need to be recorded, dumps the file list to a file in home $mach.physics.ubc.ca-find-files-incremental ############################################################ Sun Oct 2 09:39:52 PDT 2005 ############################################################ # df still hanging on bh3 ... but was because still had # bh1:/Public mounted on /tmp/Public bhCommand 'rpm -qa | grep "^nfs"' | tee /tmp/bh-nfs # Versions in # 2005 /mandrake/2005/i586/media/main/nfs-utils-1.0.7-4mdk.i586.rpm /mandrake/2005/i586/media/main/clusternfs-3.0.rc2-10mdk.i586.rpm /mandrake/2005/i586/media/main/nfs-utils-clients-1.0.7-4mdk.i586.rpm /mandrake/2005/i586/media/contrib/libnfsidmap0-0.10-1mdk.i586.rpm /mandrake/2005/i586/media/contrib/libnfsidmap0-devel-0.10-1mdk.i586.rpm # 2005/update # 2006 /mandrake/2006/i586/media/main/nfs-utils-1.0.7-6mdk.i586.rpm /mandrake/2006/i586/media/main/nfs-utils-clients-1.0.7-6mdk.i586.rpm /mandrake/2006/i586/media/main/clusternfs-3.0.rc2-13mdk.i586.rpm # clusternfs? ClusterNFS is a set of patches for the "Universal NFS Daemon" (UNFSD) server to allow multiple diskless clients to NFS mount the same root filesystem by providing "interpreted" file names. # Probably not ... but can try installing 2006 version # As root@bh15 ssh root@bh15 rpm -Uvh /mandrake/2006/i586/media/main/nfs-utils-1.0.7-6mdk.i586.rpm ssh root@bh15 rpm -Uvh /mandrake/2006/i586/media/main/nfs-utils-clients-1.0.7-6mdk.i586.rpm ssh root@bh15 'rpm -qa | grep nfs' nfs-utils-clients-1.0.7-6mdk nfs-utils-1.0.7-6mdk # OK service nfs restart # OK vbh # Disable bh0, bh15 bhbgCommand 'rpm -Uvh /mandrake/2006/i586/media/main/nfs-utils-1.0.7-6mdk.i586.rpm' bhbgCommand 'rpm -Uvh /mandrake/2006/i586/media/main/nfs-utils-clients-1.0.7-6mdk.i586.rpm' bhCommand 'rpm -qa | grep nfs' bh0: nfs-utils-1.0.6-1mdk bhN: nfs-utils-1.0.7-6mdk vbh # Enable bh0, bh15 bhbgCommand 'service nfs restart' # Nope ... still looks like bh3 is hanging up on /Publicc # Possibly old version of sk98lin ? bhnewp4bgCommand 'updatedb' bhnewp4Command 'slocate sk98lin' | tee /tmp/sk98lin /usr/src/linux-2.6.11-12mdk/drivers/net/sk98lin/sk98lin.ko bhnewp4Command '/bin/rm -rf /usr/src/linux-2.6.11-12mdk' bhnewp4Command "ls -lt `slocate sk98lin.ko`" # All of modules look identical on all machines # Rebooted bh3, now mounts bh1:/Public OK, bh4 may not be coming back, send # out a message for it to be hard rebooted ############################################################ Mon Oct 3 06:01:59 PDT 2005 ############################################################ # All looks OK, even on bh3, which is currently mounting # everything # Taking bhRestartNFS out on root@bh0's crontab # As root@Bh0 crontab -e #0,10,20,30,40,50 * * * * /d/bh0/home/matt/scripts/bhRestartNFS ############################################################ Mon Oct 3 06:01:59 PDT 2005 ############################################################ # Expect 'df' to take a long time? # bh0 # df hangs, reinsert restart # ssh bh3 is hanging # But, on /d/bh0/home ssh root@bh0 "rpm -qa | grep '^nfs'" ssh root@bh0 'rpm -Uvh /mandrake/2006/i586/media/main/nfs-utils-1.0.7-6mdk.i586.rpm' ssh root@bh0 'rpm -Uvh /mandrake/2006/i586/media/main/nfs-utils-clients-1.0.7-6mdk.i586.rpm' # Looks OK! ssh root@bh0 "wall 'Systm going down in 15 seconds. Please log off'; sleep 15; reboot" ############################################################ Mon Oct 3 09:24:48 PDT 2005 ############################################################ # Reenabling something close to previous set of mounts # # bh0 # bh[1-9]:/home* + vnfe*:/home* + bh1:/Public + lnx[123]:/home + boson:/mandrake + //wh0/C$ # bh[1-9] # bh0:/home* + bh[1-9]:/home* + vnfe*:/home* + bh1:/Public + boson:/mandrake + //wh0/C$ # bh{10,11,12,13,14,15} # bh0:/home* + bh{10,11,12,13,14,15}:/home + vnfe*:/home* + bh1:/Public + boson:/mandrake + lnx*:/home # lnx[123] # bh0:/home* + bh1:/Public + boson:/mandrake # vnfe[13] # bh0:/home* + bh1:/Public + TODO :boson:/mandrake + ?? # vnfe4 # bh0:/home* + bh1:/Public + ?? # As matt@bh0 cd system CP machines.all machines vi machines # Hacked machines for all as above rrvi /etc/fstab # Suspect that with some machines, may still have "unacceptable" latencies: # bh3, bh0 ?? ############################################################ Mon Oct 3 12:04:31 PDT 2005 ############################################################ # Large parts of Bruno's home directory apparently missing, # with indications of faulty backup procedures # Riot act read, TODO: report from AJP forthcoming # Paranoia setting in, changing root on all machines # As root@Bh0 passwd grep '^root' /etc/shadow root:$1$PU2nKpKC$Qlpym1FOVC//zCZLJP9eC.:13059:0:99999:7:::1075513052 # TODO: On all machines: # vi /etc/shadow # $1$PU2nKpKC$Qlpym1FOVC//zCZLJP9eC. # As matt@bh0 #----------------------------------------------------------------------- # bh machines # TODO: bh16 #----------------------------------------------------------------------- etcbh sola get shadow grep '^root' shadow # OK bhDistEtc shadow etclnx sola get shadow vs # $1$PU2nKpKC$Qlpym1FOVC//zCZLJP9eC. lnxDistEtc shadow etcc2 sola get shadow vs # $1$PU2nKpKC$Qlpym1FOVC//zCZLJP9eC. bhDistEtc shadow # As matt@vnfe1 etc sola get shadow vs # $1$PU2nKpKC$Qlpym1FOVC//zCZLJP9eC. # As matt@bh0 viw allN # Enable all machines # As grade@bh2 ############################################################ Mon Oct 3 12:18:06 PDT 2005 ############################################################ # Apparently, it's a big piece of # bh2:/home, since grade also looks wiped out # As grade@bh2 foreach h (`cat /tmp/m`) ssh root@$h date end # OK. # TODO: Message to root list # Change Bruno's, Matt's passwd on all machines passwd grep '^root' /etc/shadow root:$1$PU2nKpKC$Qlpym1FOVC//zCZLJP9eC.:13059:0:99999:7:::1075513052 # TODO: On all machines: # vi /etc/shadow # matt, phys410 # $1$PU2nKpKC$Qlpym1FOVC//zCZLJP9eC. # bruno # YO1C1XllOTuh2 #----------------------------------------------------------------------- # bh machines # TODO: bh16 #----------------------------------------------------------------------- # As matt@bh0 etcbh sola get shadow $1$PU2nKpKC$Qlpym1FOVC//zCZLJP9eC. YO1C1XllOTuh2 bhDistEtc shadow etclnx sola get shadow vs # $1$PU2nKpKC$Qlpym1FOVC//zCZLJP9eC. lnxDistEtc shadow etcc2 sola get shadow vs # $1$PU2nKpKC$Qlpym1FOVC//zCZLJP9eC. bhDistEtc shadow # As matt@vnfe1 etc sola get shadow vs # $1$PU2nKpKC$Qlpym1FOVC//zCZLJP9eC. # As matt@bh0 viw allN # Enable all machines # As grade@bh2 ############################################################ Mon Oct 3 12:18:06 PDT 2005 ############################################################ # Apparently, it's a big piece of # bh2:/home, since grade also looks wiped out # As grade@bh2 foreach h (`cat /tmp/m`) ssh root@$h date end # OK. # Message to root list # Change Bruno's passwd # As matt@bh0 cd UNIX_SETUP vi Update # hack on Update it a bit Update vi Dist # hack on Dist a bit Dist # Looks like there are links for /d/bh2/home somewhere other than to # /d/bh2/home bhCommand 'ls -ltd /d/bh2/home' # Indeed, bh1 is exporting /home as /d/bh2/home rrvi /etc/exports # Rationalize /etc/exports by hand viw allN # disable vn machines allbgCommand 'service nfs restart; exportfs -av; umount -a -l -t nfs; mount -a' # As matt@bh0 bhCommand 'cd ~grade; ls' bhCommand 'ls -ltd /d/bh*/home' | tee /tmp/bh-home # Made various changes to rationalize setup allCommand 'service nfs restart; exportfs -av; umount -a -l -t nfs; mount -a' | tee /tmp/allnfs # Need to reboot bh3? # TODO: Update mount as well # Need to password protect all /etc/lilo.conf's against unauthorized # single user mode rrvi /etc/lilo.conf # Insert restricted password= # in ALL menu entries allCommand 'lilo' | tee /tmp/all-lilo # Make sure single-user passwords stay protected! allCommand 'chmod 600 /etc/lilo.conf' # Reboots to ensure single-user protection lnx1 lnx2 lnx3 bh0 bh1 # TODO bh2 bh3 bh4 bh5 bh6 bh7 bh8 bh9 bh10 bh11 bh12 bh13 bh14 bh15 ############################################################ Tue Oct 4 07:25:21 PDT 2005 ############################################################ # Since there is only a single partition, /, on the bh # machines # # bh1:/Public # bh1:/home # # represent a dual export vbh # ... all but bh1 allCommand 'mkdir /d/bh1/home' allCommand 'umount -l /d/bh1/home; umount -l /Public' allCommand 'grep bh1 /etc/fstab' | tee /tmp/all-fstab rrvi /etc/fstab allCommand 'umount -l /d/bh1/home; umount -l /Public' # As root@bh1 mv /Public /home ln -s /home/Public /Public allCommand 'rmdir /Public; mount /d/bh1/home; ln -s /d/bh1/home/Public /Public; cd /Public; ls' # vnfe's a problem ... fix manually allCommand 'cd /Public; ls' | tee /tmp/all-Public allCommand 'df' | tee /tmp/all-df allCommand 'cd /Public; /bin/ls -1 | wc' | tee /tmp/all-Public # OK allCommand 'df' | tee /tmp/all-df ############################################################ Tue Oct 4 14:04:34 PDT 2005 ############################################################ # Of course, the NFS stability, HAD to be illusory # # bh0 is hung on /d/bh6/home # As root@bh0 umount -l /d/bh6/home mount !$ # OK # TODO: May have to reinstate cron job ... better idea to upgrade # mount? ############################################################ Wed Oct 5 06:56:07 PDT 2005 ############################################################ # Various hangs evident (bh4:/home on bh1) e.g. # As matt@bh0 bhallbgCommand 'umount -a -t nfs -l; mount -a' # bh1 still recalcitrant # As root@bh1 # umount/remount doesn't work, bh4 still seems to be a problem Wed Oct 5 09:51:04 PDT 2005 # NFS state was pretty confused, with lot of backgrounded/hung # mounts/df's etc., so opted for global bh reboot # From W Penthouse, superficially looks OK bhCommand 'ps -elf | grep mount | grep -v mount' | tee /tmp/bh-mount ############################################################ Wed Oct 5 13:17:13 PDT 2005 ############################################################ # ntpd problem # Need ntp group # As matt@Bh0 etc sola get group get passwd vi group ntp:x:9998: bhDistEtc group via a cntpd 'bhCommand "ps -elf | grep ntp | grep -v grep"' a cn cntpd soa cn # OK ntp-all bhbgCommand vnSetdate bhCommand vnSetdate # TODO: Perl filter for /var/log/messages to extract # evildoers IP numbers and convert to HTML ############################################################ Wed Oct 5 14:47:18 PDT 2005 ############################################################ # Definitely looks like bh9 has been infected. # mirkforce was running flat out, is installed in # /usr/lib/named/ # As root@bh9 cd /usr/lib mv named named-mirkforce tar cf named-mirkforce.tar named-mirkforce mkdir /d/vnfe4/home/security hide mv named-mirkforce.tar /d/vnfe4/home/security/ RM -rf named-mirkforce # Copy /home, then reinstall # As root@bh9 mkdir -p /d/vnfe4/home/bh9-2005 cd !$ cp -a /home /etc . 1.7G /home 56M /etc # As root@bh9 cd /home usage - | tee /tmp/usage-home 1247352 usr 323108 sirker 99248 opt 33620 atonita.tar 26852 atonita 1000 bh9.physics.ubc.ca-find-files 32 tmatos 32 jmakkar 24 guest 4 bh9.physics.ubc.ca-find-files_incremental cd /d/vnfe4/home/bh9-2005/home 1247360 usr 323500 sirker 99248 opt 33620 atonita.tar 26896 atonita 1000 bh9.physics.ubc.ca-find-files 32 tmatos 32 jmakkar 24 guest 4 bh9.physics.ubc.ca-find-files_incremental 4 Usage allbgCommand updatedb allCommand 'slocate mirkforce' | tee /tmp/all-mirkforce # Superficially, at least, looks OK allbgCommand 'rpm --verify --all > /tmp/rpm-verify-`hostname -s`' # TODO: Collect output rrvi /etc/fstab # disable bh9:/home mount allbgCommand 'umount bh9:/home -l' allCommand 'df | grep bh0; df | grep bh9' # Some hangs (bh1) rn # TODO: GO TO W Penthouse, start installation, update secondary # TODO: Update mount Oct 5 15:18:07 bh3 kernel: nfs warning: mount version older than kernel bhCommand "rpm -qa | grep '^mount'" | tee /tmp/bh-mount # Hangs on bh3 vbh # Disable bh3 bhCommand "rpm -qa | grep '^mount'" | tee /tmp/bh-mount mount-cifs-3.0.13-2mdk mount-2.12a-12mdk # Sure enough, bh1 is a version behind, is bh1 being updated # What version in 2006? # Jason suggests 'klamav' From ajpenner@phas.ubc.ca Wed Oct 5 16:53:50 2005 Date: Wed, 5 Oct 2005 16:33:39 -0700 (PDT) From: Andrew Jason Penner To: Matthew W. Choptuik Cc: Benjamin Gutierrez Subject: Antivirus http://mandrivausers.org/index.php?showtopic=25687 It appears that klamav (antivirus) is easy to install on Mandriva 2005 their website is below. http://www.clamav.net/binary.html # Downloaded clamav-0.87.tar.gz # Need to create user/group clamav etcbh sola get passwd get group vi passwd clamav:x:9997:9997:clamav user:/:/bin/false vi group clamav:x:9997: vbh # Enable all bhDistEtc passwd group # As root@bh1 cd /root/install; tar zxf /d/bh0/home/matt/TARZ/clamav-0.87.tar.gz; cd clamav-0.87; gopt; configure --prefix=/usr/local; make install # OK vbh # Disable bh2 bhbgCommand 'cd /root/install; tar zxf /d/bh0/home/matt/TARZ/clamav-0.87.tar.gz; cd clamav-0.87; gopt; configure --prefix=/usr/local; make install' rehash clamscan --recursive --quiet / | tee /tmp/clamscan # TODO: Do this on all machines # As matt@Bh0 bhDistEtc passwd group # As root@Bh2 cd /root/install; tar zxf /d/bh0/home/matt/TARZ/clamav-0.87.tar.gz; cd clamav-0.87; gopt; configure --prefix=/usr/local; make install # TODO: bhbgCommand 'nice clamscan --recursive --quiet / | tee /tmp/clamscan' ############################################################ Thu Oct 6 04:42:21 PDT 2005 ############################################################ # Continuing with re-installation on bh9, script ended prematurely From ajpenner@phas.ubc.ca Thu Oct 6 04:43:19 2005 The installer failed shadow.new.16.june.05 s: +++ Proceeding with /etc file generation s: Unexpected hostname 'bh9' # As matt@bh0 Reset_known_hosts # As root@bh9 cd /root/install cp s s1 vi s1 # Hacked/removed part that had executed ./s1 -x bh9 # Setting up upmpi 2005-mandrake /mandrake/2005/i586/media/main media_info/hdlist.cz 2005-update /mandrake/2005/updates/main_updates media_info/hdlist.cz 2005-contrib /mandrake/2005/i586/media/contrib media_info/hdlist.cz vi /etc/urpmi/urpmi.cfg # Added update to 2005-update clause # Recover /home, /etc mount vnfe4:/home /d/vnfe4/home cd /d/vnfe4/home/bh9-2005 /bin/rm -rf guest opt usr atonita.tar bh9.ph* cp -a * /home bhDistEtc shadow passwd group hosts.allow hosts.deny hosts csh.cshrc urpmi.update 2005-update urpmi --auto --auto-select `cat /d/bh0/home/matt/system/bh/README.URPMI` bhOperaInstall # Postfix cd /etc/postfix; Arc main.cf; scp matt@bh0.physics.ubc.ca:/d/bh0/home/matt/system/lnx/image/master/etc/postfix/main.cf .; chown -R postfix.postdrop /var/spool/postfix; service postfix start date | mail -s "test" choptuik@physics.ubc.ca /bin/rm /Public ln -s /d/bh1/home/Public /Public # Add /mandrake to /etc/fstab boson:/mandrake /mandrake nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 # printing mozilla # Couldn't set lex408@bh2 as default, but should be OK urpmi ntpd cd /etc scp root@bh0:/etc/ntp.conf . service ntpd start urpmi rwhod service rwhod start # /usr/local and /opt /usr/local /opt cd /usr mv local local.O # As root@Bh1 setenv D local cd /usr /bin/rm -rf $D.O tar cf $D.tar $D ls -lth $D.tar mv $D.tar /home setenv D opt cd / /bin/rm -rf $D.O tar cf $D.tar $D ls -lth $D.tar mv $D.tar /home # As root@bh9 setenv D local cd /usr test -d $D.O && /bin/rm -rf $D.O mv $D $D.O tar xf /d/bh1/home/$D.tar du -hs $D setenv D local cd /usr test -d $D.O && /bin/rm -rf $D.O mv $D $D.O tar xf /d/bh1/home/$D.tar du -hs $D #----------------------------------------------------------------------- # Need to expunge all ssh stuff in /usr/local allbgCommand 'setenv LOG /tmp/usr-local-ssh-`hostname -s`; find /usr/local -name "*ssh*" | tee $LOG; ls -lth $LOG' cd System mkdir sshd cd !$ foreach h (`allN`) scp root@${h}:/tmp/usr-local-ssh-$h . end mkindex allCommand 'ls -lt /tmp/usr-local-ssh-`hostname -s`' allCommand '/bin/rm -rf `cat /tmp/usr-local-ssh-*`' allbgCommand 'setenv LOG /tmp/new-usr-local-ssh-`hostname -s`; find /usr/local -name "*ssh*" | tee $LOG; ls -lth $LOG' cd System cd !$ mkdir Save mv * Save foreach h (`allN`) scp root@${h}:/tmp/new-usr-local-ssh-$h . end mkindex # Point browser to http://laplace.physics.ubc.ca/~matt/System/sshd/ # Hand check scp: /tmp/usr-local-ssh-vnfe1: No such file or directory scp: /tmp/usr-local-ssh-vnfe3: No such file or directory scp: /tmp/usr-local-ssh-vnfe4: No such file or directory scp: /tmp/usr-local-ssh-lnx1: No such file or directory scp: /tmp/usr-local-ssh-lnx2: No such file or directory scp: /tmp/usr-local-ssh-lnx3: No such file or directory allbgCommand 'setenv LOG /tmp/usr-local-scp-`hostname -s`; find /usr/local -name "*scp*" | tee $LOG; ls -lth $LOG' cd System mkdir scp cd !$ foreach h (`allN`) scp root@${h}:/tmp/usr-local-scp-$h . end mkindex allbgCommand 'find /usr/local -name "*scp*" -exec /bin/rm -rf {} \;' allbgCommand 'setenv LOG /tmp/usr-local-scp-`hostname -s`; find /usr/local -name "*scp*" | tee $LOG; ls -lth $LOG' # OK # Coded 'task' alias a task 'allCommand "ps -elf | grep \!* | grep -v grep" | tee /tmp/all-{\!*}; ls -lth /tmp/all-{\!*}' task sshd grep -v 'sshd:' /tmp/all-sshd | grep -v '>>' 5 S root 25440 1 0 69 0 - 756 select 06:00 ? 00:00:00 /usr/sbin/sshd 0 S matt 26593 22021 0 69 0 - 366 pipe_w 06:07 pts/6 00:00:00 tee /tmp/all-sshd 5 S root 6237 1 0 75 0 - 1027 select Oct05 ? 00:00:00 /usr/sbin/sshd 5 S root 6148 1 0 75 0 - 1027 select Oct05 ? 00:00:00 /usr/sbin/sshd 5 S root 6143 1 0 75 0 - 1027 select Oct05 ? 00:00:00 /usr/sbin/sshd 5 S root 6039 1 0 75 0 - 1027 select Oct05 ? 00:00:00 /usr/sbin/sshd 5 S root 6194 1 0 75 0 - 1027 select Oct05 ? 00:00:00 /usr/sbin/sshd 5 S root 6211 1 0 76 0 - 1027 select Oct05 ? 00:00:00 /usr/sbin/sshd 5 S root 8048 1 0 75 0 - 1026 select Oct05 ? 00:00:00 /usr/sbin/sshd 5 S root 6138 1 0 76 0 - 1027 select Oct05 ? 00:00:00 /usr/sbin/sshd 5 S root 6613 1 0 75 0 - 1027 select Oct05 ? 00:00:00 /usr/sbin/sshd 5 S root 5820 1 0 75 0 - 1026 select Oct05 ? 00:00:00 /usr/sbin/sshd 5 S root 5889 1 0 75 0 - 1026 select Oct05 ? 00:00:00 /usr/sbin/sshd 5 S root 5663 1 0 75 0 - 1026 select Oct05 ? 00:00:00 /usr/sbin/sshd 5 S root 5715 1 0 75 0 - 1026 select Oct05 ? 00:00:00 /usr/sbin/sshd 5 S root 5677 1 0 75 0 - 1026 select Oct05 ? 00:00:00 /usr/sbin/sshd 5 S root 5688 1 0 75 0 - 1026 select Oct05 ? 00:00:00 /usr/sbin/sshd 5 S root 2420 1 0 75 0 - 801 select Apr12 ? 00:02:30 /usr/sbin/sshd 5 S root 2320 1 0 75 0 - 801 select Jan20 ? 00:00:28 /usr/sbin/sshd 140 S root 1048 1 0 75 0 - 706 schedu Jul19 ? 00:03:12 /usr/sbin/sshd 5 S root 5764 1 0 75 0 - 1026 select Oct03 ? 00:00:12 /usr/sbin/sshd 5 S root 5757 1 0 75 0 - 1026 select Oct03 ? 00:00:06 /usr/sbin/sshd 5 S root 5773 1 0 75 0 - 1026 select Oct03 ? 00:00:09 /usr/sbin/sshd # OK -- all machines running /usr/bin/sshd #----------------------------------------------------------------------- # As root@bh9 updatedb # Drivers (e100) [root@bh9]# slocate e100.o | more /usr/src/linux-2.6.11-6mdk/drivers/net/e100.o /usr/src/linux-2.6.11-6mdk/drivers/net/.e100.o.cmd [root@bh9]# slocate e100.ko | more /usr/src/linux-2.6.11-6mdk/drivers/net/e100.ko /usr/src/linux-2.6.11-6mdk/drivers/net/.e100.ko.cmd /lib/modules/2.6.11-6mdk/kernel/drivers/net/e100.ko.gz # Not clear what the source is, use Intel # First need to uninstall kernel-source-2.6-2.6.11-12mdk, reinstall -6, and rebuild rpm -e kernel-source-2.6-2.6.11-12mdk rpm -ivh /d/bh0/home2/home/2005/i586/media/main/kernel-source-2.6-2.6.11-6mdk.i586.rpm; cd /usr/src/linux; Arc Makefile viM custom -> // make clean make mrproper make oldconfig make setenv PACK e100-3.4.14; cd /root/install; /bin/rm -rf $PACK*; ls -ltd $PACK*; tar zxf /d/bh0/home/matt/system/INTEL/Drivers/e100-3.4.14.tar.gz; cd $PACK; pwd; ls setenv PACK e100-3.4.14; cd /root/install/$PACK/src; make; make install; pwd; ls -lt # TODO: # Update bh9 ############################################################ Thu Oct 6 07:09:35 PDT 2005 ############################################################ # Update mount # As root@bh1 rpm -Uvh /mandrake/2006/i586/media/main/mount-2.12q-7mdk.i586.rpm # OK # Hack allN bhCommand 'rpm -Uvh /mandrake/2006/i586/media/main/mount-2.12q-7mdk.i586.rpm' lnxCommand 'rpm -Uvh /mandrake/2006/i586/media/main/mount-2.12q-7mdk.i586.rpm' allCommand 'rpm -qa | grep mount' | tee /tmp/all-mount # Reboot all machines Fri Oct 7 18:15:51 PDT 2005 ############################################################ # Deep wierdness as matt@bhmachines, can't, e.g. execute # commands in vi anymore, need to ^C twice to get return # value, konsole from kicker freezes etc # Have joined Mandriva Club, need to set up BitTorrent client allCommand 'urpmi --auto --auto-select bittorrent-gui' # CD burning made easy? # As root@Bh1 /usr/bin/nautilus-cd-burner # Selected /mandrake/2006/Mandriva-Linux-Powerpack-2006-CD-1_4.i586 # via the browser, then initiated write, was prompted for # media, and away it goes! # Looks good, could go ahead with install, but time to head home and # reserve the ferry for tomorrow AM Wed Oct 12 05:35:29 PDT 2005 ############################################################ # Moving Pal's WWW home to bh1 # As root@bh1 cd /Public/Members RM psandhu cp -a /d/bh6/home/psandhu/public_html psandhu cd /d/bh6/home/psandhu mv public_html public_html.O ln -s /Public/Members/psandhu public_html chown psandhu.choptuik !$ # Send message to Pal and Jason Wed Oct 12 09:42:10 PDT 2005 ############################################################ # Swapping identities of bh0 and bh1, following set up of # httpd2 on bh1 # As root@bh1 chkconfig httpd on # Serving via link to bh1 seems to work. Will start up httpd server on # bh8 # As root@bh1 cd /etc/httpd/2.0/conf/ mv httpd.conf httpd.conf.orig bu httpd2.conf bu commonhttpd.conf scp root@bh0.physics.ubc.ca:/etc/httpd/2.0/conf/httpd2.conf . scp root@bh0.physics.ubc.ca:/etc/httpd/conf/commonhttpd.conf . ssh root@bh0 'grep apache /etc/{passwd,shadow}' # Bad user name apache cd /etc service httpd start # OK service httpd stop /d/bh1/home -> /d/bh0/home /d/bh0/home -> /d/bh1/home /d/bh0/home2 -> /d/bh1/home2 # As root@bh0 cd /home usage - | tee /tmp/usage-bh0-home 38241360 matt 2132044 vnfe4 1603952 ftp 1085044 usr 657292 maple 99248 opt 20304 bh0.physics.ubc.ca-find-files 9660 guest 2088 jdoe 688 majordomo 164 mrnis 28 p387g5 28 p387g4 28 p387g3 28 p387g2 28 p387g1 28 foo 20 httpd 4 bh0.physics.ubc.ca-find-files_incremental 4 Usage 0 laplace.old 0 laplace 0 home # As root@Bh1 cd /d/bh0/home foreach d (*) test -e /home/$d && echo "/home/$d" | tee /tmp/dups end /home/Usage /home/guest /home/opt /home/usr # As root@bh0 /bin/rm -rf /home/Usage /home/guest /home/opt /home/usr # As root@Bh1 cd /d/bh0/home foreach d (*) test -e /home/$d && echo "/home/$d" | tee /tmp/dups end cp -a /d/bh0/home* /home # As root@bh1 cd /home/home foreach i (`iota 1000`) date du -hs * echo sleep 30 end Wed Oct 12 16:46:51 PDT 2005 ############################################################ # TODO: Check 'vi' task hanging (.chsrc?) # Need to free up space on bh0 (old bh1), and fix fstabs allCommand 'mkdir -p /d/bh1/home2' rrvi /etc/fstab bh0: ssh root@bh0 'mkdir -p /d/wh0/c' //wh0/C$ /d/wh0/c smbfs credentials=/usr/local/etc/wh0.credentials,fmask=700,dmask=700 others: bh1:/home /d/bh1/home nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 bh1:/home2 /d/bh1/home2 nfs rw,rsize=8192,wsize=8192,hard,bg,intr 0 0 allCommand '/bin/rm /Public' allCommand 'ln -s /d/bh0/home/Public /Public' rn # my mail # On bh1 # bh0 web server not serving .f .c as text files # from /d/bh0/home/matt/system/WWW/README ######################################################################## Wed Aug 25 15:01:10 PDT 2004 ######################################################################## # (1) Finally found source/resolution of inability to browse .f / .c files # with recent versions of Mozilla . Actually wasn't Mozilla's fault, was # Apache configuration /etc/httpd/conf/apache-mime.types #text/x-fortran f text/plain f for f90 #text/x-csrc c text/plain h text/plain tex # As root@bh0 updatedb ############################################################ Thu Oct 13 08:38:06 PDT 2005 ############################################################ # Per Bill's suggestion Wed 28, 2005 # As matt@bh0 snews set-dvips-letter # to do the following echo ' % Make letter the default paper size t letter' >>/usr/share/texmf/dvips/config/config.ps # ... with error checking etc. # As root@bh0 set-dvips-letter # Looks OK service cups restart viw allN # Disable vn machines viw bhN # Disable bh0, bh1 <- still has printing Thu Oct 13 15:55:08 PDT 2005 # TODO: Verify that this has had the desired effect # Cleaning up on # # bh0:/home # As root@bh0 RM -rf /home/scn Thu Oct 13 16:50:38 PDT 2005 ############################################################ # Cleaning up on bh1:/home, prior to back-up and install # of 2006 # As root@bh1 cd /home usage - | tee /tmp/bh1-home-usage 38259132 matt 2132044 vnfe4 1603952 ftp 657292 maple 20304 bh0.physics.ubc.ca-find-files 2088 jdoe 688 majordomo 164 mrnis 144 bh1.physics.ubc.ca-find-files_incremental 28 p387g5 28 p387g4 28 p387g3 28 p387g2 28 p387g1 28 foo 20 httpd 4 bh0.physics.ubc.ca-find-files_incremental 0 home cd /home /bin/rm -rf ftp # etc. etc. # As root@head /bin/rm -rf bh1-2005 mkdir /home/bh1-2005 cd /home/bh1-2005 cp -a /d/bh1/home /d/bh1/etc . # As root@bh1 du -hs /home /etc # As root@vnfe4 cd /home RM -rf bh7-2005 Mandrake101 bh5-2005 ############################################################ Thu Oct 13 17:07:58 PDT 2005 ############################################################ # Anonymous ftp # As root@bh0 cd /etc Arc proftpd.conf scp root@bh1:/etc/proftpd.conf . # Modified ServerName "UBC Numerical Relativity FTP Server" ServerType standalone # Added User ftp Group ftp UserAlias anonymous ftp RequireValidShell off DenyAll # OK chkconfig proftpd on chkconfig httpd on service proftpd start # OK # TODO: Verify that proftpd starts on boot up (should) ############################################################ Thu Oct 13 17:12:09 PDT 2005 ############################################################ # Samba # HISTORY: :n ../SAMBA/README # As root@bh0 cd /etc/samba Arc smb.conf scp root@bh1:/etc/samba/smb.conf . smbpasswd -x matt smbpasswd -a matt smbpasswd -x root smbpasswd -a root chkconfig smb on service smb start # Can mount bh0.physics.ubc.ca:[d] from wh0.physics.ubc.ca # OK .... ############################################################ Fri Oct 14 07:18:12 PDT 2005 ############################################################ # Back to hacking rpmsrate so that everything is installed # As matt@bh0 cds scp matt@bh0.physics.ubc.ca:/mandrake/2006/i586/media/media_info/rpmsrate rpmsrate-2006 cp replacenth rpmsrate-enable-all vi !$ cp rpmsrate-2006 rpmsrate-2006.orig a doit 'CP rpmsrate-2006.orig rpmsrate-2006; rpmsrate-enable-all rpmsrate-2006' # Seems to be working # Copied to root@boson:/usr/local/bin # As root@boson cd /mandrake/2006/i586/media/media_info/ diff rpmsrate rpmsrate.distro # Proceed with everything install on bh1 vbh bhbgCommand 'umount -l /d/bh1/home; umount -l /d/bh1/home2' # Restore rpmsrate on boson # NEED TO REINSTALL SINCE HAVE APPARENTLY BUGGERED IT UP VIA KVM FLIPPING # As root@boson cd /mandrake/2006/i586/media/media_info/ cp rpmsrate.distro rpmsrate # TODO: Samba password (credentials file) needs updating to reflect new root password # Everything install ostensibly finished after second pass # Need to work on secondary script, but probably wisest to configure urmpi first # As root@bh1 mkdir -p /mandrake mount boson:/mandrake /mandrake # Launch drakconf 2006-mandrake /mandrake/2006/i586/media/main media_info/hdlist.cz 2006-update /mandrake/2006/updates/main_updates media_info/hdlist.cz 2006-contrib /mandrake/2006/i586/media/contrib media_info/hdlist.cz # #2006-contrib-tail # /mandrake/2006/i586/media/contrib/tail # media_info/hdlist.cz OOps. contrib/tail was something I set up to write the stuff to DVDs. The problem was that contrib was too large to fit on a DVD, so I stuck the suff into contrib/tail and then excluded that from the dvd write. And obviously I forgot to move it back afterwards. Sorry about that. I have moved the stuff in contrib/tail back into contrib # OK urpmi.update 2006-update # OK # KVM: configuration # As matt@bh0 snewp kvm # As root@bh0 # TODO: Need to fix up /usr/local/etc/wh0.credentials cd /usr/local/etc Arc wh0.credentials vi !$ # TODO: Update bh1 NIC driver # Ooops ... may have erased some stuff from /d/bh0/home via /d/bh1 by accident # TODO: DON'T TRUST IT TO LUCK ... almost certainly did, hope it wasn't important # As root@bh0 cd /home usage - | tee /tmp/bh0-home-usage usage - | tee /tmp/bh0-home-usage 41747660 matt 14733396 Public 7520412 petryk 7067028 grade 6913004 scn2 6174836 home2 4772884 inaki2 3145592 bruno 2466668 luisl 2306448 villegas 2098220 files 1603952 ftp 1247352 usr 1055876 cwlai 657292 maple 359616 brianmar 258756 fransp 210732 explorer 5064 jason 2644 guest 2088 jdoe 688 majordomo 296 shawley 164 mrnis 152 bh0.physics.ubc.ca-find-files_incremental 28 p387g5 28 p387g4 28 p387g3 28 p387g2 28 p387g1 28 foo 20 httpd 4 home 4 Usage cd /home du -hs * | tee /tmp/bh0-du-home # As root@vnfe4 cd /home/bh1-2005/home usage - | tee /tmp/vnfe4-bh0-home-usage # As root@bh1 urpme --auto kernel-source-2.6-2.6.12 cd /root/install ./s -x -s -l -n i bh1 # BUGS: # pine # PGI license # BAD passwd/shadow propagation !! # As matt@bh0 bhDistEtc passwd shadow scp root@bh0.physics.ubc.ca:/usr/local/pgi/license.dat /usr/local/pgi/license.dat rpm -ivh /d/bh0/home/matt/RPMS/pine-4.58-1plf.i586.rpm error: Failed dependencies: liblber.so.2 is needed by pine-4.58-1plf.i586 libldap.so.2 is needed by pine-4.58-1plf.i586 urpmi.update 2006-update urpmi --update --auto-select urpmq libldap no package named libldap The following packages contain libldap: libldap2 libldap2-devel libldap2-static-devel libldap2.2_7 libldap2.2_7-devel libldap2.2_7-static-devel libldap2.3_0 libldap2.3_0-devel libldap2.3_0-static-devel urpmi --auto --auto-select `jam < /tmp/ss` urpmq liblber # Drakconf # Add custom 2006-contrib-tail /mandrake/2006/i586/media/contrib/tail media_info/hdlist.cz urpmi --auto --auto-select libldap2 libldap2-devel libldap2-static-devel rpm -ivh /d/bh0/home/matt/RPMS/pine-4.58-1plf.i586.rpm # OK updatedb reboot # OK # As root@bh1 mkdir -p /d/vnfe4/home mount vnfe4:/home !$ cd /d/vnfe4/home/bh1-2005 mv /home /home.O cp -a home /home # As root@vnfe4 cd /home/bh1-2005/home usage - | tee /tmp/vnfe4-bh1-home-usage 38258020 matt 657292 maple 154884 vnfe4 ... # As root@bh1 cd /home foreach i (`iota 1000`) date usage - | tee /tmp/bh1-home-usage echo sleep 45 end cd /home usage - | tee /tmp/bh1-home-usage 38258976 matt 657292 maple 154884 vnfe4 2088 jdoe 688 majordomo 164 mrnis 28 p387g5 28 p387g4 28 p387g3 28 p387g2 28 p387g1 28 foo 4 bh1.physics.ubc.ca-find-files_incremental 4 Usage # OK viw allN vbh rrvi /etc/fstab # Restore /d/bh1/home ############################################################ Fri Oct 14 16:36:40 PDT 2005 ############################################################ # Steve's machine, and grab vn62 from colo room # As root@boson cd /mandrake/2006/i586/media/media_info rpmsrate-enable-all rpmsrate # HN: bhtest2.physics.ubc.ca # IP: 142.103.234.191 # DNS: 142.103.236.1 # GW: 142.103.234.254 # NM: 255.255.255.0 # Primary finished on bhtest2 (whitney?) # HN: bhtest3.physics.ubc.ca # IP: 142.103.234.192 # DNS: 142.103.236.1 # GW: 142.103.234.254 # NM: 255.255.255.0 # Restore rpmsrate # TODO: Something still severely wrong with the performance # killed 'pluto' # Update urpmi on both via drakconf # As root@{bhtest1,bhtest2} mkdir -p /mandrake mount boson:/mandrake /mandrake # Launch drakconf 2006-mandrake /mandrake/2006/i586/media/main media_info/hdlist.cz 2006-update /mandrake/2006/updates/main_updates media_info/hdlist.cz 2006-contrib /mandrake/2006/i586/media/contrib media_info/hdlist.cz # As root@bhtest2 cat /etc/urpmi/urpmi.cfg 2006-mandrake //mandrake/2006/i586/media/main { hdlist: hdlist.2006-mandrake.cz key-ids: 26752624 with_hdlist: media_info/hdlist.cz } 2006-contrib //mandrake/2006/i586/media/contrib { hdlist: hdlist.2006-contrib.cz key-ids: 26752624 with_hdlist: media_info/hdlist.cz } 2006-update //mandrake/2006/updates/main_updates { hdlist: hdlist.2006-update.cz key-ids: 22458a98 list: list.2006-update update with_hdlist: media_info/hdlist.cz } # TODO: Secondary script, change NFS # Now onto secondary # As [console]root@bhtest2 mkdir -p /root/install cd /root/install scp matt@bh0:~/scripts/secondary-vn-2006 s ./s -x -s -n n vn63 # Didn't export vn1:{/opt,/usr/local} # As root@vn1 vi /etc/exports /usr/local vn*.physics.ubc.ca(rw,async,no_root_squash) bh*.physics.ubc.ca(rw,async,no_root_squash) lnx*.physics.ubc.ca(rw,async,no_root_squash) jmd.physics.ubc.ca(rw,async,no_root_squash) /opt vn*.physics.ubc.ca(rw,async,no_root_squash) bh*.physics.ubc.ca(rw,async,no_root_squash) lnx*.physics.ubc.ca(rw,async,no_root_squash) jmd.physics.ubc.ca(rw,async,no_root_squash) # As root@bhtest3 ./s1 -x -s -n n -k vn63 # Still really slow!! --- must be BIOS/HDD/APIC/??? # Which MOBO is this? # From BIOS bhtest3 # Desktop board info # # Manufacturer: Intel Corporation # Product: D915GEV # Version: AAC63668-203 # BIOS setting changes # # Hyperthreading # Disabled # Boot # Plug N Play Enabled # USH # High Speed Disabled # NOTE ... As written, script masters off vn1 (OK for passwd etc) # TODO: Non-installed services bluetooth dund hidd hotplug ipchains pand udev # ############################################################ Mon Oct 17 06:22:36 PDT 2005 ############################################################ # Moving Steve's machines to Klinck, then will send a message # to Jody @ Varsity to check whether Steve's MOBO is among those # that need to have BIOS flashed # As root@bhtest[23] vi /etc/inittab vi /etc/fstab ############################################################ Mon Oct 17 16:13:35 PDT 2005 ############################################################ # Fixing broken sym links in scripts lrwxrwxrwx 1 matt choptuik 40 Oct 12 11:55 a410 -> /d/laplace/usr2/people/matt/scripts/a410 lrwxrwxrwx 1 matt choptuik 43 Oct 12 11:54 f77transcray -> /usr2/people/matt/autoconf/bin/f77transcray lrwxrwxrwx 1 matt choptuik 3 Oct 12 11:54 fextract -> fex lrwxrwxrwx 1 matt choptuik 39 Oct 12 11:54 mfi -> /d/laplace/usr2/people/matt/scripts/mfi lrwxrwxrwx 1 matt choptuik 43 Oct 12 11:55 pwentry -> /d/laplace/usr2/people/matt/scripts/pwentry lrwxrwxrwx 1 matt choptuik 43 Oct 12 11:55 xpasswd -> /d/laplace/usr2/people/matt/scripts/xpasswd lrwxrwxrwx 1 matt choptuik 8 Oct 12 11:55 xyzm -> xyzmatch ls_dangling * | nth 9 | jam # These files literally lived on the old laplace:/usr2 partition, which should # still be available on bh1 foreach f ( a410 f77transcray fextract mfi pwentry xpasswd xyzm) # NOPE ??? /d/bh4/home/bh8-2005/ # Need to install java-vm for mozilla (java stuff that Bill doesn;t tend # to install) ############################################################ Wed Oct 19 04:43:52 PDT 2005 ############################################################ From unruh@phas.ubc.ca Wed Oct 19 04:44:03 2005 Date: Tue, 18 Oct 2005 23:19:24 -0700 (PDT) Subject: Re: Mozilla on 2006 Apparently Firefox does not have Composer. However other html editors apparently are Nvu, Bluefish,Quanta, Amaya Nvu, and bluefish are part of 2006-main and amaya of contrib. I have not tried any of them. Mozilla 1.7.12 is available from mozilla.org which contains Composer. The stub /usr/bin/mozilla which is left after installing 2006 is apparently left there by accident-- it is a script which points to non-existant mozilla directories. http://www.mozilla.org/products/mozilla1.x/ # Downloaded /d/bh0/home/matt/RPMS/mozilla-i686-pc-linux-gnu-1.7.12-installer.tar.gz # As root@bh1 tar zxf /d/bh0/home/matt/RPMS/mozilla-i686-pc-linux-gnu-1.7.12-installer.tar.gz cd mozilla-installer ./mozilla-installer # runs interactively, can run silently but then would get default installation ############################################################ Thu Oct 20 13:52:35 PDT 2005 ############################################################ # Tony from Varsity came to machine room at 13:00 with # BIOS update floppy. BIOS's flashed and machines rebooted # in about 10 minutes flat. # # Update did the trick. Boot up is at least an order of # magnitude faster. # vn63 and vn64 now up and running, hacked vnDistEtc # to "Plotkinize" nodes; i.e. to advise vis a vis # /etc/motd that Plotkin users have priority # Restoration of data # vn63: nee mariah # vn64: nee whitney drwxr-xr-x 10 root root 4096 Jul 12 22:07 /d/vnfe4/home/whitney/ drwxr-xr-x 9 root root 4096 Jun 23 23:23 /d/vnfe4/home/mariah/ !!ls -ltd /d/vnfe4/home/{*whitney*,*mariah*} drwxr-xr-x 10 root root 4096 Jul 12 22:07 /d/vnfe4/home/whitney/ drwxr-xr-x 9 root root 4096 Jun 23 23:23 /d/vnfe4/home/mariah/ /d/vnfe4/home/whitney: total 36 drwxr-xr-x 69 root root 8192 Jul 12 16:24 etc/ drwxr-xr-x 3 root root 4096 Jul 12 16:23 usr/ drwxr-x--- 24 root root 4096 Jul 12 15:33 root/ drwxr-xr-x 5 root root 4096 Mar 20 2005 backup/ drwxr-xr-x 7 root root 4096 Dec 17 2004 home/ drwxr-xr-x 18 root root 4096 Oct 8 2004 var/ drwxr-xr-x 4 root root 4096 Oct 8 2004 boot/ drwxr-xr-x 2 root root 4096 Apr 14 2004 misc/ /d/vnfe4/home/mariah: total 32 drwxr-xr-x 6 root root 4096 Jun 24 12:48 home/ drwxr-xr-x 3 root root 4096 Jun 23 21:23 usr/ drwxr-x--- 18 root root 4096 Jun 23 16:44 root/ drwxr-xr-x 70 root root 8192 Jun 23 16:28 etc/ drwxr-xr-x 3 root root 4096 Mar 15 2005 backup/ drwxr-xr-x 18 root root 4096 Oct 14 2004 var/ drwxr-xr-x 2 root root 4096 Apr 14 2004 misc/ # As root@{vn63,vn64} # TODO: Before we restore /home's need to rationalize user numbers # TODO: Actually, should talk to Steve about how this should be # done since a couple of machines could profitably be used # as front ends. #----------------------------------------------------------------------- # SEE vn README (mastered in matt@vnfe1.physics.ubc.ca) for # continuation of Plotkin thread #----------------------------------------------------------------------- ############################################################ Tue Oct 25 08:32:51 PDT 2005 ############################################################ # Steve has delivered two more machines: # # elton: 1U Dual CPU P4 Xeon X.XX GHz unit that currently doesn't boot # elvis: Tower Dual CPU P4 Xeon X.XX GHz unit currently running # # Hasn't reset password, but odds are single user isn't password protected # elvis is running RedHat 7.2 # TODO: IMPORTANT NOTE TODO: 'neat' is the network configurator on RedHat # Emulates Windoze configuration, done (perhaps) # As root@bhtest1 cd /; du -hs * 14G backup 5.5M bin 3.3M boot 272k dev 14G elvis 12k elvis.db 6.4M etc 4.7G home 4.0k initrd 70M lib 16k lost+found 4.0k misc 16k mnt 4.0k opt du: cannot change to directory `proc/926/fd': No such file or directory du: `proc/1263/fd/3': No such file or directory 898M proc 4.1G root 8.6M sbin 4.0k temp 48k tmp 2.2G usr 61M var mkdir -p /d/bh8/home mount bh8:/home /d/bh8/home df -h /d/bh8/home mkdir -p /d/bh8/home/elvis cd / cp -a backup boot elvis elvis.db etc home opt root usr var /d/bh8/home/elvis # Second pass # As root@bh8 cd /home/elvis du -hs * 14G backup 3.3M boot 14G elvis 12K elvis.db 6.4M etc 4.7G home 4.0K opt 173M root # As root@bhtest1 /bin/rm -rf /d/bh8/home/elvis/root cd / cp -a root usr var /d/bh8/home/elvis # As root@bh8 cd /home/elvis ls backup/ boot/ elvis/ elvis.db etc/ home/ opt/ root/ usr/ var/ du -hs * 14G backup 3.3M boot 14G elvis 12K elvis.db 6.4M etc 4.7G home 4.0K opt 4.1G root 2.2G usr 62M var # Looks good ... once elton is done, will go on with elvis # elton still be problematic (can't load requisite driver), # so will delay, and continue with everything install on # elvis -> bhtest2 # Elvis has 1 GB memory # 2 x 2.8 Xeon 1 GB memory, 120 GB disk # eth0 (on board; how to connect?) # eth1 # Elton # BIOS v02.56 # 2 x 3.2 Xeon 2 GB memory, 300 GB disk # eth0 (on board; how to connect?) # eth1 lsmod eepro100 # TODO: Is this 100 or 1000 Mbit?? # Everything install on elton -> bhtest2 # As root@boson cd /mandrake/2006/i586/media/media_info; rpmsrate-enable-all rpmsrate # As [console]@bhtest1 # Two interfaces # # eth0 on board (intel) # eth1 sysconnect/marvell # Use eth1 An error occurred Can not access kernel modules corresponding to your kernel (file /lib/modules.cz-2.6.12-12mdk is missing), this generally means your boot floppy is not in sync with the installation medium (please create a newer boot floppy) # POSITIVE that boot CD is fresh, but nonetheless, humour the installer, and re-burn as root@bh0 # Problems since can't find correct driver, have Jason make a floppy set (asked Bill, # but didn't appear to an EASY immediate solution, growiso? Tue Oct 25 19:12:10 PDT 2005 # Did CD install on elton, looks like will be OK, will then have to # diff with elvis 'rpm -qa' and use 'urpmi' Tue Oct 25 19:22:00 PDT 2005 # On elton eth0 is still getting activated, want eth1 (Marvell driver) # Reinsert # NEEDED TO ADD eth1 as GATEWAY DEVICE (NO!) # Reconfigured with drakconf GUI will hope for best ############################################################ Tue Oct 25 14:10:05 PDT 2005 ############################################################ # Transfer rate glacier -> bh0 # As root@bh0 du -hs /home/files 2.1G /home/files ############################################################ # scp test ############################################################ time scp -r /home/files matt@nunatak2.westgrid.ca:/global/home/matt 1M 100% 1024KB 1.0MB/s 00:00 1G 100% 1024MB 18.3MB/s 00:56 512M 100% 512MB 17.7MB/s 00:29 256M 100% 256MB 17.1MB/s 00:15 128M 100% 128MB 14.2MB/s 00:09 64M 100% 64MB 10.7MB/s 00:06 32M 100% 32MB 16.0MB/s 00:02 16M 100% 16MB 8.0MB/s 00:02 8M 100% 8192KB 8.0MB/s 00:00 4M 100% 4096KB 4.0MB/s 00:00 2M 100% 2048KB 2.0MB/s 00:01 Usage 100% 166 0.2KB/s 00:00 38.387u 7.481s 2:00.95 37.9% 0+0k 0+0io 0pf+0w time scp -r /home/files root@bh8.physics.ubc.ca:/tmp 1M 100% 1024KB 1.0MB/s 00:00 1G 100% 1024MB 35.3MB/s 00:29 512M 100% 512MB 32.0MB/s 00:16 256M 100% 256MB 28.4MB/s 00:09 128M 100% 128MB 25.6MB/s 00:05 64M 100% 64MB 32.0MB/s 00:02 32M 100% 32MB 16.0MB/s 00:02 16M 100% 16MB 16.0MB/s 00:01 8M 100% 8192KB 8.0MB/s 00:00 4M 100% 4096KB 4.0MB/s 00:00 2M 100% 2048KB 2.0MB/s 00:01 Usage 100% 166 0.2KB/s 00:00 38.755u 6.648s 1:04.59 70.2% 0+0k 0+0io 0pf+0w ############################################################ # ftp test ############################################################ # 1) glacier -> bh0 ftp> mput 256M 512M 1G local: 256M remote: 256M 227 Entering Passive Mode (142,103,234,164,139,25). 150 Opening BINARY mode data connection for 256M 226 Transfer complete. 268435456 bytes sent in 4.6 seconds (5.7e+04 Kbytes/s) local: 512M remote: 512M 227 Entering Passive Mode (142,103,234,164,139,26). 150 Opening BINARY mode data connection for 512M 226 Transfer complete. 536870912 bytes sent in 9.8 seconds (5.4e+04 Kbytes/s) local: 1G remote: 1G 227 Entering Passive Mode (142,103,234,164,139,27). 150 Opening BINARY mode data connection for 1G 226 Transfer complete. 1073741824 bytes sent in 36 seconds (2.9e+04 Kbytes/s) # Last result product of caching etc. repeat ftp> put 1G local: 1G remote: 1G 227 Entering Passive Mode (142,103,234,164,139,28). 150 Opening BINARY mode data connection for 1G 226 Transfer complete. 1073741824 bytes sent in 17 seconds (6.2e+04 Kbytes/s) ftp> put 1G local: 1G remote: 1G 227 Entering Passive Mode (142,103,234,164,139,29). 150 Opening BINARY mode data connection for 1G 226 Transfer complete. 1073741824 bytes sent in 21 seconds (5e+04 Kbytes/s) ftp> put 1G local: 1G remote: 1G 227 Entering Passive Mode (142,103,234,164,139,31). 150 Opening BINARY mode data connection for 1G 22