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  <20142015  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Failed to install ISR
From: "Johnson, Andrew N." <[email protected]>
To: "<[email protected]>" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thu, 16 Jan 2014 04:42:40 +0000
Hi Michael,

FYI I looked up the mv6100 BSP earlier today; 80 is the standard vector number for the first PMC slot, which number the BSP will have placed in the relevant PCI config register at bus configuration time. I can't explain for sure why the BSP's intConnect() routine would be rejecting the request but it does have a mechanism present to check the vector against specific ranges for which it knows how to enable and disable the interrupt source. There might be some specific code to handle the PMC slots that I haven't looked at (because we haven't used PMC slots much here at the APS). Luckily the source code for this area is all visible in the BSP though, so it shouldn't be too hard to trace what's going on.

- Andrew

-- 
Sent from my iPad

> On Jan 15, 2014, at 8:50 PM, "Michael Davidsaver" <[email protected]> wrote:
> 
> Could you add some debug code to vxworksDevPCIConnectInterrupt() to
> determine what number is actually passed to INUM_TO_IVEC() in
> CallPciIntConnect()?  Also, can you say if a PCI interrupt translation
> table is provided for your BSP, and if so, is it is large enough to
> include interrupt 80?
> 
> http://epics.hg.sourceforge.net/hgweb/epics/devlib2/file/8fabcca118fe/pciApp/os/vxWorks/devLibPCIOSD.c#l145
> 
>> On 01/15/14 21:02, 류수 wrote:
>> I changed devlib2 to the development version but it still give me same
>> message.
>> 
>> 
>> 
>> 
>>    ------------ 원본 메일 내용 ------------
>>    *보낸 사람 :* "Michael Davidsaver"<[email protected]>
>>    *받는 사람 :* "류수" <[email protected]>
>>    *참      조 :* [email protected]
>>    *메일 제목 :* Re: Failed to install ISR
>>    *보낸 날짜 :* Wed, 15 Jan 2014 19:23:14 -0500
>> 
>>>    On 01/15/2014 06:48 PM, 류수 wrote:
>>> 
>>>    I am using devlib2-2.4 and mrfioc2-2.0.1
>>> 
>> 
>>    Can you try with the development version of devlib2?  There have
>>    been some changes since 2.4 which might be relevant to your problem.
>> 
>>    $ hg clone http://epics.hg.sourceforge.net/hgweb/epics/devlib2/
>> 
>> 
>>> 
>>>        ------------ 원본 메일 내용 ------------
>>>        *보낸 사람 :* "Michael Davidsaver"<[email protected]>
>>>        *받는 사람 :* [email protected]
>>>        *메일 제목 :* Re: Failed to install ISR
>>>        *보낸 날짜 :* Wed, 15 Jan 2014 10:47:56 -0500
>>> 
>>>        What versions of mrfioc2 and devlib2 are you using?
>>> 
>>> 
>>>>        On 01/15/2014 10:25 AM, 류수 wrote:
>>>>        Hi,
>>>> 
>>>>        I am in trouble to initialize PMC-EVR using mrfioc2. 
>>>>        The PMC-EVR is attached to MV6100 which runs vxWorks 6.9.
>>>>        The message says that "Failed to install ISR" so it seems
>>>>        that driver can't connect interrupt handler 
>>>>        to the PCI interrupt, but I don't know how to fix.
>>>>        Would you help me out ?
>>>> 
>>>>        Regards,
>>>>        Soo
>>>> 
>>>> 
>>>>        cd "epics/modules/mrfioc2"
>>>>        value = 0 = 0x0
>>>>        ld < bin/vxWorks-ppc604/mrf.munch
>>>>        value = 38203712 = 0x246f140 = '@'
>>>>        dbLoadDatabase("dbd/mrf.dbd")
>>>>        value = 0 = 0x0
>>>>        mrf_registerRecordDeviceDriver(pdbbase)
>>>>        value = 0 = 0x0
>>>>        dbLoadRecords("db/iocAdminVxWorks.db", "IOC=mrftest")
>>>>        Can't register 'system' command -- no command interpreter
>>>>        available.
>>>>        value = 0 = 0x0
>>>> 
>>>>        mrmEvrSetupPCI("PMC1",2,4,0)
>>>>        Device PMC1  2:4.0
>>>>        Using IRQ 80
>>>>        PMC Out FP:3 FPUNIV:0 RB:0 IFP:1
>>>>        Failed to install ISR
>>>>        PMC1 shuting down... complete
>>>>        value = 0 = 0x0
>>>>        dbLoadRecords("db/evr-pmc-230.db","SYS=PMC, D=PMC:1,
>>>>        EVR=PMC1")FWVersion 0x1100000
>>>>        6
>>>>        Found version 6
>>>>        Wvalue = 0 = 0x0
>>>> 
>>>> 
>>>> 
>>> 
>> 


References:
Re:Re: Failed to install ISR 류수
Re: Failed to install ISR Michael Davidsaver

Navigate by Date:
Prev: Re: Failed to install ISR Michael Davidsaver
Next: Re:Re: Failed to install ISR 류수
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Failed to install ISR Michael Davidsaver
Next: Re:Re: Failed to install ISR 류수
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·