Difference between revisions of "GE XVB601 ROC"

From New IAC Wiki
Jump to navigation Jump to search
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Configuring the INTEL based GE XVB601 ROC
 
Configuring the INTEL based GE XVB601 ROC
 +
 +
Currently we have the ROCs called rocdaq1 and rocdaq2 defined in the DNS
 +
  
 
=Configuration out of the box=
 
=Configuration out of the box=
Line 12: Line 15:
  
 
I also  enable Onboard Gigabit LAN 1.
 
I also  enable Onboard Gigabit LAN 1.
 +
 +
==OS Install From JLab image==
 +
 +
Boot any Unix OS using a CD attached to the ROC USB drive.  Plug in the drive, then power on the ROC, then hit F2 to enter the utility BIOS, 
 +
 +
select the CD/DVD as the Boot #1 device.
 +
 +
Also under the chipset menu
 +
 +
<pre>
 +
Chipset
 +
  -> South Bridge Configuration
 +
  -> SATA Configuration
 +
  -> SATA Mode Selection = AHCI
 +
</pre>
 +
 +
Then Download the CentOS image from the JLab site
 +
 +
https://coda.jlab.org/drupal/content/os-installation-disk-image
 +
 +
then write the image to the /dev/sda drive using the command below
 +
 +
gunzip -c <image> | dd of=/dev/sda
 +
 +
 +
The Cent OS 5 image size was about 379 Meg so there is plenty of room on the 1.7 Gig bootable CD's virtual disk.
  
 
==Install using USB DVD drive==
 
==Install using USB DVD drive==
 +
 +
I borrowed a USB DVD drive from Ben Nickel to install CENTOS from a live DVD
  
 
#plug in the two USB connectors for the drive
 
#plug in the two USB connectors for the drive
 
#The drive shows up in the setup utility, select it as the Boot #1 device
 
#The drive shows up in the setup utility, select it as the Boot #1 device
 +
#used "linux text" to avoid GUI install
 +
#selected local CD ROM install
 +
#selected USB mass storage driver
 +
#I did test the install media 
 +
#I select Remove linux partitions on selected drives and create default layout. This will result in a small /boot and a large / partition as well as a swap partition.
 
#used grub bootloader
 
#used grub bootloader
 
#selected USB device driver for getting install from DVD
 
#selected USB device driver for getting install from DVD
#I did a CD check
 
#I select Remove linux partitions on selected drives and create default layout. This will result in a small /boot and a large / partition as well as a swap partition.
 
 
#do not use V6 protocol for DNS, mask is 255.255.255.0
 
#do not use V6 protocol for DNS, mask is 255.255.255.0
 
#use DHCP but put in IP address and name
 
#use DHCP but put in IP address and name
 +
#deselect KNome and KDE DESKTOP , select server
 +
#select customize install to choose packages
 
#select server installation and went through list customizing packages, uncluded X11 and Java, and admin tools
 
#select server installation and went through list customizing packages, uncluded X11 and Java, and admin tools
 +
 +
finished installing on 134.50.3.17
 +
 +
daq2:134.50.3.12
 +
 +
===post installation tasks===
 +
 +
1.) Do
 +
 +
yum -v upgrade
 +
 +
the above will upgrade your distribution
 +
 +
2.) check that your kernel versions is  2.6.18-128el5
 +
 +
[root@rocdaq1 RPMS]# uname -a
 +
Linux rocdaq1 2.6.18-128.el5 #1 SMP Wed Jan 21 10:44:23 EST 2009 i686 i686 i386 GNU/Linux
 +
 +
3.) download the linux VME files from JLab
 +
 +
scp -r tforest@login1.jlab.org:/site/coda/2.6.1/extensions/linuxvme ./
 +
 +
4.) install "kmod-gefvme-PAE"
 +
 +
cd linuxvme/RPMS
 +
 +
  rpm -i kmod-gefvme-4.1.1-k2.6.18_128.el5.i686.rpm
 +
 +
5.) install gefvme-kmod-common package
 +
 +
rpm -i gefvme-kmod-common-4.1-0.i386.rpm
 +
You will also need to install the gefvme-kmod-common package.  Both of those packages are on the JLAB CUE directory:
 +
/site/coda/2.6.1/extensions/linuxvme/RPMS/
 +
 +
 +
6.) turn off firewall
 +
 +
/sbin/services iptables stop
 +
 +
and
 +
echo 0 > /selinux/enforce
 +
 +
 +
7.) other tasks
 +
 +
 +
Install package for using X applications remotely:
 +
yum install xorg-x11-xauth
 +
Install a few other packages for source code building and other tools:
 +
 +
yum install xorg-x11-xauth emacs xterm compat-libstdc++-33 cpp gcc gdb glib2-devel glibc-devel glibc-headers kernel-devel kernel-headers kernel-PAE kernel-PAE-devel ntp subversion valgrind openmotif22
 +
 +
Copy over and install the VME kernel driver and API
 +
Turn off a number of services that we do not need:
 +
sendmail, syslog, cups, bluetooth
 +
chkconfig --level 2345 <service> off
 +
 +
=Setting it up as a ROC=
 +
 +
In General the ROC will be the place you compile readoutlists and libraries for the VME modules.
 +
 +
You will also need to run the "coda_roc3" application as this replaces the tasks done previously using VxWorks.
 +
 +
==Turn off the firewalls==
 +
 +
/sbin/service iptables stop
 +
 +
echo 0 >/selinux/enforce
 +
 +
==User Account==
 +
 +
I decide to creat the user account "day" and copy all the coda 3.0 files there
 +
 +
I did the following command on the day account on rocdaq2
 +
 +
 +
mkdir CODA
 +
 +
cd CODA
 +
 +
mkdir 3.06
 +
 +
cd 3.06
 +
 +
scp username@ftp.jlab.org:/site/coda/3.06/linuxvme ./
 +
 +
 +
=Readout lists=
 +
 +
== Module Libraries==
 +
 +
Copy the module libraries from the JLab subdirectory
 +
 +
/site/coda/contrib/devel/
 +
 +
 +
cd ~/CODA/linuxvme/devel
  
 
=References=
 
=References=

Latest revision as of 18:46, 13 July 2017

Configuring the INTEL based GE XVB601 ROC

Currently we have the ROCs called rocdaq1 and rocdaq2 defined in the DNS


Configuration out of the box

You can set up a VGA terminal and a USB keyboard into one of the USB slots which seems to recieve input from teh keyboard and output information to the screen

Utility screen

By hitting the "del" key when booting the ROC you can enter into a setup Utility program.

I did

Advanced->Onboard Device, and changed the memory size from 64 MB to 512MB 

I also enable Onboard Gigabit LAN 1.

OS Install From JLab image

Boot any Unix OS using a CD attached to the ROC USB drive. Plug in the drive, then power on the ROC, then hit F2 to enter the utility BIOS,

select the CD/DVD as the Boot #1 device.

Also under the chipset menu

Chipset
  -> South Bridge Configuration
  -> SATA Configuration
  -> SATA Mode Selection = AHCI

Then Download the CentOS image from the JLab site

https://coda.jlab.org/drupal/content/os-installation-disk-image

then write the image to the /dev/sda drive using the command below

gunzip -c <image> | dd of=/dev/sda


The Cent OS 5 image size was about 379 Meg so there is plenty of room on the 1.7 Gig bootable CD's virtual disk.

Install using USB DVD drive

I borrowed a USB DVD drive from Ben Nickel to install CENTOS from a live DVD

  1. plug in the two USB connectors for the drive
  2. The drive shows up in the setup utility, select it as the Boot #1 device
  3. used "linux text" to avoid GUI install
  4. selected local CD ROM install
  5. selected USB mass storage driver
  6. I did test the install media
  7. I select Remove linux partitions on selected drives and create default layout. This will result in a small /boot and a large / partition as well as a swap partition.
  8. used grub bootloader
  9. selected USB device driver for getting install from DVD
  10. do not use V6 protocol for DNS, mask is 255.255.255.0
  11. use DHCP but put in IP address and name
  12. deselect KNome and KDE DESKTOP , select server
  13. select customize install to choose packages
  14. select server installation and went through list customizing packages, uncluded X11 and Java, and admin tools

finished installing on 134.50.3.17

daq2:134.50.3.12

post installation tasks

1.) Do

yum -v upgrade

the above will upgrade your distribution

2.) check that your kernel versions is 2.6.18-128el5

[root@rocdaq1 RPMS]# uname -a Linux rocdaq1 2.6.18-128.el5 #1 SMP Wed Jan 21 10:44:23 EST 2009 i686 i686 i386 GNU/Linux

3.) download the linux VME files from JLab

scp -r tforest@login1.jlab.org:/site/coda/2.6.1/extensions/linuxvme ./

4.) install "kmod-gefvme-PAE"

cd linuxvme/RPMS
 rpm -i kmod-gefvme-4.1.1-k2.6.18_128.el5.i686.rpm 

5.) install gefvme-kmod-common package

rpm -i gefvme-kmod-common-4.1-0.i386.rpm 

You will also need to install the gefvme-kmod-common package. Both of those packages are on the JLAB CUE directory:

/site/coda/2.6.1/extensions/linuxvme/RPMS/


6.) turn off firewall

/sbin/services iptables stop

and

echo 0 > /selinux/enforce


7.) other tasks


Install package for using X applications remotely: yum install xorg-x11-xauth Install a few other packages for source code building and other tools:

yum install xorg-x11-xauth emacs xterm compat-libstdc++-33 cpp gcc gdb glib2-devel glibc-devel glibc-headers kernel-devel kernel-headers kernel-PAE kernel-PAE-devel ntp subversion valgrind openmotif22

Copy over and install the VME kernel driver and API Turn off a number of services that we do not need: sendmail, syslog, cups, bluetooth chkconfig --level 2345 <service> off

Setting it up as a ROC

In General the ROC will be the place you compile readoutlists and libraries for the VME modules.

You will also need to run the "coda_roc3" application as this replaces the tasks done previously using VxWorks.

Turn off the firewalls

/sbin/service iptables stop
echo 0 >/selinux/enforce

User Account

I decide to creat the user account "day" and copy all the coda 3.0 files there

I did the following command on the day account on rocdaq2


mkdir CODA

cd CODA

mkdir 3.06

cd 3.06

scp username@ftp.jlab.org:/site/coda/3.06/linuxvme ./


Readout lists

Module Libraries

Copy the module libraries from the JLab subdirectory

/site/coda/contrib/devel/


cd ~/CODA/linuxvme/devel

References

https://clonwiki.jlab.org/wiki/index.php/GE_XVB601

https://coda.jlab.org/wiki/index.php/Intel-based_VME_Controllers

Drivers for the VME are here:

 /site/coda/2.6.1/extensions/linuxvme/RPMs


Readout_Controller_Configuration