Hello,
Thanks for all your answers, now I have to find how to change startup delay :) and I come back to you to say if it's working.
@Lucas: apparently we are not using GRUB so no option like you have proposed, more expert colleague than me explore this solution.
Cheers
Alexis GAGET
CEA Saclay - DRF/Irfu/DIS/LDISC
Bâtiment 472 - pièce 105
alexis.gaget at cea.fr
01 69 08 95 17
-----Message d'origine-----
De : Michael Davidsaver <mdavidsaver at gmail.com>
Envoyé : mercredi 24 mars 2021 06:50
À : GAGET Alexis <alexis.gaget at cea.fr>
Cc : tech-talk at aps.anl.gov
Objet : Re: MRF kernel module, failed to map BARS
On 3/23/21 8:34 AM, GAGET Alexis via Tech-talk wrote:
> Dear All,
>
> Here at saclay we are using MRF timing system with MTCA.4 in R2 NAT crate.
>
> I'm using the COMex-E3 and a MCH-PHYS80. The IOC using the mrfioc2 driver is running on the Comex and the mrf kernel module is loaded on it. I have forked from ESS version of mrfioc2, and the kernel module I built seems the same.
>
> My kernel version is : 3.10.0-1160.15.2.el7.x86_64 on a CenTOS Linux
> 7.9.2009
>
> It works globally very well, but I have a reproducible issue:
>
> When I reboot the whole R2 crate and when I load the MRF kernel module I have the following message :
>
> [ 347.344081] mrf: module verification failed: signature and/or
> required key missing - tainting kernel [ 347.345504] mrf-pci
> 0000:04:00.0: Attaching MRF device w/o PLX bridge (00007011) [
> 347.345581] mrf-pci 0000:04:00.0: can't ioremap BAR 0: [??? 0x00000000
> flags 0x0] [ 347.345646] mrf-pci 0000:04:00.0: Failed to map BARS! 0
> 0 [ 347.345918] mrf-pci 0000:06:00.0: Attaching MRF device w/o PLX
> bridge (00007011) [ 347.345989] mrf-pci 0000:06:00.0: can't ioremap
> BAR 0: [??? 0x00000000 flags 0x0] [ 347.346053] mrf-pci 0000:06:00.0:
> Failed to map BARS! 0 0
>
> Consequence, my Comex can't find some of my EVR or EVM (some are found..).
>
> To make it work I just have to reboot the Comex and after that it's
> working. Meaning after a shutdown I have to reboot it twice.
>
> Does anyone have this kind of trouble ? Knows how to solve it ? or even understand this message ?
If you look back earlier in the kernel log, you will probably find other errors mentioning this devices at the point where the kernel is probing these cards. Search for the CPU IDs.
As others have mentioned, this is probably an initialization order issue, which can be addressed in MCH configuration to change card startup delays so that the MRF cards power up earlier than the CPU. From my experience this process isn't as scientific as I would like.
- Replies:
- Changing EPICS general Purpose Thread's Priorities jun-ichi.odagiri--- via Tech-talk
- References:
- MRF kernel module, failed to map BARS GAGET Alexis via Tech-talk
- Re: MRF kernel module, failed to map BARS Michael Davidsaver via Tech-talk
- Navigate by Date:
- Prev:
Possible to Populate CSS text fields with JDBC calls? Manoussakis, Adamandios via Tech-talk
- Next:
Re: Possible to Populate CSS text fields with JDBC calls? Kasemir, Kay 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
2023
2024
- Navigate by Thread:
- Prev:
Re: MRF kernel module, failed to map BARS Michael Davidsaver via Tech-talk
- Next:
Changing EPICS general Purpose Thread's Priorities jun-ichi.odagiri--- 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
2023
2024
|