User Tools

Site Tools


lbaops:vsib_installation

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lbaops:vsib_installation [2017/05/31 16:04]
chrisphillips [Install vsib drivers and setup]
lbaops:vsib_installation [2021/01/04 14:47] (current)
chrisphillips [DAS GUI]
Line 8: Line 8:
  <code>  <code>
  apt-get install apt-file libfftw3-dev tkdiff g++ gcc gfortran build-essential subversion pgplot5   apt-get install apt-file libfftw3-dev tkdiff g++ gcc gfortran build-essential subversion pgplot5 
-   tcptraceroute ethtool wireshark autoconf libtool gnu-standards emacs qiv tcpdump x11-apps zlib1g-dev  pkg-config ntpdate ntp libgtk2-perl screen lshw+   tcptraceroute ethtool wireshark autoconf libtool gnu-standards emacs qiv tcpdump x11-apps zlib1g-dev  pkg-config ntpdate ntp libgtk2-perl screen lshw firmware-qlogic libpng12-dev
    apt-file update    apt-file update
 </code> </code>
Line 17: Line 17:
 **SQUEEZE & WHEEZEY** **SQUEEZE & WHEEZEY**
 <code>apt-get install libpng12-dev libpgplot-perl</code> <code>apt-get install libpng12-dev libpgplot-perl</code>
 +
 +Can duplicate packages from an existing machine:
 +
 +On original
 +<code>
 +apt-clone clone lbadr
 +</code>
 +On new machine
 +<code>
 +apt-clone restore lbadr.apt-clone.tar.gz
 +</code>
  
  
   * Copy bigphysarea kernel deb package (see below)   * Copy bigphysarea kernel deb package (see below)
-<code>dpkg -i linux-image-XXX-bigphys_1.0_i386.deb</code>+<code>dpkg -i linux-image-XXX-bigphys_1.2_i386.deb  dpkg -i linux-headers-XXX-bigphys_1.2_i386.deb</code>
  
 **SQUEEZE & WHEEZEY** **SQUEEZE & WHEEZEY**
-    * Edit ''/etc/default/grub'' change ''GRUB_DEFAULT'' as appropriate and ''GRUB_CMDLINE_LINUX_DEFAULT="bigphysarea=128000"''+    * Edit ''/etc/default/grub'' change ''GRUB_DEFAULT'' as appropriate and ''GRUB_CMDLINE_LINUX_DEFAULT="bigphysarea=64000"''
  
-<code>update grub</code>+<code>update-grub</code>
  
  
Line 58: Line 69:
      Support for big physical area reservation (BIGPHYS_AREA) [N/y/?] (NEW) y      Support for big physical area reservation (BIGPHYS_AREA) [N/y/?] (NEW) y
   make-kpkg clean   make-kpkg clean
-  fakeroot make-kpkg --initrd --revision=1.0 --append-to-version=-bigphys kernel_image+  fakeroot make-kpkg --initrd --revision=1.0 --append-to-version=-bigphys kernel_image kernel_headers
 </code> </code>
  
-Removed the following modules/catagories+Removed the following modules/categories
  
 <code> <code>
Line 97: Line 108:
 <code> <code>
         # vsib board         # vsib board
-        KERNEL="vsib", MODE="0664", GROUP="vlbi"+        KERNEL=="vsib", MODE="0664", GROUP="vlbi"
 </code> </code>
      
Line 105: Line 116:
   * via CPAN Config::Trivial.pm, Astro::Time   * via CPAN Config::Trivial.pm, Astro::Time
  
-===== e1000e Network driver for New VSI machines  =====+===== New VSI Machines ===== 
 + 
 +==== e1000e Network driver ====
  
 Need support for Intel I219LM LAN controller Need support for Intel I219LM LAN controller
  
-  * Download e1000e-3.3.5.3.tar.gz from https://downloadcenter.intel.com/download/15817+  * Download e1000e-3.3.5.3.tar.gz from https://downloadcenter.intel.com/download/15817 (latest 3.4.2.1)
  
 <code> <code>
Line 118: Line 131:
 </code> </code>
  
 +==== Patch kernel ====
 +
 +https://launchpadlibrarian.net/85312585/fix_readq.patch
 +
 +<code>
 +---
 + drivers/acpi/atomicio.c |   11 +++++++++--
 + 1 file changed, 9 insertions(+), 2 deletions(-)
 +
 +--- a/drivers/acpi/atomicio.c
 ++++ b/drivers/acpi/atomicio.c
 +@@ -306,11 +306,18 @@ static int acpi_atomic_read_mem(u64 padd
 +  case 32:
 +  *val = readl(addr);
 +  break;
 +-#ifdef readq
 +  case 64:
 ++#ifdef readq
 +  *val = readq(addr);
 +- break;
 ++#else
 ++ {
 ++ u64 h;
 ++ *val = readl(addr);
 ++ h = readl(addr+4);
 ++ *val = *val + (h << 32);
 ++ }
 + #endif
 ++ break;
 +  default:
 +  return -EINVAL;
 +  }
 +</code>
 +
 +
 +===== DAS GUI =====
 +
 +  * Install ''libmotif-dev libxt-dev ''
 +  * ''cd evlbi/das/das_gui; make''
 +  * ''mkdir -p ~/das/das1; mkdir ~/das/das2''
 +  * Copy from backup ''~/das/profiles''
 +  * Add "vlbi" to "dialout" in ''/etc/group''
 +
 +===== Create partitions for RAID =====
 +
 +32 bit kernel can only handle 16 TB partitions....
  
 +The following command to create 2 partitions:
  
 +   parted -a optimal -s -- /dev/sdb unit gb mkpart primary 50 2025 mkpart primary 2025 -0 set 3 raid on set 4 raid on
 +   mdadm --create /dev/md3 --level=5 --raid-devices=8 /dev/sd[abcdefgh]3
 +   mdadm --create /dev/md4 --level=5 --raid-devices=8 /dev/sd[abcdefgh]4
lbaops/vsib_installation.1496210660.txt.gz · Last modified: 2017/05/31 16:04 by chrisphillips