RT architecture for System Admin
Required software to run real time (RT) system as standalone (Gentoo)
- mbuf.ko in /lib/modules/2.6.34.1/kernel/drivers/mbuf/
- x1x14fe.ko
- x1x15fe.ko
- epics IOC
- awgtpman
- nds
- daq
Startup procedure
- /etc/conf.d/local.start to call /opt/epics-3.14.9-linux/base/bin/linux-x86/caRepeater and /lib/modules/2.6.34.1/kernel/drivers/mbuf/mbuf.ko
- nds, daq as respawn: /etc/inittab to call start_nds and start_daqd in /opt/rtcds/tst/x1/target/fb
- RT model name: /etc/rtsystab
- /etc/rc.local (or startx1x14, startx1x15 in /opt/rtcds/tst/x1/scripts/)
- EPICS: /opt/rtcds/tst/x1/target/x1x14/x1x14epics/startupX1
- RT core: /opt/rtcds/tst/x1/target/x1x14/scripts/startX1rt
- awgtpman(testpoint): /opt/rtcds/tst/x1/target/gds/awgtpman_startup/awgtpman_x1x14.cmd
Other useful setting files
- daq: /opt/rtcds/tst/x1/target/fb/master, /opt/rtcds/tst/x1/target/fb/daqdrc
- ??? /etc/xinetd.d/chnconf, /etc/xinetd.d/diagconf, /etc/xinetd.d/leapconf
Applications to check RT system running
- medm: for epics, burt
- dataviewer: for tp channel, DAQ channel
- diaggui: for tp channel, DAQ channel
Useful commands to check RT system running
dmesg lsmod diag -i ps -ef | grep nds ps -ef | grep daq ps -ef | grep awg
log files
- dmesg
- diag -i
- daq: /opt/rtcds/tst/x1/target/fb/logs/daq.log.XXX
- nds: /opt/rtcds/tst/x1/target/fb/logs/nds.log.XXX
- awgtpman: /opt/rtcds/tst/x1/target/gds/awgtpman_logs/x1x14.log
- awgtpman: /opt/rtcds/tst/x1/target/gds/awgtpman_logs/x1x15.log
- RT core: /opt/rtcds/tst/x1/target/x1x14/logs/log.txt
- epics: /opt/rtcds/tst/x1/target/x1x14/x1x14epics/icoX1.log
Applications in workstation (Ubuntu)
- medm
- diaggui
- awggui
- dataviewer
- foton
- ezca...
- tds...
- striptoor
- dmtviewer
- ligotools