Dispatching crate management

  • Doxygen generated documentation of the source can be reached here.
  • Source code is kept under Subversion repository (was under CVS before):
for the GUI: svn checkout svn://ipnnarval.in2p3.fr:/ALICE/Dispatching/trunk/gerard/dispatching ./gerard/dispatching for communication with CCT VME driver: svn checkout svn://ipnnarval.in2p3.fr:/ALICE/Dispatching/trunk/Common ./Common for communication with RCC VME driver: svn checkout svn://ipnnarval.in2p3.fr:/ALICE/Dispatching/branches/rcc_driver/Common ./Common
  • Binary and source releases are also distributed under .rpm package format (compiled on reference SLC4 distribution). daq-MCH-DIS-1.0.0-4.i386.rpm daq-MCH-DIS-1.0.0-4.src.rpm
  • Executable from the package is dispatching
  • Previous versions can be seen here.
  • After the initial test using Temporary installation on VME crate (see the related chapter), There is one way to install a .rpm or upgrade it from a previous .rpm version. As root: rpm -Uvh daq-MCH-DIS-1.0.0-4.i386.rpm
  • Don't forget to source the setup script . /opt/daq-MCH/DIS/setup.sh
(for instance, in your .bashrc)

You need non-default drivers

  • Check existing inserted driver modules /sbin/lsmod
look for either vmedriver or rcc
  • If needed, as root, remove CCT driver module /sbin/rmmod vmedriver
  • RCC driver needs configuration file
it is provided for in /opt/daq-MCH/DIS/data/vmetab
  • a copy must be provided to /etc/init.d/drivers_rcc start
  • As root, insert RCC driver module /etc/init.d/drivers_rcc start

Use the new driver...

  • Check the dispatching configuration file dispatchingConfig.txt
A reference file is provided on /opt/daq-MCH/DIS/data/dispatchingConfig.txt to check the structure.
  • Have the properly configured file in your execution directory.
  • Then, run dispatching
  • To restore the initial CCT settings, be sure to exit dispatching
  • Should it be needed, kill all remaining occurence of dispatching killall dispatching

Be back to standard driver

  • As root, remove RCC driver module /etc/init.d/drivers_rcc stop
  • As root, insert back CCT driver module /sbin/insmod /usr/local/linuxvme/vmedriver.ko resMemSize=8

The way to access VME crate

One in Orsay (kernel 2.6.9-67) is ipnlnxpool05.in2p3.fr and the one in CERN (kernel 2.6.9-34) is alidcsvme009.cern.ch which has to be accessed through ssh -X ''user''@lxplusNOSPAMPLEASE.cern.ch rdesktop -k fr cernts.cern.ch and then, from Windows Desktop alidcscom001 and finaly, through PuTty alidcsvme009.cern.ch

Temporary installation on VME crate

  • get the rpm file
either through the web: http://ipnnarval.in2p3.fr/lc2/RPM/daq-MCH-DIS-1.0.0-4.i386.rpm or through afs: /afs/cern.ch/user/v/vlafage/public/daq-MCH-DIS-1.0.0-4.i386.rpm

  • bring it to alidcsvme009 and then connect/ssh/Putty to alidcsvme009.cern.ch
(we could not connect from AZERTY keyboard, and even the same keypress was giving different character).

  • deployment (no need to be root) mkdir ~/tmp_deployment cd ~/tmp_deployment rpm2cpio ~/daq-MCH-DIS-1.0.0-4.i386.rpm | cpio -ivd

  • setup temporary environment source ~/tmp_deployment/opt/daq-MCH/DIS/setup.sh

  • configure the local dispatchingConfig.txt

Build a new binary .rpm from sources .rpm (.src.rpm)

  • There are two ways to build a new binary .rpm from sources .rpm (.src.rpm). As root, either rpmbuild --rebuild daq-MCH-DIS-1.0.0-4.src.rpm

install sources

rpm -Uvh daq-MCH-DIS-1.0.0-4.src.rpm that will install the 2 files /usr/src/redhat/SOURCES/daq-MCH-DIS-1.0.0.tar.gz /usr/src/redhat/SPECS/daq-MCH-DIS.spec

then recompile it

rpmbuild -bb /usr/src/redhat/SPECS/daq-MCH-DIS.spec

When you want to see the changelog:

rpm -qp --changelog daq-MCH-DIS-1.0.0-4.i386.rpm

SVN problems

For people experiencing problems with SVN server, please first check the version of your svn client: svn --version

svn, version 1.4.4 (r25188) compiled Jun 30 2007, 10:31:29 is known to work, but svn, version 1.1.4 (r13838) compiled Oct 7 2005, 20:43:44 is known to fail: this is the one distributed with SLC4.5. To upgrade, you will need the 3 packages subversion-1.4.4-1.i386.rpm apr-0.9.12-2.i386.rpm apr-util-0.9.12-1.i386.rpm which you can find here. As root, install them, or contact your system administrator: rpm -Uvh subversion-1.4.4-1.i386.rpm apr-0.9.12-2.i386.rpm apr-util-0.9.12-1.i386.rpm

The most recent subversion-1.5.1-1.i386.rpm svn, version 1.5.1 (r32289) compiled Jul 24 2008, 20:53:51 may work as well (tested but not yet extensively).

Request & comments should be addressed at Vincent Lafage -- VincentLAFAGE - 24 Nov 2008 13:06 (CET)

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2008-11-24 - VincentLAFAGE
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback