Experimental Physics and Industrial Control System
Before calling mrmEvrSetupPCI(), set the devPCIDebug variable to 5 (or
greater) to give some more output.
> var(devPCIDebug, 5)
What is the version of the Linux kernel you are running?
In order to make the association between the PCI device ID and /dev/uio#
device file, devlib2 follows of a symlink under /sys/. The location of
this symlink has already changed once between 2.6.28 and 2.6.32. It may
have changed again.
Look in "/sys/bus/pci/devices/0000:0e:01.0/" for "uio:uio0" or "uio/uio0".
https://github.com/epics-modules/devlib2/blob/master/pciApp/os/Linux/devLibPCIOSD.c#L266
Finally, does the kernel log (dmesg) give any messages when the mrfioc2
kernel module is loaded?
On 03/08/2016 09:55 PM, 김지화(빔라인장치팀) wrote:
> Hi Martin and Michael,
>
> I've attached error message.
>
>>> If the file '/dev/era3' exists
> Yes, I've been hard rebooted and there is not installed '/dev/era3'
>
>>> So you should see some file like '/dev/uio0'.
> Yes, I can see uio0 driver at /dev
>
>>> mrfioc2 and devlib2 are you using?
> I used mrfioc2 2.04 and devlib2.6, again it worked before but some reason it caused error.
>
> -Jihwa
>
> ________________________________________
> 보낸 사람: [email protected] <[email protected]> 대신 Michael Davidsaver <[email protected]>
> 보낸 날짜: 2016년 3월 8일 화요일 오후 12:05
> 받는 사람: [email protected]
> 제목: Re: mrfioc2 error at uTCA platform
>
> What version of mrfioc2 are you using?
>
>> Interesting is the SLAC evr version is correctly working.
>>
>> evrIocTest_registerRecordDeviceDriver(pdbbase)
>>
>> ErConfigure(0, 0, 0, 0, 1)
>>
>> EvrOpen, device = /dev/era3
> If the file '/dev/era3' exists then you don't have the correct linux kernel module loaded. mrfioc2 comes with it's own, which uses the UIO interface. So you should see some file like '/dev/uio0'.
>
>
> On 03/07/2016 03:21 PM, 김지화(빔라인장치팀) wrote:
>> Hi Martin,
>>
>>>> PMC EVR on a PMC carrier card, right?
>> Yes, right! Vadatech PMC Carier board.
>>
>>
>>>> What does "lspci" say? Maybe you've plugged the card into a different AMC slot?
>> I think slot is correct slot number because it worked before.
>>
>> Here is a PMC-EVR-230 with VID:DID 10b5:9030 and subvendor ID 1a3e
>> and subvendor device ID 11e6. (JUkka already confirmed )
>>
>> [root@amc725 mrf_pci_driver]# lspci -nn -x
>>
>> 0e:01.0 Signal processing controller [1180]: PLX Technology, Inc. PCI9030 32-bit 33MHz PCI <-> IOBus Bridge [10b5:9030] (rev 01)
>>
>> 00: b5 10 30 90 02 00 90 02 01 00 80 11 08 00 00 00
>>
>> 10: 00 00 a1 fd 00 00 00 00 00 00 a0 fd 00 00 00 00
>>
>> 20: 00 00 00 00 00 00 00 00 00 00 00 00 3e 1a e6 11
>>
>> 30: 00 00 00 00 40 00 00 00 00 00 00 00 00 01 00 00
>>
>>
>>
>> Interesting is the SLAC evr version is correctly working.
>>
>> evrIocTest_registerRecordDeviceDriver(pdbbase)
>>
>> ErConfigure(0, 0, 0, 0, 1)
>>
>> EvrOpen, device = /dev/era3
>>
>> EVR Found with Firmware Revision 0x11000007
>>
>> Found a PMC_EVR /dev/era3
>>
>>
>> Jihwa
>>
>> ________________________________________
>> 보낸 사람: Konrad, Martin <[email protected]>
>> 보낸 날짜: 2016년 3월 7일 월요일 오후 1:37
>> 받는 사람: 김지화(빔라인장치팀); [email protected]
>> 제목: Re: mrfioc2 error at uTCA platform
>>
>> Hi Jihwa,
>> > Dose any one has experience of mrfioc2 evr driver for uTCA platform?
>>> PMC-EVR-230 firmware version: PMC-EVR-230-11000007.bit
>> I guess you are not using the native uTCA card but a PMC EVR on a PMC
>> carrier card, right?
>>
>>> mrmEvrSetupPCI("PMCEVR",0xe,1,0)
>>> Device PMCEVR 14:1.0
>>> Using IRQ 16
>>> Failed to open uio device for PCI device 0000:0e:01.0: No such file or
>>> directory
>>> Failed to enable interrupt
>> What does "lspci" say? Maybe you've plugged the card into a different
>> AMC slot?
>>
>> -Martin
>>
>> --
>> Martin Konrad
>> Control System Engineer
>> Facility for Rare Isotope Beams
>> Michigan State University
>> 640 South Shaw Lane
>> East Lansing, MI 48824-1321, USA
>> Tel. 517-908-7253
>> Email: [email protected]
>>
>
- Replies:
- RE: mrfioc2 error at uTCA platform 김지화(빔라인장치팀)
- References:
- Re: mrfioc2 error at uTCA platform Konrad, Martin
- RE: mrfioc2 error at uTCA platform 김지화(빔라인장치팀)
- Re: mrfioc2 error at uTCA platform Michael Davidsaver
- RE: mrfioc2 error at uTCA platform 김지화(빔라인장치팀)
- Navigate by Date:
- Prev:
Re: Kohzu motors poll rate issue?? Pete Jemian
- Next:
RE: mrfioc2 error at uTCA platform 김지화(빔라인장치팀)
- 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
- Navigate by Thread:
- Prev:
RE: mrfioc2 error at uTCA platform 김지화(빔라인장치팀)
- Next:
RE: mrfioc2 error at uTCA platform 김지화(빔라인장치팀)
- 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