UBC Physics & Astronomy
hyper.phas.ubc.ca
142.103.236.100 - 172.16.0.100 (inside)
IBM Service until ??? ??, 2009 - call 1-800-426-7378
Local system engineers: Dave Peterson 604-297-2410(o), 604-551-5116(c) or Duncan Furniss
F1 - Setup     Alt-F1 - Sysboot

UPS STATUS  RAID STATUS - login and run /usr/RaidMan/RaidMan.sh    Currently five drives in Raid 5 plus one hot spare (6 total).

ServeRAID Adapter Quick Reference
BIOS SETUP Misc Notes

Current Setup:
2 x 3.00 GHz Dual Core CPUs  /   RAID 5 array on CH1 using 5 disks (1,2,3,4,5) with one hot spare(0)  /    BIOS v???
ServeRAID ?? Ultra320 SCSI, Firmware=v???, BIOS=v???, Driver=v???
Logical Drive ? -> RAID 5 ??? MB
------------------------------------------------------------------
| 36 GB | 36 GB | 36 GB |                                        |
--------------------------------------                           |
| 36 GB | 36 GB | 36 GB |     DVD     |                          |
|----------------------------------------------------------------|
|                                                                |
|                                                                |
|                                                                |
------------------------------------------------------------------ 
IBM x366
System serial number: KQMFL0A
Machine type: 8863/4RU
System UUID: 899FB1B8CE2F37F9BBA54FB2E1AFEB81
System memory: 10GB
Processors, processor slots: 4, 4
System BIOS version: 1.09
System BIOS date: 4/26/06
System Build Level: ZUE154AUS
Diagnostics version: 1.04
Diagnostics date: 11/18/05
Diagnostics Build Level: ZUYT21AUS

SYSTEM INFO:

Qty  Part No.     Description                
---  ----------   -----------------------------------------------------------
 1   88634RU      X366 XEON MP-3.00GHz 440.4Gb 2Gb/64Gb Dual Core
 1   25R8942      Processor Intel XEON Processor 7040
 1   KTM2865/8G   8Gb Kit (2x4GB) Dual Rank Bladecenter HS20/XSeries 226 236
 3   13M7409      4-Slot Active Memory Expansion Card
 6   26K5654      36.4Gb 10K 2.5in SAS HDD
 1   13M7413      Power 1300W Hot-Swap Redundant Power supply
 1   24P0960      SCSI IBM TotalStorage FC2-133 HBA Card 
 1   39R8729      SCSI ServerRAID-8I SAS Controller

sSpec Number: SL8UC | CPU Speed: 3 GHz | PCG: | Bus Speed: 667 MHz | Bus/Core Ratio: 18 | L2 Cache Size: 4 MB | L2 Cache Speed: 3 GHz
Package Type: Micro-FCPGA | Manufacturing Technology: 90 nm | Core Stepping: A0 | CPUID String: 0F48h | Thermal Design Power: 165W | Thermal Specification: 76°C | Core Voltage: 1.25-1.4V

Supported Features:
Dual Core | Enhanced Intel Speedstep Technology | Execute Disable Bit | Hyper-Threading Technology | Intel EM64T | Intel Virtualization Technology

SCSI BIOS and FIRMWARE UPDATES
It is important to update the scsi drivers first and then do the BIOS and FIRMWARE or you may not be able to boot your system since the new BIOS/FIRMWARE may not know about the older drivers.  To do the update, you just need to create the 2 Update Xpress CDs from the IBM website and then boot from them.

DISASTER RECOVERY
*** NEEDS UPDATING FOR HYPER ***
  1. Install a new server.
  2. Load RHEL - currently running RHEL AS 4.
  3. Install updates using up2date.
  4. Copy over backup files from alpha:/home/backups/hyper (these files are rsync'd daily). Checklist follows:
    • /etc/aliases
    • /etc/crontab
    • /etc/exports
    • /etc/hosts
    • /etc/hosts.allow
    • /etc/named.conf
    • /etc/php.ini
    • /etc/cron.daily/dirdump.cron
    • /etc/cron.daily/rsync-backup
    • /root/.bashrc
    • /etc/cron.d/*
    • /etc/httpd/*
    • /etc/mail/*
    • /opt/sysadmin/*
    • /usr/share/ssl/*
    • /var/named/*
    • /var/spool/cron/*
  5. Check certificates - should be in place from backup.  If needed, re-created or install as per below.
  6. Check web server installation - https.
  7. Install bacula-fd from rpm.
  8. Check hosts.allow file.
Additional, non-critical items to take care of:
  1. Install APCUPSD (it is in /usr/local/src which is backed up
  2. Start nscd.

*** LAST UPDATED 09-06-12 ***
[root@mail root]# chkconfig --list | grep on
isdn           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
iptables       	0:off	1:off	2:on	3:on	4:on	5:on	6:off
readahead      	0:off	1:off	2:off	3:off	4:off	5:on	6:off
atd            	0:off	1:off	2:off	3:on	4:on	5:on	6:off
rawdevices     	0:off	1:off	2:off	3:on	4:on	5:on	6:off
anacron        	0:off	1:off	2:on	3:on	4:on	5:on	6:off
arptables_jf   	0:off	1:off	2:on	3:on	4:on	5:on	6:off
network        	0:off	1:off	2:on	3:on	4:on	5:on	6:off
syslog         	0:off	1:off	2:on	3:on	4:on	5:on	6:off
rpcsvcgssd     	0:off	1:off	2:off	3:on	4:on	5:on	6:off
lm_sensors     	0:off	1:off	2:on	3:on	4:on	5:on	6:off
nfslock        	0:off	1:off	2:off	3:on	4:on	5:on	6:off
cups-config-daemon	0:off	1:off	2:off	3:on	4:on	5:on	6:off
mysql          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
apmd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
apcupsd        	0:off	1:off	2:on	3:on	4:on	5:on	6:off
acpid          	0:off	1:off	2:off	3:on	4:on	5:on	6:off
xinetd         	0:off	1:off	2:off	3:on	4:on	5:on	6:off
sysstat        	0:off	1:on	2:on	3:on	4:on	5:on	6:off
sendmail       	0:off	1:off	2:on	3:on	4:on	5:on	6:off
rpcidmapd      	0:off	1:off	2:off	3:on	4:on	5:on	6:off
rhnsd          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
lvm2-monitor   	0:off	1:on	2:on	3:on	4:on	5:on	6:off
gpm            	0:off	1:off	2:on	3:on	4:on	5:on	6:off
xfs            	0:off	1:off	2:on	3:on	4:on	5:on	6:off
portmap        	0:off	1:off	2:off	3:on	4:on	5:on	6:off
haldaemon      	0:off	1:off	2:off	3:on	4:on	5:on	6:off
pcmcia         	0:off	1:off	2:on	3:on	4:on	5:on	6:off
rpcgssd        	0:off	1:off	2:off	3:on	4:on	5:on	6:off
ntpd           	0:off	1:off	2:off	3:on	4:off	5:on	6:off
mdmonitor      	0:off	1:off	2:on	3:on	4:on	5:on	6:off
smartd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off
collabnet_subversion	0:off	1:off	2:off	3:on	4:on	5:on	6:off
autofs         	0:off	1:off	2:off	3:on	4:on	5:on	6:off
smb            	0:off	1:off	2:on	3:on	4:on	5:on	6:off
readahead_early	0:off	1:off	2:off	3:off	4:off	5:on	6:off
irqbalance     	0:off	1:off	2:off	3:on	4:on	5:on	6:off
jexec          	0:on	1:on	2:on	3:on	4:on	5:on	6:on
cups           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
crond          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
sshd           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
cpuspeed       	0:off	1:on	2:on	3:on	4:on	5:on	6:off
messagebus     	0:off	1:off	2:off	3:on	4:on	5:on	6:off
kudzu          	0:off	1:off	2:off	3:on	4:on	5:on	6:off
netfs          	0:off	1:off	2:off	3:on	4:on	5:on	6:off
nfs            	0:off	1:off	2:off	3:on	4:off	5:on	6:off
snmpd          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
bacula-fd      	0:off	1:off	2:on	3:on	4:on	5:on	6:off
vsftpd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off
	rsync:	on
	tftp:	on
	nuttcp:	on
	cups-lpd:	on

11-03-28 Install mathematica V8.0.1
Downloaded latest mathematica from saturn server and installed.
10-09-03 Install SSL.pm
Mary Ann needed SSL.pm installed for doing her ldap programming.
root@hyper# sudo apt-get install libio-socket-ssl-perl
The following extra packages will be installed:
  libnet-libidn-perl libnet-ssleay-perl
Suggested packages:
  libio-socket-inet6-perl
The following NEW packages will be installed:
  libio-socket-ssl-perl libnet-libidn-perl libnet-ssleay-perl

10-06-15 Upgrade LTSP

Built in to Ubuntu 10.04

Ubuntu 10.04 already has the ability to provide recommended updates by default. The rest of the instructions in this section are not necessary anymore.

Updating the Ubuntu LTSP client chroot

sudo mv /opt/ltsp /opt/ltsp-orig
sudo ltsp-build-client

To upgrade your live chroot, we need to modify our existing /opt/ltsp/arch/etc/apt/sources.list file to include our $YOURVERSION-updates repository as well, and then do an upgrade inside the chroot.

Upgrade shell script

This may prove useful once everything is in place and you need to regularly upgrade the chroot directory. Adjust accordingly but it assumes the defaults.

 #!/bin/sh

CHROOT_DIR=/opt/ltsp/i386

sudo chroot $CHROOT_DIR mount -t proc /proc /proc 
sudo chroot $CHROOT_DIR apt-get update
sudo chroot $CHROOT_DIR export LTSP_HANDLE_DAEMONS=false 
sudo chroot $CHROOT_DIR apt-get dist-upgrade
sudo umount /opt/ltsp/i386/proc
sudo ltsp-update-kernels -b /opt/ltsp -d ltsp
sudo ltsp-update-image -p 2000 -b /opt/ltsp -a i386

10-06-14 - upgraded to Ubuntu 10.04
Problems:
1. Passwd propagation failed, needed to re-enable rsync in /etc/defaults/rsync
2. SHA512 passwds generated, needed to removed the parameter "sha512" from 
   /etc/pam.d/common-passwd

10-06-02 - memory SIMM error
This is the fourth time hyper has stopped. I removed the MC3 SIMM carrier. Contacted Kingston, RMA#: 14013047, rma@kinston.com, Attn: Lupe. However they need proof of purchase before they will replacethe SIMMs.
10-05-28 - memory SIMM error
This is the third time hyper has stopped. Tracked it to a memeory SIMM error. I reset the SIMM in MC3 (labelled when you open the cover). If it fails again will contact Kingston for a new SIMM.
  Kingston KTM2865/8G  BSME3640964
   --------------   ------------------
  | 740617088489 | | 9965406-005.A01LF |
  |     0916     | | 4234765-0506393   |
   --------------   -------------------

10-05-3 - install revtex4-1
Installed revtex4-1 at the request of Ian Affleck.
wget http://authors.aps.org/revtex4/revtex4-1.zip
unzipped and then manually copied files/dirs to /usr/share/texmf-texlive dirs

10-04-19 - install thunderbird
Installed thunderbird at the request of Jess Brewer.
sudo apt-get install thunderbird

10-03-15 - install sendmail
root@hyper:/var/log# apt-get install sendmail
...only lines of intest shown...
The following extra packages will be installed:                                
  procmail sendmail-base sendmail-bin sendmail-cf sensible-mda                 
Suggested packages:                                                            
  sendmail-doc rmail logcheck resolvconf sasl2-bin                             
The following packages will be REMOVED:                                        
  nullmailer                                                                   
The following NEW packages will be installed:                                  
  procmail sendmail sendmail-base sendmail-bin sendmail-cf sensible-mda        
0 upgraded, 6 newly installed, 1 to remove and 2 not upgraded.                 
dpkg: nullmailer: dependency problems, but removing anyway as you request:       
Removing nullmailer ...                                                          
sasl2-bin not installed, not configuring sendmail support.      
To enable sendmail SASL2 support at a later date, invoke "/usr/share/sendmail/update_auth"
Creating/Updating SSL(for TLS) information
Creating /etc/mail/tls/starttls.m4...     
Creating SSL certificates for sendmail.   
Generating DSA parameters, 2048 bit long prime
Generating RSA private key, 2048 bit long modulus                                                          
*** *** *** WARNING *** WARNING *** WARNING *** WARNING *** *** ***
Everything you need to support STARTTLS (encrypted mail transmission
and user authentication via certificates) is installed and configured

but is *NOT* being used.                                             
To enable sendmail to use STARTTLS, you need to:
1) Add this line to /etc/mail/sendmail.mc and optionally
   to /etc/mail/submit.mc:                              
  include(`/etc/mail/tls/starttls.m4')dnl               
2) Run sendmailconfig                                   
3) Restart sendmail                                     

Updating /etc/hosts.allow, adding "sendmail: all".

Creating /etc/mail/sendmail.cf...
*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE() should be before MAILER()
Creating /etc/mail/submit.cf...
Linking /etc/aliases to /etc/mail/aliases
Errors in generating sendmail.cf
*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE() should be before MAILER()
Setting up sendmail (8.14.3-6) ...

10-03-15 - install denyhosts
root@hyper:~# apt-get install denyhosts
root@hyper:/etc# vim /etc/denyhosts.conf

10-02-08 - install GNU Scientific Library (gsl)
root@hyper:~# apt-cache search gsl
root@hyper:~# apt-get install libgsl0-dev libgsl0ldbl gsl-bin gsl-ref-html octave-gsl gsl-doc-pdf

10-01-27
Had to change /etc/inetd.conf and /opt/ltsp/i386/usr/share/initramfs-tools/scripts/ltsp_nbd to use port 32032 instead of port 2000 in order to get LTSP terminals to boot when they are on a different subnet than the LTSP server.
vi /etc/inetd.conf (chg port 2000 to port 32032)
  cd /opt/ltsp/i386/usr/share/initramfs-tools/scripts/
  cp ltsp_nbd ltsp_nbd.orig
  vi ltsp_nbd
  vi /etc/inetd.conf
  cd /opt/ltsp/i386/etc/apt/
  cp sources.list sources.list.090812
  cp /etc/apt/sources.list /opt/ltsp/i386/etc/apt/sources.list
  export LTSP_HANDLE_DAEMONS=false
  chroot /opt/ltsp/i386
  mount -t proc proc /proc
  apt-get update
  apt-get upgrade  or apt-get dist-upgrade
  exit
  ltsp-update-kernels
  umount /opt/ltsp/i386/proc
  ltsp-update-image --arch i386
  shutdown -r +10 "hyper going down for maintenance reboot, should be back up shortly"
Now, install gnome-watchdog to shutdown mibehaving client programs:
cd /usr/local/src
  wget logicalnetworking.net/other/gnome-watchdog_0.9.2_i386.deb
  sudo apt-get install gtkdialog
  dpkg --force-architecture -i gnome-watchdog_0.9.2_i386.deb
Read the docs:
less /usr/share/gnome-watchdog/README

10-01-20
Installed iotop:
root@hyper# apt-get install iotop

09-12-01
Installed qhull-bin:
root@hyper:/usr/local/src# wget http://ftp.us.debian.org/debian/pool/main/q/qhull/qhull-bin_2009.1-1_amd64.deb
root@hyper:/usr/local/src# wget http://ftp.us.debian.org/debian/pool/main/q/qhull/libqhull5_2009.1-1_amd64.deb
root@hyper:/usr/local/src# dpkg -i libqhull5_2009.1-1_amd64.deb
root@hyper:/usr/local/src# dpkg -i qhull-bin_2009.1-1_amd64.deb

09-11-23

set passwords using DES (for compatability with Solaris8 on warp)

Removed the parameter "sha512" from /etc/pam.d/common-passwd:
root@hyper:/etc/pam.d# diff common-password common-password.orig
25c25
< password	[success=1 default=ignore]	pam_unix.so obscure
---
> password	[success=1 default=ignore]	pam_unix.so obscure sha512

09-10-20

mesa, OpenGL dev packages install

root@hyper:~# dpkg --get-selections | grep -i mesa
libgl1-mesa-glx     deinstall
libgl1-mesa-swx11    install
libgl1-mesa-swx11-dev    install
libglu1-mesa     install
libglu1-mesa-dev    install
libosmesa6     install
mesa-common-dev     install
mesa-utils     install
root@hyper:~# dpkg --get-selections | grep -i glut
freeglut3     install
freeglut3-dev     install
libglut3-dev     install

09-10-07

mpeg_encode install

$ cd /usr/local/src/jpeg
$ wget http://www.ijg.org/files/jpegsrc.v7.tar.gz
$ tar zxf jpegsrc.v7.tar.gz 
$ cd jpeg-7/
$ ./configure
$ make
$ make install
$ cd /usr/local/src/mpeg_encode-1.5c
$ ./configure
$ make
make  all-recursive
stuff deleted..
jpeg.c: In function ‘ReadJPEG’:
jpeg.c:510: error: ‘struct jpeg_decompress_struct’ has no member named ‘min_DCT_scaled_size’
make[2]: *** [jpeg.o] Error 1
make[2]: Leaving directory `/usr/local/src/mpeg_encode-1.5c/src'
make: *** [all] Error 2

So, what I did was:
$ wget
http://sourceforge.net/projects/amide/files/mpeg_encode/1.5c/mpeg_encode-1.[..]
$ alien -k -d mpeg_encode-1.5c-1.i386.rpm
Package build failed. Here's the log:
package's architecture list (i386)
dpkg-gencontrol: error: current host architecture 'amd64' does not appear in
package's architecture list (i386)

So I transfered the rpm to a machine running 32-bit ubuntu, ran alien there, then
transferred the .deb file back to hyper.  Then I forced the install:

$ dpkg --force-architecture -i mpeg-encode_1.5c-1_i386.deb
dpkg - warning, overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
Selecting previously deselected package mpeg-encode.
(Reading database ... 271512 files and directories currently installed.)
Unpacking mpeg-encode (from mpeg-encode_1.5c-1_i386.deb) ...
Setting up mpeg-encode (1.5c-1) ...
Processing triggers for man-db ...

$ dpkg -L mpeg-encode
/usr/share/man/man1/mpeg_encode.1.gz
/usr/share/doc/mpeg-encode/copyright
/usr/share/doc/mpeg-encode/changelog.Debian.gz
/usr/bin/mpeg_encode
So, its installed, but will it work?

mpeg_play install

wget http://bmrc.berkeley.edu/ftp/pub/multimedia/mpeg/play/mpeg_play-linux.tar.gz
tar zxf mpeg_play-linux.tar.gz 
mv mpeg_play /usr/local/bin
mv mpeg_play.1 /usr/local/share/man/man1

09-10-07

mathematica fonts

cd /usr/share/fonts
wget http://www.phas.ubc.ca/computer/mathematica/Mathematica4.0_FontsForUbuntu.tar.gz
tar zxf Mathematica4.0_FontsForUbuntu.tar.gz
fc-cache -fv

09-10-01

Installed sage - open source mathematical software

Downloaded http://www.cecm.sfu.ca/sage/linux/64bit/sage-4.1.1-linux-Ubuntu_9.04-x86_64-Linux.tar.gz and installed it in /opt. Made a link to /opt/sage and a link in /usr/local/bin.
09-09-24

request to install xforms

root@hyper# apt-cache search xforms
libforms-bin - Support binaries for the XForms widget library
libforms-dev - Header files and static libraries for the XForms widget library
libforms1 - The XForms graphical interface widget library
libformsgl-dev - Header files and static libraries for the OpenGL XForms library
libformsgl1 - The OpenGL XForms graphical interface widget library
xfmail - Mail reader using a nice XForms GUI
libforms-doc - Documentation for the XForms graphical interface library
w3-recs - Recommendations of the World Wide Web Consortium (W3C)
root@hyper# apt-get install libforms-bin libforms-dev libforms1 libformsgl-dev libformsgl1 libforms-doc libxpm-dev

09-09-16

disable update-notifier popup

Whenever students logged in they would get the popup asking them if they want to reboot now to activate installed updates. To disable this: Open up a terminal, type
gconf-editor
Navigate to Apps->Update Notifier. On the right, unchecked the auto_launch box. Close the window.
An alternative method is as follows. In your terminal, type the following command:
gconftool -s --type bool /apps/update-notifier/auto_launch false
To recover:
gconftool -s --type bool /apps/update-notifier/auto_launch true

09-09-14

installed new ubcthesis latex files

Installed the files into /usr/share/texmf/tex/latex and then ran texconfig to update the path. Could also just run texhash.
Our webpage for the ubcthesis style is at http://www.phas.ubc.ca/computer/ubcthesis.phtml.

installed pgplot5

apt-get install pgplot5

Internal Error: failed to initialize HAL

This error appeard upon logging in. To fix,
/etc/init.d/dbus start

09-09-01

ncd Xterminal setup

tftpd users /var/lib/tftpboot/ as its root directory. ncd Setup You first need to clear out the nvram on the terminals. Get to the boot prompt then type:
nv
l (load x server defaults)
s (save)
q (quit)
se (to enter nv ram setup menu)
In the nvram setup:
Network
Get   IP addr from:  Network
DHCP  IP addr order: 1
BOOTP IP addr order: disabled
RARP  IP addr order: disabled
Boot
Boot File: ncdx
TFTP Boot Dir: <blank>
NFS Boot Dir: <blank>
Config File: ncd_std
UNIX Config Dir: /ncd/configs/
NCDnet Config Dir: <blank>

TFTP order: 1
NFS   order: disabled
MOP   order: disabled
LOCAL order: disabled

maxima, xmaxima, xemacs installation

Maxima is a system for the manipulation of symbolic and numerical expressions, including differentiation, integration, Taylor series, Laplace transforms, ordinary differential equations, systems of linear equations, polynomials, and sets, lists, vectors, matrices, and tensors.
apt-get install maxima
apt-get install xmaxima
apt-get install xemacs21

09-08-31

/bin/arch installation

Created file /bin/arch since it is now deprecated.
root@hyper:/usr/local/src/gcc-defaults# cat /bin/arch
#!/bin/sh
uname -m

gfortran, seamonkey, scilab, mailx installation

apt-get install scilab
apt-get install gfortran
apt-get install mailx
apt-get install seamonkey

supermongo installation

Downloaded supermongo src from calliope.mcmaster.ca (username guest, password sm_241_1998) ran ./set_opts and then when tried to compile got error
"lr0.c:129: warning: incompatible implicit declaration of built-in function ‘free’"
Found soln on web (http://www.supermongo.net/compiling-with-linux-kernel-26-fc10):
1. Using your package manager (apt, dpkg, synaptic, etc.) make sure that you install the "bison" package.

2. Run ./set_opts as usual.

3. Go to the sm2_4_30/src directory and edit Makefile.
At L87, make sure that:
YACC = /usr/bin/bison -y

At L101, change:
all_src : Bison, sm
for:
all_src : sm
(i.e. remove Bison) This will prevent the make script to try to compile Bison from the source code included with SM, which, for some reason, crashed at compilation.

Edit src/options.h to delete top 7 lines of copyright notice.

4. Do the "make" as usual.

5. Do the "make install" as usual.
cd /usr/local/src/supermongo
apt-get install tcl-dev
apt-get install bison

09-08-20

qla driver

Got messages on booting regarding qla driver (qlogic fiber channel). /var/log/kern.log showed:
Aug 13 15:56:21 hyper kernel: [    6.109112] qla2xxx 0000:06:01.0: PCI INT A -> GSI 52 (level, low) -> IRQ 52
Aug 13 15:56:21 hyper kernel: [    6.109554] qla2xxx 0000:06:01.0: Found an ISP2312, irq 52, iobase 0xffffc2000007e000
Aug 13 15:56:21 hyper kernel: [    6.109789] qla2xxx 0000:06:01.0: Configuring PCI space...
Aug 13 15:56:21 hyper kernel: [    6.110000] qla2xxx 0000:06:01.0: Configure NVRAM parameters...
Aug 13 15:56:21 hyper kernel: [    6.199494] qla2xxx 0000:06:01.0: Verifying loaded RISC code...
Aug 13 15:56:21 hyper kernel: [    6.211071] qla2xxx 0000:06:01.0: firmware: requesting ql2300_fw.bin
Aug 13 15:56:21 hyper kernel: [   66.210114] qla2xxx 0000:06:01.0: Firmware image unavailable.
Aug 13 15:56:21 hyper kernel: [   66.210200] qla2xxx 0000:06:01.0: Firmware images can be retrieved from: ftp://ftp.qlogic.com/outgoing/linux/firmware/.
Aug 13 15:56:21 hyper kernel: [   66.210311] qla2xxx 0000:06:01.0: Failed to initialize adapter
Aug 13 15:56:21 hyper kernel: [   66.210473] qla2xxx 0000:06:01.0: PCI INT A disabled
Aug 13 15:56:21 hyper kernel: [   73.065002] type=1505 audit(1250204179.775:10): operation="profile_load" name="/usr/sbin/mysqld" name2="default" pid=2435
Aug 13 16:11:44 hyper kernel: [    6.114543] qla2xxx 0000:06:01.0: PCI INT A -> GSI 52 (level, low) -> IRQ 52
Aug 13 16:11:44 hyper kernel: [    6.114912] qla2xxx 0000:06:01.0: Found an ISP2312, irq 52, iobase 0xffffc2000007e000
Aug 13 16:11:44 hyper kernel: [    6.115134] qla2xxx 0000:06:01.0: Configuring PCI space...
Aug 13 16:11:44 hyper kernel: [    6.115348] qla2xxx 0000:06:01.0: Configure NVRAM parameters...
Aug 13 16:11:44 hyper kernel: [    6.203894] qla2xxx 0000:06:01.0: Verifying loaded RISC code...
Aug 13 16:11:44 hyper kernel: [    6.224775] qla2xxx 0000:06:01.0: firmware: requesting ql2300_fw.bin
Aug 13 16:11:44 hyper kernel: [   66.220122] qla2xxx 0000:06:01.0: Firmware image unavailable.
Aug 13 16:11:44 hyper kernel: [   66.220210] qla2xxx 0000:06:01.0: Firmware images can be retrieved from: ftp://ftp.qlogic.com/outgoing/linux/firmware/.
Aug 13 16:11:44 hyper kernel: [   66.220324] qla2xxx 0000:06:01.0: Failed to initialize adapter
Aug 13 16:11:44 hyper kernel: [   66.220474] qla2xxx 0000:06:01.0: PCI INT A disabled
Did the following:
root@hyper# wget ftp://ftp.qlogic.com/outgoing/linux/firmware/ql2300_fw.bin
root@hyper# ll /lib/firmware/ql2300_fw.bin /opt/ltsp/i386/lib/firmware/ql2300_fw.bin /usr/local/src/ql2300_fw.bin 
-rw-r--r-- 1 root root 123170 2009-04-02 14:46 /lib/firmware/ql2300_fw.bin
-rw-r--r-- 1 root root 123170 2009-04-02 14:46 /opt/ltsp/i386/lib/firmware/ql2300_fw.bin
-rw-r--r-- 1 root root 125088 2009-08-20 09:15 /usr/local/src/ql2300_fw.bin
root@hyper# cp /lib/firmware/ql2300_fw.bin /lib/firmware/ql2300_fw.bin.old
root@hyper# cp /opt/ltsp/i386/lib/firmware/ql2300_fw.bin /opt/ltsp/i386/lib/firmware/ql2300_fw.bin.old
root@hyper# cp /usr/local/src/ql2300_fw.bin /lib/firmware/ql2300_fw.bin
root@hyper# cp /usr/local/src/ql2300_fw.bin /opt/ltsp/i386/lib/firmware/ql2300_fw.bin

09-08-17

Install Maple12 and Matlab R2009a

For Maple, needed to install the 32-bit libraries in order for the activation to work (got error about "unable to determine Host ID":
apt-get install ia32-libs

09-08-14

Build the LTSP client environment.

ltsp-build-client
This command will download all the necessary packages from Internet and build your environment. The /opt/ltsp/i386 directory will contain the chroot environment for the thin clients.
ltsp-update-sshkeys
This command will export the ssh keys of the server to the ltsp client environment.
ltsp-update-image --arch i386
This command will rebuild a squashfs image from the ltsp chroot environment and place it under the /opt/ltsp/images directory. This image will be exported to the thin client as root file system by the NBD daemon on the server.

Note: If you change any thing under /opt/ltsp/i386 , you must rebuild the image for the change to be reflected on the client. Also, if you change the IP address of the server you must do an ltsp-update-sshkeys followed by ltsp-update-image.


09-08-12
- install Ubuntu 9.04 (jaunty)
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install apt-file
sudo apt-file update
sudo apt-file search *qla2*
sudo apt-get install ltsp-server-standalone 
sudo ltsp-build-client --arch i386
sudo cp /etc/passwd /etc/passwd.orig
sudo cp /etc/shadow /etc/shadow.orig
sudo cp /etc/group /etc/group.orig
sudo apt-get install cups-client
sudo vi /etc/cups/client.conf 

09-06-15
There was an error after installing bacula-client-3.0.1-1.el4.i386.rpm:
15-Jun 09:42 hyper-fd JobId 2283: Fatal error: ACL support not configured for your machine.
I tried to recompile the client to fix it:
rpmbuild --rebuild --define "build_rhel4 1" --define "build_client_only 1" bacula-3.0.1-1.src.rpm
This failed with:
RPM build errors: 
InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID 10a792ad 
user sbarn does not exist - using root 
user sbarn does not exist - using root 
Installed (but unpackaged) file(s) found: 
/usr/lib/bacula/bconsole 
/usr/lib/bacula/bpipe-fd.so 
/usr/lib/bacula/mtx-changer.conf 
/usr/sbin/bacula
So then tried the full make...
rpmbuild --rebuild --define "build_rhel4 1" --define "build_mysql4 1" bacula-3.0.1-1.src.rpm
This worked without errors so then I installed it (had to use --force because otherwise it complained about existing files):
rpm --force -Uvh /usr/src/redhat/RPMS/i386/bacula-client-3.0.1-1.i386.rpm

09-06-12
Installed two more processors.

09-05-25
Installed git at the request of Derek Poon, who is working on the nanofab website. Needed to force installation of subversion-perl since the version of subversion on hyper is newer than what up2date expects.
[1][root@hyper:/usr/local/src]$ rpm -Uvh subversion-perl-1.1.4-2.ent.i386.rpm  --nodeps
[0][root@hyper:/usr/local/src]$ up2date git
...
Installing...
   1:git-core               ########################################### [100%]
   2:perl-Git               ########################################### [100%]
   3:git-email              ########################################### [100%]
   4:git-svn                ########################################### [100%]
   5:git-cvs                ########################################### [100%]
   6:git-gui                ########################################### [100%]
   7:gitk                   ########################################### [100%]
   8:git                    ########################################### [100%]

08-11-03
ran pykota commands needed to enable the P109 queue in CUPS on hyper.
[0][root@hyper:/tmp]$ pkprinters --add -D "HP LaserJet P2015" --charge 0.5 P109
Creation...
Done. Average speed : 11.74 entries per second.
[0][root@hyper:/tmp]$ edpykota --add --skipexisting --printer P109 "*"
Extracting datas...
Creation...
Done. Average speed : 587.41 entries per second.

08-06-05
- needed to install xmgrace. First had to install motif-devel:
up2date openmotif-devel
Built xmgrace from source (grace-5.1.22) using ./configure --prefix=/opt, make, make install. Created links in /usr/local/bin from /opt/grace/bin

08-03-17
- Want to install lyx.
- First added EPEL (Extra Packages for Enterprise Linux):
[0][root@hyper:/usr/local/src]$ wget http://download.fedora.redhat.com/pub/epel/4/i386/epel-release-4-6.noarch.rpm
[0][root@hyper:/usr/local/src]$ rpm -Uvh epel-release-4-6.noarch.rpm 
warning: epel-release-4-6.noarch.rpm: V3 DSA signature: NOKEY, key ID 217521f6
Preparing...                ########################################### [100%]
   1:epel-release           ########################################### [100%]
[0][root@hyper:/usr/local/src]$ rpm -ql epel-release 
/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
/etc/yum.repos.d/epel-testing.repo
/etc/yum.repos.d/epel.repo
/usr/share/doc/epel-release-4
/usr/share/doc/epel-release-4/GPL
- Now install GPG key:
[1][root@hyper:/usr/local/src]$ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
- Now install lyx:
[0][root@hyper:/usr/local/src]$ up2date lyx

Fetching Obsoletes list for channel: rhel-i386-as-4...
Fetching Obsoletes list for channel: epel...
Fetching rpm headers...
########################################
Name                                    Version        Rel     
----------------------------------------------------------
lyx                                     1.4.5.1        3.el4             i386  

Testing package set / solving RPM inter-dependencies...

Downloading headers to solve dependencies...
########################################
lyx-1.4.5.1-3.el4.i386.rpm: ########################## Done.                   
lyx-qt-1.4.5.1-3.el4.i386.r ########################## Done.                   
lyx-qt-1.4.5.1-3.el4.i386.r ########################## Done.                   
mathml-fonts-1.0-21.el4.noa ########################## Done.                   
mathml-fonts-1.0-21.el4.noa ########################## Done.                   
xdg-utils-1.0.2-4.el4.noarc ########################## Done.                   
xdg-utils-1.0.2-4.el4.noarc ########################## Done.                   
Preparing              ########################################### [100%]

Installing...
   1:xdg-utils              ########################################### [100%]
   2:mathml-fonts           ########################################### [100%]
   3:lyx-qt                 ########################################### [100%]
   4:lyx                    ########################################### [100%]
The following packages were added to your selection to satisfy dependencies:

Name                                    Version        Release
--------------------------------------------------------------
lyx-qt                                  1.4.5.1        3.el4               
mathml-fonts                            1.0            21.el4              
xdg-utils                               1.0.2          4.el4               

07-10-10
- to add mathematica fonts for ltsp, need to put mathpcf (directory) in /opt/ltsp/i386/usr/X11R6/lib/X11/fonts. Then need to edit the files /opt/ltsp/i386/etc/[build_x3_cfg, build_x4_cfg] to add the line FontPath "/usr/X11R6/lib/X11/fonts/mathpcf/"

- Add mathematica fonts to core X font subsystem:
1. mkdir /usr/share/fonts/local/mathpcf
2. Copy the new font files into /usr/share/fonts/local/mathpcf
3. Update the font information by issuing the following commands:
ttmkfdir -d /usr/share/fonts/local/mathpcf -o /usr/share/fonts/local/mathpcf/fonts.scale
mkfontdir /usr/share/fonts/local/mathpcf
4. If you had to create /usr/share/fonts/local/mathpcf, you must then add it to the X font server (xfs) path:
chkfontpath --add /usr/share/fonts/local/mathpcf
Adding fonts to the fontconfig/Xft font subsystem (newer system used by Gnome, KDE, etc)
Adding new fonts to the fontconfig font subsystem is more straightforward; 
the new font file only needs to be copied into the /usr/share/fonts/ directory 
(individual users can modify their personal font configuration by copying the 
font file into the ~/.fonts/  directory).

After the new font has been copied, use fc-cache to update the font information cache:

fc-cache 

(Where  would be either the /usr/share/fonts/ or ~/.fonts/ directories.)

07-09-05
- installed tk-devel and tcl-devel (up2date tk-devel, up2date tcl-devel) and fttw-3.1.2 (fastest fourier transform in the west). -
07-06-25
- installed subversion server on hyper, home dir is /var/svn/repositories. So far have only set up repository for Colin Gay (atlastrt) and test repository (rap). Only run svnserve (port 3690) - do not use HTTP/HTTPS at this time.
hyper$ chkconfig --list | grep -i subve
collabnet_subversion	0:off	1:off	2:off	3:on	4:on	5:on	6:off
- installed new version of pkpgcounter. We currently use hardware accounting so this doesn't really affect our setup.
06-10-12
- edited /etc/X11/gdm/gdm.conf and set "MaxSessions=48" (up from 16). This change was needed after I setup the old LTS1 xterms to be on the PHAS236 (ResAdm) VLAN and thus use hyper as their boot/login host.
06-06-06

*** NEED TO UPDATE THIS ***
BIOS SETUP and Boot Info:
LSI Logic Corp MPT IM BIOS
MPTBIOS-IM-5.03.07
IBM Build:
HBA
ID
LUN
Vendor
Product
0
7
0
LSI
LSI 1030 [  402] 1000E00
0
8
0
IBM
32P0032a S320 1 1
1
7
0
LSI
LSI 1030 [  402] 1000E00
BIOS Version 1.08

System Summary (from ServerGuide):
       Item                                        Details
---------------------------------------------------------------------
System serial number                               KPMH959
Machine type                                       8670
System memory                                      2550MB
Processors, processor slots                        2, 2
Date and time                                      10/04/2003, 12:01:16
System BIOS version                                1.08
ROM diagnostics build level                        15
Integrated System Management Processor             Revision 14               
ServeRAID-5i Adapter                               Firmware 5.11.05
                                                   1 Logical Drive
System Partition                                   Created




For more assistance contact Ron Parachoniak, rap@phas.ubc.ca ( Sysadmin )

webmaster@phas.ubc.ca [Dept. Home Page] last updated: June 15, 2009