SLAC ESD Software Engineering Group
Stanford Linear Accelerator Center

EVR Module Setup for Servers

SLAC Computing
Software Engineering
Detailed
Unix
 

 

 


 This web page gives information on how to install the EVR in our servers


 

 

The camera servers will sometimes need timing to timestamp the images from the cameras.  For these servers we will need to load the pci_mrfevr module.

*Make sure the followng kernels are installed: (uname -r)

  • kernel-debug-2.6.18-371.8.1.el5
  • kernel-PAE-devel-2.6.18-371.8.1.el5  *****

 

Need the /usr/src/kernel area to build module:

  • [lcls-devcam03]: /u/cd/brobeck:$ ls /usr/src/kernels/
    • 2.6.18-371.8.1.el5-debug-i686/
    • 2.6.18-371.8.1.el5PAE-i686@
    • 2.6.18-371.8.1.el5-PAE-i686/     *************
    • 2.6.18-371.8.1.el5-i686/
    • 2.6.18-371.8.1.el5debug-i686@

     

    Possible error Due to missing Kernel files

    :# make modules_install

    make -C /lib/modules/2.6.18-371.8.1.el5PAE/build M=/afs/slac.stanford.edu/g/lcls/vol9/package/linuxKernel_Modules/pci_mrfevr_linux/MAIN_TRUNK modules_install

    make: *** /lib/modules/2.6.18-371.8.1.el5PAE/build: No such file or directory.  Stop.

    make: *** [modules_install] Error 2

     



  1. Login to the server as root and go to the directory which contains the module. This area will contain all the code to build and deploy the module
    1. cd /usr/local/lcls/package/linuxKernel_Modules/pci_mrfevr_linux/MAIN_TRUNK/   (This is subject to change)
    2. Type: make modules_install
    3. /sbin/depmod -a
    4. /sbin/modprobe pci_mrfevr
  2. Verify module is loaded
    1. lsmod | grep pci
  3. Create startup file
    1. Copy a file from other camera server or from /usr/local/admin/Startup-files (This is subject to change)
      1. Create the init.d and rc3.d file
        1. S97st.pci_module_load -> /etc/init.d/st.pci_module_load (Our SIOC's run at S98)
 
 

[SLAC ESD Software Engineering Group][ SLAC Home Page]


Author:K. Brobeck

Modified: 02-May-2014