EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problem booting vxWorks with base 7.0.4
From: Mark Rivers via Core-talk <core-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>
Cc: "core-talk at aps.anl.gov" <core-talk at aps.anl.gov>
Date: Thu, 4 Jun 2020 00:29:56 +0000
The problem was indeed related to that message.  Somehow this file in my base/configure/os got changed.  I changed it back:


diff --git a/configure/os/CONFIG_SITE.Common.vxWorksCommon b/configure/os/CONFIG_SITE.Common.vxWorksCommon
index 0b0654a..6a1d6bb 100644
--- a/configure/os/CONFIG_SITE.Common.vxWorksCommon
+++ b/configure/os/CONFIG_SITE.Common.vxWorksCommon
@@ -21,5 +21,5 @@ VXWORKS_VERSION = 6.9
 # WIND_BASE is where you installed the Wind River software.

 #WIND_BASE = /usr/local/vw/tornado22-$(ARCH_CLASS)
-WIND_BASE = /usr/local/vw/vxWorks-$(VXWORKS_VERSION)
+WIND_BASE = /usr/local/vw/vxWorks-6.9.4
 #WIND_BASE = /ade/vxWorks/$(VXWORKS_VERSION)



That fixed the problem.  It was mixing /usr/local/vw/vxWorks-6.9.4 and /usr/local/vw/vxWorks-6.9


Thanks,

Mark



________________________________
From: Michael Davidsaver <mdavidsaver at gmail.com>
Sent: Wednesday, June 3, 2020 6:51 PM
To: Mark Rivers
Cc: 'Johnson, Andrew N.'; core-talk at aps.anl.gov
Subject: Re: Problem booting vxWorks with base 7.0.4

Maybe https://epics.anl.gov/tech-talk/2016/msg01549.php

On 6/3/20 4:40 PM, Mark Rivers wrote:
> I am going to rebuild everything to see if that helps.
>
>
> Mark
>
>
>
> ________________________________
> From: Michael Davidsaver <mdavidsaver at gmail.com>
> Sent: Wednesday, June 3, 2020 6:34 PM
> To: Mark Rivers
> Cc: 'Johnson, Andrew N.'; core-talk at aps.anl.gov
> Subject: Re: Problem booting vxWorks with base 7.0.4
>
> Unfortunately no.  I don't think that either discoverInterfaces() from pvAccess or
> osiSockDiscoverBroadcastAddresses() from libCom has changed in 7.0.4
>
> I'm perfectly willing to allow for bugs in discoverInterfaces(),
> but I can't say I've seen this before.
>
>> osiLocalAddr(): SIOCGIFCONF ioctl failed because "S_errno_ENXIO"
>
>
> On 6/3/20 4:25 PM, Mark Rivers via Core-talk wrote:
>> Hi Andrew,
>>
>>
>> I just updated one of my vxWorks IOCs to base 7.0.4.  It is failing to boot correctly.  I get these errors after iocInit.  This IOC was running fine with base 7.0.3.1.
>>
>>
>>
>> reboot_restore: done with file 'auto_settings.sav'
>>
>> discoverInterfaces(): unable to fetch network interface configuration
>> 2020-06-03T23:19:10.507 Failed to introspect interfaces or no network interfaces available.
>> 2020-06-03T23:19:10.507 No client broadcast addresses found or specified - empty address list!
>> osiSockDiscoverBroadcastAddresses(): unable to fetch network interface configuration (-1)
>> Warning: RSRV has empty beacon address list
>> iocRun: All initialization complete
>> discoverInterfaces(): unable to fetch network interface configuration
>> 0xbe8d80 (tShell0): Unhandled C++ exception resulted in call to terminate
>> osiSockDiscoverBroadcastAddresses(): unable to fetch network interface configuration (-1)
>> osiSockDiscoverBroadcastAddresses(): unable to fetch network interface configuration (-1)
>>
>>
>> osiLocalAddr(): SIOCGIFCONF ioctl failed because "S_errno_ENXIO"
>>
>>
>> Any idea what is wrong?
>>
>>
>> Thanks,
>> Mark
>>
>>
>> The complete IOC boot is below.
>>
>>
>>
>>
>>
>>
>> boot device          : dc
>> unit number          : 0
>> processor number     : 0
>> host name            : corvette
>> file name            : /usr/local/vw/VX6941/mv2700-dev6-debug
>> inet on ethernet (e) : 164.54.160.94:ffffff00
>> host inet (h)        : 164.54.160.82
>> user (u)             : iocboot
>> flags (f)            : 0x0
>> target name (tn)     : ioc13idc
>> startup script (s)   : /home/epics/support/CARS/iocBoot/ioc13idc/st.cmd
>>
>> Attached TCP/IP interface to dc0.
>> Attaching network interface lo0... done.
>> Loading... 2228656
>> Starting at 0x100000...
>>
>> Booting mv2700...
>>
>> Adding 6996 symbols for standalone.
>>
>>
>>  ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
>>  ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
>>  ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
>>       ]]]]]]]]]]]  ]]]]     ]]]]]]]]]]       ]]              ]]]]         (R)
>>  ]     ]]]]]]]]]  ]]]]]]     ]]]]]]]]       ]]               ]]]]
>>  ]]     ]]]]]]]  ]]]]]]]]     ]]]]]] ]     ]]                ]]]]
>>  ]]]     ]]]]] ]    ]]]  ]     ]]]] ]]]   ]]]]]]]]]  ]]]] ]] ]]]]  ]]   ]]]]]
>>  ]]]]     ]]]  ]]    ]  ]]]     ]] ]]]]] ]]]]]]   ]] ]]]]]]] ]]]] ]]   ]]]]
>>  ]]]]]     ]  ]]]]     ]]]]]      ]]]]]]]] ]]]]   ]] ]]]]    ]]]]]]]    ]]]]
>>  ]]]]]]      ]]]]]     ]]]]]]    ]  ]]]]]  ]]]]   ]] ]]]]    ]]]]]]]]    ]]]]
>>  ]]]]]]]    ]]]]]  ]    ]]]]]]  ]    ]]]   ]]]]   ]] ]]]]    ]]]] ]]]]    ]]]]
>>  ]]]]]]]]  ]]]]]  ]]]    ]]]]]]]      ]     ]]]]]]]  ]]]]    ]]]]  ]]]] ]]]]]
>>  ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
>>  ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]       Development System
>>  ]]]]]]]]]]]]]]]]]]]]]]]]]]]]
>>  ]]]]]]]]]]]]]]]]]]]]]]]]]]]       VxWorks 6.9
>>  ]]]]]]]]]]]]]]]]]]]]]]]]]]       KERNEL: WIND version 2.13
>>  ]]]]]]]]]]]]]]]]]]]]]]]]]       Copyright Wind River Systems, Inc., 1984-2014
>>
>>  CPU: Motorola MVME2700 - MPC 750.  Processor #0.
>>  Memory Size: 0x8000000 (128Mb).  BSP version 2.0/3-dev6-debug.
>>  Created: Jul 27 2015 17:59:12
>>  ED&R Policy Mode: Deployed
>>  WDB Comm Type: WDB_COMM_END
>>  WDB: Agent Disabled.
>>
>>  VxWorks 6.9.4.1 on Motorola MVME2700 - MPC 750
>>  BSP version 2.0/3-dev6-debug built Jul 27 2015 17:59:12
>>
>>                         NOTICE TO USERS
>>
>> This is a Federal computer system and is the property of the United
>> States Government.  It is for authorized use only.  Users (authorized
>> or unauthorized) have no explicit or implicit expectation of privacy.
>> Any or all uses of this system and all files on this system may be
>> intercepted, monitored, recorded, copied, audited, inspected, and
>> disclosed to authorized site, Department of Energy, and law enforcement
>> personnel, as well as authorized officials of other agencies, both
>> domestic and foreign.  By using this system, the user consents to such
>> interception, monitoring, recording, copying, auditing, inspection, and
>> disclosure at the discretion of authorized site or Department of Energy
>> personnel.  Unauthorized or improper use of this system may result in
>> administrative disciplinary action and civil and criminal penalties.  By
>> continuing to use this system you indicate your awareness of and consent
>> to these terms and conditions of use.  LOG OFF IMMEDIATELY if you do
>> not agree to the conditions stated in this warning.
>>
>> apsShellInit: Suspending telnet task ipcom_telnetd (0xbbed60)
>> Opening startup script /home/epics/support/CARS/iocBoot/ioc13idc/st.cmd ... Ok
>>
>> # vxWorks startup file
>> < cdCommands
>> startup = "/home/epics/support/CARS/iocBoot/ioc13idc"
>> New symbol "startup" added to kernel symbol table.
>> startup = 0xbec250: value = 12501664 = 0xbec2a0 = startup + 0x50
>> putenv("IOC=ioc13idc")
>> value = 0 = 0x0
>> top = "/home/epics/support/CARS"
>> New symbol "top" added to kernel symbol table.
>> top = 0xbec320: value = 12501872 = 0xbec370 = 'p' = top + 0x50
>> putenv("TOP=/home/epics/support/CARS")
>> value = 0 = 0x0
>> topbin = "/home/epics/support/CARS/bin/vxWorks-ppc32"
>> New symbol "topbin" added to kernel symbol table.
>> topbin = 0xbec420: value = 12502688 = 0xbec6a0 = topbin + 0x280
>> support = "/corvette/home/epics/support"
>> New symbol "support" added to kernel symbol table.
>> support = 0xbec6e0: value = 12502832 = 0xbec730 = '0' = support + 0x50
>> putenv("SUPPORT=/corvette/home/epics/support")
>> value = 0 = 0x0
>> supportbin = "/corvette/home/epics/support/bin/vxWorks-ppc32"
>> New symbol "supportbin" added to kernel symbol table.
>> supportbin = 0xbec7f0: value = 12503104 = 0xbec840 = '@' = supportbin + 0x50
>> allen_bradley = "/corvette/home/epics/support/allenBradley-2-3"
>> New symbol "allen_bradley" added to kernel symbol table.
>> allen_bradley = 0xbec880: value = 12503264 = 0xbec8e0 = allen_bradley + 0x60
>> putenv("ALLEN_BRADLEY=/corvette/home/epics/support/allenBradley-2-3")
>> value = 0 = 0x0
>> area_detector = "/corvette/home/epics/support/areaDetector-3-8"
>> New symbol "area_detector" added to kernel symbol table.
>> area_detector = 0xbec9d0: value = 12503600 = 0xbeca30 = '0' = area_detector + 0x60
>> putenv("AREA_DETECTOR=/corvette/home/epics/support/areaDetector-3-8")
>> value = 0 = 0x0
>> asyn = "/corvette/home/epics/support/asyn-4-38"
>> New symbol "asyn" added to kernel symbol table.
>> asyn = 0xbeb290: value = 12497632 = 0xbeb2e0 = asyn + 0x50
>> putenv("ASYN=/corvette/home/epics/support/asyn-4-38")
>> value = 0 = 0x0
>> asynbin = "/corvette/home/epics/support/asyn-4-38/bin/vxWorks-ppc32"
>> New symbol "asynbin" added to kernel symbol table.
>> asynbin = 0xbeb3c0: value = 12497936 = 0xbeb410 = asynbin + 0x50
>> adsupport = "/corvette/home/epics/support/areaDetector-3-8/ADSupport"
>> New symbol "adsupport" added to kernel symbol table.
>> adsupport = 0xbeb460: value = 12498096 = 0xbeb4b0 = adsupport + 0x50
>> putenv("ADSUPPORT=/corvette/home/epics/support/areaDetector-3-8/ADSupport")
>> value = 0 = 0x0
>> adsupportbin = "/corvette/home/epics/support/areaDetector-3-8/ADSupport/bin/vxWorks-ppc32"
>> New symbol "adsupportbin" added to kernel symbol table.
>> adsupportbin = 0xbeb5d0: value = 12498480 = 0xbeb630 = '0' = adsupportbin + 0x60
>> adcore = "/corvette/home/epics/support/areaDetector-3-8/ADCore"
>> New symbol "adcore" added to kernel symbol table.
>> adcore = 0xbeb690: value = 12498656 = 0xbeb6e0 = adcore + 0x50
>> putenv("ADCORE=/corvette/home/epics/support/areaDetector-3-8/ADCore")
>> value = 0 = 0x0
>> autosave = "/corvette/home/epics/support/autosave-5-10"
>> New symbol "autosave" added to kernel symbol table.
>> autosave = 0xbeb7d0: value = 12498976 = 0xbeb820 = ' ' = autosave + 0x50
>> putenv("AUTOSAVE=/corvette/home/epics/support/autosave-5-10")
>> value = 0 = 0x0
>> autosavebin = "/corvette/home/epics/support/autosave-5-10/bin/vxWorks-ppc32"
>> New symbol "autosavebin" added to kernel symbol table.
>> autosavebin = 0xbeb920: value = 12499312 = 0xbeb970 = 'p' = autosavebin + 0x50
>> busy = "/corvette/home/epics/support/busy-1-7-2"
>> New symbol "busy" added to kernel symbol table.
>> busy = 0xbeb9c0: value = 12499472 = 0xbeba10 = busy + 0x50
>> putenv("BUSY=/corvette/home/epics/support/busy-1-7-2")
>> value = 0 = 0x0
>> busybin = "/corvette/home/epics/support/busy-1-7-2/bin/vxWorks-ppc32"
>> New symbol "busybin" added to kernel symbol table.
>> busybin = 0xbebaf0: value = 12499776 = 0xbebb40 = '@' = busybin + 0x50
>> calc = "/corvette/home/epics/support/calc-3-7-3"
>> New symbol "calc" added to kernel symbol table.
>> calc = 0xbebb90: value = 12499936 = 0xbebbe0 = calc + 0x50
>> putenv("CALC=/corvette/home/epics/support/calc-3-7-3")
>> value = 0 = 0x0
>> calcbin = "/corvette/home/epics/support/calc-3-7-3/bin/vxWorks-ppc32"
>> New symbol "calcbin" added to kernel symbol table.
>> calcbin = 0xbebcc0: value = 12500240 = 0xbebd10 = calcbin + 0x50
>> sncseq = "/corvette/home/epics/support/seq-2-2-5"
>> New symbol "sncseq" added to kernel symbol table.
>> sncseq = 0xbebd60: value = 12500400 = 0xbebdb0 = sncseq + 0x50
>> putenv("SNCSEQ=/corvette/home/epics/support/seq-2-2-5")
>> value = 0 = 0x0
>> sncseqbin = "/corvette/home/epics/support/seq-2-2-5/bin/vxWorks-ppc32"
>> New symbol "sncseqbin" added to kernel symbol table.
>> sncseqbin = 0xbebca0: value = 12510992 = 0xbee710
>> sscan = "/corvette/home/epics/support/sscan-2-11-3"
>> New symbol "sscan" added to kernel symbol table.
>> sscan = 0xbee760: value = 12511152 = 0xbee7b0 = sscan + 0x50
>> putenv("SSCAN=/corvette/home/epics/support/sscan-2-11-3")
>> value = 0 = 0x0
>> deviocstats = "/corvette/home/epics/support/devIocStats-3-1-16"
>> New symbol "deviocstats" added to kernel symbol table.
>> deviocstats = 0xbee880: value = 12511440 = 0xbee8d0 = deviocstats + 0x50
>> putenv("DEVIOCSTATS=/corvette/home/epics/support/devIocStats-3-1-16")
>> value = 0 = 0x0
>> deviocstatsbin = "/corvette/home/epics/support/devIocStats-3-1-16/bin/vxWorks-ppc32"
>> New symbol "deviocstatsbin" added to kernel symbol table.
>> deviocstatsbin = 0xbee9d0: value = 12511792 = 0xbeea30 = '0' = deviocstatsbin + 0x60
>> epics_base = "/corvette/usr/local/epics/base-7.0.4"
>> New symbol "epics_base" added to kernel symbol table.
>> epics_base = 0xbeea90: value = 12511968 = 0xbeeae0 = epics_base + 0x50
>> putenv("EPICS_BASE=/corvette/usr/local/epics/base-7.0.4")
>> value = 0 = 0x0
>> epics_basebin = "/corvette/usr/local/epics/base-7.0.4/bin/vxWorks-ppc32"
>> New symbol "epics_basebin" added to kernel symbol table.
>> epics_basebin = 0xbeebc0: value = 12512288 = 0xbeec20 = ' ' = epics_basebin + 0x60
>> adandor = "/corvette/home/epics/support/areaDetector-3-8/ADAndor"
>> New symbol "adandor" added to kernel symbol table.
>> adandor = 0xbeec70: value = 12512448 = 0xbeecc0 = adandor + 0x50
>> putenv("ADANDOR=/corvette/home/epics/support/areaDetector-3-8/ADAndor")
>> value = 0 = 0x0
>> adroper = "/corvette/home/epics/support/areaDetector-3-8/ADRoper"
>> New symbol "adroper" added to kernel symbol table.
>> adroper = 0xbeedc0: value = 12512784 = 0xbeee10 = adroper + 0x50
>> putenv("ADROPER=/corvette/home/epics/support/areaDetector-3-8/ADRoper")
>> value = 0 = 0x0
>> adlightfield = "/corvette/home/epics/support/areaDetector-3-8/ADLightField"
>> New symbol "adlightfield" added to kernel symbol table.
>> adlightfield = 0xbeef10: value = 12513136 = 0xbeef70 = 'p' = adlightfield + 0x60
>> putenv("ADLIGHTFIELD=/corvette/home/epics/support/areaDetector-3-8/ADLightField")
>> value = 0 = 0x0
>> admar345 = "/corvette/home/epics/support/areaDetector-3-8/ADmar345"
>> New symbol "admar345" added to kernel symbol table.
>> admar345 = 0xbf0040: value = 12517520 = 0xbf0090 = admar345 + 0x50
>> putenv("ADMAR345=/corvette/home/epics/support/areaDetector-3-8/ADmar345")
>> value = 0 = 0x0
>> admarccd = "/corvette/home/epics/support/areaDetector-3-8/ADmarCCD"
>> New symbol "admarccd" added to kernel symbol table.
>> admarccd = 0xbf0190: value = 12517856 = 0xbf01e0 = admarccd + 0x50
>> putenv("ADMARCCD=/corvette/home/epics/support/areaDetector-3-8/ADmarCCD")
>> value = 0 = 0x0
>> adperkinelmer = "/corvette/home/epics/support/areaDetector-3-8/ADPerkinElmer"
>> New symbol "adperkinelmer" added to kernel symbol table.
>> adperkinelmer = 0xbf1290: value = 12522224 = 0xbf12f0 = adperkinelmer + 0x60
>> putenv("ADPERKINELMER=/corvette/home/epics/support/areaDetector-3-8/ADPerkinElmer")
>> value = 0 = 0x0
>> adpilatus = "/corvette/home/epics/support/areaDetector-3-8/ADPilatus"
>> New symbol "adpilatus" added to kernel symbol table.
>> adpilatus = 0xbf1410: value = 12522592 = 0xbf1460 = '`' = adpilatus + 0x50
>> putenv("ADPILATUS=/corvette/home/epics/support/areaDetector-3-8/ADPilatus")
>> value = 0 = 0x0
>> adprosilica = "/corvette/home/epics/support/areaDetector-3-8/ADProsilica"
>> New symbol "adprosilica" added to kernel symbol table.
>> adprosilica = 0xbf1570: value = 12011088 = 0xb74650 = 'P'
>> putenv("ADPROSILICA=/corvette/home/epics/support/areaDetector-3-8/ADProsilica")
>> value = 0 = 0x0
>> adpointgrey = "/corvette/home/epics/support/areaDetector-3-8/ADPointGrey"
>> New symbol "adpointgrey" added to kernel symbol table.
>> adpointgrey = 0xbf17e0: value = 12523568 = 0xbf1830 = '0' = adpointgrey + 0x50
>> putenv("ADPOINTGREY=/corvette/home/epics/support/areaDetector-3-8/ADPointGrey")
>> value = 0 = 0x0
>> adeiger = "/corvette/home/epics/support/areaDetector-3-8/ADEiger"
>> New symbol "adeiger" added to kernel symbol table.
>> adeiger = 0xbf1950: value = 12523936 = 0xbf19a0 = adeiger + 0x50
>> putenv("ADEIGER=/corvette/home/epics/support/areaDetector-3-8/ADEiger")
>> value = 0 = 0x0
>> adgenicam = "/corvette/home/epics/support/areaDetector-3-8/ADGenICam"
>> New symbol "adgenicam" added to kernel symbol table.
>> adgenicam = 0xbf1aa0: value = 12524272 = 0xbf1af0 = adgenicam + 0x50
>> putenv("ADGENICAM=/corvette/home/epics/support/areaDetector-3-8/ADGenICam")
>> value = 0 = 0x0
>> adspinnaker = "/corvette/home/epics/support/areaDetector-3-8/ADSpinnaker"
>> New symbol "adspinnaker" added to kernel symbol table.
>> adspinnaker = 0xbf1c00: value = 12524624 = 0xbf1c50 = 'P' = adspinnaker + 0x50
>> putenv("ADSPINNAKER=/corvette/home/epics/support/areaDetector-3-8/ADSpinnaker")
>> value = 0 = 0x0
>> adaravis = "/corvette/home/epics/support/areaDetector-3-8/ADAravis"
>> New symbol "adaravis" added to kernel symbol table.
>> adaravis = 0xbf1d70: value = 12524992 = 0xbf1dc0 = adaravis + 0x50
>> putenv("ADARAVIS=/corvette/home/epics/support/areaDetector-3-8/ADAravis")
>> value = 0 = 0x0
>> advimba = "/corvette/home/epics/support/areaDetector-3-8/ADVimba"
>> New symbol "advimba" added to kernel symbol table.
>> advimba = 0xbf1ec0: value = 12525328 = 0xbf1f10 = advimba + 0x50
>> putenv("ADVIMBA=/corvette/home/epics/support/areaDetector-3-8/ADVimba")
>> value = 0 = 0x0
>> cars = "/corvette/home/epics/support/CARS"
>> New symbol "cars" added to kernel symbol table.
>> cars = 0xbf1ff0: value = 12525632 = 0xbf2040 = '@' = cars + 0x50
>> putenv("CARS=/corvette/home/epics/support/CARS")
>> value = 0 = 0x0
>> carsbin = "/corvette/home/epics/support/CARS/bin/vxWorks-ppc32"
>> New symbol "carsbin" added to kernel symbol table.
>> carsbin = 0xbf2130: value = 12525952 = 0xbf2180 = carsbin + 0x50
>> cryoconm32 = "/corvette/home/epics/support/CryoconM32"
>> New symbol "cryoconm32" added to kernel symbol table.
>> cryoconm32 = 0xbf21d0: value = 12526112 = 0xbf2220 = ' ' = cryoconm32 + 0x50
>> putenv("CRYOCONM32=/corvette/home/epics/support/CryoconM32")
>> value = 0 = 0x0
>> dac128v = "/corvette/home/epics/support/dac128V-2-9"
>> New symbol "dac128v" added to kernel symbol table.
>> dac128v = 0xb78580: value = 12027344 = 0xb785d0 = dac128v + 0x50
>> putenv("DAC128V=/corvette/home/epics/support/dac128V-2-9")
>> value = 0 = 0x0
>> dante = "/corvette/home/epics/support/dante-1-0"
>> New symbol "dante" added to kernel symbol table.
>> dante = 0xb786b0: value = 12027648 = 0xb78700 = dante + 0x50
>> putenv("DANTE=/corvette/home/epics/support/dante-1-0")
>> value = 0 = 0x0
>> delaygen = "/corvette/home/epics/support/delaygen-1-2-1"
>> New symbol "delaygen" added to kernel symbol table.
>> delaygen = 0xb787d0: value = 12027936 = 0xb78820 = ' ' = delaygen + 0x50
>> putenv("DELAYGEN=/corvette/home/epics/support/delaygen-1-2-1")
>> value = 0 = 0x0
>> ip = "/corvette/home/epics/support/ip-2-20-1"
>> New symbol "ip" added to kernel symbol table.
>> ip = 0xb78910: value = 12528368 = 0xbf2af0 = cryoconm32 + 0x920
>> putenv("IP=/corvette/home/epics/support/ip-2-20-1")
>> value = 0 = 0x0
>> ipac = "/corvette/home/epics/support/ipac-2-15"
>> New symbol "ipac" added to kernel symbol table.
>> ipac = 0xbf2bc0: value = 12528656 = 0xbf2c10 = ipac + 0x50
>> putenv("IPAC=/corvette/home/epics/support/ipac-2-15")
>> value = 0 = 0x0
>> ip330 = "/corvette/home/epics/support/ip330-2-9"
>> New symbol "ip330" added to kernel symbol table.
>> ip330 = 0xbf2ce0: value = 12528944 = 0xbf2d30 = '0' = ip330 + 0x50
>> putenv("IP330=/corvette/home/epics/support/ip330-2-9")
>> value = 0 = 0x0
>> ipunidig = "/corvette/home/epics/support/ipUnidig-2-11"
>> New symbol "ipunidig" added to kernel symbol table.
>> ipunidig = 0xbf2e00: value = 12529232 = 0xbf2e50 = 'P' = ipunidig + 0x50
>> putenv("IPUNIDIG=/corvette/home/epics/support/ipUnidig-2-11")
>> value = 0 = 0x0
>> mca = "/corvette/home/epics/support/mca-7-8"
>> New symbol "mca" added to kernel symbol table.
>> mca = 0xbf2f40: value = 12529552 = 0xbf2f90 = mca + 0x50
>> putenv("MCA=/corvette/home/epics/support/mca-7-8")
>> value = 0 = 0x0
>> mcabin = "/corvette/home/epics/support/mca-7-8/bin/vxWorks-ppc32"
>> New symbol "mcabin" added to kernel symbol table.
>> mcabin = 0xbf3070: value = 12529856 = 0xbf30c0 = mcabin + 0x50
>> meascomp = "/corvette/home/epics/support/measComp-2-5"
>> New symbol "meascomp" added to kernel symbol table.
>> meascomp = 0xbf3110: value = 12530016 = 0xbf3160 = '`' = meascomp + 0x50
>> putenv("MEASCOMP=/corvette/home/epics/support/measComp-2-5")
>> value = 0 = 0x0
>> modbus = "/corvette/home/epics/support/modbus-3-0"
>> New symbol "modbus" added to kernel symbol table.
>> modbus = 0xbf3240: value = 12042864 = 0xb7c270 = 'p'
>> putenv("MODBUS=/corvette/home/epics/support/modbus-3-0")
>> value = 0 = 0x0
>> modbusbin = "/corvette/home/epics/support/modbus-3-0/bin/vxWorks-ppc32"
>> New symbol "modbusbin" added to kernel symbol table.
>> modbusbin = 0xb7c2b0: value = 12054416 = 0xb7ef90
>> motor = "/corvette/home/epics/support/motor-7-0"
>> New symbol "motor" added to kernel symbol table.
>> motor = 0xbb64c0: value = 12054544 = 0xb7f010
>> putenv("MOTOR=/corvette/home/epics/support/motor-7-0")
>> value = 0 = 0x0
>> motorbin = "/corvette/home/epics/support/motor-7-0/bin/vxWorks-ppc32"
>> New symbol "motorbin" added to kernel symbol table.
>> motorbin = 0xb7f050: value = 12055136 = 0xb7f260 = '`' = motorbin + 0x210
>> optics = "/corvette/home/epics/support/optics-2-13-3"
>> New symbol "optics" added to kernel symbol table.
>> optics = 0xb7f2b0: value = 12055296 = 0xb7f300 = optics + 0x50
>> putenv("OPTICS=/corvette/home/epics/support/optics-2-13-3")
>> value = 0 = 0x0
>> quadem = "/corvette/home/epics/support/quadEM-9-2-1"
>> New symbol "quadem" added to kernel symbol table.
>> quadem = 0xb7f3e0: value = 12055600 = 0xb7f430 = '0' = quadem + 0x50
>> putenv("QUADEM=/corvette/home/epics/support/quadEM-9-2-1")
>> value = 0 = 0x0
>> quadembin = "/corvette/home/epics/support/quadEM-9-2-1/bin/vxWorks-ppc32"
>> New symbol "quadembin" added to kernel symbol table.
>> quadembin = 0xb7f520: value = 12055920 = 0xb7f570 = 'p' = quadembin + 0x50
>> softglue = "/corvette/home/epics/support/softGlue-2-8-2"
>> New symbol "softglue" added to kernel symbol table.
>> softglue = 0xb7f5c0: value = 12056080 = 0xb7f610 = softglue + 0x50
>> putenv("SOFTGLUE=/corvette/home/epics/support/softGlue-2-8-2")
>> value = 0 = 0x0
>> std = "/corvette/home/epics/support/std-3-6-1"
>> New symbol "std" added to kernel symbol table.
>> std = 0xb7f6f0: value = 12056384 = 0xb7f740 = '@' = std + 0x50
>> putenv("STD=/corvette/home/epics/support/std-3-6-1")
>> value = 0 = 0x0
>> stdbin = "/corvette/home/epics/support/std-3-6-1/bin/vxWorks-ppc32"
>> New symbol "stdbin" added to kernel symbol table.
>> stdbin = 0xb7f820: value = 12056688 = 0xb7f870 = 'p' = stdbin + 0x50
>> stream = "/corvette/home/epics/support/stream-2-8-9"
>> New symbol "stream" added to kernel symbol table.
>> stream = 0xb7f8c0: value = 12056848 = 0xb7f910 = stream + 0x50
>> putenv("STREAM=/corvette/home/epics/support/stream-2-8-9")
>> value = 0 = 0x0
>> tomoscan = "/corvette/home/epics/support/tomoscan"
>> New symbol "tomoscan" added to kernel symbol table.
>> tomoscan = 0xb7f9f0: value = 12057152 = 0xb7fa40 = '@' = tomoscan + 0x50
>> putenv("TOMOSCAN=/corvette/home/epics/support/tomoscan")
>> value = 0 = 0x0
>> tomoscanbin = "/corvette/home/epics/support/tomoscan/bin/vxWorks-ppc32"
>> New symbol "tomoscanbin" added to kernel symbol table.
>> tomoscanbin = 0xb7fb20: value = 12057456 = 0xb7fb70 = 'p' = tomoscanbin + 0x50
>> tpmac = "/corvette/home/epics/support/tpmac-3-11dls5"
>> New symbol "tpmac" added to kernel symbol table.
>> tpmac = 0xb7fbc0: value = 12057616 = 0xb7fc10 = tpmac + 0x50
>> putenv("TPMAC=/corvette/home/epics/support/tpmac-3-11dls5")
>> value = 0 = 0x0
>> tpmacbin = "/corvette/home/epics/support/tpmac-3-11dls5/bin/vxWorks-ppc32"
>> New symbol "tpmacbin" added to kernel symbol table.
>> tpmacbin = 0xb7fd00: value = 12057936 = 0xb7fd50 = 'P' = tpmacbin + 0x50
>> vac = "/corvette/home/epics/support/vac-1-9"
>> New symbol "vac" added to kernel symbol table.
>> vac = 0xb7fda0: value = 12058096 = 0xb7fdf0 = vac + 0x50
>> putenv("VAC=/corvette/home/epics/support/vac-1-9")
>> value = 0 = 0x0
>> vacbin = "/corvette/home/epics/support/vac-1-9/bin/vxWorks-ppc32"
>> New symbol "vacbin" added to kernel symbol table.
>> vacbin = 0xb7fed0: value = 12058400 = 0xb7ff20 = ' ' = vacbin + 0x50
>> vme = "/corvette/home/epics/support/vme-2-9-2"
>> New symbol "vme" added to kernel symbol table.
>> vme = 0xb7ff70: value = 12058560 = 0xb7ffc0 = vme + 0x50
>> putenv("VME=/corvette/home/epics/support/vme-2-9-2")
>> value = 0 = 0x0
>> < ../nfsCommandsGSE
>> # Set the default gateway
>> routec "-n add default 164.54.160.1"
>>     add net 0.0.0.0: netmask 0.0.0.0: gateway 164.54.160.1
>> value = 0 = 0x0
>>
>> # The following line eliminates "cksum: out of data" messages due to DHCP
>> #proxyPortFwdOff(67)
>>
>> # Set the UNIX uid/gid to the EPICS account
>> ## nfsAuthUnixSet("corvette",401,400,0,0)
>> ## nfsAuthUnixSet("ion",1001,400,0,0)
>> ## nfsAuthUnixSet("ion", 849601092, 400, 0, 0)
>> ##
>>
>> nfsAuthUnixSet("corvette", 849601092, 849600513, 0, 0)
>> value = 0 = 0x0
>>
>> # Mount drives with NFS
>> nfsMount("corvette","/home","/corvette/home")
>> value = 0 = 0x0
>> nfsMount("corvette","/home","/home")
>> value = 0 = 0x0
>>
>> # Define locations for logging and for APS EPICS process variables
>> # No longer need 164.54.188.50 since a local PV gateway
>> #  provides APS variables, MLR 5/31/00
>> putenv("EPICS_IOC_LOG_INET=164.54.160.82")
>> value = 0 = 0x0
>> # Set size large enough for double waveforms N=11000
>> putenv("EPICS_CA_MAX_ARRAY_BYTES=88000")
>> value = 0 = 0x0
>>
>> cd topbin
>> value = 0 = 0x0
>> load("CARSApp.munch")
>> Unexpected problem with CA circuit to server "ioc13idc.cars.aps.anl.gov:5064" was "Connection reset by peer" - disconnecting
>>
>>                                                                                                                             Wed Jun 03 18:18:34 CDT 2020
>>                                                                                                                                                         medmCAExceptionHandlerCb: Channel Access Exception:
>>                             Channel Name: Unavailable
>>                                                        Native Type: Unavailable
>>                                                                                  Native Count: 0
>>                                                                                                   Access: Unavailable
>>                                                                                                                        Host: Unavailable
>>                                                                                                                                           Message: Virtual circuit disconnect
>>                                                                                                                                                                                Context: ioc13idc.cars.aps.anl.gov:5064
>>                                        Requested Type: TYPENOTCONN
>>                                                                     Requested Count: 0
>>                                                                                         Source File: ../cac.cpp
>>                                                                                                                  Line number: 1223
>>                                                                                                                                   osdMonotonicInit: Measuring CPU time-base frequency ... 16666123 ticks/sec.
>> value = 12513744 = 0xbef1d0 = adlightfield + 0x2c0
>>
>> # Increase size of errlog buffer
>> errlogInit(20000)
>> value = 0 = 0x0
>>
>> # Tell EPICS all about the record types, device-support modules, drivers,
>> # etc. in this build.
>> dbLoadDatabase("$(CARS)/dbd/CARSVX.dbd")
>> value = 0 = 0x0
>> CARSVX_registerRecordDeviceDriver(pdbbase)
>> value = 0 = 0x0
>>
>> cd startup
>> value = 0 = 0x0
>> < industryPack.cmd
>> # The first carrier in our system is a TEWS TVME200
>> # The argument to ipacAddTVME200 is the values of the 6 switches on the board
>> # In thise case 30 = base address 3000
>> #                2 = interrupt mapping 4, 5, 2, 1, 4, 5, 2, 1
>> #                F = A32 address space, 8MB per slot
>> #               A0 = A0000000 base address in A32 space
>> ipacAddTVME200("302FA0")
>> value = 0 = 0x0
>> #ipacAddVIPC616_01("0x3000,0xa0000000")
>> ipacAddVIPC616_01("0x3400,0xa2000000")
>> value = 0 = 0x0
>>
>> # Initialize Octal UART stuff
>> tyGSOctalDrv 2
>> value = 0 = 0x0
>> tyGSOctalModuleInit("UART0", "232", 0x80, 0, 0)
>> value = 0 = 0x0
>> tyGSOctalModuleInit("UART1", "232", 0x81, 0, 1)
>> value = 1 = 0x1
>>
>> # Initialize Acromag IP-330 ADC
>> # Ip330 *initIp330(
>> #   const char *portName, int carrier, int slot,
>> #   const char *typeString, const char *rangeString,
>> #   int firstChan, int lastChan,
>> #   int intVec)
>> # portName    = name to give this asyn port
>> # carrier     = IPAC carrier number (0, 1, etc.)
>> # slot        = IPAC slot (0,1,2,3, etc.)
>> # typeString  = "D" or "S" for differential or single-ended
>> # rangeString = "-5to5","-10to10","0to5", or "0to10"
>> #               This value must match hardware setting selected
>> # firstChan   = first channel to be digitized.  This must be in the range:
>> #               0 to 31 (single-ended)
>> #               0 to 15 (differential)
>> # lastChan    = last channel to be digitized
>> # intVec        Interrupt vector
>> initIp330("Ip330_1",0,2,"D","-5to5",0,15,120)
>> value = 0 = 0x0
>>
>> # int configIp330(
>> #   const char *portName,
>> #   int scanMode, const char *triggerString,
>> #   int microSecondsPerScan, int secondsBetweenCalibrate)
>> # portName    = name of aysn port created with initIp330
>> # scanMode    = scan mode:
>> #               0 = disable
>> #               1 = uniformContinuous
>> #               2 = uniformSingle
>> #               3 = burstContinuous (normally recommended)
>> #               4 = burstSingle
>> #               5 = convertOnExternalTriggerOnly
>> # triggerString = "Input" or "Output". Selects the direction of the external
>> #               trigger signal.
>> # microSecondsPerScan = repeat interval to digitize all channels
>> #               The minimum theoretical time is 15 microseconds times the
>> #               number of channels, but a practical limit is probably 100
>> #               microseconds.
>> # secondsBetweenCalibrate = number of seconds between calibration cycles.
>> #               If zero then there will be no periodic calibration, but
>> #               one calibration will still be done at initialization.
>> configIp330("Ip330_1", 3,"Input",1000,0)
>> value = 0 = 0x0
>>
>> # int initFastSweep(char *portName, char *inputName,
>> #                   int maxSignals, int maxPoints)
>> # portName   = asyn port name for this port
>> # inputName  = name of input port
>> # maxSignals = maximum number of input signals.
>> # maxPoints  = maximum number of points in a sweep.  The amount of memory
>> #              allocated will be maxPoints*maxSignals*4 bytes
>> initFastSweep("Ip330Sweep1","Ip330_1",6,2048)
>> value = 0 = 0x0
>> dbLoadTemplate("Ip330_ADC.template")
>> value = 0 = 0x0
>>
>> #Initialize Greenspring IP-Unidig
>> # initIpUnidig(char *portName,
>> #              int carrier,
>> #              int slot,
>> #              int msecPoll,
>> #              int intVec,
>> #              int risingMask,
>> #              int fallingMask,
>> #              int biMask,
>> #              int maxClients)
>> # portName  = name to give this asyn port
>> # carrier     = IPAC carrier number (0, 1, etc.)
>> # slot        = IPAC slot (0,1,2,3, etc.)
>> # msecPoll    = polling time for input bits in msec.
>> # intVec      = interrupt vector
>> # risingMask  = mask of bits to generate interrupts on low to high (24 bits)
>> # fallingMask = mask of bits to generate interrupts on high to low (24 bits)
>> initIpUnidig("Unidig1", 0, 3, 100, 116, 0xffffff, 0xffffff)
>> value = 0 = 0x0
>> initIpUnidig("Unidig2", 1, 1, 100, 117, 0xffffff, 0xffffff)
>> value = 0 = 0x0
>> initIpUnidig("Unidig3", 1, 2, 100, 118, 0xffffff, 0xffffff)
>> value = 0 = 0x0
>>
>> dbLoadTemplate("ipUnidig.substitutions")
>> value = 0 = 0x0
>> dbLoadTemplate("filter.substitutions")
>> value = 0 = 0x0
>>
>>
>> # DAC in first slot on second board
>> # Initialize Systran DAC
>> # initDAC128V(char *portName, int carrier, int slot)
>> # portName  = name to give this asyn port
>> # carrier     = IPAC carrier number (0, 1, etc.)
>> # slot        = IPAC slot (0,1,2,3, etc.)
>> initDAC128V("DAC1", 1, 0)
>> value = 0 = 0x0
>> dbLoadTemplate("DAC.template")
>> value = 0 = 0x0
>>
>> < serial.cmd
>> # tyGSAsynInit(char *port, char *moduleName, int channel, int baud,
>> #              char parity, int sbits, int dbits, char handshake,
>> #              char *inputEos, char *outputEos)
>> tyGSAsynInit("serial1", "UART0", 0,  9600,'N',2,8,'N',"\r","\r") /* SRS570 */
>> value = 0 = 0x0
>> tyGSAsynInit("serial2", "UART0", 1,  9600,'N',2,8,'N',"\r","\r") /* SRS570 */
>> value = 0 = 0x0
>> tyGSAsynInit("serial3", "UART0", 2,  9600,'N',2,8,'N',"\r","\r") /* SRS570 */
>> value = 0 = 0x0
>> tyGSAsynInit("serial4", "UART0", 3,  9600,'N',2,8,'N',"\r","\r") /* SRS570 */
>> value = 0 = 0x0
>> tyGSAsynInit("serial5", "UART0", 4, 19200,'N',1,8,'N',"\r","\r") /* SRS570 */
>> value = 0 = 0x0
>> tyGSAsynInit("serial6", "UART0", 5, 19200,'N',1,8,'N',"\r\n","\n") /* Keithley 2000 */
>> value = 0 = 0x0
>> tyGSAsynInit("serial7", "UART0", 6,  9600,'N',2,8,'N',"\r","\r") /* Pelco CM6700 */
>> value = 0 = 0x0
>> tyGSAsynInit("serial8", "UART0", 7, 19200,'N',1,8,'N',"\r\n","\n") /* Keithley 2000 */
>> value = 0 = 0x0
>> tyGSAsynInit("serial9", "UART1", 0,  9600,'N',2,8,'N',"\r","\r") /* SRS570 */
>> value = 0 = 0x0
>> tyGSAsynInit("serial10","UART1", 1,  9600,'N',2,8,'N',"\r","\r") /* SRS570 */
>> value = 0 = 0x0
>> tyGSAsynInit("serial11","UART1", 2,  9600,'N',2,8,'N',"\r","\r") /* SRS570 */
>> value = 0 = 0x0
>> tyGSAsynInit("serial12","UART1", 3,  9600,'N',2,8,'N',"\r","\r") /* SRS570 */
>> value = 0 = 0x0
>> tyGSAsynInit("serial13","UART1", 4,  9600,'N',1,8,'N',"\r","\r") /* Unused */
>> value = 0 = 0x0
>> tyGSAsynInit("serial14","UART1", 5,  9600,'N',1,8,'N',"\r","\r") /* Unused */
>> value = 0 = 0x0
>> tyGSAsynInit("serial15","UART1", 6,  9600,'N',2,8,'N',"\r","\r") /* Unused */
>> value = 0 = 0x0
>> tyGSAsynInit("serial16","UART1", 7,  9600,'N',1,8,'N',"\r","\r") /* Unused */
>> value = 0 = 0x0
>>
>> # Load asyn records on all serial ports
>> dbLoadTemplate("asynRecord.template")
>> value = 0 = 0x0
>>
>> # First Octal UART for microprobe experiments
>> dbLoadRecords("$(IP)/db/SR570.db", "P=13IDC:,A=A1,PORT=serial1")
>> value = 0 = 0x0
>> dbLoadRecords("$(IP)/db/SR570.db", "P=13IDC:,A=A2,PORT=serial2")
>> value = 0 = 0x0
>> dbLoadRecords("$(IP)/db/SR570.db", "P=13IDC:,A=A3,PORT=serial3")
>> value = 0 = 0x0
>> dbLoadRecords("$(IP)/db/SR570.db", "P=13IDC:,A=A4,PORT=serial4")
>> value = 0 = 0x0
>> # dbLoadRecords("$(IP)/db/SR570.db", "P=13IDC:,A=A5,PORT=serial5")
>> # dbLoadRecords("$(IP)/db/SR570.db", "P=13IDC:,A=A6,PORT=serial6")
>> # Serial 7 is Pelco CM6700 video switch
>> dbLoadTemplate("Pelco_CM6700.substitutions")
>> value = 0 = 0x0
>>
>> dbLoadRecords("$(IP)/db/Keithley2kDMM_mf.db","P=13IDC:,Dmm=DMM1,PORT=serial6")
>> value = 0 = 0x0
>> dbLoadRecords("$(IP)/db/Keithley2kDMM_mf.db","P=13IDC:,Dmm=DMM2,PORT=serial8")
>> value = 0 = 0x0
>>
>> # Second Octal UART for diffractometer experiments
>> # Serial ports 1 thru 4 are for SR570 current amplifiers
>> dbLoadRecords("$(IP)/db/SR570.db", "P=13IDC:,A=B1,PORT=serial9")
>> value = 0 = 0x0
>> dbLoadRecords("$(IP)/db/SR570.db", "P=13IDC:,A=B2,PORT=serial10")
>> value = 0 = 0x0
>> dbLoadRecords("$(IP)/db/SR570.db", "P=13IDC:,A=B3,PORT=serial11")
>> value = 0 = 0x0
>> dbLoadRecords("$(IP)/db/SR570.db", "P=13IDC:,A=B4,PORT=serial12")
>> value = 0 = 0x0
>>
>>
>> # Set debugging flags
>> mcaRecordDebug = 0
>> mcaRecordDebug = 0x20c4958: value = 0 = 0x0
>> drvSTR7201Debug = 0
>> New symbol "drvSTR7201Debug" added to kernel symbol table.
>> drvSTR7201Debug = 0x266ece0: value = 0 = 0x0
>> devSTR7201Debug = 0
>> New symbol "devSTR7201Debug" added to kernel symbol table.
>> devSTR7201Debug = 0x2620a50: value = 0 = 0x0
>> save_restoreDebug = 0
>> save_restoreDebug = 0x20c5e68: value = 0 = 0x0
>> devXSC8Debug = 0
>> New symbol "devXSC8Debug" added to kernel symbol table.
>> devXSC8Debug = 0x226b340: value = 0 = 0x0
>> drvXPSC8Debug = 0
>> New symbol "drvXPSC8Debug" added to kernel symbol table.
>> drvXPSC8Debug = 0x2647db0: value = 0 = 0x0
>> # Asyn XPS driver debug variable 0-5
>> asynXPSC8Debug = 0
>> New symbol "asynXPSC8Debug" added to kernel symbol table.
>> asynXPSC8Debug = 0x259ab00: value = 0 = 0x0
>>
>> # Load database
>> # dbLoadRecords("$(STD)/db/scaler.db", "P=13IDC:,S=scaler1,OUT=#C0 S0 @,FREQ=1e7,DTYP=Joerger VSC8/16")
>>
>> dbLoadTemplate("motors.template")
>> value = 0 = 0x0
>>
>> # Multichannel analyzer stuff
>> # AIMConfig(portName, ethernet_address, portNumber(1 or 2), maxChans,
>> #           maxSignals, maxSequences, ethernetDevice)
>> # This AIM moved to 13BMC.  No AIM in IDC now.
>> ##AIMConfig("NI6E6/1", 0x6E6, 1, 2048, 1, 1, "dc0")
>> ##AIMConfig("NI6E6/2", 0x6E6, 2, 2048, 4, 1, "dc0")
>> ##dbLoadRecords("$(MCA)/db/mca.db", "P=13IDC:,M=aim_adc1,DTYP=asynMCA,INP=@asyn(NI6E6/1 0),NCHAN=2048")
>> ##dbLoadRecords("$(MCA)/db/mca.db", "P=13IDC:,M=aim_mcs1,DTYP=asynMCA,INP=@asyn(NI6E6/2 0),NCHAN=2048")
>>
>> #icbConfig(portName, module, ethernetAddress, icbAddress, moduleType)
>> #   portName to give to this asyn port
>> #   ethernetAddress - Ethernet address of module, low order 16 bits
>> #   icbAddress - rotary switch setting inside ICB module
>> #   moduleType
>> #      0 = ADC
>> #      1 = Amplifier
>> #      2 = HVPS
>> #      3 = TCA
>> #      4 = DSP
>> ##icbConfig("icbAdc1", 0x6e6, 5, 0)
>> ##dbLoadRecords("$(MCA)/db/icb_adc.db", "P=13IDC:,ADC=adc1,PORT=icbAdc1")
>> #icbConfig("icbAmp1", 0x6e6, 3, 1)
>> #dbLoadRecords"$(MCA)/db/icb_amp.db", "P=13IDC:,AMP=amp1,PORT=icbAmp1")
>> #icbConfig("icbHvps1", 0x6e6, 2, 2)
>> #dbLoadRecords("$(MCA)/db/icb_hvps.db", "P=13IDC:,HVPS=hvps1,PORT=icbHvps1,LIMIT=1000")
>>
>> # SIS3820 MCS
>> ##<SIS3820_8.cmd
>>
>> # SIS3801 MCS
>> iocsh "SIS3801_8.cmd"
>> # Example vxWorks iocsh startup file for SIS3801
>> epicsEnvSet("PREFIX",                   "13IDC:SIS1:")
>> epicsEnvSet("RNAME",                    "mca")
>> epicsEnvSet("MAX_SIGNALS",              "8")
>> epicsEnvSet("MAX_CHANS",                "10100")
>> epicsEnvSet("PORT",                     "SIS3801/1")
>> # For MCA records FIELD=READ, for waveform records FIELD=PROC
>> epicsEnvSet("FIELD",                    "READ")
>> #drvSIS3801Config("Port name",
>> #                  baseAddress,
>> #                  interruptVector,
>> #                  int interruptLevel,
>> #                  channels,
>> #                  signals)
>> drvSIS3801Config(SIS3801/1, 0x90000000, 220, 6, 10100, 8)
>> # This loads the scaler record and supporting records
>> dbLoadRecords("/corvette/home/epics/support/std-3-6-1/db/scaler32.db", "P=13IDC:, S=scaler1, DTYP=Asyn Scaler, OUT=@asyn(SIS3801/1), FREQ=25000000")
>> # This database provides the support for the MCS functions
>> dbLoadRecords("/corvette/home/epics/support/mca-7-8/db/SIS38XX.template", "P=13IDC:SIS1:, PORT=SIS3801/1, SCALER=13IDC:SIS1:scaler1")
>> # Load either MCA or waveform records below
>> # The number of records loaded must be the same as MAX_SIGNALS defined above
>> # Load the MCA records
>> dbLoadRecords("/corvette/home/epics/support/mca-7-8/db/simple_mca.db", "P=13IDC:SIS1:, M=mca1,  DTYP=asynMCA, INP=@asyn(SIS3801/1 0),  PREC=3, CHANS=10100")
>> dbLoadRecords("/corvette/home/epics/support/mca-7-8/db/simple_mca.db", "P=13IDC:SIS1:, M=mca2,  DTYP=asynMCA, INP=@asyn(SIS3801/1 1),  PREC=3, CHANS=10100")
>> dbLoadRecords("/corvette/home/epics/support/mca-7-8/db/simple_mca.db", "P=13IDC:SIS1:, M=mca3,  DTYP=asynMCA, INP=@asyn(SIS3801/1 2),  PREC=3, CHANS=10100")
>> dbLoadRecords("/corvette/home/epics/support/mca-7-8/db/simple_mca.db", "P=13IDC:SIS1:, M=mca4,  DTYP=asynMCA, INP=@asyn(SIS3801/1 3),  PREC=3, CHANS=10100")
>> dbLoadRecords("/corvette/home/epics/support/mca-7-8/db/simple_mca.db", "P=13IDC:SIS1:, M=mca5,  DTYP=asynMCA, INP=@asyn(SIS3801/1 4),  PREC=3, CHANS=10100")
>> dbLoadRecords("/corvette/home/epics/support/mca-7-8/db/simple_mca.db", "P=13IDC:SIS1:, M=mca6,  DTYP=asynMCA, INP=@asyn(SIS3801/1 5),  PREC=3, CHANS=10100")
>> dbLoadRecords("/corvette/home/epics/support/mca-7-8/db/simple_mca.db", "P=13IDC:SIS1:, M=mca7,  DTYP=asynMCA, INP=@asyn(SIS3801/1 6),  PREC=3, CHANS=10100")
>> dbLoadRecords("/corvette/home/epics/support/mca-7-8/db/simple_mca.db", "P=13IDC:SIS1:, M=mca8,  DTYP=asynMCA, INP=@asyn(SIS3801/1 7),  PREC=3, CHANS=10100")
>> asynSetTraceIOMask(SIS3801/1,0,2)
>> #asynSetTraceMask("$(PORT)",0,0xff)
>> # Exit iocsh
>> exit
>> value = 0 = 0x0
>>
>> ### Allstop, alldone
>> dbLoadRecords("$(MOTOR)/db/motorUtil.db","P=13IDC:")
>> value = 0 = 0x0
>>
>> ### Scan-support software
>> # crate-resident scan.  This executes 1D, 2D, 3D, and 4D scans, and caches
>> # 1D data, but it doesn't store anything to disk.  (You need the data catcher
>> # or the equivalent for that.)  This database is configured to use the
>> # "alldone" database (above) to figure out when motors have stopped moving
>> # and it's time to trigger detectors.
>>
>> dbLoadRecords("$(SSCAN)/db/scan.db","P=13IDC:,MAXPTS1=2000,MAXPTS2=500,MAXPTS3=20,MAXPTS4=5,MAXPTSH=10")
>> value = 0 = 0x0
>>
>> # A set of scan parameters for each positioner.  This is a convenience
>> # for the user.  It can contain an entry for each scannable thing in the
>> # crate.
>> dbLoadTemplate("scanParms.template")
>> value = 0 = 0x0
>>
>> dbLoadRecords("$(MCA)/db/mca.db", "P=13IDC:,M=mip330_1,DTYP=asynMCA,NCHAN=2048,INP=@asyn(Ip330Sweep1 0)")
>> value = 0 = 0x0
>> dbLoadRecords("$(MCA)/db/mca.db", "P=13IDC:,M=mip330_2,DTYP=asynMCA,NCHAN=2048,INP=@asyn(Ip330Sweep1 1)")
>> value = 0 = 0x0
>> dbLoadRecords("$(MCA)/db/mca.db", "P=13IDC:,M=mip330_3,DTYP=asynMCA,NCHAN=2048,INP=@asyn(Ip330Sweep1 2)")
>> value = 0 = 0x0
>> dbLoadRecords("$(MCA)/db/mca.db", "P=13IDC:,M=mip330_4,DTYP=asynMCA,NCHAN=2048,INP=@asyn(Ip330Sweep1 3)")
>> value = 0 = 0x0
>> # added 2-05 for split ion chmaber
>> dbLoadRecords("$(MCA)/db/mca.db", "P=13IDC:,M=mip330_5,DTYP=asynMCA,NCHAN=2048,INP=@asyn(Ip330Sweep1 4)")
>> value = 0 = 0x0
>> dbLoadRecords("$(MCA)/db/mca.db", "P=13IDC:,M=mip330_6,DTYP=asynMCA,NCHAN=2048,INP=@asyn(Ip330Sweep1 5)")
>> value = 0 = 0x0
>>
>> # Miscellaneous PV's
>> dbLoadRecords("$(STD)/db/misc.db","P=13IDC:")
>> value = 0 = 0x0
>>
>> # User calc stuff
>> epicsEnvSet("PREFIX", "13IDC:")
>> value = 0 = 0x0
>> iocsh("../calc_GSECARS.iocsh")
>> ### Stuff for user programming ###
>> dbLoadRecords("/corvette/home/epics/support/calc-3-7-3/db/userCalcGlobalEnable.db","P=13IDC:")
>> dbLoadRecords("/corvette/home/epics/support/calc-3-7-3/db/userCalcs10.db","P=13IDC:")
>> #appendToFile("$(BUILT_SETTINGS)", '$(P)userCalcEnable')
>> #dbLoadRecords("$(CALC)/db/userCalcs10more.db","P=$(PREFIX),N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20")
>> dbLoadRecords("/corvette/home/epics/support/calc-3-7-3/db/userCalcOuts10.db","P=13IDC:")
>> #appendToFile("$(BUILT_SETTINGS)", '$(P)userCalcOutEnable')
>> #dbLoadRecords("$(CALC)/db/userCalcOuts10more.db","P=$(PREFIX),N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20")
>> dbLoadRecords("/corvette/home/epics/support/calc-3-7-3/db/userStringCalcs10.db","P=13IDC:")
>> #appendToFile("$(BUILT_SETTINGS)", '$(P)userStringCalcEnable')
>> #dbLoadRecords("$(CALC)/db/userStringCalcs10more.db","P=$(PREFIX),N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20")
>> dbLoadRecords("/corvette/home/epics/support/calc-3-7-3/db/userArrayCalcs10.db","P=13IDC:,N=2048")
>> #appendToFile("$(BUILT_SETTINGS)", '$(P)userArrayCalcEnable')
>> #dbLoadRecords("$(CALC)/db/userArrayCalcs10more.db","P=$(PREFIX),N=30000,N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20")
>> dbLoadRecords("/corvette/home/epics/support/calc-3-7-3/db/userTransforms10.db","P=13IDC:")
>> #appendToFile("$(BUILT_SETTINGS)", '$(P)userTranEnable')
>> #dbLoadRecords("$(CALC)/db/userTransforms10more.db","P=$(PREFIX),N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20")
>> dbLoadRecords("/corvette/home/epics/support/calc-3-7-3/db/userAve10.db","P=13IDC:")
>> #appendToFile("$(BUILT_SETTINGS)", '$(P)userAveEnable')
>> #dbLoadRecords("$(CALC)/db/userAve10more.db","P=$(PREFIX),N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20")
>> # string sequence (sseq) records
>> dbLoadRecords("/corvette/home/epics/support/calc-3-7-3/db/userStringSeqs10.db","P=13IDC:")
>> #appendToFile("$(BUILT_SETTINGS)", '$(P)userStringSeqEnable')
>> #dbLoadRecords("$(CALC)/db/userStringSeqs10more.db","P=$(PREFIX),N1=11,N2=12,N3=13,N4=14,N5=15,N6=16,N7=17,N8=18,N9=19,N10=20")
>> # editSseq - edit any sseq or seq record
>> dbLoadRecords("/corvette/home/epics/support/calc-3-7-3/db/editSseq.db", "P=13IDC:,Q=ES:")
>> doAfterIocInit("seq &editSseq, 'P=13IDC:,Q=ES:'")
>> # interpolation
>> #dbLoadRecords("$(CALC)/db/interp.db", "P=$(PREFIX),N=2000")
>> dbLoadRecords("/corvette/home/epics/support/calc-3-7-3/db/interpNew.db", "P=13IDC:,Q=1,N=2000")
>> # pvHistory (in-crate archive of up to three PV's)
>> dbLoadRecords("/corvette/home/epics/support/std-3-6-1/db/pvHistory.db","P=13IDC:,N=1,MAXSAMPLES=1440")
>> # busy record
>> dbLoadRecords("/corvette/home/epics/support/busy-1-7-2/db/busyRecord.db", "P=13IDC:,R=mybusy")
>> dbLoadRecords("/corvette/home/epics/support/busy-1-7-2/db/busyRecord.db", "P=13IDC:,R=mybusy2")
>> # Soft function generator
>> #dbLoadRecords("$(CALC)/db/FuncGen.db","P=$(PREFIX),Q=fgen,OUT=$(PREFIX)m7.VAL")
>> value = 0 = 0x0
>>
>> # Experiment description
>> dbLoadRecords("$(CARS)/db/experiment_info.db","P=13IDC:")
>> value = 0 = 0x0
>>
>> # SCA Window for Bede detector
>> dbLoadRecords("$(CARS)/db/sca_window.db","P=13IDC:,SCA=BEDE,DAC1=DAC1_1,DAC2=DAC1_2,MIN=0,MAX=3")
>> value = 0 = 0x0
>>
>> # devIocStats
>> putenv("ENGINEER=Mark Rivers")
>> value = 0 = 0x0
>> putenv("LOCATION=13-ID-C")
>> value = 0 = 0x0
>> putenv("GROUP=GSECARS")
>> value = 0 = 0x0
>> dbLoadRecords("$(DEVIOCSTATS)/db/iocAdminVxWorks.db","IOC=13IDC:")
>> value = 0 = 0x0
>>
>> < ../save_restore.cmd
>> ### save_restore setup
>> #
>> # The rest this file does not require modification for standard use, but...
>> # If you want save_restore to manage its own NFS mount, specify the name and
>> # IP address of the file server to which save files should be written.
>> # This currently is supported only on vxWorks.
>> #save_restoreSet_NFSHost("oxygen", "164.54.52.4")
>>
>> # status-PV prefix
>> #save_restoreSet_status_prefix("xxx:")
>> # Debug-output level
>> save_restoreSet_Debug(0)
>> value = 0 = 0x0
>>
>> # Ok to save/restore save sets with missing values (no CA connection to PV)?
>> save_restoreSet_IncompleteSetsOk(1)
>> value = 1 = 0x1
>> # Save dated backup files?
>> save_restoreSet_DatedBackupFiles(1)
>> value = 1 = 0x1
>>
>> # Number of sequenced backup files to write
>> save_restoreSet_NumSeqFiles(3)
>> value = 3 = 0x3
>> # Time interval between sequenced backups
>> save_restoreSet_SeqPeriodInSeconds(300)
>> value = 300 = 0x12c = ','
>>
>> # specify where save files should be
>> set_savefile_path(startup, "autosave")
>> value = 0 = 0x0
>>
>> ###
>> # specify what save files should be restored.  Note these files must be
>> # in the directory specified in set_savefile_path(), or, if that function
>> # has not been called, from the directory current when iocInit is invoked
>> set_pass0_restoreFile("auto_positions.sav")
>> value = 0 = 0x0
>> set_pass0_restoreFile("auto_settings.sav")
>> value = 0 = 0x0
>> set_pass1_restoreFile("auto_settings.sav")
>> value = 0 = 0x0
>>
>> # load general-purpose interpolation tables with local, user-editable file
>> # (if interp_settings.req is included in auto_settings.req, the next line
>> # will overwrite those restored values)
>> #set_pass1_restoreFile("interp.sav")
>>
>> ###
>> # specify directories in which to to search for included request files
>> set_requestfile_path("./")
>> value = 0 = 0x0
>> set_requestfile_path(cars,     "CARSApp/Db")
>> value = 0 = 0x0
>> set_requestfile_path(adcore,   "ADApp/Db")
>> value = 0 = 0x0
>> set_requestfile_path(autosave, "asApp/Db")
>> value = 0 = 0x0
>> set_requestfile_path(calc,     "calcApp/Db")
>> value = 0 = 0x0
>> set_requestfile_path(dac128v,  "dac128VApp/Db")
>> value = 0 = 0x0
>> set_requestfile_path(ip,       "ipApp/Db")
>> value = 0 = 0x0
>> set_requestfile_path(mca,      "mcaApp/Db")
>> value = 0 = 0x0
>> set_requestfile_path(motor,    "motorApp/Db")
>> value = 0 = 0x0
>> set_requestfile_path(optics,   "opticsApp/Db")
>> value = 0 = 0x0
>> set_requestfile_path(quadem,   "quadEMApp/Db")
>> value = 0 = 0x0
>> set_requestfile_path(softglue, "softGlueApp/Db")
>> value = 0 = 0x0
>> set_requestfile_path(sscan,    "sscanApp/Db")
>> value = 0 = 0x0
>> set_requestfile_path(softglue, "softGlueApp/Db")
>> value = 0 = 0x0
>> set_requestfile_path(std,      "stdApp/Db")
>> value = 0 = 0x0
>> set_requestfile_path(vme,      "vmeApp/Db")
>> value = 0 = 0x0
>>
>> #dbLoadRecords("$(AUTOSAVE)/db/save_restoreStatus.db", "P=xxx:")
>>
>> # Date and time of boot
>> date
>> 2020/06/03 23:18:59.973453
>> value = 27 = 0x1b
>>
>> save_restoreSet_status_prefix("13IDC:")
>> value = 43389634 = 0x29612c2
>> dbLoadRecords("$(AUTOSAVE)/db/save_restoreStatus.db", "P=13IDC:")
>> value = 0 = 0x0
>>
>> # Setup device/driver support addresses, interrupt vectors, etc.
>>
>> ################################################################################
>> # OMS VME58 driver setup parameters:
>> #     (1)cards, (2)base address(short, 4k boundary),
>> #     (3)interrupt vector (0=disable or  64 - 255), (4)interrupt level (1 - 6),
>> #     (5)motor task polling rate (min=1Hz,max=60Hz)
>> oms58Setup(6, 0x4000, 190, 5, 10)
>> value = 0 = 0x0
>> ################################################################################
>>
>> ################################################################################
>> # Joerger VSC setup parameters:
>> #     (1)cards, (2)base address(ext, 256-byte boundary),
>> #     (3)interrupt vector (0=disable or  64 - 255)
>> # VSCSetup(1, 0xB0000000, 200)
>> ################################################################################
>>
>> ################################################################################
>>
>> # dbrestore setup
>> sr_restore_incomplete_sets_ok = 1
>> New symbol "sr_restore_incomplete_sets_ok" added to kernel symbol table.
>> sr_restore_incomplete_sets_ok = 0x27d8870: value = 1 = 0x1
>> #reboot_restoreDebug=5
>>
>> iocInit
>> Starting iocInit
>> ############################################################################
>> ## EPICS R7.0.4
>> ## Rev. R7.0.4-dirty
>> ############################################################################
>> drvStreamInit: Warning! STREAM_PROTOCOL_PATH not set. Defaults to "."
>> reboot_restore: entry for file 'auto_positions.sav'
>> reboot_restore: Found filename 'auto_positions.sav' in restoreFileList.
>> *** restoring from '/home/epics/support/CARS/iocBoot/ioc13idc/autosave/auto_positions.sav' at initHookState 6 (before record/device init) ***
>> drvIK320 starting irq logger...
>> reboot_restore: done with file 'auto_positions.sav'
>>
>> reboot_restore: entry for file 'auto_settings.sav'
>> reboot_restore: Found filename 'auto_settings.sav' in restoreFileList.
>> *** restoring from '/home/epics/support/CARS/iocBoot/ioc13idc/autosave/auto_settings.sav' at initHookState 6 (before record/device init) ***
>> reboot_restore: done with file 'auto_settings.sav'
>>
>> Error (511,511) PV: 13IDC::TIMEZONE devStringinEnvVar (init_record) Illegal INP parm field
>>
>> reboot_restore: entry for file 'auto_settings.sav'
>> reboot_restore: Found filename 'auto_settings.sav' in restoreFileList.
>> *** restoring from '/home/epics/support/CARS/iocBoot/ioc13idc/autosave/auto_settings.sav' at initHookState 7 (after record/device init) ***
>> reboot_restore: done with file 'auto_settings.sav'
>>
>> discoverInterfaces(): unable to fetch network interface configuration
>> 2020-06-03T23:19:10.507 Failed to introspect interfaces or no network interfaces available.
>> 2020-06-03T23:19:10.507 No client broadcast addresses found or specified - empty address list!
>> osiSockDiscoverBroadcastAddresses(): unable to fetch network interface configuration (-1)
>> Warning: RSRV has empty beacon address list
>> iocRun: All initialization complete
>> discoverInterfaces(): unable to fetch network interface configuration
>> 0xbe8d80 (tShell0): Unhandled C++ exception resulted in call to terminate
>> osiSockDiscoverBroadcastAddresses(): unable to fetch network interface configuration (-1)
>> osiSockDiscoverBroadcastAddresses(): unable to fetch network interface configuration (-1)
>>
>>
>> osiLocalAddr(): SIOCGIFCONF ioctl failed because "S_errno_ENXIO"
>>
>>
>>
>>
>


Replies:
Re: Problem booting vxWorks with base 7.0.4 Johnson, Andrew N. via Core-talk
References:
Problem booting vxWorks with base 7.0.4 Mark Rivers via Core-talk
Re: Problem booting vxWorks with base 7.0.4 Michael Davidsaver via Core-talk
Re: Problem booting vxWorks with base 7.0.4 Mark Rivers via Core-talk
Re: Problem booting vxWorks with base 7.0.4 Michael Davidsaver via Core-talk

Navigate by Date:
Prev: Jenkins build became unstable: epics-pva2pva-linux32 #183 APS Jenkins via Core-talk
Next: Re: Problem booting vxWorks with base 7.0.4 Johnson, Andrew N. via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problem booting vxWorks with base 7.0.4 Michael Davidsaver via Core-talk
Next: Re: Problem booting vxWorks with base 7.0.4 Johnson, Andrew N. via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 03 Jun 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·