AIDA GELINA BRIKEN nToF CRIB ISOLDE CIRCE nTOFCapture DESPEC DTAS EDI_PSA 179Ta CARME StellarModelling DCF K40
  AIDA, Page 33 of 46  ELOG logo
ID Date Author Subjectdown
  91   Sat May 2 14:41:20 2015 JA, TD, AE, CG, VP & JLTMUSIC detector signals

Adjusted setting of MUSIC detector signals during break

 

MUSIC ---> (16dB att)  --> Lemo split --->  J13

                                                                  ---> J14

 

MUSIC ---> (16dB att)  --> Lemo split --->  J15

                                                                   ---> J16

 

MUSIC ---> (BNC att.)  --> Lemo split --->  J17

                                                                  ---> J18

 

MUSIC ---> (BNC att.)  --> Lemo split --->  J19

                                                                  ---> J20

 

A couple seem to bee too much attenuated.  Spectra for 88Ge setting attached.

Attachment 1: MUSIC_lowE.png
MUSIC_lowE.png
Attachment 2: MUSIC_highE_log.png
MUSIC_highE_log.png
  67   Thu Apr 23 03:21:48 2015 TDMSL type BB18(DS)-1000
MSL type BB18

Serial			Thickness	Depletion	Date		Note			Location
			(um)		(V)

2933-7			1004		?		7.11.11		Mechanical Sample	Edinburgh

2933-13/2933-18/2933-20	1001/1001/990	290/300/340	24.11.11	Mechanical Sample	Edinburgh

2944-4                  1034                                                                    RIKEN
2944-10                 1038                                                                    RIKEN
2944-15			1044									Edinburgh

2977-6			1004		75		6.6.12		Pre-production series   RIKEN
	bond wire repair reqd
2977-7			1010		70		26.7.12		Pre-production series   RIKEN
2977-15			1007		75		26.7.12		Pre-production series   RIKEN
2977-20			1008		70		6.6.12		Pre-production series   RIKEN


2998-20			1006		100		21.3.13					Edinburgh
2998-22			1006									Edinburgh
2998-23			1012									Edinburgh

3058-2			1016		60		17.11.14				Edinburgh
3058-3			1033		70		10.11.14				Edinburgh
3058-4			1023		60		7.11.14					Edinburgh
3058-5			1010		70		23.2.15					Edinburgh
3058-6			1013		66		12.11.14				Edinburgh
3058-7			1027		63		10.11.14				Edinburgh
3058-9			1029		60		11.11.14				RIKEN
3058-25			1011		115		3.3.15					RIKEN

3131-9			925		120		16.2.15					RIKEN
3131-11			923		80		6.3.15					RIKEN
  196   Mon May 2 09:10:53 2016 TDMIDAS_MIDASsort_160316 installed
The latest (and greatest!) version of MIDASsort has been installed.

To use MIDASsort

aidas1> setenv PATH /MIDAS/bin_Linux64:$PATH
aidas1> MIDAS64-session

Select 'MIDAS Data Analysis' from the 'MIDAS Application Selection' pop-up
Select 'Sort Tool' from 'MIDAS Base Frame'

AIDA data is written in the GREAT format

http://npg.dl.ac.uk/documents/edoc504/edoc504.html
https://elog.ph.ed.ac.uk/AIDA/113

Select 'Settings' from 'MIDAS Sort (64 bit) Control Frame' window

Select 'Use Gfortran?'
Select 'Sunsort spectrum name convention?' 
Select 'Kill memsas server on Exit'

Select Input Data Format GREAT from 'MIDAS Sort (64 bit) Control Frame' window
Select 'Disk Info' from 'MIDAS Sort (64 bit) Control Frame'
        Select 'Block size' 65536 from 'MIDASsort: Disk Info' window
  200   Tue May 3 08:46:25 2016 TDMIDAS updates - problems
1) Unable to enable data transfer

   From RunControl unable to 'Enable #1 All' or 'Enable #2 All'

   in the former case, no 'X' symbol appears by the sttaus of each acqserver
   in the latter case I obtain an error

   see attachments 1-3

   Note the file referred to in the error message is

-rwxr-xr-x. 1 npg npgstaff 16503 Mar  9 22:46 DataAcquisitionControl.tml

2) Unable to plot temperature data

   See attachment 4 for error message

3) MERGE shows 64 data links - only the first 32 can be toggled (enable/disable)
   For 32x FEE64s should be able to toggle 64? Configuration file issue?

MERGE Program Release V3/x86_64 (Sep  3 2014, 18:22:23) starting

Merge: Histogramming not using threads
Merge: debugging initialised: off.
Merge: opening buffer for Merge_EventBuffer, size 0x800
Merge: returning merge memory at virtual 0xcb5c50
Event Buffer virtual address: 0xcb5c50
Merge: initialising for 8 links: 2 3 4 5 6 7 8 9 
Merge: opening buffer for link2_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f184cb93010
Link Data buffer 0 (Link2), length 3932160 (0x3c0000) bytes mapped at: 0x7f184cb93010 - 0x7f184cf5300f
Merge: opening buffer for link3_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f184c7d2010
Link Data buffer 1 (Link3), length 3932160 (0x3c0000) bytes mapped at: 0x7f184c7d2010 - 0x7f184cb9200f
Merge: opening buffer for link4_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f184c411010
Link Data buffer 2 (Link4), length 3932160 (0x3c0000) bytes mapped at: 0x7f184c411010 - 0x7f184c7d100f
Merge: opening buffer for link5_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f184c050010
Link Data buffer 3 (Link5), length 3932160 (0x3c0000) bytes mapped at: 0x7f184c050010 - 0x7f184c41000f
Merge: opening buffer for link6_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f184bc8f010
Link Data buffer 4 (Link6), length 3932160 (0x3c0000) bytes mapped at: 0x7f184bc8f010 - 0x7f184c04f00f
Merge: opening buffer for link7_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f184b8ce010
Link Data buffer 5 (Link7), length 3932160 (0x3c0000) bytes mapped at: 0x7f184b8ce010 - 0x7f184bc8e00f
Merge: opening buffer for link8_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f184b50d010
Link Data buffer 6 (Link8), length 3932160 (0x3c0000) bytes mapped at: 0x7f184b50d010 - 0x7f184b8cd00f
Merge: opening buffer for link9_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f184b14c010
Link Data buffer 7 (Link9), length 3932160 (0x3c0000) bytes mapped at: 0x7f184b14c010 - 0x7f184b50c00f
Queue 0 (Link2) starts at 0x7f184cb93010
Queue 1 (Link3) starts at 0x7f184c7d2010
Queue 2 (Link4) starts at 0x7f184c411010
Queue 3 (Link5) starts at 0x7f184c050010
Queue 4 (Link6) starts at 0x7f184bc8f010
Queue 5 (Link7) starts at 0x7f184b8ce010
Queue 6 (Link8) starts at 0x7f184b50d010
Queue 7 (Link9) starts at 0x7f184b14c010
Merge: OutputTrace set to 1
Merge: Histogramming using threads
MERGE Merge setup complete
Data Acquisition using tape server localhost on port 0
Initialising communication with tape server
Setting Transfer Block Size 65536
Setting Transfer Mode 3
Setting Overlap Mode 0
Setting nice 0
TCP transfer library version 3.12
TCP socket send buffer was 16384 - now 249856
TCP socket receive buffer was 87380 - now 249856
TCP socket created OK - now connecting to localhost port 10305
Transfer Error - : Connection refused
connect() failed:  
MERGE now ready to be initialised and started
MRGE Stats created and initialised
MERGE Data Link (7866): Starting the network interface
MERGE Data Link (7866): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (7866): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (7866): MERGE Data Link using TCP port 11032.
MERGE Data Link (7866): Entering server loop
MERGE Data Link (7866): listening on port 11032
Merge: debugging initialised: off.
Event Buffer virtual address: 0xcb5c50
Merge: initialising for 32 links: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
29 30 31 
Merge: opening buffer for link0_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f184a367010
Link Data buffer 0 (Link0), length 3932160 (0x3c0000) bytes mapped at: 0x7f184a367010 - 0x7f184a72700f
Merge: opening buffer for link1_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1849fa6010
Link Data buffer 1 (Link1), length 3932160 (0x3c0000) bytes mapped at: 0x7f1849fa6010 - 0x7f184a36600f
Link Data buffer 2 (Link2), length 3932160 (0x3c0000) bytes mapped at: 0x7f184cb93010 - 0x7f184cf5300f
Link Data buffer 3 (Link3), length 3932160 (0x3c0000) bytes mapped at: 0x7f184c7d2010 - 0x7f184cb9200f
Link Data buffer 4 (Link4), length 3932160 (0x3c0000) bytes mapped at: 0x7f184c411010 - 0x7f184c7d100f
Link Data buffer 5 (Link5), length 3932160 (0x3c0000) bytes mapped at: 0x7f184c050010 - 0x7f184c41000f
Link Data buffer 6 (Link6), length 3932160 (0x3c0000) bytes mapped at: 0x7f184bc8f010 - 0x7f184c04f00f
Link Data buffer 7 (Link7), length 3932160 (0x3c0000) bytes mapped at: 0x7f184b8ce010 - 0x7f184bc8e00f
Link Data buffer 8 (Link8), length 3932160 (0x3c0000) bytes mapped at: 0x7f184b50d010 - 0x7f184b8cd00f
Link Data buffer 9 (Link9), length 3932160 (0x3c0000) bytes mapped at: 0x7f184b14c010 - 0x7f184b50c00f
Merge: opening buffer for link10_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1849be5010
Link Data buffer 10 (Link10), length 3932160 (0x3c0000) bytes mapped at: 0x7f1849be5010 - 0x7f1849fa500f
Merge: opening buffer for link11_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1849824010
Link Data buffer 11 (Link11), length 3932160 (0x3c0000) bytes mapped at: 0x7f1849824010 - 0x7f1849be400f
Merge: opening buffer for link12_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1849463010
Link Data buffer 12 (Link12), length 3932160 (0x3c0000) bytes mapped at: 0x7f1849463010 - 0x7f184982300f
Merge: opening buffer for link13_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f18490a2010
Link Data buffer 13 (Link13), length 3932160 (0x3c0000) bytes mapped at: 0x7f18490a2010 - 0x7f184946200f
Merge: opening buffer for link14_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1848ce1010
Link Data buffer 14 (Link14), length 3932160 (0x3c0000) bytes mapped at: 0x7f1848ce1010 - 0x7f18490a100f
Merge: opening buffer for link15_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1848920010
Link Data buffer 15 (Link15), length 3932160 (0x3c0000) bytes mapped at: 0x7f1848920010 - 0x7f1848ce000f
Merge: opening buffer for link16_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f184855f010
Link Data buffer 16 (Link16), length 3932160 (0x3c0000) bytes mapped at: 0x7f184855f010 - 0x7f184891f00f
Merge: opening buffer for link17_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f184819e010
Link Data buffer 17 (Link17), length 3932160 (0x3c0000) bytes mapped at: 0x7f184819e010 - 0x7f184855e00f
Merge: opening buffer for link18_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1847ddd010
Link Data buffer 18 (Link18), length 3932160 (0x3c0000) bytes mapped at: 0x7f1847ddd010 - 0x7f184819d00f
Merge: opening buffer for link19_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1847a1c010
Link Data buffer 19 (Link19), length 3932160 (0x3c0000) bytes mapped at: 0x7f1847a1c010 - 0x7f1847ddc00f
Merge: opening buffer for link20_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f184765b010
Link Data buffer 20 (Link20), length 3932160 (0x3c0000) bytes mapped at: 0x7f184765b010 - 0x7f1847a1b00f
Merge: opening buffer for link21_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f184729a010
Link Data buffer 21 (Link21), length 3932160 (0x3c0000) bytes mapped at: 0x7f184729a010 - 0x7f184765a00f
Merge: opening buffer for link22_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1846ed9010
Link Data buffer 22 (Link22), length 3932160 (0x3c0000) bytes mapped at: 0x7f1846ed9010 - 0x7f184729900f
Merge: opening buffer for link23_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1846b18010
Link Data buffer 23 (Link23), length 3932160 (0x3c0000) bytes mapped at: 0x7f1846b18010 - 0x7f1846ed800f
Merge: opening buffer for link24_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1846757010
Link Data buffer 24 (Link24), length 3932160 (0x3c0000) bytes mapped at: 0x7f1846757010 - 0x7f1846b1700f
Merge: opening buffer for link25_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1846396010
Link Data buffer 25 (Link25), length 3932160 (0x3c0000) bytes mapped at: 0x7f1846396010 - 0x7f184675600f
Merge: opening buffer for link26_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1845fd5010
Link Data buffer 26 (Link26), length 3932160 (0x3c0000) bytes mapped at: 0x7f1845fd5010 - 0x7f184639500f
Merge: opening buffer for link27_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1845c14010
Link Data buffer 27 (Link27), length 3932160 (0x3c0000) bytes mapped at: 0x7f1845c14010 - 0x7f1845fd400f
Merge: opening buffer for link28_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1845853010
Link Data buffer 28 (Link28), length 3932160 (0x3c0000) bytes mapped at: 0x7f1845853010 - 0x7f1845c1300f
Merge: opening buffer for link29_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1845492010
Link Data buffer 29 (Link29), length 3932160 (0x3c0000) bytes mapped at: 0x7f1845492010 - 0x7f184585200f
Merge: opening buffer for link30_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f18450d1010
Link Data buffer 30 (Link30), length 3932160 (0x3c0000) bytes mapped at: 0x7f18450d1010 - 0x7f184549100f
Merge: opening buffer for link31_Data, size 0x3c0000
Merge: returning merge memory at virtual 0x7f1844d10010
Link Data buffer 31 (Link31), length 3932160 (0x3c0000) bytes mapped at: 0x7f1844d10010 - 0x7f18450d000f
Queue 0 (Link0) starts at 0x7f184a367010
Queue 1 (Link1) starts at 0x7f1849fa6010
Queue 2 (Link2) starts at 0x7f184cb93010
Queue 3 (Link3) starts at 0x7f184c7d2010
Queue 4 (Link4) starts at 0x7f184c411010
Queue 5 (Link5) starts at 0x7f184c050010
Queue 6 (Link6) starts at 0x7f184bc8f010
Queue 7 (Link7) starts at 0x7f184b8ce010
Queue 8 (Link8) starts at 0x7f184b50d010
Queue 9 (Link9) starts at 0x7f184b14c010
Queue 10 (Link10) starts at 0x7f1849be5010
Queue 11 (Link11) starts at 0x7f1849824010
Queue 12 (Link12) starts at 0x7f1849463010
Queue 13 (Link13) starts at 0x7f18490a2010
Queue 14 (Link14) starts at 0x7f1848ce1010
Queue 15 (Link15) starts at 0x7f1848920010
Queue 16 (Link16) starts at 0x7f184855f010
Queue 17 (Link17) starts at 0x7f184819e010
Queue 18 (Link18) starts at 0x7f1847ddd010
Queue 19 (Link19) starts at 0x7f1847a1c010
Queue 20 (Link20) starts at 0x7f184765b010
Queue 21 (Link21) starts at 0x7f184729a010
Queue 22 (Link22) starts at 0x7f1846ed9010
Queue 23 (Link23) starts at 0x7f1846b18010
Queue 24 (Link24) starts at 0x7f1846757010
Queue 25 (Link25) starts at 0x7f1846396010
Queue 26 (Link26) starts at 0x7f1845fd5010
Queue 27 (Link27) starts at 0x7f1845c14010
Queue 28 (Link28) starts at 0x7f1845853010
Queue 29 (Link29) starts at 0x7f1845492010
Queue 30 (Link30) starts at 0x7f18450d1010
Queue 31 (Link31) starts at 0x7f1844d10010
MERGE Merge setup complete
Initialising communication with tape server localhost on port 0
Setting Transfer Block Size 65536
Setting Transfer Mode 3
Setting Overlap Mode 0
Setting nice 0
TCP transfer library version 3.12
TCP socket send buffer was 16384 - now 249856
TCP socket receive buffer was 87380 - now 249856
TCP socket created OK - now connecting to localhost port 10305
Connected to localhost port 10305
Merge state now Going
Merge: Searching for timestamp 0 or greater
Merge state now Paused
Merge state now Stopped

4) mtimeout not defined following SETUP

See attachment 5

5) No data acquisition
   No histogram data. No SYNCs.

   See attachments 6-8
Attachment 1: 51.png
51.png
Attachment 2: 52.png
52.png
Attachment 3: DataAcquisitionControl.tml

[Doc_Dynamic]

[global env; source [file join $env(MIDASBASE) TclHttpd Html settings.tml]]

<!
[global Httpd; upvar #0 Httpd[set Httpd(currentSocket)] data; set ClientIPAddress $data(ipaddr); set MyInfo $data(self)]
>

<html>
<head>

  <title>Run Control @ [global env; set env(ComputerName)]</title>

<link rel="stylesheet" type="text/css" href="/css/buttons.css"/>

<script type="text/javascript" language="JavaScript" src="/js/Common.js"></script>
<script type="text/javascript" language="JavaScript" src="/js/FormChek.js"></script>
<script type="text/javascript" language="JavaScript" src="DataAcquisitionControl.js"></script>

</head>

<body>

<NOSCRIPT>
<hr>
<h2>
Your browser does not support JavaScript.
This service requires a JavaScript compatible browser. </h2> <hr> </NOSCRIPT> <p align=center> <table cellpadding=0 cellspacing=0 border=0 width=100%> <tr> <td align=left> <font size=4><b>Data Acquisition Run Control @ [set MyInfo]</b></font> </td> <td align=right> <font size=4><b>client address is [set ClientIPAddress]</b></font> </td> <td align=right> <input type=image src="/images/midas.gif" name=MIDAS title="MIDAS Home Page" onClick="click_MIDAS()"> <input type=image src="/images/tclp.gif" name=TCL title="Tcl/Tk Home Page" onClick="click_TCL()"> </td> </tr> </table> </p> <hr> <! [namespace eval DataAcquisitionControl { global env source [file join $env(MIDASBASE) TclHttpd tcl Common common.tcl] cd [file join $env(MIDASBASE) TclHttpd Html DataAcquisitionControl] source DataAcquisitionControl.tcl }] > <form action=[ncgi::urlStub] name=RunControl method=post> <input type=hidden name=Widget value="undefined"> <p align=center> <table cellpadding=0 cellspacing=0 border=0 width=100%> <tr> <td width=50% align=center> [namespace eval DataAcquisitionControl { if {[llength $::DataAcquisition::ACQSERVERS] > 1} {set html "Acquisition Servers"} else {set html ""} set html }] [namespace eval DataAcquisitionControl { set html "" if {[llength $::DataAcquisition::ACQSERVERS] > 1} { append html "<select name=ACQSERVER size=1 onChange=\"click_ACQSERVER(document.RunControl, document.RunControl.ACQSERVER.value)\">" } set s 0 foreach item $::DataAcquisition::ACQSERVERS { if {$::DataAcquisition::ACQSERVER == $item} {append html "<option selected>$item</option>"; set s 1} else {append html "<option>$item</option>"} } if {$s == 0} {append html "<option selected>-</option>"} if {[llength $::DataAcquisition::ACQSERVERS] > 1} {append html "</select>"} else {set html ""} set html }] </td> <td width=50% align=center> [namespace eval DataAcquisitionControl { if {[llength $::DataAcquisition::ACQSERVERS] > 1} then { set html "Act on ALL Data Acquisition Servers?<" append html "input type=checkbox name=ALLSERVERS" if {$allservers == 1} {append html " checked"} append html " onClick=click_ALLSERVERS(document.RunControl)" set html } }] </td> </tr> </table> </p> <p align=center> [namespace eval DataAcquisitionControl { set html "<font size=6><b>Server State</b></font>" append html "<table cellpadding=4 cellspacing=4 border=1 align=center cols=8>" set k 1 for {set i 0} {$i < $NRows} {incr i} { append html "<tr>" for {set j 0} {$j < $NCols} {incr j} { if {$SState($k) == 1} { append html "<td align=center valign=middle bgcolor=Green>" } else { append html "<td align=center valign=middle bgcolor=Red>" } if {$k <= [llength $::DataAcquisition::ACQSERVERS]} { set s [lindex $::DataAcquisition::ACQSERVERS [expr $k-1]] append html "<button name=S$k onClick=\"click_SSTATE(document.RunControl,$k)\"> $s </button>" } else { append html "<button name=S$k DISABLED> $k </button>" } incr k append html "</td>" } append html "</tr>" } append html "</table>" if {$allservers == 0} {set html ""} set html }] </p> <hr> <p align="center"> [namespace eval DataAcquisitionControl { if {$allservers == 0 && [llength $::DataAcquisition::ACQSERVERS] > 1} then \ {set html "<b>Current Acquisition Server [set ::DataAcquisition::ACQSERVER]</b>"} }] </p> <p> <table cellpadding=0 cellspacing=0 border=0 width=100%> <tr> [namespace eval DataAcquisitionControl { set html "" append html "<td width=50% align=center>" append html "<input type=image name=DORESET SRC=reset.jpg onClick=\"click_doreset(document.RunControl)\"" append html "</td>" switch $AcqCode { 0 { append html "<td width=50% align=center>" append html "<input type=image name=DOGO SRC=go.jpg onClick=\"click_dogo(document.RunControl)\"" append html "</td>" } 1 { append html "<td width=50% align=center>" append html "<input type=image name=DOSTOP SRC=stop.jpg onClick=\"click_dostop(document.RunControl)\"" append html "</td>" } 2 { append html "<td width=50% align=center>" append html "<input type=image name=DOSETUP SRC=setup.jpg onClick=\"click_dosetup(document.RunControl)\"" append html "</td>" } default {} } set html }] </tr> </table> </p> [namespace eval DataAcquisitionControl { if {$allservers == 0} { ;# for selected server give graphical status set html "<p align=center>" append html "<img src=state.jpg width=250 height=38>" switch $AcqCode { 0 {append html "<img src=s0.jpg width=250 height=38> <img src=blank.jpg width=250 height=38>"} 1 {append html "<img src=s1.jpg width=250> <img src=blank.jpg width=250>"} 2 {append html "<img src=s2.jpg width=250> <img src=r2.jpg width=250>"} 3 {append html "<img src=s3.jpg width=250 height=38> <img src=wait.jpg width=250 height=38>"} 4 {append html "<img src=s4.jpg width=250> <img src=wait.jpg width=250>"} 5 {append html "<img src=s5.jpg width=250> <img src=wait.jpg width=250>"} 6 {append html "<img src=s6.jpg width=250> <img src=try.jpg width=250>"} 7 {append html "<img src=s7.jpg width=250> <img src=wait.jpg width=250>"} 8 {append html "<img src=s8.jpg width=250> <img src=try.jpg width=250>"} 9 {append html "<img src=s9.jpg width=250> <img src=wait.jpg width=250>"} default {} } append html "</p>" } else { ;# show state of all servers set html "<p align=center>" append html "<table cellpadding=0 cellspacing=0 border=1 width=100%>" set j 0 set k 0 foreach item $::DataAcquisition::ACQSERVERS { if {$j == 0} {append html "<tr>"} append html "<td width=25% align=center>" append html "<table cellpadding=0 cellspacing=0 border=0 width=100%>" append html "<tr>" append html "<td width=46% align=center>$item</td>" append html "<td width=46% align=center>$::DataAcquisition::AcqSysState($item)</td>" if {[lindex $::DataAcquisition::EnableHistogramming $k] == 1} {append html "<td width=4% align=right>H</td>"} \ else {append html "<td width=5% align=right>&nbsp</td>"} if {$::DataAcquisition::DataTransferStreams == 1} { if {[lindex $::DataAcquisition::EnableDataTransfer $k] == 1} {append html "<td width=4% align=right>X</td>"} \ else {append html "<td width=5% align=right>&nbsp</td>"} } if {$::DataAcquisition::DataTransferStreams == 2} { if {[lindex $::DataAcquisition::EnableDataTransfer $k] == 1} {append html "<td width=4% align=right>X</td>"} \ else {append html "<td width=5% align=right>&nbsp</td>"} if {[lindex $::DataAcquisition::EnableDataTransfer2 $k] == 1} {append html "<td width=4% align=right>X</td>"} \ else {append html "<td width=5% align=right>&nbsp</td>"} } append html "</tr></table>" incr j if {$j == 4} {append html "</tr>"; set j 0} incr k } append html "</tr></table></p>" } set html }] <p align=center> <table cellpadding=0 cellspacing=0 border=0 width=100%> <tr> <td width=50% align=center> [namespace eval DataAcquisitionControl { if {$allservers == 0} { ;# for selected server set html "Histogramming on&nbsp&nbsp" append html "<input type=checkbox name=HIST onClick=\"click_HistEnable(document.RunControl,document.RunControl.HIST.value)\"" if {$::DataAcquisition::EnableHistogramming == 1} {append html " checked value=off"} else {set append " value=on"} append html ">" append html "</td>" if {$::DataAcquisition::DataTransferStreams == 1} { append html "<td width=50% align=center>" append html "Data Transfer on&nbsp&nbsp" append html "<input type=checkbox name=XFER onClick=\"click_XferEnable(document.RunControl,document.RunControl.XFER.value)\"" if {$::DataAcquisition::EnableDataTransfer == 1} {append html " checked value=off>"} else {append html " value=on>"} append html "</td>" } if {$::DataAcquisition::DataTransferStreams == 2} { append html "<td width=25% align=center>" append html "Data Transfer #1 on&nbsp&nbsp" append html "<input type=checkbox name=XFER onClick=\"click_XferEnable(document.RunControl,document.RunControl.XFER.value)\"" if {$::DataAcquisition::EnableDataTransfer == 1} {append html " checked value=off>"} else {append html " value=on>"} append html "</td>"
... 159 more lines ...
Attachment 4: 50.png
50.png
Attachment 5: 54.png
54.png
Attachment 6: 60.png
60.png
Attachment 7: 61.png
61.png
Attachment 8: 62.png
62.png
  202   Tue May 3 16:11:57 2016 TDMIDAS updates - problems
With help from Patrick Coleman-Smith & Vic Pucknell most of the issues identified
appear to be related to one (or more) of the following issues

1) The FEEs required rebooting following MIDAS updates to use AIDAExecV8 (not AIDAExecV7) - reboot FEEs
2) New settings saved to /MIDAS/DB/EXPERIMENTS/AIDA/2016May03-20.44.33
3) AIDA options still quoted AIDAExecV7 cf AIDAExecV8 - update AIDA options, use new settings directory above
4) AIDA SYNCs appear to require SYNC Phase 2 or 3 (cf. 0 or 1) - PJCS reviewing
   See attachments 1-4 respectively SYNC phases 0, 1, 2 & 3

Outstanding issues

1) Httpd Merger/TapeServer, MERGE & TapeServer issues - VFEP reviewing
   With 64 data links configured, Httpd server crashes at startup

2) mtimeout not defined following SETUP
   See Elog 200 - is this an issue?

3) Unable to plot AIDA temperatures (low priority)





> 1) Unable to enable data transfer
> 
>    From RunControl unable to 'Enable #1 All' or 'Enable #2 All'
> 
>    in the former case, no 'X' symbol appears by the sttaus of each acqserver
>    in the latter case I obtain an error
> 
>    see attachments 1-3
> 
>    Note the file referred to in the error message is
> 
> -rwxr-xr-x. 1 npg npgstaff 16503 Mar  9 22:46 DataAcquisitionControl.tml
> 
> 2) Unable to plot temperature data
> 
>    See attachment 4 for error message
> 
> 3) MERGE shows 64 data links - only the first 32 can be toggled (enable/disable)
>    For 32x FEE64s should be able to toggle 64? Configuration file issue?
> 
> MERGE Program Release V3/x86_64 (Sep  3 2014, 18:22:23) starting
> 
> Merge: Histogramming not using threads
> Merge: debugging initialised: off.
> Merge: opening buffer for Merge_EventBuffer, size 0x800
> Merge: returning merge memory at virtual 0xcb5c50
> Event Buffer virtual address: 0xcb5c50
> Merge: initialising for 8 links: 2 3 4 5 6 7 8 9 
> Merge: opening buffer for link2_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f184cb93010
> Link Data buffer 0 (Link2), length 3932160 (0x3c0000) bytes mapped at: 0x7f184cb93010 - 0x7f184cf5300f
> Merge: opening buffer for link3_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f184c7d2010
> Link Data buffer 1 (Link3), length 3932160 (0x3c0000) bytes mapped at: 0x7f184c7d2010 - 0x7f184cb9200f
> Merge: opening buffer for link4_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f184c411010
> Link Data buffer 2 (Link4), length 3932160 (0x3c0000) bytes mapped at: 0x7f184c411010 - 0x7f184c7d100f
> Merge: opening buffer for link5_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f184c050010
> Link Data buffer 3 (Link5), length 3932160 (0x3c0000) bytes mapped at: 0x7f184c050010 - 0x7f184c41000f
> Merge: opening buffer for link6_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f184bc8f010
> Link Data buffer 4 (Link6), length 3932160 (0x3c0000) bytes mapped at: 0x7f184bc8f010 - 0x7f184c04f00f
> Merge: opening buffer for link7_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f184b8ce010
> Link Data buffer 5 (Link7), length 3932160 (0x3c0000) bytes mapped at: 0x7f184b8ce010 - 0x7f184bc8e00f
> Merge: opening buffer for link8_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f184b50d010
> Link Data buffer 6 (Link8), length 3932160 (0x3c0000) bytes mapped at: 0x7f184b50d010 - 0x7f184b8cd00f
> Merge: opening buffer for link9_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f184b14c010
> Link Data buffer 7 (Link9), length 3932160 (0x3c0000) bytes mapped at: 0x7f184b14c010 - 0x7f184b50c00f
> Queue 0 (Link2) starts at 0x7f184cb93010
> Queue 1 (Link3) starts at 0x7f184c7d2010
> Queue 2 (Link4) starts at 0x7f184c411010
> Queue 3 (Link5) starts at 0x7f184c050010
> Queue 4 (Link6) starts at 0x7f184bc8f010
> Queue 5 (Link7) starts at 0x7f184b8ce010
> Queue 6 (Link8) starts at 0x7f184b50d010
> Queue 7 (Link9) starts at 0x7f184b14c010
> Merge: OutputTrace set to 1
> Merge: Histogramming using threads
> MERGE Merge setup complete
> Data Acquisition using tape server localhost on port 0
> Initialising communication with tape server
> Setting Transfer Block Size 65536
> Setting Transfer Mode 3
> Setting Overlap Mode 0
> Setting nice 0
> TCP transfer library version 3.12
> TCP socket send buffer was 16384 - now 249856
> TCP socket receive buffer was 87380 - now 249856
> TCP socket created OK - now connecting to localhost port 10305
> Transfer Error - : Connection refused
> connect() failed:  
> MERGE now ready to be initialised and started
> MRGE Stats created and initialised
> MERGE Data Link (7866): Starting the network interface
> MERGE Data Link (7866): TCP socket receive buffer was 87380 - now 249856
> MERGE Data Link (7866): TCP socket send buffer was 16384 - now 249856
> MERGE Data Link (7866): MERGE Data Link using TCP port 11032.
> MERGE Data Link (7866): Entering server loop
> MERGE Data Link (7866): listening on port 11032
> Merge: debugging initialised: off.
> Event Buffer virtual address: 0xcb5c50
> Merge: initialising for 32 links: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
> 29 30 31 
> Merge: opening buffer for link0_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f184a367010
> Link Data buffer 0 (Link0), length 3932160 (0x3c0000) bytes mapped at: 0x7f184a367010 - 0x7f184a72700f
> Merge: opening buffer for link1_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1849fa6010
> Link Data buffer 1 (Link1), length 3932160 (0x3c0000) bytes mapped at: 0x7f1849fa6010 - 0x7f184a36600f
> Link Data buffer 2 (Link2), length 3932160 (0x3c0000) bytes mapped at: 0x7f184cb93010 - 0x7f184cf5300f
> Link Data buffer 3 (Link3), length 3932160 (0x3c0000) bytes mapped at: 0x7f184c7d2010 - 0x7f184cb9200f
> Link Data buffer 4 (Link4), length 3932160 (0x3c0000) bytes mapped at: 0x7f184c411010 - 0x7f184c7d100f
> Link Data buffer 5 (Link5), length 3932160 (0x3c0000) bytes mapped at: 0x7f184c050010 - 0x7f184c41000f
> Link Data buffer 6 (Link6), length 3932160 (0x3c0000) bytes mapped at: 0x7f184bc8f010 - 0x7f184c04f00f
> Link Data buffer 7 (Link7), length 3932160 (0x3c0000) bytes mapped at: 0x7f184b8ce010 - 0x7f184bc8e00f
> Link Data buffer 8 (Link8), length 3932160 (0x3c0000) bytes mapped at: 0x7f184b50d010 - 0x7f184b8cd00f
> Link Data buffer 9 (Link9), length 3932160 (0x3c0000) bytes mapped at: 0x7f184b14c010 - 0x7f184b50c00f
> Merge: opening buffer for link10_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1849be5010
> Link Data buffer 10 (Link10), length 3932160 (0x3c0000) bytes mapped at: 0x7f1849be5010 - 0x7f1849fa500f
> Merge: opening buffer for link11_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1849824010
> Link Data buffer 11 (Link11), length 3932160 (0x3c0000) bytes mapped at: 0x7f1849824010 - 0x7f1849be400f
> Merge: opening buffer for link12_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1849463010
> Link Data buffer 12 (Link12), length 3932160 (0x3c0000) bytes mapped at: 0x7f1849463010 - 0x7f184982300f
> Merge: opening buffer for link13_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f18490a2010
> Link Data buffer 13 (Link13), length 3932160 (0x3c0000) bytes mapped at: 0x7f18490a2010 - 0x7f184946200f
> Merge: opening buffer for link14_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1848ce1010
> Link Data buffer 14 (Link14), length 3932160 (0x3c0000) bytes mapped at: 0x7f1848ce1010 - 0x7f18490a100f
> Merge: opening buffer for link15_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1848920010
> Link Data buffer 15 (Link15), length 3932160 (0x3c0000) bytes mapped at: 0x7f1848920010 - 0x7f1848ce000f
> Merge: opening buffer for link16_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f184855f010
> Link Data buffer 16 (Link16), length 3932160 (0x3c0000) bytes mapped at: 0x7f184855f010 - 0x7f184891f00f
> Merge: opening buffer for link17_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f184819e010
> Link Data buffer 17 (Link17), length 3932160 (0x3c0000) bytes mapped at: 0x7f184819e010 - 0x7f184855e00f
> Merge: opening buffer for link18_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1847ddd010
> Link Data buffer 18 (Link18), length 3932160 (0x3c0000) bytes mapped at: 0x7f1847ddd010 - 0x7f184819d00f
> Merge: opening buffer for link19_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1847a1c010
> Link Data buffer 19 (Link19), length 3932160 (0x3c0000) bytes mapped at: 0x7f1847a1c010 - 0x7f1847ddc00f
> Merge: opening buffer for link20_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f184765b010
> Link Data buffer 20 (Link20), length 3932160 (0x3c0000) bytes mapped at: 0x7f184765b010 - 0x7f1847a1b00f
> Merge: opening buffer for link21_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f184729a010
> Link Data buffer 21 (Link21), length 3932160 (0x3c0000) bytes mapped at: 0x7f184729a010 - 0x7f184765a00f
> Merge: opening buffer for link22_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1846ed9010
> Link Data buffer 22 (Link22), length 3932160 (0x3c0000) bytes mapped at: 0x7f1846ed9010 - 0x7f184729900f
> Merge: opening buffer for link23_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1846b18010
> Link Data buffer 23 (Link23), length 3932160 (0x3c0000) bytes mapped at: 0x7f1846b18010 - 0x7f1846ed800f
> Merge: opening buffer for link24_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1846757010
> Link Data buffer 24 (Link24), length 3932160 (0x3c0000) bytes mapped at: 0x7f1846757010 - 0x7f1846b1700f
> Merge: opening buffer for link25_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1846396010
> Link Data buffer 25 (Link25), length 3932160 (0x3c0000) bytes mapped at: 0x7f1846396010 - 0x7f184675600f
> Merge: opening buffer for link26_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1845fd5010
> Link Data buffer 26 (Link26), length 3932160 (0x3c0000) bytes mapped at: 0x7f1845fd5010 - 0x7f184639500f
> Merge: opening buffer for link27_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1845c14010
> Link Data buffer 27 (Link27), length 3932160 (0x3c0000) bytes mapped at: 0x7f1845c14010 - 0x7f1845fd400f
> Merge: opening buffer for link28_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1845853010
> Link Data buffer 28 (Link28), length 3932160 (0x3c0000) bytes mapped at: 0x7f1845853010 - 0x7f1845c1300f
> Merge: opening buffer for link29_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1845492010
> Link Data buffer 29 (Link29), length 3932160 (0x3c0000) bytes mapped at: 0x7f1845492010 - 0x7f184585200f
> Merge: opening buffer for link30_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f18450d1010
> Link Data buffer 30 (Link30), length 3932160 (0x3c0000) bytes mapped at: 0x7f18450d1010 - 0x7f184549100f
> Merge: opening buffer for link31_Data, size 0x3c0000
> Merge: returning merge memory at virtual 0x7f1844d10010
> Link Data buffer 31 (Link31), length 3932160 (0x3c0000) bytes mapped at: 0x7f1844d10010 - 0x7f18450d000f
> Queue 0 (Link0) starts at 0x7f184a367010
> Queue 1 (Link1) starts at 0x7f1849fa6010
> Queue 2 (Link2) starts at 0x7f184cb93010
> Queue 3 (Link3) starts at 0x7f184c7d2010
> Queue 4 (Link4) starts at 0x7f184c411010
> Queue 5 (Link5) starts at 0x7f184c050010
> Queue 6 (Link6) starts at 0x7f184bc8f010
> Queue 7 (Link7) starts at 0x7f184b8ce010
> Queue 8 (Link8) starts at 0x7f184b50d010
> Queue 9 (Link9) starts at 0x7f184b14c010
> Queue 10 (Link10) starts at 0x7f1849be5010
> Queue 11 (Link11) starts at 0x7f1849824010
> Queue 12 (Link12) starts at 0x7f1849463010
> Queue 13 (Link13) starts at 0x7f18490a2010
> Queue 14 (Link14) starts at 0x7f1848ce1010
> Queue 15 (Link15) starts at 0x7f1848920010
> Queue 16 (Link16) starts at 0x7f184855f010
> Queue 17 (Link17) starts at 0x7f184819e010
> Queue 18 (Link18) starts at 0x7f1847ddd010
> Queue 19 (Link19) starts at 0x7f1847a1c010
> Queue 20 (Link20) starts at 0x7f184765b010
> Queue 21 (Link21) starts at 0x7f184729a010
> Queue 22 (Link22) starts at 0x7f1846ed9010
> Queue 23 (Link23) starts at 0x7f1846b18010
> Queue 24 (Link24) starts at 0x7f1846757010
> Queue 25 (Link25) starts at 0x7f1846396010
> Queue 26 (Link26) starts at 0x7f1845fd5010
> Queue 27 (Link27) starts at 0x7f1845c14010
> Queue 28 (Link28) starts at 0x7f1845853010
> Queue 29 (Link29) starts at 0x7f1845492010
> Queue 30 (Link30) starts at 0x7f18450d1010
> Queue 31 (Link31) starts at 0x7f1844d10010
> MERGE Merge setup complete
> Initialising communication with tape server localhost on port 0
> Setting Transfer Block Size 65536
> Setting Transfer Mode 3
> Setting Overlap Mode 0
> Setting nice 0
> TCP transfer library version 3.12
> TCP socket send buffer was 16384 - now 249856
> TCP socket receive buffer was 87380 - now 249856
> TCP socket created OK - now connecting to localhost port 10305
> Connected to localhost port 10305
> Merge state now Going
> Merge: Searching for timestamp 0 or greater
> Merge state now Paused
> Merge state now Stopped
> 
> 4) mtimeout not defined following SETUP
> 
> See attachment 5
> 
> 5) No data acquisition
>    No histogram data. No SYNCs.
> 
>    See attachments 6-8
Attachment 1: 100.png
100.png
Attachment 2: 101.png
101.png
Attachment 3: 102.png
102.png
Attachment 4: 103.png
103.png
  199   Tue May 3 08:37:50 2016 TDMIDAS updates
MIDAS updated per instructions of VFEP (I append the new and old versions of startup.tcl and aidacommon)

I have generated the AIDA update for V8 as 2 tarballs.

These are accessed using    http://npg.dl.ac.uk/MIDAS/MIDAS_Release/

The files you want are the 3th and 4th

http://npg.dl.ac.uk/MIDAS/MIDAS_Release/AIDAExecV8_Update240416.tgz
http://npg.dl.ac.uk/MIDAS/MIDAS_Release/AIDA_Update240416.tgz

The AIDAExecV8...    is just the data acq program
and AIDA_Update...     is all the  Html/tcl  updates

for information here are the commands I Used to create

tar -zcf  AIDA_Update240416.tgz TclHttpd/Html/AIDA TclHttpd/Html/DataAcquisitionControl TclHttpd/Html/Spectrum
TclHttpd/Html/RunControl TclHttpd/Html/MERGE TclHttpd/tcl/Common SOAP/tcl/SpectrumClient.tcl
tar -zcf  AIDAExecV8_Update240416.tgz Data_Acq/bin/linux-ppc_4xx/AidaExecV8


 JUst click on the name and  select   Save  


 to install

first move existing files which you will replace out of the way

cd /MIDAS
mv TclHttpd/Html/AIDA TclHttpd/Html/AIDA_BAK
mv TclHttpd/Html/DataAcquisitionControl TclHttpd/Html/DataAcquisitionControl_BAK
mv TclHttpd/Html/Spectrum TclHttpd/Html/Spectrum_BAK
mv TclHttpd/Html/RunControl  TclHttpd/Html/RunControl_BAK
mv TclHttpd/Html/MERGE TclHttpd/Html/MERGE_BAK
mv TclHttpd/tcl/Common TclHttpd/tcl/Common_BAK
mv SOAP/tcl/SpectrumClient.tcl SOAP/tcl/SpectrumClient.tcl_BAK


now install the updates
the    *********   is where you saved the tarballs to  
  possibly    ~/Downloads/



cd /MIDAS
tar -zxf *********AIDA_Update240416.tgz
tar -zxf *********AIDAExecV8_Update240416.tgz


 THis will install the updates.


I attach the  startup.tcl  file used for the TclHttpd  (/MIDAS/config/TclHttpd/aidas1/)
 The important bit is adding    set DataTransferStreams 2


and the file  (aidacommon) used for starting the data acq programs   (/MIDAS/linux-ppc_4xx/startup)
  Change V7  to V8





Vic
Attachment 1: startup.tcl
Setting BGColor "BlanchedAlmond"
   Setting TextColor "red"

      Setting ProjectName  AIDA
      Setting ProjectImage AIDA.gif
      Setting ProjectURL   "http://npg.dl.ac.uk/NPG/Projects/Fair.html"


  Setting Option1Name STFC
  Setting Option1URL  "stfc.ac.uk"
  Setting Option1Image stfc.jpg


global MessageLoggerServerHost
  set  MessageLoggerServerHost elog.ph.ed.ac.uk

    package require  MessageLoggerClient 

  Setting Option3Name "Elog Server"
  Setting Option3URL  "https://elog.ph.ed.ac.uk/AIDA"

#    Install required services

   package require XAIDAAccessClient  ;# for Client end - ie AIDA server workstation  sets MIDAS_XAIDAAccessClient_Exists (SOAP)

   package require XAD9252AccessClient ;# for Client end - ie AIDA server workstation  sets MIDAS_XAD9252AccessClient_Exists (SOAP)

namespace eval DataAcquisition {
    variable PROJECT AIDA
    variable ACQSERVERS; set ACQSERVERS {}
    variable PACQSERVERS; set PACQSERVERS { nnaida1 nnaida2 nnaida5 nnaida6  nnaida9 nnaida10 nnaida13 nnaida14 nnaida17 nnaida18 nnaida21 nnaida22 nnaida25 nnaida26 nnaida29 nnaida30 }
    variable NACQSERVERS; set NACQSERVERS { nnaida3 nnaida4 nnaida7 nnaida8 nnaida11 nnaida12 nnaida15 nnaida16 nnaida19 nnaida20 nnaida23 nnaida24 nnaida27 nnaida28 nnaida31 nnaida32 }

    lappend ACQSERVERS nnaida1
    lappend ACQSERVERS nnaida2
    lappend ACQSERVERS nnaida3
    lappend ACQSERVERS nnaida4
    lappend ACQSERVERS nnaida5
    lappend ACQSERVERS nnaida6
    lappend ACQSERVERS nnaida7
    lappend ACQSERVERS nnaida8
    lappend ACQSERVERS nnaida9
    lappend ACQSERVERS nnaida10
    lappend ACQSERVERS nnaida11
    lappend ACQSERVERS nnaida12
    lappend ACQSERVERS nnaida13
    lappend ACQSERVERS nnaida14
    lappend ACQSERVERS nnaida15
    lappend ACQSERVERS nnaida16
    lappend ACQSERVERS nnaida17
    lappend ACQSERVERS nnaida18
    lappend ACQSERVERS nnaida19
    lappend ACQSERVERS nnaida20
    lappend ACQSERVERS nnaida21
    lappend ACQSERVERS nnaida22
    lappend ACQSERVERS nnaida23
    lappend ACQSERVERS nnaida24
    lappend ACQSERVERS nnaida25
    lappend ACQSERVERS nnaida26
    lappend ACQSERVERS nnaida27
    lappend ACQSERVERS nnaida28
    lappend ACQSERVERS nnaida29
    lappend ACQSERVERS nnaida30
    lappend ACQSERVERS nnaida31
    lappend ACQSERVERS nnaida32

    variable DataTransferStreams; set DataTransferStreams 2
}

namespace eval AIDA {
      variable ModuleMenu; set ModuleMenu $::DataAcquisition::ACQSERVERS
      variable TSMaster; set TSMaster nnaida5
      variable FEE64 [first $ModuleMenu]
      variable ConfigBase; set ConfigBase [file join $env(MIDASBASE) config TclHttpd]
}

    Setting DataBaseRoot "/MIDAS/DB"
    package require DataBaseAccessServer
    package require NetVarsServer 1.1
    package require SigTaskServer

    package require MemSasServer

#    Install services for Run Control

namespace eval $::DataAcquisition::PROJECT {
    variable DBRootName [file join EXPERIMENTS AIDA]
    variable DBNodeBase 2012
}

  package require AIDARunControl


  Setting Option7Name "Project Home Page"
  Setting Option7URL  "http://npg.dl.ac.uk/NPG/Projects/Fair.html"

  Setting Option8Name "Server Software Home Page"
  Setting Option8URL  "http://npg.dl.ac.uk/MIDAS/download/WebServices.html"
Attachment 2: startup.tcl.BAK-030516

   Setting BGColor "BlanchedAlmond"
   Setting TextColor "red"

      Setting ProjectName  AIDA
      Setting ProjectImage AIDA.gif
      Setting ProjectURL   "http://npg.dl.ac.uk/NPG/Projects/Fair.html"


  Setting Option1Name STFC
  Setting Option1URL  "stfc.ac.uk"
  Setting Option1Image stfc.jpg


#global MessageLoggerServerHost
#  set  MessageLoggerServerHost nndhcp077.dl.ac.uk

#    package require  MessageLoggerClient 

  Setting Option3Name "Elog Server"
  Setting Option3URL  "https://elog.ph.ed.ac.uk/AIDA"

#    Install required services

   package require XAIDAAccessClient  ;# for Client end - ie AIDA server workstation  sets MIDAS_XAIDAAccessClient_Exists (SOAP)

   package require XAD9252AccessClient ;# for Client end - ie AIDA server workstation  sets MIDAS_XAD9252AccessClient_Exists (SOAP)

namespace eval DataAcquisition {
     variable ACQSERVERS; set ACQSERVERS {}
 
     variable PACQSERVERS; set PACQSERVERS { nnaida1 nnaida2 nnaida5 nnaida6  nnaida9 nnaida10 nnaida13 nnaida14 nnaida17 nnaida18 nnaida21 nnaida22 nnaida25 nnaida26 nnaida29 nnaida30}
     variable NACQSERVERS; set NACQSERVERS { nnaida3 nnaida4 nnaida7 nnaida8 nnaida11 nnaida12 nnaida15 nnaida16 nnaida19 nnaida20 nnaida23 nnaida24 nnaida27 nnaida28 nnaida31 nnaida32}

    lappend ACQSERVERS nnaida1
    lappend ACQSERVERS nnaida2
    lappend ACQSERVERS nnaida3
    lappend ACQSERVERS nnaida4
    lappend ACQSERVERS nnaida5
    lappend ACQSERVERS nnaida6
    lappend ACQSERVERS nnaida7
    lappend ACQSERVERS nnaida8
    lappend ACQSERVERS nnaida9
    lappend ACQSERVERS nnaida10
    lappend ACQSERVERS nnaida11
    lappend ACQSERVERS nnaida12
    lappend ACQSERVERS nnaida13
    lappend ACQSERVERS nnaida14
    lappend ACQSERVERS nnaida15
    lappend ACQSERVERS nnaida16
    lappend ACQSERVERS nnaida17
    lappend ACQSERVERS nnaida18
    lappend ACQSERVERS nnaida19
    lappend ACQSERVERS nnaida20
    lappend ACQSERVERS nnaida21
    lappend ACQSERVERS nnaida22
    lappend ACQSERVERS nnaida23
    lappend ACQSERVERS nnaida24
    lappend ACQSERVERS nnaida25
    lappend ACQSERVERS nnaida26
    lappend ACQSERVERS nnaida27
    lappend ACQSERVERS nnaida28
    lappend ACQSERVERS nnaida29
    lappend ACQSERVERS nnaida30
    lappend ACQSERVERS nnaida31
    lappend ACQSERVERS nnaida32

}


namespace eval DataAcquisition {
    variable PROJECT AIDA
}

namespace eval AIDA {
      variable ModuleMenu; set ModuleMenu $::DataAcquisition::ACQSERVERS
      variable TSMaster; set TSMaster nnaida5
      variable FEE64 [first $ModuleMenu]
      variable ConfigBase; set ConfigBase [file join $env(MIDASBASE) config TclHttpd]
}

    Setting DataBaseRoot "/MIDAS@aidas/DB"
    package require DataBaseAccessServer

    package require MemSasServer

#    Install services for Run Control

   package require NetVarsServer 1.1
   package require SigTaskServer

namespace eval $::DataAcquisition::PROJECT {
    variable DBRootName [file join EXPERIMENTS AIDA]
    variable DBNodeBase 2012
}

  package require AIDARunControl


  Setting Option7Name "Project Home Page"
  Setting Option7URL  "http://npg.dl.ac.uk/NPG/Projects/Fair.html"

  Setting Option8Name "Server Software Home Page"
  Setting Option8URL  "http://npg.dl.ac.uk/MIDAS/download/WebServices.html"


Attachment 3: aidacommon
#!/bin/bash
#
    UM=`umask`
    umask 0
#

     cd /MIDAS/linux-ppc_4xx/drivers/spi/module
     ./load
     sleep 5

     cd /MIDAS/linux-ppc_4xx/drivers/xaida/module
     ./load
     sleep 5

     cd /MIDAS/linux-ppc_4xx/drivers/aidamem/module
     ./load
     sleep 5

   MIDAS_MEMSAS_PORT=0
   export MIDAS_MEMSAS_PORT

export PATH=/MIDAS/linux-ppc_4xx/bin:${PATH}
export LD_LIBRARY_PATH=/MIDAS/linux-ppc_4xx/lib:${LD_LIBRARY_PATH}

    /MIDAS/TclHttpd/linux-ppc_4xx/TclHttpd-server&
     sleep 10

     cd /MIDAS/linux-ppc_4xx/bin

#
#    define netints and access registers
#

    netint Output_BufferSize 64
    netint Format_Option 4
    netint Xfer_Option 3

    netint Xfer_NoBlock 0
    netint Xfer_Overlap 0
    netint Xfer_Priority 0

    netint DACQ_TxInit 1
    netint DACQ_StatsTime 5
    netint DACQ_PushEnable 60
    netint DACQ_FlushEnable 60

    cd /MIDAS/Data_Acq/bin/linux-ppc_4xx
#    ./ExecV1
    nice ./AidaExecV8
#
    umask $UM
#

Attachment 4: aidacommon.BAK-030516
#!/bin/bash
#
    UM=`umask`
    umask 0
#

     cd /MIDAS/linux-ppc_4xx/drivers/spi/module
     ./load
     sleep 5

     cd /MIDAS/linux-ppc_4xx/drivers/xaida/module
     ./load
     sleep 5

     cd /MIDAS/linux-ppc_4xx/drivers/aidamem/module
     ./load
     sleep 5

   MIDAS_MEMSAS_PORT=0
   export MIDAS_MEMSAS_PORT

export PATH=/MIDAS/linux-ppc_4xx/bin:${PATH}
export LD_LIBRARY_PATH=/MIDAS/linux-ppc_4xx/lib:${LD_LIBRARY_PATH}

    /MIDAS/TclHttpd/linux-ppc_4xx/TclHttpd-server&
     sleep 10

     cd /MIDAS/linux-ppc_4xx/bin

#
#    define netints and access registers
#

    netint Output_BufferSize 64
    netint Format_Option 4
    netint Xfer_Option 3

    netint Xfer_NoBlock 0
    netint Xfer_Overlap 0
    netint Xfer_Priority 0

    netint DACQ_TxInit 1
    netint DACQ_StatsTime 5
    netint DACQ_PushEnable 60
    netint DACQ_FlushEnable 60

    cd /MIDAS/Data_Acq/bin/linux-ppc_4xx
#    ./ExecV1
    nice ./AidaExecV7 xxx
#
    umask $UM
#
  212   Thu May 5 09:52:20 2016 TDMERGE test OK
Slow comparator 0x10 -> 0x20
Fast comparator LEC/MEC 0x10 -> 0xff

To start DAQ
1) open disk file with tapeserver
2) merge
   select data links 0-31
   setup & go
   start
   toggle merge data transfer state (xfer enabled)
   toggle merge program pause state (paused)
3) enable #1 all *only*
   DAQ GO
4) statistics
   check all FEEs producing AIDA SYNC
5) merge 
   reload (several times over period of ~10s) to check all data links active (green)
   toggle merge program pause state (merging)
   reload (several times over period of ~10s) to check non-zero merged data rate
6) tapeserver
   reload to check data transfer
7) observe spinners in merger and tapeserver server terminal windows

To stop DAQ

1) DAQ STOP
2) toggle merge program pause state (paused)
3) stop disk file with tapeserver

To restart

1) open disk file with tapeserver
2) DAQ GO
5) merge 
   reload (several times over period of ~10s) to check all data links active (green)
   toggle merge program pause state (merging)
   reload (several times over period of ~10s) to check non-zero merged data rate

etc

DAQ/merge/tapeserver test OK

Server terminal session logs and screenshots appended

Custom startup from /MIDAS@aidas/config/TclHttpd/aidas1@8115/startup.tcl
/TapeServer
/DataBaseAccessServer
Loaded MemSasAccess
/SpectrumService
/NetVarService
/SigTaskService
loading tcl/MERGERunControl.tcl for namespace ::
/DataAcquisitionControlServer
DefineMessage unknown
Run Control Server Implementation for MERGE
RunControlServer loaded
loading Html/RunControl/implementation.tcl for namespace ::
RunControl loaded
loading Html/MERGE/RunControl/implementation.tcl for namespace ::
ReadRegister failed: Name=NetVar.EXEC.ID; Code= 0x10004; Info= Register name does not exist
created SigTask registers 0 0  0 0
Created UI registers
MERGE RunControl loaded
Completed custom startup from /MIDAS@aidas/TclHttpd/Html/MERGE/RunControl/stats.defn.tcl
Shared memory area located at 0x7f35b6609000
Tape Server comms table located at 0x7f35b6609000
setup Merge
DataAcqCommand 1 Halt
Halt (1)
DataAcqCommand 8 Unmapping spectra
Unmapping spectra (1)
DataAcqCommand 3 Setup
Setup (1)
go Merge
DataAcqCommand 2 Go
Go (1)
DataAcqCommand 16 MergeStart
MergeStart (1)
DataAcqCommand 17 MergePause
MergePause (1)
DataAcqCommand 17 MergePause
MergePause (1)
stop Merge
DataAcqCommand 17 MergePause
MergePause (1)
DataAcqCommand 1 Halt
Halt (1)
setup Merge
DataAcqCommand 1 Halt
Halt (1)
DataAcqCommand 8 Unmapping spectra
Unmapping spectra (1)
DataAcqCommand 3 Setup
Setup (1)
go Merge
DataAcqCommand 2 Go
Go (1)
DataAcqCommand 16 MergeStart
MergeStart (1)
DataAcqCommand 17 MergePause
MergePause (1)
DataAcqCommand 17 MergePause
MergePause (1)





MERGE Data Link (4469): accepted connection from 10.1.1.21, port 47760
MERGE Data Link (4473): buffer size changed to 65536
MERGE Data Link (4469): buffer size changed to 65536
MERGE Data Link (4467): accepted connection from 10.1.2.19, port 35051
MERGE Data Link (4467): buffer size changed to 65536
MERGE Data Link (4461): data_transfer - data received for link 12
MERGE Data Link (4471): accepted connection from 10.1.2.23, port 39835
MERGE Data Link (4471): buffer size changed to 65536
MERGE Data Link (4475): accepted connection from 10.1.2.27, port 41369
MERGE Data Link (4475): buffer size changed to 65536
MERGE Data Link (4480): accepted connection from 10.1.2.32, port 33003
MERGE Data Link (4477): accepted connection from 10.1.1.29, port 47070
MERGE Data Link (4480): buffer size changed to 65536
MERGE Data Link (4477): buffer size changed to 65536
MERGE Data Link (4478): accepted connection from 10.1.1.30, port 51732
MERGE Data Link (4478): buffer size changed to 65536
MERGE Data Link (4460): data_transfer - data received for link 11
MERGE Data Link (4459): data_transfer - data received for link 10
MERGE Data Link (4454): data_transfer - data received for link 5
MERGE Data Link (4476): accepted connection from 10.1.2.28, port 43974
MERGE Data Link (4476): buffer size changed to 65536
MERGE Data Link (4465): data_transfer - data received for link 16
MERGE Data Link (4479): accepted connection from 10.1.2.31, port 46899
MERGE Data Link (4479): buffer size changed to 65536
MERGE Data Link (4474): accepted connection from 10.1.1.26, port 34630
MERGE Data Link (4474): buffer size changed to 65536
MERGE Data Link (4463): data_transfer - data received for link 14
MERGE Data Link (4464): data_transfer - data received for link 15
MERGE Data Link (4462): data_transfer - data received for link 13
MERGE Data Link (4466): data_transfer - data received for link 17
MERGE Data Link (4470): data_transfer - data received for link 21
MERGE Data Link (4472): data_transfer - data received for link 23
MERGE Data Link (4468): data_transfer - data received for link 19
MERGE Data Link (4473): data_transfer - data received for link 24
MERGE Data Link (4469): data_transfer - data received for link 20
MERGE Data Link (4471): data_transfer - data received for link 22
MERGE Data Link (4467): data_transfer - data received for link 18
MERGE Data Link (4480): data_transfer - data received for link 31
MERGE Data Link (4475): data_transfer - data received for link 26
MERGE Data Link (4478): data_transfer - data received for link 29
MERGE Data Link (4477): data_transfer - data received for link 28
MERGE Data Link (4479): data_transfer - data received for link 30
MERGE Data Link (4476): data_transfer - data received for link 27
MERGE Data Link (4474): data_transfer - data received for link 25
Merge: Restarting from timestamp 1 or greater
MERGE Data Link (4449): client closed connection
MERGE Data Link (4449): listening on port 11001
MERGE Data Link (4452): client closed connection
MERGE Data Link (4452): listening on port 11004
MERGE Data Link (4455): client closed connection
MERGE Data Link (4455): listening on port 11007
MERGE Data Link (4450): client closed connection
MERGE Data Link (4450): listening on port 11002
MERGE Data Link (4451): client closed connection
MERGE Data Link (4451): listening on port 11003
MERGE Data Link (4456): client closed connection
MERGE Data Link (4456): listening on port 11008
MERGE Data Link (4453): client closed connection
MERGE Data Link (4453): listening on port 11005
MERGE Data Link (4457): client closed connection
MERGE Data Link (4457): listening on port 11009
MERGE Data Link (4454): client closed connection
MERGE Data Link (4454): listening on port 11006
MERGE Data Link (4458): client closed connection
MERGE Data Link (4458): listening on port 11010
MERGE Data Link (4461): client closed connection
MERGE Data Link (4461): listening on port 11013
MERGE Data Link (4459): client closed connection
MERGE Data Link (4459): listening on port 11011
MERGE Data Link (4460): client closed connection
MERGE Data Link (4460): listening on port 11012
MERGE Data Link (4465): client closed connection
MERGE Data Link (4465): listening on port 11017
MERGE Data Link (4464): client closed connection
MERGE Data Link (4464): listening on port 11016
MERGE Data Link (4462): client closed connection
MERGE Data Link (4462): listening on port 11014
MERGE Data Link (4463): client closed connection
MERGE Data Link (4463): listening on port 11015
MERGE Data Link (4466): client closed connection
MERGE Data Link (4466): listening on port 11018
MERGE Data Link (4467): client closed connection
MERGE Data Link (4467): listening on port 11019
MERGE Data Link (4468): client closed connection
MERGE Data Link (4468): listening on port 11020
MERGE Data Link (4469): client closed connection
MERGE Data Link (4469): listening on port 11021
MERGE Data Link (4472): client closed connection
MERGE Data Link (4472): listening on port 11024
MERGE Data Link (4470): client closed connection
MERGE Data Link (4470): listening on port 11022
MERGE Data Link (4473): client closed connection
MERGE Data Link (4473): listening on port 11025
MERGE Data Link (4471): client closed connection
MERGE Data Link (4471): listening on port 11023
MERGE Data Link (4480): client closed connection
MERGE Data Link (4480): listening on port 11032
MERGE Data Link (4477): client closed connection
MERGE Data Link (4477): listening on port 11029
MERGE Data Link (4476): client closed connection
MERGE Data Link (4476): listening on port 11028
MERGE Data Link (4479): client closed connection
MERGE Data Link (4479): listening on port 11031
MERGE Data Link (4478): client closed connection
MERGE Data Link (4478): listening on port 11030
MERGE Data Link (4475): client closed connection
MERGE Data Link (4475): listening on port 11027
MERGE Data Link (4474): client closed connection
MERGE Data Link (4474): listening on port 11026
Merge state now Paused
Merge state now Stopped
Merge: debugging initialised: off.
Event Buffer virtual address: 0x2602c50
Merge: initialising for 32 links: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
29 30 31 
Link Data buffer 0 (Link0), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c5974010 - 0x7ff6c5d3400f
Link Data buffer 1 (Link1), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c55b3010 - 0x7ff6c597300f
Link Data buffer 2 (Link2), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c51f2010 - 0x7ff6c55b200f
Link Data buffer 3 (Link3), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c4e31010 - 0x7ff6c51f100f
Link Data buffer 4 (Link4), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c4a70010 - 0x7ff6c4e3000f
Link Data buffer 5 (Link5), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c46af010 - 0x7ff6c4a6f00f
Link Data buffer 6 (Link6), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c42ee010 - 0x7ff6c46ae00f
Link Data buffer 7 (Link7), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c3f2d010 - 0x7ff6c42ed00f
Link Data buffer 8 (Link8), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c3b6c010 - 0x7ff6c3f2c00f
Link Data buffer 9 (Link9), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c37ab010 - 0x7ff6c3b6b00f
Link Data buffer 10 (Link10), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c33ea010 - 0x7ff6c37aa00f
Link Data buffer 11 (Link11), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c3029010 - 0x7ff6c33e900f
Link Data buffer 12 (Link12), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c2c68010 - 0x7ff6c302800f
Link Data buffer 13 (Link13), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c28a7010 - 0x7ff6c2c6700f
Link Data buffer 14 (Link14), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c24e6010 - 0x7ff6c28a600f
Link Data buffer 15 (Link15), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c2125010 - 0x7ff6c24e500f
Link Data buffer 16 (Link16), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c1d64010 - 0x7ff6c212400f
Link Data buffer 17 (Link17), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c19a3010 - 0x7ff6c1d6300f
Link Data buffer 18 (Link18), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c15e2010 - 0x7ff6c19a200f
Link Data buffer 19 (Link19), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c1221010 - 0x7ff6c15e100f
Link Data buffer 20 (Link20), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c0e60010 - 0x7ff6c122000f
Link Data buffer 21 (Link21), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c0a9f010 - 0x7ff6c0e5f00f
Link Data buffer 22 (Link22), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c06de010 - 0x7ff6c0a9e00f
Link Data buffer 23 (Link23), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6c031d010 - 0x7ff6c06dd00f
Link Data buffer 24 (Link24), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6bff5c010 - 0x7ff6c031c00f
Link Data buffer 25 (Link25), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6bfb9b010 - 0x7ff6bff5b00f
Link Data buffer 26 (Link26), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6bf7da010 - 0x7ff6bfb9a00f
Link Data buffer 27 (Link27), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6bf419010 - 0x7ff6bf7d900f
Link Data buffer 28 (Link28), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6bf058010 - 0x7ff6bf41800f
Link Data buffer 29 (Link29), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6bec97010 - 0x7ff6bf05700f
Link Data buffer 30 (Link30), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6be8d6010 - 0x7ff6bec9600f
Link Data buffer 31 (Link31), length 3932160 (0x3c0000) bytes mapped at: 0x7ff6be515010 - 0x7ff6be8d500f
Queue 0 (Link0) starts at 0x7ff6c5974010
Queue 1 (Link1) starts at 0x7ff6c55b3010
Queue 2 (Link2) starts at 0x7ff6c51f2010
Queue 3 (Link3) starts at 0x7ff6c4e31010
Queue 4 (Link4) starts at 0x7ff6c4a70010
Queue 5 (Link5) starts at 0x7ff6c46af010
Queue 6 (Link6) starts at 0x7ff6c42ee010
Queue 7 (Link7) starts at 0x7ff6c3f2d010
Queue 8 (Link8) starts at 0x7ff6c3b6c010
Queue 9 (Link9) starts at 0x7ff6c37ab010
Queue 10 (Link10) starts at 0x7ff6c33ea010
Queue 11 (Link11) starts at 0x7ff6c3029010
Queue 12 (Link12) starts at 0x7ff6c2c68010
Queue 13 (Link13) starts at 0x7ff6c28a7010
Queue 14 (Link14) starts at 0x7ff6c24e6010
Queue 15 (Link15) starts at 0x7ff6c2125010
Queue 16 (Link16) starts at 0x7ff6c1d64010
Queue 17 (Link17) starts at 0x7ff6c19a3010
Queue 18 (Link18) starts at 0x7ff6c15e2010
Queue 19 (Link19) starts at 0x7ff6c1221010
Queue 20 (Link20) starts at 0x7ff6c0e60010
Queue 21 (Link21) starts at 0x7ff6c0a9f010
Queue 22 (Link22) starts at 0x7ff6c06de010
Queue 23 (Link23) starts at 0x7ff6c031d010
Queue 24 (Link24) starts at 0x7ff6bff5c010
Queue 25 (Link25) starts at 0x7ff6bfb9b010
Queue 26 (Link26) starts at 0x7ff6bf7da010
Queue 27 (Link27) starts at 0x7ff6bf419010
Queue 28 (Link28) starts at 0x7ff6bf058010
Queue 29 (Link29) starts at 0x7ff6bec97010
Queue 30 (Link30) starts at 0x7ff6be8d6010
Queue 31 (Link31) starts at 0x7ff6be515010
MERGE Merge setup complete
Merge state now Going
Merge: Searching for timestamp 0 or greater
TCP transfer library version 3.12
TCP socket send buffer was 16384 - now 249856
TCP socket receive buffer was 87380 - now 249856
TCP socket created OK - now connecting to localhost port 10305
Connected to localhost port 10305
Merge state now Paused
MERGE Data Link (4450): accepted connection from 10.1.1.2, port 33272
MERGE Data Link (4450): buffer size changed to 65536
MERGE Data Link (4449): accepted connection from 10.1.1.1, port 44572
MERGE Data Link (4449): buffer size changed to 65536
MERGE Data Link (4451): accepted connection from 10.1.2.3, port 41720
MERGE Data Link (4451): buffer size changed to 65536
MERGE Data Link (4457): accepted connection from 10.1.1.9, port 58755
MERGE Data Link (4457): buffer size changed to 65536
MERGE Data Link (4452): accepted connection from 10.1.2.4, port 44539
MERGE Data Link (4452): buffer size changed to 65536
MERGE Data Link (4456): accepted connection from 10.1.2.8, port 58367
MERGE Data Link (4456): buffer size changed to 65536
MERGE Data Link (4455): accepted connection from 10.1.2.7, port 35016
MERGE Data Link (4458): accepted connection from 10.1.1.10, port 37593
MERGE Data Link (4455): buffer size changed to 65536
MERGE Data Link (4458): buffer size changed to 65536
MERGE Data Link (4460): accepted connection from 10.1.2.12, port 43714
MERGE Data Link (4460): buffer size changed to 65536
MERGE Data Link (4454): accepted connection from 10.1.1.6, port 39318
MERGE Data Link (4454): buffer size changed to 65536
MERGE Data Link (4463): accepted connection from 10.1.2.15, port 46057
MERGE Data Link (4463): buffer size changed to 65536
MERGE Data Link (4461): accepted connection from 10.1.1.13, port 59797
MERGE Data Link (4461): buffer size changed to 65536
MERGE Data Link (4466): accepted connection from 10.1.1.18, port 45269
MERGE Data Link (4466): buffer size changed to 65536
MERGE Data Link (4468): accepted connection from 10.1.2.20, port 39429
MERGE Data Link (4468): buffer size changed to 65536
MERGE Data Link (4459): accepted connection from 10.1.2.11, port 40296
MERGE Data Link (4459): buffer size changed to 65536
MERGE Data Link (4453): accepted connection from 10.1.1.5, port 39444
MERGE Data Link (4453): buffer size changed to 65536
MERGE Data Link (4462): accepted connection from 10.1.1.14, port 51022
MERGE Data Link (4462): buffer size changed to 65536
MERGE Data Link (4472): accepted connection from 10.1.2.24, port 51137
MERGE Data Link (4472): buffer size changed to 65536
MERGE Data Link (4470): accepted connection from 10.1.1.22, port 51868
MERGE Data Link (4470): buffer size changed to 65536
MERGE Data Link (4464): accepted connection from 10.1.2.16, port 42981
MERGE Data Link (4465): accepted connection from 10.1.1.17, port 49966
MERGE Data Link (4464): buffer size changed to 65536
MERGE Data Link (4465): buffer size changed to 65536
MERGE Data Link (4473): accepted connection from 10.1.1.25, port 33551
MERGE Data Link (4473): buffer size changed to 65536
MERGE Data Link (4467): accepted connection from 10.1.2.19, port 49975
MERGE Data Link (4467): buffer size changed to 65536
MERGE Data Link (4471): accepted connection from 10.1.2.23, port 36808
MERGE Data Link (4471): buffer size changed to 65536
MERGE Data Link (4469): accepted connection from 10.1.1.21, port 51687
MERGE Data Link (4469): buffer size changed to 65536
MERGE Data Link (4477): accepted connection from 10.1.1.29, port 53480
MERGE Data Link (4478): accepted connection from 10.1.1.30, port 32906
MERGE Data Link (4478): buffer size changed to 65536
MERGE Data Link (4477): buffer size changed to 65536
MERGE Data Link (4480): accepted connection from 10.1.2.32, port 42651
MERGE Data Link (4480): buffer size changed to 65536
MERGE Data Link (4476): accepted connection from 10.1.2.28, port 58374
MERGE Data Link (4476): buffer size changed to 65536
MERGE Data Link (4474): accepted connection from 10.1.1.26, port 52835
MERGE Data Link (4474): buffer size changed to 65536
MERGE Data Link (4479): accepted connection from 10.1.2.31, port 42097
MERGE Data Link (4479): buffer size changed to 65536
MERGE Data Link (4475): accepted connection from 10.1.2.27, port 36452
MERGE Data Link (4475): buffer size changed to 65536
Merge: Restarting from timestamp 1 or greater
Merge: Starting at timestamp 221552400a0
MERGE Data Link (4450): client closed connection
MERGE Data Link (4450): listening on port 11002
MERGE Data Link (4449): client closed connection
MERGE Data Link (4449): listening on port 11001
MERGE Data Link (4451): client closed connection
MERGE Data Link (4451): listening on port 11003
MERGE Data Link (4452): client closed connection
MERGE Data Link (4452): listening on port 11004
MERGE Data Link (4457): client closed connection
MERGE Data Link (4457): listening on port 11009
MERGE Data Link (4454): client closed connection
MERGE Data Link (4454): listening on port 11006
MERGE Data Link (4456): client closed connection
MERGE Data Link (4456): listening on port 11008
MERGE Data Link (4455): client closed connection
MERGE Data Link (4455): listening on port 11007
MERGE Data Link (4458): client closed connection
MERGE Data Link (4458): listening on port 11010
MERGE Data Link (4460): client closed connection
MERGE Data Link (4460): listening on port 11012
MERGE Data Link (4463): client closed connection
MERGE Data Link (4463): listening on port 11015
MERGE Data Link (4453): client closed connection
MERGE Data Link (4453): listening on port 11005
MERGE Data Link (4459): client closed connection
MERGE Data Link (4459): listening on port 11011
MERGE Data Link (4461): client closed connection
MERGE Data Link (4461): listening on port 11013
MERGE Data Link (4462): client closed connection
MERGE Data Link (4462): listening on port 11014
MERGE Data Link (4464): client closed connection
MERGE Data Link (4464): listening on port 11016
MERGE Data Link (4466): client closed connection
MERGE Data Link (4466): listening on port 11018
MERGE Data Link (4468): client closed connection
MERGE Data Link (4468): listening on port 11020
MERGE Data Link (4467): client closed connection
MERGE Data Link (4467): listening on port 11019
MERGE Data Link (4465): client closed connection
MERGE Data Link (4465): listening on port 11017
MERGE Data Link (4470): client closed connection
MERGE Data Link (4470): listening on port 11022
MERGE Data Link (4471): client closed connection
MERGE Data Link (4471): listening on port 11023
MERGE Data Link (4469): client closed connection
MERGE Data Link (4469): listening on port 11021
MERGE Data Link (4473): client closed connection
MERGE Data Link (4473): listening on port 11025
MERGE Data Link (4472): client closed connection
MERGE Data Link (4472): listening on port 11024
MERGE Data Link (4474): client closed connection
MERGE Data Link (4474): listening on port 11026
MERGE Data Link (4478): client closed connection
MERGE Data Link (4478): listening on port 11030
MERGE Data Link (4477): client closed connection
MERGE Data Link (4477): listening on port 11029
MERGE Data Link (4476): client closed connection
MERGE Data Link (4476): listening on port 11028
MERGE Data Link (4475): client closed connection
MERGE Data Link (4475): listening on port 11027
MERGE Data Link (4480): client closed connection
MERGE Data Link (4480): listening on port 11032
MERGE Data Link (4479): client closed connection
MERGE Data Link (4479): listening on port 11031
Merge state now Paused





Tidy up
master(3162): Operation not permitted
master: no process killed
stats: no process killed
driver: no process killed
linkTCP: no process killed
Starting Tape Server
MIDAS Tape Server: Message logger not contacted.
MIDAS Tape Server: MIDAS Tape Server Build February 14 2014
MIDAS Tape Server: Unable to change scheduling priority - Permission denied
MIDAS Tape Server: Using default startup
MIDAS Tape Server: Configuration: UDP port = 10205, SHM key=10205.
MIDAS Tape Server: File mapped object /SHM_10205 of size 1331104 created
MIDAS Tape Server: Shared memory ID is 3
MIDAS Tape Server: Shared memory segment located at address 7fbd51737000.
MIDAS Tape Server: Configuration file used - /MIDAS/TapeServer/Linux64/TS_configuration
MIDAS Tape Server: Stats task ./stats
MIDAS Tape Server: Using device file /dev/file/0 ./driver
MIDAS Tape Server: Using device sink /dev/null/0 ./driver
MIDAS Tape Server: Data link ./linkTCP      
MIDAS Tape Server: Message reporting level = 0x180fff8
MIDAS Tape Server: Message logging level = 0xfff8
MIDAS Tape Server: Tape Server Options = 0x6
MIDAS Tape Server: File device path base = /TapeData
MIDAS Tape Server: Data buffer size = 65536
MIDAS Tape Server: Tape block size = 65536
MIDAS Tape Server: File mapped object /SHM_110205 of size 4195880 created
MIDAS Tape Server: Shared memory ID is 3
MIDAS Tape Server: Shared memory segment located at address 7fbd51336000.
MIDAS Tape Server: File mapped object /SHM_210205 of size 3100 created
MIDAS Tape Server: Shared memory ID is 3
MIDAS Tape Server: Shared memory segment located at address 7fbd51898000.
MIDAS Tape Server: Capabilities restored.
MIDAS Tape Server: Master global area initialised.
MIDAS Tape Server: Stats task has pid 4522
MIDAS Tape Server: Driver process for /dev/file/0 has pid 4523
MIDAS Tape Server: Driver process for /dev/null/0 has pid 4524
MIDAS Tape Server: Link task 0 has pid 4525
MIDAS Tape Server: Starting the RPC interface
MIDAS Tape Statistics: Message logger not contacted.
MIDAS Tape Statistics: MIDAS Tape Statistics Build February 14 2014
MIDAS Tape Statistics: Started with args 10205
MIDAS Tape Statistics: Configuration: SHM key=10205
MIDAS Tape Statistics: File mapped object /SHM_10205 of size 1331104 created
MIDAS Tape Statistics: Shared memory ID is 3
MIDAS Tape Statistics: Shared memory segment located at address 7f0f7088e000.
MIDAS Data Link (4525): Message logger not contacted.
MIDAS Data Link (4525): MIDAS Tape Data Link Build February 14 2014
MIDAS Data Link (4525): Started with args 10205      
MIDAS Data Link (4525): Configuration: SHM key=10205, TCP port = 10305
MIDAS Data Link (4525): File mapped object /SHM_10205 of size 1331104 created
MIDAS Data Link (4525): Shared memory ID is 3
MIDAS Data Link (4525): Shared memory segment located at address 7fecd723a000.
MIDAS Data Link (4525): Starting the network interface
MIDAS Data Link (4525): TCP socket receive buffer was 87380 - now 249856
MIDAS Data Link (4525): TCP socket send buffer was 16384 - now 249856
MIDAS Data Link (4525): MIDAS Data Link thread 0 using TCP port 10305.
MIDAS Data Link (4525): Entering server loop
MIDAS Data Link (4525): thread 0 listening on port 10305
MIDAS Tape Server: Created RPC Program 28000205 Version 4 on UDP port 10205.
MIDAS Tape Server: Entering server loop
MIDAS Tape Server: MIDAS Tape Server now available on UDP port 10205.
MIDAS Tape Driver (4523): Message logger not contacted.
MIDAS Tape Driver (4523): MIDAS Tape Driver Build February 14 2014
MIDAS Tape Driver (4523): Started with args 0 10205
MIDAS Tape Driver (4523): Configuration: driver=0, key=10205.
MIDAS Tape Driver (4523): File mapped object /SHM_10205 of size 1331104 created
MIDAS Tape Driver (4523): Shared memory ID is 3
MIDAS Tape Driver (4523): Shared memory segment located at address 7f6c9a83f000.
MIDAS Tape Driver (4523): Using device /dev/file/0 of type file.
MIDAS Tape Driver (4524): Message logger not contacted.
MIDAS Tape Driver (4524): MIDAS Tape Driver Build February 14 2014
MIDAS Tape Driver (4524): Started with args 1 10205
MIDAS Tape Driver (4524): Configuration: driver=1, key=10205.
MIDAS Tape Driver (4524): File mapped object /SHM_10205 of size 1331104 created
MIDAS Tape Driver (4524): Shared memory ID is 3
MIDAS Tape Driver (4524): Shared memory segment located at address 7fcfa0949000.
MIDAS Tape Driver (4524): Using device /dev/null/0 of type sink.
MIDAS Tape Server: Capability 000692d95729f724 issued.
TapeServer: f_int: No such file or directory
Error 2 in f_int - No such file or directory
MIDAS Tape Driver (4523): Error 2 in f_int - No such file or directory
MIDAS Tape Server: Capability 000430285729f765 issued.
TapeServer: f_int: No such file or directory
Error 2 in f_int - No such file or directory
MIDAS Tape Driver (4523): Error 2 in f_int - No such file or directory
MIDAS Tape Server: Capability 00077f1a5729fc25 issued.
MIDAS Tape Server: device /dev/file/0 allocated.
MIDAS Tape Server: Mounting volume NULL on device /dev/file/0.
TapeServer: f_int: Permission denied
Error 13 in f_int - Permission denied
MIDAS Tape Driver (4523): Error 13 in f_int - Permission denied
MIDAS Tape Server: Capability 77f1a5729fc25 released.
MIDAS Tape Server: Capability 000ad90b5729fc58 issued.
MIDAS Tape Server: Mounting volume NULL on device /dev/file/0.
MIDAS Tape Server: Opening file R1 on device /dev/file/0.
MIDAS Tape Server: Closing file on device /dev/file/0.
MIDAS Tape Server: Dismounted volume on device /dev/file/0.
MIDAS Tape Server: Mounting volume NULL on device /dev/file/0.
MIDAS Tape Server: Opening file R2 on device /dev/file/0.
MIDAS Data Link (4525): thread 0 accepted connection from 127.0.0.1, port 34620
MIDAS Data Link (4525): buffer size changed to 65536
MIDAS Tape Server: Closing file on device /dev/file/0.
MIDAS Tape Server: Dismounted volume on device /dev/file/0.
Attachment 1: 502.png
502.png
Attachment 2: 501.png
501.png
Attachment 3: 500.png
500.png
Attachment 4: 504.png
504.png
Attachment 5: 505.png
505.png
Attachment 6: 504.png
504.png
Attachment 7: 510.png
510.png
  35   Mon Feb 16 12:17:21 2015 Patrick Coleman-SmithMACB update for 50Mhz external clock

 This version of the MACB has an additional selection at 5 for a ROOT module.

This will operate the Correlation Scalar signals used for RIBF and use the External Clock signal directly for the FEE64 50MHz distribution.

This has been tested at Daresbury with and external clock source and operates successfully with the merger.

 

Attachment 1: macb_top_revB_16Feb15.jed
  525   Mon Dec 5 11:53:26 2016 TDMACB test
MACB configuration can be found at https://elog.ph.ed.ac.uk/AIDA/357

To investigate system-wide check clock status errors for nnaida5, 7, 8, 15 & 16
PJCS requests changing MACB #3 (5, 6, 13 & 14) mode from 3 to 0 (all other MACB
modes unchanged) followed by power-cycle of FEE64s

System-wide checks - see attachments 1-11
 No clock status errors observed for nnaida5
 N.B. nnaida23 fails clock status

Switch MACB #3 (7, 8, 15 & 16) from mode 0 to 3, and MACB #4 from 3 to 0
------------------------------------------------------------------------
System-wide checks - see attachments 12-21
 ReSync not complete for nnaida21, 22
 Clock status errors observed for 5, 7, 8, 15, 16 *and* 21, 22

Switch MACB #4 (21, 22, 29 & 30) from mode 0 to 3, and MACB #5 (7, 8, 15 & 16) from 3 to 0
------------------------------------------------------------------------------------------
System-wide checks - see attachments 22-28
 ReSync not complete for nnaida7, 8, 15 & 16
 Clock status errors observed for nnaida7, 8, 15 & 16 - status = 0

Switch MACB #5 (21, 22, 29 & 30) from mode 0 to 3 
-------------------------------------------------
System-wide checks - see attachments 29-33
 ReSync OK
 Clock status errors observed for nnaida5, 7, 8, 15 & 16 - status = various, bit 2 always set (as before)

Replace MACB #5 (was rev A, MACB serial #9) with MACB serial #13 (rev A, firmware 16.4.15) mode 3
-------------------------------------------------------------------------------------------------
System-wide checks - see attachments 34-36
 ReSync OK
 Clock status errors observed for nnaida5, 7, 8, 15 & 16 - status = various, bit 2 always set (as before)
 i.e. no change, MACB #5 NIM module not the problem

Replace MACB #1 (was rev B, MACB serial #21) with MACB serial #38 (rev B, firmware 16.4.15, internal CLK TERM
mod) mode 0
-------------------------------------------------------------------------------------------------------------------------
System-wide checks - see attachments 37-40
 ReSync OK
 *ALL* system-wide checks OK


Offline analysis of file Dec2016/R1_5 demonstrates ADC & disc data synchronised - see attachments 41 & 42
Attachment 1: 10.png
10.png
Attachment 2: 11.png
11.png
Attachment 3: 12.png
12.png
Attachment 4: 13.png
13.png
Attachment 5: 14.png
14.png
Attachment 6: 15.png
15.png
Attachment 7: 16.png
16.png
Attachment 8: 17.png
17.png
Attachment 9: 18.png
18.png
Attachment 10: 19.png
19.png
Attachment 11: 20.png
20.png
Attachment 12: 30.png
30.png
Attachment 13: 31.png
31.png
Attachment 14: 32.png
32.png
Attachment 15: 33.png
33.png
Attachment 16: 34.png
34.png
Attachment 17: 35.png
35.png
Attachment 18: 36.png
36.png
Attachment 19: 37.png
37.png
Attachment 20: 38.png
38.png
Attachment 21: 39.png
39.png
Attachment 22: 110.png
110.png
Attachment 23: 111.png
111.png
Attachment 24: 112.png
112.png
Attachment 25: 113.png
113.png
Attachment 26: 114.png
114.png
Attachment 27: 115.png
115.png
Attachment 28: 116.png
116.png
Attachment 29: 120.png
120.png
Attachment 30: 121.png
121.png
Attachment 31: 122.png
122.png
Attachment 32: 123.png
123.png
Attachment 33: 124.png
124.png
Attachment 34: 130.png
130.png
Attachment 35: 131.png
131.png
Attachment 36: 133.png
133.png
Attachment 37: 140.png
140.png
Attachment 38: 141.png
141.png
Attachment 39: 142.png
142.png
Attachment 40: 143.png
143.png
Attachment 41: 150.png
150.png
Attachment 42: 151.png
151.png
  256   Mon May 30 06:03:51 2016 CG, TDMACB settings

14.00 MACB settings (from left -> right)

MACB# 1 2 3 4 5 6 7 8 9 10 11
Setting 0 2 2 3 3 3 3 3 3 3 3

           MACB#1 is grandparent in tree

           #2 and #3 are parents

           Rest are children.

14.05 MACBs 1 and 3 (master) replaced with spares. No change, clocks remain not locked.

 

  257   Mon May 30 08:18:48 2016 CG, TD - PJCS replyMACB settings

Quote:

14.00 MACB settings (from left -> right)

MACB# 1 2 3 4 5 6 7 8 9 10 11
Setting 0 2 2 3 3 3 3 3 3 3 3

           MACB#1 is grandparent in tree

           #2 and #3 are parents

           Rest are children.

14.05 MACBs 1 and 3 (master) replaced with spares. No change, clocks remain not locked.

 PJCS _ reply The Master branch of the Tree needs to be set to 2 all the way to the Master.

So 

GrandParent : 0

Parents : Master Branch 2 , Others 3

Children: Master Branch 2, Others 3.

Carry out a system Reset/Setup after changing to these settings.

Then System wide checks.

 

  258   Mon May 30 08:43:10 2016 CG, TD - PJCS replyMACB settings

Quote:

Quote:

14.00 MACB settings (from left -> right)

MACB# 1 2 3 4 5 6 7 8 9 10 11
Setting 0 2 2 3 3 3 3 3 3 3 3

           MACB#1 is grandparent in tree

           #2 and #3 are parents

           Rest are children.

14.05 MACBs 1 and 3 (master) replaced with spares. No change, clocks remain not locked.

 PJCS _ reply The Master branch of the Tree needs to be set to 2 all the way to the Master.

So 

GrandParent : 0

Parents : Master Branch 2 , Others 3

Children: Master Branch 2, Others 3.

Carry out a system Reset/Setup after changing to these settings.

Then System wide checks.

 

 Apologies, I made a mistake in the information above.

MACB#1 is the grandparent, but #2 and #7 are the parents, with #3-6 and #8-11 the children.

The master goes through MACB#2 to the first port on #3.

So the current setup follows, and always has done, your instructions above.

  577   Fri May 19 09:55:54 2017 CB, TD, OHLogs from Raspberry Pi System Console
17:50 Rebooted Server and FEE64. Connected remotely to Ras Pi System Console. Repeated USB connection procedure. All 24 modules can now be seen. Sample log attached
Attachment 1: ttyUSB1

ISOL Version 1.00 Date 9th January 2017

Flash base address=FC000000

Set Flash to ASync Mode

XST_SUCCESS

Finished copying zImage to RAM 


Found 0 errors checking kernel image
VHDL version number 0X1E310104 

Based on AIDA Bootloader version number 1.2.0 -- 16th August 2012

Starting LMK 3200 setup 


Setting LMK03200 to standard clock settings -- External Clock 23Nov15

.... SPI Base Address=0x81400000

clk_control_reg=0x4
Next step is SPIconfig

Control 32(0x81400000)=0x180

SlaveSel(0x81400000)=0x3

Ctrl(0x81400000)=0xE6

Ctrl(0x81400000)=0x86
SPIconfig done now to set up the LMK3200 registers
LMK #0 : regInit[0]=0x80000000
LMK #0 : regInit[1]=0x10070600
LMK #0 : regInit[2]=0x60601
LMK #0 : regInit[3]=0x60602
LMK #0 : regInit[4]=0x60603
LMK #0 : regInit[5]=0x70624
LMK #0 : regInit[6]=0x70605
LMK #0 : regInit[7]=0x70606
LMK #0 : regInit[8]=0x70627
LMK #0 : regInit[9]=0x10000908
LMK #0 : regInit[10]=0xA0022A09
LMK #0 : regInit[11]=0x82800B
LMK #0 : regInit[12]=0x28C800D
LMK #0 : regInit[13]=0x830020E
LMK #0 : regInit[14]=0xC800180F

Calibrate completed at 944 counts

Setting Clock Control =0x0000000B, to set GOE and sync bit

Ctrl @ SPIstop (0x81400000)=0x186

0 delay setup completed at 0 counts

Finished Clock setup LMK03200

completed LMK 3200 setup 

Loaded all four ASICs with default settings 

Setting the ADCs into calibration mode 


Control 32(0x81400400)=0x180

SlaveSel(0x81400400)=0xFF

Ctrl(0x81400400)=0xE6

Ctrl(0x81400400)=0x86

Init : Config of AD9252 SPI ok


Ctrl @ SPIstop (0x81400400)=0x186ADCs initialised 

ADCs calibrated


Control 32(0x81400400)=0x186

SlaveSel(0x81400400)=0xFF

Ctrl(0x81400400)=0xE6

Ctrl(0x81400400)=0x86Config of AD9252 SPI ok


Ctrl @ SPIstop (0x81400400)=0x186Jumping to kernel simpleboot...


zImage starting: loaded at 0x00a00000 (sp: 0x00bc4eb0)

Allocating 0x3b78cc bytes for kernel ...

gunzipping (0x00000000 <- 0x00a0f000:0x00bc380e)...done 0x39604c bytes


Linux/PowerPC load: console=ttyS0 root=/dev/nfs ip=on rw mem=112M

Finalizing device tree... flat tree at 0xbd1300

Probing IIC bus for MAC... MAC address = 0xd8 0x80 0x39 0x42 0xd 0x16 
Using Xilinx Virtex440 machine description
Linux version 2.6.31 (nf@nnlxb.dl.ac.uk) (gcc version 4.2.2) #34 PREEMPT Tue Nov 15 15:57:04 GMT 2011
Zone PFN ranges:
  DMA      0x00000000 -> 0x00007000
  Normal   0x00007000 -> 0x00007000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00007000
MMU: Allocated 1088 bytes of context maps for 255 contexts
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 28448
Kernel command line: console=ttyS0 root=/dev/nfs ip=on rw mem=112M
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 109680k/114688k available (3500k kernel code, 4852k reserved, 144k data, 130k bss, 168k init)
Kernel virtual memory layout:
  * 0xffffe000..0xfffff000  : fixmap
  * 0xfde00000..0xfe000000  : consistent mem
  * 0xfde00000..0xfde00000  : early ioremap
  * 0xd1000000..0xfde00000  : vmalloc & ioremap
NR_IRQS:512
clocksource: timebase mult[a00000] shift[22] registered
Console: colour dummy device 80x25
Mount-cache hash table entries: 512
NET: Registered protocol family 16
PCI: Probing PCI hardware
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NET: Registered protocol family 1
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 214
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
83e00000.serial: ttyS0 at MMIO 0x83e01003 (irq = 16) is a 16550
console [ttyS0] enabled
brd: module loaded
loop: module loaded
Device Tree Probing 'ethernet'
xilinx_lltemac 81c00000.ethernet: MAC address is now d8:80:39:42: d:16
xilinx_lltemac 81c00000.ethernet: XLlTemac: using DMA mode.
XLlTemac: DCR address: 0x80
XLlTemac: buffer descriptor size: 32768 (0x8000)
XLlTemac: Allocating DMA descriptors with kmalloc
XLlTemac: (buffer_descriptor_init) phy: 0x6938000, virt: 0xc6938000, size: 0x8000
XTemac: PHY detected at address 7.
xilinx_lltemac 81c00000.ethernet: eth0: Xilinx TEMAC at 0x81C00000 mapped to 0xD1024000, irq=17
fc000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank
 Intel/Sharp Extended Query Table at 0x010A
 Intel/Sharp Extended Query Table at 0x010A
 Intel/Sharp Extended Query Table at 0x010A
 Intel/Sharp Extended Query Table at 0x010A
 Intel/Sharp Extended Query Table at 0x010A
 Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Creating 5 MTD partitions on "fc000000.flash":
0x000000000000-0x000000500000 : "golden_firmware"
0x000000500000-0x000000800000 : "golden_kernel"
0x000000800000-0x000000d00000 : "user_firmware"
0x000000d00000-0x000000fe0000 : "user_kernel"
0x000000fe0000-0x000001000000 : "env_variables"
xilinx-xps-spi 81400400.hd-xps-spi: at 0x81400400 mapped to 0xD1028400, irq=20
SPI: XIlinx spi: bus number now 32766
xilinx-xps-spi 81400000.xps-spi: at 0x81400000 mapped to 0xD102C000, irq=21
SPI: XIlinx spi: bus number now 32765
mice: PS/2 mouse device common for all mice
Device Tree Probing 'i2c'
 #0 at 0x81600000 mapped to 0xD1030000, irq=22
at24 0-0050: 1024 byte 24c08 EEPROM (writable)
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
eth0: XLlTemac: Options: 0x3fa
eth0: XLlTemac: allocating interrupt 19 for dma mode tx.
eth0: XLlTemac: allocating interrupt 18 for dma mode rx.
eth0: XLlTemac: speed set to 1000Mb/s
eth0: XLlTemac: Send Threshold = 24, Receive Threshold = 4
eth0: XLlTemac: Send Wait bound = 254, Receive Wait bound = 254
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 193.62.115.15, my address is 193.62.115.240
IP-Config: Complete:
     device=eth0, addr=193.62.115.240, mask=255.255.255.0, gw=193.62.115.1,
     host=nnlycca4, domain=dl.ac.uk, nis-domain=nuclear.physics,
     bootserver=193.62.115.15, rootserver=193.62.115.15, rootpath=/MIDAS/XilinxLinux/ppc_4xx/rfs/nnlycca4
Looking up port of RPC 100003/2 on 193.62.115.15
Looking up port of RPC 100005/1 on 193.62.115.15
VFS: Mounted root (nfs filesystem) on device 0:12.
Freeing unused kernel memory: 168k init

INIT: version 2.86 booting

Starting sysinit...
		Welcome to DENX & STFC Daresbury Embedded Linux Environment
		Press 'I' to enter interactive startup.
Setting clock  (utc): Thu May  4 12:41:45 CEST 2017 [  OK  ]

Building the cache [  OK  ]

Setting hostname nnlycca4:  [  OK  ]

Mounting local filesystems:  [  OK  ]

Enabling /etc/fstab swaps:  [  OK  ]
Finishing sysinit...

INIT: Entering runlevel: 3

Entering non-interactive startup
FATAL: Module ipv6 not found.
Bringing up loopback interface:  [  OK  ]

FATAL: Module ipv6 not found.
Starting system logger: [  OK  ]

Starting kernel logger: [  OK  ]

Starting rpcbind: [  OK  ]

Mounting NFS filesystems:  [  OK  ]

Mounting other filesystems:  [  OK  ]

Starting xinetd: [  OK  ]

Starting midas:  Starting MIDAS Data Acquisition for nnlycca4
Trying to free nonexistent resource <0000000081000000-00000000811fffff>
XAIDA: xaida: mem region start 0x81000000 for 0x200000 mapped at 0xd2100000
XAIDA: xaida: driver assigned major number 254
Trying to free nonexistent resource <0000000007000000-0000000007ffffff>
AIDAMEM: aidamem: mem region start 0x7000000 for 0x1000000 mapped at 0xd2380000
AIDAMEM: aidamem: driver assigned major number 253
System identified is CPU ppc; Platform is unix; OS is Linux and Version is 2.6.31
Environment selected is CPU ppc; Platform unix; OS Linux and Operating System linux-ppc_4xx
MIDASBASE = /MIDAS and MIDAS_LIBRARY = /MIDAS/TclHttpd/linux-ppc_4xx
PATH = /MIDAS/bin_linux-ppc_4xx:/MIDAS/TclHttpd/linux-ppc_4xx:/MIDAS/linux-ppc_4xx/bin:/MIDAS/linux-ppc_4xx/bin:/sbin:/usr/sbin:/bin:/usr/bin
Computer Name = nnlycca4; Temp Directory = /tmp/tcl360
package limit is not available: can't find package limit
Running with default file descriptor limit
XAIDA: xaida_open:
AIDAMEM: aidamem_open:
package setuid is not available: can't find package setuid
Running as user 0 group 0
/debug user "debug" password "zdld6.rvwaj2"
httpd started on port 8015

Cannot use /MIDAS/config/TclHttpd/nnlycca4@8015/startup.tcl
Custom startup from /MIDAS/config/TclHttpd/nnlycca4/startup.tcl
[  OK  ]


DENX ELDK version 4.2 build 2008-04-01
Linux 2.6.31 on a ppc

nnlycca4 login: XAIDA Access package 1.0
/XAIDAAccessServer
XAD9252 Access package 1.0
/XAD9252AccessServer
/DataBaseAccessServer
/NetVarService
/SigTaskService
Loaded MemSasAccess
/SpectrumService
loading tcl/AIDARunControl.tcl for namespace ::
/DataAcquisitionControlServer
DefineMessage unknown
Run Control Server Implementation for AIDA
RunControlServer loaded
loading Html/RunControl/implementation.tcl for namespace ::
RunControl loaded
loading Html/AIDA/RunControl/implementation.tcl for namespace ::
ReadRegister failed: Name=NetVar.EXEC.ID; Code= 0x10004; Info= Register name does not exist
created SigTask registers 0 0  0 0
Created UI registers
AIDA RunControl loaded
Completed custom startup from /MIDAS/TclHttpd/Html/AIDA/RunControl/stats.defn.tcl
executing generic doStop
EXPERIMENTS/AIDA/Options/nnaida23 Stat.offset NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida_Hist_W_Enable NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 TS_SYNC_PHASE NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 ExtClk NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida.shift NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 MACB_TRIG_MODE NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida.offset NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida_GroupBase NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Rate.channels NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Stat.channels NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida.Vchannels NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 ASIC.settings NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 WAVE_DMA_HWM NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida_Hist_D_Enable NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Stat.shift NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida.Wchannels NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida_Hist_V_Enable NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Include.Aida NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida.channels NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 DataAcqPgm NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida_Hist_H_Enable NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 DataFormat NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 ASIC_DMA_HWM NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida_Hist_L_Enable NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Index NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
DataAcqCommand 1 Halt
Aida state now Stopped. AidaExecV8_52: Build 170816 
Halt (1)
DataAcqCommand 1 disconnect xfer stream #0
disconnect xfer stream #0 (1)
completed generic doStop
executing generic doGo
EXPERIMENTS/AIDA/Options/nnaida23 Stat.offset NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida_Hist_W_Enable NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 TS_SYNC_PHASE NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 ExtClk NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida.shift NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 MACB_TRIG_MODE NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida.offset NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida_GroupBase NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Rate.channels NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Stat.channels NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida.Vchannels NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 ASIC.settings NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 WAVE_DMA_HWM NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida_Hist_D_Enable NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Stat.shift NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida.Wchannels NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida_Hist_V_Enable NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Include.Aida NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida.channels NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 DataAcqPgm NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida_Hist_H_Enable NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 DataFormat NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 ASIC_DMA_HWM NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Aida_Hist_L_Enable NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
EXPERIMENTS/AIDA/Options/nnaida23 Index NOT available: error 0x10004; unable to access CONTENTS for node /MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23: couldn't open "/MIDAS/DB/EXPERIMENTS/AIDA/Options/nnaida23/CONTENTS": permission denied
DataAcqCommand 3 connect xfer stream #0
Initialising communication with storage server myserver on port 11023
Setting Transfer Block Size 65536
Setting Transfer Mode 3
... 364 more lines ...
  50   Wed Mar 4 17:38:06 2015 CGLog book for Feb 2015 tests

04/03/15

Please find attached a scan of the log book for the Feb 2015 AIDA tests at RIKEN. 

Attachment 1: AIDA_Feb2015_labBook_comp.pdf
AIDA_Feb2015_labBook_comp.pdf AIDA_Feb2015_labBook_comp.pdf AIDA_Feb2015_labBook_comp.pdf AIDA_Feb2015_labBook_comp.pdf AIDA_Feb2015_labBook_comp.pdf AIDA_Feb2015_labBook_comp.pdf AIDA_Feb2015_labBook_comp.pdf AIDA_Feb2015_labBook_comp.pdf
  335   Wed Aug 17 14:10:05 2016 Patrick Coleman-SmithLinux Memory problem solutions for FEE64

The problem indicated by "page allocation failure" and the kernal subsequently "killing" the AidaExecV8 process is due ( it appears ) to memory availability.

Solution 1:- Reduce the amount of memory used for histogramming. That would be by disabling the .V histograms or changing the size of the .H and/or .L histograms from 65536 to 32768 and using the shift attribute in the Options. This will reduce the memory required.

Solution 2:- Change a kernal setting in the /etc/sysctl.conf to request there is always a minimum amount of free memory. Insert the line "vm.min_free_kbytes=4096" in the file.

Solution 2 has been tried on the system in T9 while the flag enabling raw data to be written to disc is set. Previous to the solution, with the same operating conditions,  the fault would occur after about 15 minutes. Subsequent to the solution the system has run for 46 hours.

I propose that the .V histograms are disabled and the kernal setting is used. ( both solutions :-) The .V histograms are a late addition and not required at present.

 

  773   Sat Nov 10 04:06:20 2018 TDLess commonly recorded AIDA control tabs
Some less commonly recorded AIDA control tabs whilst DAQ going (data transfer disabled)
Attachment 1: 100.png
100.png
Attachment 2: 101.png
101.png
Attachment 3: 102.png
102.png
Attachment 4: 109.png
109.png
Attachment 5: 110.png
110.png
Attachment 6: 111.png
111.png
Attachment 7: 112.png
112.png
Attachment 8: 113.png
113.png
Attachment 9: 114.png
114.png
Attachment 10: 115.png
115.png
Attachment 11: 116.png
116.png
Attachment 12: 117.png
117.png
Attachment 13: 118.png
118.png
Attachment 14: 119.png
119.png
Attachment 15: 120.png
120.png
Attachment 16: 103.png
103.png
Attachment 17: 104.png
104.png
Attachment 18: 105.png
105.png
Attachment 19: 107.png
107.png
Attachment 20: 108.png
108.png
  863   Mon Apr 19 15:10:55 2021 OH TDLess HEC events than expected in DSSD3
we are noticing we appear to see less implant events in detector 3 than we expect. This was first noticed in the xy spectra of the DSSD in the Go4 online.
As part of testing we have lowered the threshold in aida09 which from the xy appeared to have less events.

Following this we still seemed to see less events.

OH downloaded a selection of recent files to analyse. Looking at the total number of HEC events it appears that aida09, aida10 and aida12 are all seeing less HEC events than I would expect.
The ratio of HEC events in aida09 to aida11 was 0.36.

Looking at the energies of the HEC events there appeared to be less events everywhere and not just a threshold issue. We thought it could then be radiation damage and poor
charge collection. To test this we raised the bias to 120V on DSSD3.

The same test was again performed and the ratio again came out to be 0.36
We did not appear to recover any HEC events

Comparing the scaled energy distributions of aida09 and aida11 we see no evidence of a different energy response other than an increase in lower energy events in aida09 due to the lower threshold

I now think it may be a hardware issue. Will look at the last file before the most recent powercycle.

Using TD's analyser program can confirm the rate between aida09 and aida11 before 08:30 this morning was ~1:1.
The problem seems to have appeared during the power cycles following this.
Attachment 1: Capture.PNG
Capture.PNG
  301   Fri Jun 10 08:04:11 2016 YSLeakage Currents Spread Sheet

Leakage Currents Spread Sheet and Chart

Attachment 1: AIDA_leakage_current.ods
Attachment 2: 44.png
44.png
  593   Wed May 24 06:12:48 2017 TDLead bricks removed from BRIKEN aperture for source tests - AIDA NOT SHIELDED FROM BEAM
To install the 252Cf fission source to test the 3He neutron counters, Pb bricks which
had blocked the BRIKEN aperture have now been removed.
  216   Tue May 10 16:03:50 2016 TD & VFEPLatest version of Rly16
Do not forget to backup the current versions of the attached files before
installing the latest versions. The latest version features the sequential 
power up of each of the eight mains relays - this will help minimise instantaneous
network loads during power/boot up.

On 05/05/2016 06:45, Thomas Davinson wrote:


 Hello

 Coould we have a copy of the latest USB power replay .tml file please?
 Our current version does not permit sequential power on and Patrick says
 that may be helpful when attempting to start 32 FEEs.

   attached
    =>   /MIDAS/TclHttpd/Aida/Rly16


 Vic 
Attachment 1: Rly16.js


function click_SEQ (Obj) {
    Obj.Widget.value = "SEQ";
    Obj.submit();
}
function click_ALLON (Obj) {
    Obj.Widget.value = "ALLON";
    Obj.submit();
}
function click_ALLOFF (Obj) {
    Obj.Widget.value = "ALLOFF";
    Obj.submit();
}

function click_RELAYON (Obj,vl) {
    Obj.Widget.value = "RELAYON" + " " + vl;
    Obj.submit();
}

function click_RELAYOFF (Obj,vl) {
    Obj.Widget.value = "RELAYOFF" + " " + vl;
    Obj.submit();
}

Attachment 2: Rly16.tcl


# variable started 0

if {![info exists started]} {variable started 0}

if {$started != 0} {

     variable JS ""
     variable LogFlag

     if {$LogFlag == 1} {InsertLog "Last Updated: [clock format [clock seconds] -format "%B %d, %Y %H:%M:%S"]"}

    do_click
}

if {$started == 0} {           ;#  first time load code and define local variables
    set started 1

    variable LogText ""
    variable LogFlag 0
    variable LogCount 0

    variable ShowLogFlag 0

    variable JS ""

    variable Port   /dev/ttyUSB0
    variable Baud 19200
    variable Data 8
    variable Parity n
    variable Stop 2

    variable Flow none

    variable channelId 0

    variable VERSION 0
    variable DC 0
    variable STATUS 0


    proc show_variables {} {
        variable LogFlag
        variable LogCount
        variable ShowLogFlag


         InsertLog "LogFlag=$LogFlag; LogCount=$LogCount; ShowLogFlag=$ShowLogFlag"
         InsertLog "DC=[DC]; Status=[Status]"
    }

proc do_connect {} {
   global env
   variable channelId
   variable Port
   variable Baud
   variable Data
   variable Parity
   variable Stop
   variable Flow

   if {$channelId != 0} {
       InsertLog "Already connected: Disconnect first"
       return
   }

       for {set p 0} {$p < 8} {incr p} {

          set Port /dev/ttyUSB$p

          if {$env(os) == "Linux" || $env(os) == "Linux64"} {
               set z [catch {exec sudo -n chmod 666 $Port} m]   ;# need rw access to serial port
               if {$z != 0} {InsertLog "failed to change access mode to I/O port\n$m"; continue}
          }

          set rc [catch {open $Port RDWR} m]
          if {$rc == 0} {set channelId $m; InsertLog "Using $Port"} else {InsertLog "$Port: $m"}

          if {$channelId != 0} {
             fconfigure $channelId -mode $Baud,$Parity,$Data,$Stop -handshake $Flow
             fconfigure $channelId -blocking no -buffering none -translation binary
             fileevent $channelId readable GetData

             set V [VERS]
             InsertLog "firmware version = $V"
             if {$V > 0} {break} else {do_disconnect}
         }
      }
}

proc do_disconnect {} {
   variable channelId
   variable Port

   if {$channelId == 0} {
#       InsertLog "Already disconnected"
   } else {
       set z [catch {close $channelId} m]
       set channelId 0
   }
}

proc SetOff {n} {
    variable channelId

   if {$channelId == 0} {do_connect}

   if {$channelId == 0} {InsertLog "Not connected"; return}

   switch $n {
      1  {puts $channelId "o"}
      2  {puts $channelId "p"}
      3  {puts $channelId "q"}
      4  {puts $channelId "r"}
      5  {puts $channelId "s"}
      6  {puts $channelId "t"}
      7  {puts $channelId "u"}
      8  {puts $channelId "v"}
      default {}
   }

   Status
}

proc SetOn {n} {
    variable channelId

   if {$channelId == 0} {do_connect}

   if {$channelId == 0} {InsertLog "Not connected"; return}

   switch $n {
      1  {puts $channelId "e"}
      2  {puts $channelId "f"}
      3  {puts $channelId "g"}
      4  {puts $channelId "h"}
      5  {puts $channelId "i"}
      6  {puts $channelId "j"}
      7  {puts $channelId "k"}
      8  {puts $channelId "l"}
      default {}
   }

   Status
}

proc SequenceOn {} {
    variable channelId

   if {$channelId == 0} {do_connect}

   if {$channelId == 0} {InsertLog "Not connected"; return}

   foreach chan { 1 2 3 4 5 6 7 8 } {
	SetOn $chan
	after 500
	}
}


proc AllOff {} {
    variable channelId

   if {$channelId == 0} {do_connect}

   if {$channelId == 0} {InsertLog "Not connected"; return}

   set z [catch {puts $channelId "n"} m]
   if {$z != 0} {return}

   Status
}

proc AllOn {} {
    variable channelId

   if {$channelId == 0} {do_connect}

   if {$channelId == 0} {InsertLog "Not connected"; return}

   set z [catch {puts $channelId "d"} m]
   if {$z != 0} {return}

   Status
}

proc DC {} {
    variable channelId
    variable DC

   if {$channelId == 0} {do_connect}

   if {$channelId == 0} {InsertLog "Not connected"; return}

   set z [catch {puts $channelId "\]"} m]
   if {$z != 0} {return}
after 200
   set DC [expr 0x[GetData]]
}

proc VERS {} {
    variable channelId
    variable VERSION

   if {$channelId == 0} {do_connect}

   if {$channelId == 0} {InsertLog "Not connected"; return}

   set z [catch {puts $channelId "Z"} m]
   if {$z != 0} {return}
after 200
   set VERSION [GetData]
}

proc Status {} {
    variable channelId
    variable STATUS

   if {$channelId == 0} {do_connect}

   if {$channelId == 0} {InsertLog "Not connected"; return}

   set z [catch {puts $channelId "["} m]
   if {$z != 0} {return}
after 500
   set z [catch {set STATUS [expr 0x[GetData]]} m]
}

proc GetData {args} {
    variable channelId

   if {$channelId == 0} {do_connect}

   if {$channelId == 0} {InsertLog "Not connected"; return 0}

    set data [read $channelId 132]
    if {[string length $data] == 0} {return 0}

    set line ""
    for {set i 0} {$i < [string length $data]} {incr i} {
        set c1 [string range $data $i $i]
        binary scan $c1 H2 c2
        append line "[set c2]"
    }

    return "$line"
}

   proc do_click {} {
       variable cgidata
       variable started
       variable LogFlag
       variable ShowLogFlag
       variable JS

       set cgidata [ncgi::nvlist]

       if {$LogFlag == 1} {InsertLog "cgidata= ([llength $cgidata]) $cgidata"}

       if {[llength $cgidata] == 0} then {return}

       if {[llength $cgidata] < 2} then {
           InsertLog "CGI data is too short: $cgidata"
       } else {
           if {[lindex $cgidata 0] != "Widget"} then {
               InsertLog "Invalid CGI data: $cgidata"
           } else {

               set w  [first  [lindex $cgidata 1]]
               set vl [second [lindex $cgidata 1]]

               switch -glob $w {

                   RESET    {catch {do_disconnect}; set started 0}
                   CLEAR    {EmptyLog}
                   ELOG     {PrintLog}
                   RELOAD   {}
                   VARIABLES {show_variables}

                   HIDE     {set ShowLogFlag 0}
                   SHOW     {set ShowLogFlag 1}
                   LOGON    {set LogFlag 1}
                   LOGOFF   {set LogFlag 0}

                   SEQ       {SequenceOn}
                   ALLON     {AllOn}
                   ALLOFF    {AllOff}
                   RELAYON   {SetOn $vl}
                   RELAYOFF  {SetOff $vl}

                   MainLog {}
                   undefined {}
                   default {InsertLog "unexpected CGI data: [lindex $w 0]: $cgidata"}
               }
           }
       }
       catch {Status}
    }
... 6 more lines ...
Attachment 3: Rly16.tml

[Doc_Dynamic]

<!
[global env; set env(MIDASBASE) /MIDAS]
>

[global env; source [file join $env(MIDASBASE) TclHttpd Html settings.tml]]

<!
[global Httpd; upvar #0 Httpd[set Httpd(currentSocket)] data; set ClientIPAddress $data(ipaddr); set MyInfo $data(self)]
>

<html>
<head>

<title>Rly16 Service @ [global env; set env(ComputerName)]</title>

<script type="text/javascript" language="JavaScript" src="/js/Common.js"></script>
<script type="text/javascript" language="JavaScript" src="/js/FormChek.js"></script>
<script type="text/javascript" language="JavaScript" src="Rly16.js"></script>

</head>

<body>

<NOSCRIPT>
<hr>
<h2>
Your browser does not support JavaScript.
This service requires a JavaScript compatible browser. </h2> <hr> </NOSCRIPT> <p align=center> <table cellpadding=0 cellspacing=0 border=0 width=100%> <tr> <td align=left> <font size=4><b>Rly16 Control @ [set MyInfo]</b></font> </td> <td align=right> <font size=4><b>client address is [set ClientIPAddress]</b></font> </td> <td align=right> <input type=image src="/images/midas.gif" name=MIDAS title="MIDAS Home Page" onClick="click_MIDAS()"> <input type=image src="/images/tclp.gif" name=TCL title="Tcl/Tk Home Page" onClick="click_TCL()"> </td> </tr> </table> </p> <hr> <! [namespace eval Rly16 {global env; cd [file join $env(MIDASBASE) TclHttpd Html AIDA]}] [namespace eval Rly16 { global env source [file join $env(MIDASBASE) TclHttpd tcl Common common.tcl] cd [file join $env(MIDASBASE) TclHttpd Html AIDA Rly16] source Rly16.tcl }] > <form action=[ncgi::urlStub] name=Rly16 method=post> <input type=hidden name=Widget value=Rly16> <p align="center"> <table cellpadding=0 cellspacing=0 border=0 width=100%> <tr> <td width=33% align=left> Port: [namespace eval Rly16 {set Port}] </td> <td width=33% align=left> Version: [namespace eval Rly16 {VERS; set VERSION}] </td> <td width=33% align=left> DC: [namespace eval Rly16 {DC; set vl [expr $DC/10.0]V}] </td> </tr> </table> </p> <p align=center> <table cellpadding=0 cellspacing=0 border=0 width=100%> <tr> [namespace eval Rly16 { set html "<td width=12% align=left>Switch ON</td>" set j 0 for {set i 1} {$i <= 8} {incr i} { append html "<td width=11% align=left>" if {([expr $STATUS >> $j] & 1) == 0} { append html "<input type=button name=RON$i value=\"Relay $i\" onClick=\"click_RELAYON(document.Rly16, $i)\">" } append html "</td>" incr j } set html }] </tr> <tr> [namespace eval Rly16 { set html "<td width=12% align=left>Switch OFF</td>" set j 0 for {set i 1} {$i <= 8} {incr i} { append html "<td width=11% align=left>" if {([expr $STATUS >> $j] & 1) == 1} { append html "<input type=button name=ROFF$i value=\"Relay $i\" onClick=\"click_RELAYOFF(document.Rly16, $i)\">" } append html "</td>" incr j } set html }] </tr> </table> </p> <p align=center> <input type=button name=SEQ value="Sequence ALL On" onClick="click_SEQ(document.Rly16)"> <input type=button name=ALLON value="Switch ALL On" onClick="click_ALLON(document.Rly16)"> <input type=button name=ALLOFF value="Switch ALL Off" onClick="click_ALLOFF(document.Rly16)"> </p> [namespace eval Rly16 { if {$ShowLogFlag == 1} then { set html "" append html "<p align=center>" append html "<textarea name=MainLog readonly=true wrap=soft rows=12 cols=80>" append html [set LogText] append html "</textarea>" append html "</p>" set html } }] <p> <input type=button name=CLEAR value="Empty Log Window" onClick="click_clear(document.Rly16)" title="Empty the log window"> <input type=button name=ELOG value="Send Log Window to ELog" onClick="click_elog(document.Rly16)" title="Sends the contents of the log window to your ELog"> <input type=button name=RELOAD value="Reload" onClick="click_reload(document.Rly16)" title="Reload the page and cause the displayed hardware parameters to be refreshed"> <input type=button name=RESET value="Reset" onClick="click_reset(document.Rly16)" title="Cause the page code to be fully reloaded in the server"> <input type=button name=VARIABLES value="Show Variables" onClick="click_variables(document.Rly16)" title="Display selected internal variables in the log window"> [namespace eval Rly16 { if {$ShowLogFlag == 1} then { set html "<input type=button name=HIDE value=\"Hide Log Window\" onClick=\"click_hidelog(document.Rly16)\" title=\"Do not display the log window\">" } else { set html "<input type=button name=SHOW value=\"Show Log Window\" onClick=\"click_showlog(document.Rly16)\" title=\"Cause the log window to be displayed\">" } set html }] [namespace eval Rly16 { if {$LogFlag == 1} then { set html "<input type=button name=LOGOFF value=\"Disable Logging\" onClick=\"click_disablelog(document.Rly16)\">" } else { set html "<input type=button name=LOGON value=\"Enable Logging\" onClick=\"click_enablelog(document.Rly16)\">" } set html }] </p> </form> <p align=right> Last Updated: [clock format [clock seconds] -format "%B %d, %Y %H:%M:%S"] </p> <hr> [namespace eval Rly16 { if {$JS != ""} { append JS "\");" set html "<script>[set JS]</script>" } }]
ELOG V3.1.3-7933898