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: linux kernel module for mrfioc2 on MTCA
From: 문건영(선형가속기팀) via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 5 Jan 2023 05:41:36 +0000
Dear All,

I am trying to MTCA-EVG-300 and MTCA-EVR-300U are working on Linux using mrfioc2.
But, the following error is displayed:

epics> mrmEvgSetupPCI("EVG",08,00,0)
Can't open /sys/module/mrf/parameters/interfaceversion in order to read kernel module interface version. Kernel module not loaded or too old.

I used the latest version driver provided by MRF. https://github.com/jpietari/mrf-linux-driver
Do I have to use a driver other than this one?

The mrf directory does not exist In the /sys/module directory.
Instead, pci_mrfevg, pci_mrfevr exists.

# ls /sys/module/pci_mrfev*
/sys/module/pci_mrfevg:
coresize   holders    initstate  refcnt     taint
drivers    initsize   notes      sections   uevent

/sys/module/pci_mrfevr:
coresize   holders    initstate  refcnt     taint
drivers    initsize   notes      sections   uevent

# lsmod 
Module                  Size  Used by    Tainted: G  
pci_mrfevr             57344  0 
pci_mrfevg             53248  0 
nfsv3                  28672  1 
nfs                   135168  2 nfsv3
lockd                  77824  2 nfsv3,nfs
grace                  16384  1 lockd
sunrpc                196608  6 nfsv3,nfs,lockd
x86_pkg_temp_thermal    16384  0 
igb                   184320  0

# ls /dev/e*
/dev/ega0  /dev/ega2  /dev/era0  /dev/era2  /dev/erb0  /dev/erb2
/dev/ega1  /dev/ega3  /dev/era1  /dev/era3  /dev/erb1  /dev/erb3

# dmesg | tail
Event Generator PCI/PCIe driver exiting.
Event Receiver PCI/PCIe driver exiting.
Event Generator PCI/PCIe driver init.
mrfevg:BAR0 start df000000 end df07ffff mmaped 41180000
udevd[165]: specified group 'mrf' unknown
Event Receiver PCI/PCIe driver init.
mrfevr:BAR0 start df200000 end df23ffff, mmap 40780000
mrfevr: Device Type: MTCAEVR300
mrfevr:BAR0 start df100000 end df13ffff, mmap 41040000
mrfevr: Device Type: MTCAEVR300

Best regards,
Geonyeong Mun


Replies:
Re: linux kernel module for mrfioc2 on MTCA Han Lee via Tech-talk

Navigate by Date:
Prev: Phoebus Alarm Log panel William F Badgett Jr via Tech-talk
Next: Re: linux kernel module for mrfioc2 on MTCA Han Lee 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: Re: Phoebus Alarm Log panel Shroff, Kunal via Tech-talk
Next: Re: linux kernel module for mrfioc2 on MTCA Han Lee 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, 09 Jan 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·