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> 2023 2024 | 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> 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | mrfioc2-PCI device Configuration |
From: | gjzhai--- via Tech-talk <tech-talk at aps.anl.gov> |
To: | tech-talk at aps.anl.gov |
Date: | Thu, 20 Jan 2022 21:52:33 +0800 (GMT+08:00) |
Hello all I am trying to get MRF MTCA-EVG-300 and MTCA-EVR-300U configured and working on Linux using mrfioc2. I found geographic address(bus:device.function) in /proc/bus/pci/devices. The information is as follows:
0800 10ee7011 10 df100000 0 0 0 0 0 0 80000 0 0 0 0 0 0 pci_mrfevg
0900 10ee7011 11 df000000 0 0 0 0 0 0 40000 0 0 0 0 0 0 pci_mrfevr
According to the above information, my st.cmd in the iocevrmrm folder is defined as follows:
mrmEvrSetupPCI("MTCAEVR","09:00.0")mrmEvgSetupPCI("EVG",08,00,0)But the following error occurs:
mrmEvrSetupPCI("MTCAEVR","09:00.0")Notice: devPCIFindSpec() expect B:D.F in hexDevice MTCAEVR 9:0.0 slot=8
Using IRQ 17
Failed to open uio device for PCI device 0000:09:00.0: No such filleor directory
Can neither open resource file nor uio file of PCI device 0000:09:00.0 BAR 0
PCI error: Failed to map BAR 0
mrmEvgSetupPCI("EVG",08,00,0)Error: invalid spec '08'
PCI Device not found
I use mrfioc2 2.3.0 . How deal with this problem?Thank you for your time. I am looking forward to your reply.