EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: MRF EvtClk object not found
From: Michael Davidsaver via Tech-talk <tech-talk at aps.anl.gov>
To: "Daykin, Evan" <daykin at frib.msu.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 8 Aug 2023 17:46:52 -0700
On 8/8/23 14:51, Daykin, Evan via Tech-talk wrote:
Hello,

After upgrading our (test) timing master to Debian 12, the mrfioc2 module no longer recognizes the ‘EvtClk’ Object – consequently, the event clock running the show no longer functions. See output below – notably, the ‘Failed to open resource file…’ and the ‘failed to find/create object’ lines. Has anyone seen this issue before?

Maybe a mismatch between .db and driver code?

The seperate :EvtClk object was folded into the main EVG object.

https://github.com/mdavidsaver/mrfioc2/commit/1068e6681f4d7a463f552cc4d7c198105230ba0d

https://github.com/mdavidsaver/mrfioc2/commit/7e6ee54ba4a57e5cef7fb2bf41d827cc262e8c27


Thanks,

-Evan

cd "/usr/local/lib/iocapps/masterioc"## Register all support components

dbLoadDatabase "dbd/gtsmaster.dbd"

gtsmaster_registerRecordDeviceDriver pdbbase

MCoreUtils version 1.2.2

MCoreUtils: Read 0 thread rule(s) from /etc/rtrules

MCoreUtils: Read 0 thread rule(s) from /home/softioc/.rtrules

# mrmEvgSetupPCI(card id string, bus number, device number, function number)

mrmEvgSetupPCI("EVG1", "8:f.0")

Notice: devPCIFindSpec() expect B:D.F in hex

Device EVG1  8:f.0

Using IRQ 23

Failed to open resource file for PCI device 0000:08:0f.0: Permission denied

FPGA version: 24000008

cPCI-EVG-300 #Inputs FP:2 UV:4 RB:16

PCI interrupt connected!

mrmEvrSetupPCI("EVR1", "8:e.0")

Device EVR1  8:e.0 slot=(null)

Using IRQ 22

Failed to open resource file for PCI device 0000:08:0e.0: Permission denied

FWVersion 0x1402000b

Found version 11

Found SFP EEPROM

CompactPCI 6U: Out FP:0 FPUNIV:12 RB:0 IFP:2 GPIO:0

EVR FIFO task start

Enabling interrupts

## Load generic record instances

dbLoadRecords("/usr/lib/epics/db/save_restoreStatus.db", "P=iocgts-fts-mstr-n0001-evg:")

# picks up IOC, ENGINEER, LOCATION from environment vars

dbLoadRecords("/usr/lib/epics/db/iocAdminSoft.db", "IOC=iocgts-fts-mstr-n0001-evg")

dbLoadRecords("/usr/lib/epics/db/reccaster.db", "P=iocgts-fts-mstr-n0001-evg:")

## Load application-specific record instances

dbLoadRecords("db/cpci-evg-300.db", "SYS=GTS, SUB=FTS, DEV=MSTR, INST=N0001, D='', EVG=EVG1, ASGEXPERT=GTS_EXPERT")

dbLoadRecords("db/frib_seq.db", "SYS=GTS, SUB=FTS, DEV=MSTR, INST=N0001, D='', ASGEXPERT=GTS_EXPERT")

…

var(mrmGTIFEnable, 0)

iocInit()

Starting iocInit

EVR Current time provider NOT register

############################################################################

## EPICS R7.0.7-1~20230705105019.5+debian12

## Rev. 2023-07-05T07:15-0400

## Rev. Date build date/time:

############################################################################

… Autosave stuff omitted…

GTS_FTS:MSTR_N0001:FR_RSET_RFCL: failed to find/create object 'EVG1:EvtClk' : Object not found : EVG1:EvtClk

GTS_FTS:MSTR_N0001:FR_RSET_FSCL: failed to find/create object 'EVG1:EvtClk' : Object not found : EVG1:EvtClk

GTS_FTS:MSTR_N0001:FR_RSET_ECLK: failed to find/create object 'EVG1:EvtClk' : Object not found : EVG1:EvtClk

GTS_FTS:MSTR_N0001:FR_CSET_RFCL: failed to find/create object 'EVG1:EvtClk' : Object not found : EVG1:EvtClk

GTS_FTS:MSTR_N0001:FR_CSET_FSCL: failed to find/create object 'EVG1:EvtClk' : Object not found : EVG1:EvtClk

GTS_FTS:MSTR_N0001:CSRC_RCMD_ECLK: failed to find/create object 'EVG1:EvtClk' : Object not found : EVG1:EvtClk

GTS_FTS:MSTR_N0001:IRQ_RCMD_INP6: failed to find/create object 'EVG1:UnivInp4' : Object not found : EVG1:UnivInp4

GTS_FTS:MSTR_N0001:IRQ_RCMD_INP7: failed to find/create object 'EVG1:UnivInp5' : Object not found : EVG1:UnivInp5

GTS_FTS:MSTR_N0001:IRQ_RCMD_INP8: failed to find/create object 'EVG1:UnivInp6' : Object not found : EVG1:UnivInp6

GTS_FTS:MSTR_N0001:IRQ_RCMD_INP9: failed to find/create object 'EVG1:UnivInp7' : Object not found : EVG1:UnivInp7

GTS_FTS:MSTR_N0001:IRQ_RCMD_INPA: failed to find/create object 'EVG1:UnivInp8' : Object not found : EVG1:UnivInp8

GTS_FTS:MSTR_N0001:IRQ_RCMD_INPB: failed to find/create object 'EVG1:UnivInp9' : Object not found : EVG1:UnivInp9

GTS_FTS:MSTR_N0001:IRQ_RCMD_INPC: failed to find/create object 'EVG1:UnivInp10' : Object not found : EVG1:UnivInp10

GTS_FTS:MSTR_N0001:IRQ_RCMD_INPD: failed to find/create object 'EVG1:UnivInp11' : Object not found : EVG1:UnivInp11

GTS_FTS:MSTR_N0001:EN_RCMD: 'EVG1' lacks property 'Enable' of required type

GTS_FTS:MSTR_N0001:CSRC_CMD_ECLK: failed to find/create object 'EVG1:EvtClk' : Object not found : EVG1:EvtClk



References:
MRF EvtClk object not found Daykin, Evan via Tech-talk

Navigate by Date:
Prev: MRF EvtClk object not found Daykin, Evan via Tech-talk
Next: Scripts in Phoebus Florian Feldbauer via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: MRF EvtClk object not found Daykin, Evan via Tech-talk
Next: RE: MRF EvtClk object not found Daykin, Evan via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 10 Aug 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·