User Tools

Site Tools


code:work:lvisf:sl2017:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
code:work:lvisf:sl2017:start [2017/04/07 16:33] – created davidcode:work:lvisf:sl2017:start [2018/01/04 20:39] (current) – [Install and Configure Ethernet Driver] david
Line 35: Line 35:
   * [[http://www.cse.psu.edu/~deh25/cmpsc473/notes/OSC/Processes/shm.html]] <- REALLY good simple C example of producer / consumer code   * [[http://www.cse.psu.edu/~deh25/cmpsc473/notes/OSC/Processes/shm.html]] <- REALLY good simple C example of producer / consumer code
 ===== Cyclic Testing ===== ===== Cyclic Testing =====
 +
 +**NOTE!!** **This is where I got the idea to run our thread at priority 99, which is directly contradicted by the following page which makes clear there are some things that need to run at higher priority than our program**  [[https://rt.wiki.kernel.org/index.php/HOWTO:_Build_an_RT-application]] which states:  <code>
 +Do not configure your application to run with priority 99. There are a few management threads which need to run with higher priority then your application, e.g. watchdogs threads. 
 +</code>
  
 Ran this in a second login to create disk load: Ran this in a second login to create disk load:
Line 331: Line 335:
 DNS2=128.183.50.17 DNS2=128.183.50.17
 DOMAIN="gsfc.nasa.gov ndc.nasa.gov" DOMAIN="gsfc.nasa.gov ndc.nasa.gov"
-GATEWAY="10.4.1.1"+GATEWAY="10.4.1.254" 
 +GATEWAY="10.4.1.1"
 </code> </code>
     - Add our default gateway     - Add our default gateway
Line 342: Line 347:
 NETWORKING_IPV6=no NETWORKING_IPV6=no
 IPV6INIT=no IPV6INIT=no
-GATEWAY=10.4.1.1+GATEWAY=10.4.1.254 
 +GATEWAY=10.4.1.1
 </code> </code>
     - Ensure our name server can be found (**NOTE:** Probably redundant if you modified the script, but check after rebooting that DNS and domain search are in **resolv.conf**)     - Ensure our name server can be found (**NOTE:** Probably redundant if you modified the script, but check after rebooting that DNS and domain search are in **resolv.conf**)
Line 448: Line 454:
   - Install development libraries for md5sum and gzip in real time <code>   - Install development libraries for md5sum and gzip in real time <code>
 sudo yum install openssl-devel sudo yum install openssl-devel
 +</code>
 +  - Install **screen** so we can launch programs into detached terminals! <code>
 +sudo yum install screen
 </code> </code>
   - Install md5deep so we can check file integrity <code>   - Install md5deep so we can check file integrity <code>
Line 688: Line 697:
   - symbolically link in our **rc.local** into **/etc/rc.local**   - symbolically link in our **rc.local** into **/etc/rc.local**
     - remove the original <code>     - remove the original <code>
 +# remove the symlink
 sudo rm /etc/rc.local sudo rm /etc/rc.local
 +# move the original to something else
 +sudo mv /etc/rc.d/rc.local /etc/rc.d/rc.local_orig
 </code> </code>
     - link in the **lvisf** version <code>     - link in the **lvisf** version <code>
-sudo ln -s /opt/lvisf/src/lvisF/scripts/rc.local /etc/rc.local+sudo ln -s /opt/lvisf/src/lvisF/scripts/rc.local /etc/rc.d/rc.local 
 +sudo ln -s /etc/rc.d/rc.local /etc/rc.local
 </code> </code>
  
Line 789: Line 802:
 insmod /usr/Innovative/KerPlug/linux/LINUX.2.6.33.9-rt31.79.el6rt.x86_64.x86_64/kp_malibu_module.ko insmod /usr/Innovative/KerPlug/linux/LINUX.2.6.33.9-rt31.79.el6rt.x86_64.x86_64/kp_malibu_module.ko
 exit exit
 +</code>
 +
 +==== Field Addendum ====
 +
 +In the field we noticed that the driver was saying unregistered, and would only run for 60 minutes (sometimes it ran longer, but this was an issue).  Dave found these instructions from an email:
 +
 +<code>
 +FIRST!
 +
 +Make sure this folder exists:
 +
 +/usr/Innovative/Lib/Dll (and it is linked to the Innovative folder in src)
 +
 +Make sure LicenseLoader.so exists in that folder.
 +
 +(I have attached that file and a tar of the 3 others needed to rebuild)
 +
 +Hopefully its just that the .so did not make it to that system disk. 
 +
 +If is does exist:
 +
 +Copy all the files in the tar to:
 +
 +/home/lvis/src/Innovative/Malibu
 +
 +Cd to /home/lvis/src/Innovative/Malibu/Qt/Os_Mb
 +
 +“qmake-qt4”
 +“make”
 + 
 +This will make the Os library and copy it to the correct folder.
 + 
 +“That is all I got” 😊
 + 
 +Dave
 </code> </code>
  
Line 843: Line 891:
 </code> </code>
     - Add the following line: <code>     - Add the following line: <code>
-LABEL=LVISF_INTERNAL    /mnt/internal           ext4    defaults        0 0+LABEL=LVISF_INTERNAL    /mnt/internal           ext2    defaults        0 0
 </code> </code>
     - Symbolically link to **/mnt/data/** <code>     - Symbolically link to **/mnt/data/** <code>
code/work/lvisf/sl2017/start.1491582814.txt.gz · Last modified: 2017/04/07 16:33 by david