User Tools

Site Tools


software:fs_9.12.13

This wiki is not maintained! Do not use this when setting up AuScope experiments!

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
software:fs_9.12.13 [2019/08/12 23:17]
Guifre
software:fs_9.12.13 [2019/08/30 04:34] (current)
Guifre
Line 1: Line 1:
-=== VGOS 9.12.13 ​branch ​===+# New FS for VGOS branch 
 +## VGOS FSL10 
 +### Installation
  
 +IP assigned to the new machine in Katherine:
 +
 +> 131.217.61.33 (pcfs-2ke.phys.utas.edu.au)
 +
 +Installing a xvnc server to connect remotely via vnc. Using same installation as used with the HEX upgrade notes. Once the home directory was moved to /usr2/ and the '​old'​ fs window display was installed the automatic x11 server stop working.
 +
 +`sudo nano /​lib/​systemd/​system/​x11vnc.service`
 +```
 +[Unit]
 +Description=Start x11vnc at startup.
 +After=multi-user.target
 +[Service]
 +Type=simple
 +ExecStart=/​usr/​bin/​x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /​home/​observer/​.vnc/​passwd -rfbport 5900 -shared
 +[Install]
 +WantedBy=multi-user.target
 +```
 +`sudo systemctl daemon-reload`
 +`sudo systemctl enable x11vnc.service`
 +
 +Installation of the new FSL10. See Dave's notes below.
 +
 +`apt install linux-image-amd64 linux-headers-amd64`
 +
 +Copying the selection of specific fsl10 packages.
 +```
 +scp fsl10.selections observer@pcfs-2ke:​
 +observer@pcfs-2ke'​s password:
 +fsl10.selections ​                          ​100% ​  ​58KB ​  ​2.6MB/​s ​  00:00
 +
 +apt install dselect
 +```
 +Initial errors:
 +
 +```
 +root@pcfs-2ke:/​home/​observer#​ dpkg --set-selections < fsl10.selections
 +dpkg: warning: package not in status nor available database at line 122: default-java-plugin
 +dpkg: warning: package not in status nor available database at line 458: icedtea-8-plugin:​amd64
 +dpkg: warning: package not in status nor available database at line 1609: linux-headers-4.9.0-8-amd64
 +dpkg: warning: package not in status nor available database at line 1609: linux-headers-4.9.0-8-common
 +dpkg: warning: package not in status nor available database at line 1610: linux-image-4.9.0-8-amd64
 +dpkg: warning: found unknown packages; this might mean the available database
 +is outdated, and needs to be updated through a frontend method;
 +please see the FAQ <​https://​wiki.debian.org/​Teams/​Dpkg/​FAQ>​
 +```
 +
 +The package with linux headers and image is outdated, updated to latest version (4.9.0-9)
 +
 +> sed s/​4.9.0-8/​4.9.0-9/​r fsl10.selections
 +
 +The other two packages (default-java-plugins and icedtea-8-plugin) might be a bit more tricky to get. They are not part of the official Debian release. So there are some ways around in order to download and install, but I don't know how necessary those are.
 +
 +`apt-get dselect-upgrade`
 +
 +The installation might take from half an hour to an hour easily depending on the network connection. Furthermore,​ we should wait until the md0 array is fully mirrored.
 +
 +`apt-get clean`
 +
 +Installing the FS Adapt
 +```
 +ftp ftp.hartrao.ac.za kbd:[CR]
 +user: ftp
 +password: anything@utas.edu.au
 +      cd /pub/fs9x
 +get fsadapt-9.0.1.tgz
 +quit
 +
 +tar xzf fsadapt-9.0.1.tgz
 +```
 +
 +Modifying the files under /​usr2/​control/​. Taking as a template the ones from oper@pcfs-0ke.
 +
 +Files that are just cloned:
 +```
 +antenna.ctl
 +dev.ctl
 +flagr.ctl
 +flux.ctl
 +location.ctl
 +logpl.ctl
 +mdlpo.ctl
 +mk5ad.ctl
 +mk6ca.ctl
 +parpo.ctl
 +skedf.ctl
 +antcn.ctl
 +antcn_p12.ctl
 +```
 +
 +Files that have been modified using Hb as a template
 +```
 +fila10g_cfg.ctl
 +dbbad.ctl
 +equip.ctl
 +```
 +
 +> Note: Do we need to modify dbbad and dbba2 in order to have both systems running in parallel, or do we need only one of them?
 +> Note2: ibad.ctl is modified in pcfske, nots sure if it's needed in pcfs-2ke KFwZCxnMQNt2AgjmUYpcKT
 +> Note3: skedf.ctl does not properly show dbbc3 and flexbuff (?)
 +
 +### Comunication
 +[email2]
 +The selections list of software to be downloaded on the machine is a bit overkill. Some of the java scripts did not install. In principle java is not needed, unless is used for AusCope software MoniCA
 +
 +All your station code including trakl will need to be ported to 64 bit. The biggest problem comes “long” and “int” types having a different size on 64 bits. On 32 bits, they were the same, and the FS source used both. We decided it was simplest to replace all the “long” declarations with “int” where possible. I have a tool for doing most of that work, which you can find here:
 +
 +https://​github.com/​dehorsley/​unlongify
 +
 +The one thing you’ll need to watch is some system calls expect “long”, so you might have to go back and fix those. I don’t recall any of those in trakl though anyway.
 +
 +The other thing you will need is a newer version of the Fieldtalk library. The older one did not support 64 bits properly. I’m not sure if you will need to purchase a new license or if the one you have covers upgrades. Ed has emailed the developer.
 +
 +[email1]
 +
 +The new version of FS with the integration VGOS branch is for the moment called alpha2. The source code is available in my computer and pcfs-2ke.
 +When planning to use a 64-bits codes-> You’ll need to port your station code to 64-bit if you want to do the former. We didn’t have too much trouble porting trakl for our Patriot 12m we have here, though you will need a new version of the Fieldtalk MODBUS library. I can provide you with a tool that will help there.
 +
 +### VGOS 9.12.13 branch
  
 Communication with Ed Himwich 13.08.2019 Communication with Ed Himwich 13.08.2019
Line 10: Line 130:
 Currently, it has DBBC3 commands: Currently, it has DBBC3 commands:
  
 +```
 bbcnnn nnn=001…128 bbcnnn nnn=001…128
 ifx x=a…h ifx x=a…h
Line 15: Line 136:
 bbc_gain bbc_gain
 cont_cal cont_cal
 +```
  
-There are help pages for each. +There are help pages for each.
  
 There is no time-setting/​monitoring,​ yet. There is both continuous (procedure ‘cont_enable’ in ‘dbbc3po.prc',​ see below) and non-continuous (‘cal_enable’,​ also in ‘dbbc3st.prc'​) Tsys available (use '​tpicd=tsys’ and ‘caltsys’ respectively). However until we have multicast, continuous cal loads down the system too much to be useful during experiments. What I suggest for now is that non-continuous cal to check the system by manually running ‘caltsys'​ when the system is waiting for the next observation. Maybe ‘caltsys'​ could be added to the end of ‘checkmk5’ to do it automatically,​ but it will not be getting Tsys onsource in either approach. FIVPT and ONOFF work for both types of cal. There is no time-setting/​monitoring,​ yet. There is both continuous (procedure ‘cont_enable’ in ‘dbbc3po.prc',​ see below) and non-continuous (‘cal_enable’,​ also in ‘dbbc3st.prc'​) Tsys available (use '​tpicd=tsys’ and ‘caltsys’ respectively). However until we have multicast, continuous cal loads down the system too much to be useful during experiments. What I suggest for now is that non-continuous cal to check the system by manually running ‘caltsys'​ when the system is waiting for the next observation. Maybe ‘caltsys'​ could be added to the end of ‘checkmk5’ to do it automatically,​ but it will not be getting Tsys onsource in either approach. FIVPT and ONOFF work for both types of cal.
Line 37: Line 159:
 /​usr2/​fs-9.12.13.st.default/​control/​rdb??​.ctl files /​usr2/​fs-9.12.13.st.default/​control/​rdb??​.ctl files
  
-to /​usr2/​control. These must be present even if you aren’t using RDBEs, but in that case they should have no non-comment lines) ​+to /​usr2/​control. These must be present even if you aren’t using RDBEs, but in that case they should have no non-comment lines)
  
/home/www/auscope/opswiki/data/attic/software/fs_9.12.13.1565651860.txt.gz · Last modified: 2019/08/12 23:17 by Guifre