code:work:lvisf:nonrt2017:start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| code:work:lvisf:nonrt2017:start [2018/01/04 16:17] – [Ethernet Driver Install and Configuration] david | code:work:lvisf:nonrt2017:start [2018/01/04 22:54] (current) – [Auto-load Plx9030 Driver] david | ||
|---|---|---|---|
| Line 218: | Line 218: | ||
| # required for tuna | # required for tuna | ||
| sudo yum install xauth pygtk2-libglade -y | sudo yum install xauth pygtk2-libglade -y | ||
| + | </ | ||
| + | - Install **tuna** tuning package < | ||
| + | sudo yum install tuna -y | ||
| </ | </ | ||
| + | ==== Remove Unused Services ==== | ||
| - | **Remove Unused Services** | + | |
| - | + | ||
| - | | + | |
| - Stop the service < | - Stop the service < | ||
| sudo service exim stop | sudo service exim stop | ||
| Line 229: | Line 231: | ||
| - Remove the package from the system < | - Remove the package from the system < | ||
| sudo rpm -e --nodeps exim | sudo rpm -e --nodeps exim | ||
| + | </ | ||
| + | - Remove **auditd** < | ||
| + | sudo service auditd stop # now | ||
| + | sudo chkconfig auditd off # after reboot | ||
| </ | </ | ||
| - Remove **postfix** | - Remove **postfix** | ||
| Line 273: | Line 279: | ||
| NETWORKING_IPV6=no | NETWORKING_IPV6=no | ||
| IPV6INIT=no | IPV6INIT=no | ||
| + | </ | ||
| + | - Add these two lines to **sshd_config** < | ||
| + | sudo nano / | ||
| + | # lvisf - ipv4 only | ||
| + | AddressFamily inet | ||
| + | ListenAddress 0.0.0.0 | ||
| </ | </ | ||
| - Blacklist kernel modules we don't require | - Blacklist kernel modules we don't require | ||
| Line 290: | Line 302: | ||
| blacklist i2c_i801 | blacklist i2c_i801 | ||
| - | blacklist igb | + | # blacklist igb |
| blacklist lpc_ich | blacklist lpc_ich | ||
| blacklist shpchp | blacklist shpchp | ||
| Line 421: | Line 433: | ||
| sudo chown -R lvis:lvis /opt/lvisf | sudo chown -R lvis:lvis /opt/lvisf | ||
| </ | </ | ||
| - | - Check out the raw source code < | + | - **[Optional]** Uncompress our locally attached mount with snapshot (faster than network initial checkout)< |
| + | cd / | ||
| + | tar jxvf / | ||
| + | </ | ||
| + | - **[Either]** | ||
| cd /opt/lvisf | cd /opt/lvisf | ||
| svn co https:// | svn co https:// | ||
| + | </ | ||
| + | - **[Or]** Update it if you used the tar above < | ||
| + | cd / | ||
| + | svn update | ||
| </ | </ | ||
| - Enter the user home directory and create symbolic links< | - Enter the user home directory and create symbolic links< | ||
| Line 503: | Line 523: | ||
| </ | </ | ||
| - Build the drivers < | - Build the drivers < | ||
| + | # to disable IRQs in this driver, just use this code where the IRQ calls are commented out | ||
| + | cp init.c.no_irq init.c | ||
| make | make | ||
| </ | </ | ||
| - | - Load the drivers < | + | - Load the drivers |
| cd / | cd / | ||
| insmod biokernbase.ko | insmod biokernbase.ko | ||
| insmod bio1753.ko | insmod bio1753.ko | ||
| </ | </ | ||
| + | - Exit the **sudo bash** < | ||
| + | exit | ||
| + | </ | ||
| ==== Innovative Digitizer Drivers ==== | ==== Innovative Digitizer Drivers ==== | ||
| Line 575: | Line 599: | ||
| - Enter the code directory < | - Enter the code directory < | ||
| cd / | cd / | ||
| + | </ | ||
| + | - Copy the drivers for our kernel into the binary directory < | ||
| + | cp -a / | ||
| </ | </ | ||
| - Execute the setup script < | - Execute the setup script < | ||
| + | chmod 755 *.sh # not sure why these were not already executable | ||
| sudo bash ./ | sudo bash ./ | ||
| </ | </ | ||
| - | - Select the proper option: | + | - Select the proper option: |
| + | |||
| + | ==== Auto-load MIC-3753 Driver ==== | ||
| + | |||
| + | - symlink the drivers into the kernel directory < | ||
| + | sudo ln -s / | ||
| + | </ | ||
| + | - add to our startup script **/ | ||
| + | - modify the file < | ||
| + | sudo nano / | ||
| + | </ | ||
| + | - add the following < | ||
| + | # start the MIC-3753 drivers | ||
| + | / | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | ==== Auto-load Plx9030 Driver ==== | ||
| + | |||
| + | **NOTE: (in lieu of step 2 below)** I had this not work when I manually edited it the first time. A copy of the file is in the repository, you could just copy that file in: | ||
| + | < | ||
| + | sudo cp / | ||
| + | </ | ||
| + | |||
| + | - symlink the driver into the kernel so it will come up on boot < | ||
| + | sudo ln -s / | ||
| + | - add to our startup script **/ | ||
| + | - modify the file < | ||
| + | sudo nano / | ||
| + | </ | ||
| + | - add the following < | ||
| + | # start the Plx9030 syncclock32 driver | ||
| + | / | ||
| + | - symbolically link in our **rc.local** into **/ | ||
| + | - remove the original < | ||
| + | # remove the symlink | ||
| + | sudo rm / | ||
| + | # move the original to something else | ||
| + | sudo mv / | ||
| + | </ | ||
| + | - link in the **lvisf** version < | ||
| + | sudo ln -s / | ||
| + | sudo ln -s / | ||
| + | </ | ||
| + | |||
| + | ===== Installing Boost Library ===== | ||
| + | |||
| + | The **boost** C++ library is required | ||
| + | |||
| + | - Uncompress the tar into **/opt** < | ||
| + | cd /opt | ||
| + | sudo tar -jxvf / | ||
| + | </ | ||
| + | - Symbolically link to a generic boost directory < | ||
| + | sudo ln -s / | ||
| + | </ | ||
| + | - Chown it all to **lvis** user < | ||
| + | sudo chown -R lvis:lvis / | ||
| + | </ | ||
| + | - Set the environment variable for the **BOOST_ROOT** variable | ||
| + | - Edit the file / | ||
| + | nano / | ||
| + | </ | ||
| + | - Add the line < | ||
| + | # Add the boost root directory | ||
| + | export BOOST_ROOT=/ | ||
| + | </ | ||
| + | - Run our profile to load this variable < | ||
| + | source / | ||
| + | </ | ||
| + | - Compile the **boost** libraries < | ||
| + | cd / | ||
| + | ./ | ||
| + | ./b2 | ||
| + | </ | ||
| + | |||
| + | ===== Installing USB Temperature Library ===== | ||
| + | |||
| + | Follow the instructions below to compile the USB temperature monitoring device libraries required. | ||
| + | |||
| + | * [[subsystem: | ||
| + | ]] | ||
| ====== Clean Boot Operations ====== | ====== Clean Boot Operations ====== | ||
code/work/lvisf/nonrt2017/start.1515082629.txt.gz · Last modified: by david
