EPICS Home

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  2023  2024  <2025 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  <2025
<== Date ==> <== Thread ==>

Subject: Re: MRF kernel modules not seeing hardware
From: Han Lee via Tech-talk <tech-talk at aps.anl.gov>
To: Jerzy Jamroz <jerzy.jamroz at ess.eu>, Timo Korhonen <Timo.Korhonen at ess.eu>
Cc: "Daykin, Evan" <daykin at frib.msu.edu>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 29 Jan 2025 13:49:01 -0800


On Wed, Jan 29, 2025 at 1:34 PM Han Lee <jeonglee at lbl.gov> wrote:
Hi Evan,

Three steps you have to configure.
  1. Kernel Driver
  2. udev rules
  3. dkms configuration if you want to keep the kernel driver up-to-date to any latest kernel update.
Please check the old repository for the further information, especially, configuration and setup
Your lspci returns the strange (not linux default) result from my understanding, since the standard pciids file doesn't contain " Micro-Research Finland Oy".
You probably use the similar my old repository pciid file instead of the standard Linux one.

1a3e:150c
1a3e:250c


Hi Jerzy and Timo,

Happy Lunar New Year!

My question is that the above two hardwares (150c/205c) are supported by the current mrfioc2 fully?

Evan, if they are not fully integrated into the mrfioc2, someone needs to add their support to the mrfioc2 repository.

If you can share the hardware, if ESS has them, information with me, I can update the pciids file for others.
I hope that ESS is still willing to share its local changes with the community.

Best,
Han


 
If you let me know which hardware you are using, I can add them into the old and still up-to-date repository.


Best,
Han


On Wed, Jan 29, 2025 at 7:17 AM Daykin, Evan via Tech-talk <tech-talk at aps.anl.gov> wrote:

Hello,

 

On a new linux kernel 6.1.0-30-rt-amd64 installation, I am trying to install the mrfioc2 PCI kernel module by running the following:

 

sudo make KERNELDIR=/lib/modules/$(uname -r)/build modules_install

make -C /lib/modules/6.1.0-30-rt-amd64/build DRV_VERSION='3' M=/home/daykin/git/mrfioc2/mrmShared/linux modules_install

make[1]: Entering directory '/usr/src/linux-headers-6.1.0-30-rt-amd64'

  INSTALL /lib/modules/6.1.0-30-rt-amd64/extra/mrf.ko

  DEPMOD  /lib/modules/6.1.0-30-rt-amd64

Warning: modules_install: missing 'System.map' file. Skipping depmod.

make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-30-rt-amd64'

 

depmod -a && modprobe: <no output>

 

lsmod|grep mrf

mrf                    24576  0

uio                    28672  1 mrf

parport                73728  1 mrf

 

cat /proc/devices

Character devices:

  1 mem

  4 /dev/vc/0

  4 tty

  4 ttyS

  5 /dev/tty

  5 /dev/console

  5 /dev/ptmx

  7 vcs

10 misc

13 input

29 fb

116 alsa

128 ptm

136 pts

153 spi

180 usb

189 usb_device

226 drm

238 uio

239 aux

240 cec

241 lirc

242 ipmidev

243 watchdog

244 mei

245 nvme-generic

246 nvme

247 cxl

248 bsg

249 ptp

250 pps

251 rtc

252 dax

253 tpm

254 gpiochip

 

Block devices:

  7 loop

254 device-mapper

259 blkext

 

sudo dmesg|grep mrf

[  508.671574] mrf: loading out-of-tree module taints kernel.

[  508.671603] mrf: module verification failed: signature and/or required key missing - tainting kernel

 

 

I have also tried uninstalling the mrfioc2 version and installing Jukka’s driver (https://github.com/jpietari/mrf-linux-driver) after some small modifications for the deprecation of HAS_UNLOCKED_IOCTL and ioremap_nocache, the module builds successfully but the module_load script also indicates it doesn’t see any EVGs/EVRs.

 

In both cases, the device files /dev/uio* or /dev/era* are not installed, and the output of lspci is as follows:

 

sudo lspci -vv -nn -s 07:0f.0

07:0f.0 Signal processing controller [1180]: Micro-Research Finland Oy Device [1a3e:150c] (rev 01)

     Subsystem: Micro-Research Finland Oy Device [1a3e:150c]

     Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-

     Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort+ <TAbort- <MAbort- >SERR- <PERR- INTx-

     Interrupt: pin A routed to IRQ 255

     IOMMU group: 15

     Region 0: Memory at a1000000 (32-bit, non-prefetchable) [disabled] [size=1M]

     Capabilities: [40] Null

 

 

sudo lspci -vv -nn -s 07:0e.0

07:0e.0 Signal processing controller [1180]: Micro-Research Finland Oy Device [1a3e:250c] (rev 01)

     Subsystem: Micro-Research Finland Oy Device [1a3e:250c]

     Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-

     Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort+ <TAbort- <MAbort- >SERR- <PERR- INTx-

     Interrupt: pin A routed to IRQ 255

     IOMMU group: 15

     Region 0: Memory at a1100000 (32-bit, non-prefetchable) [disabled] [size=1M]

     Capabilities: [40] Null

 

 

I’ve tried with multiple cards, including some known to be working on older installations and hardware. Is there something I’m missing?

 

Thanks,

Evan

 



--
Jeong Han Lee, Dr.rer.nat.
Lawrence Berkeley National Laboratory


--
Jeong Han Lee, Dr.rer.nat.
Lawrence Berkeley National Laboratory

Replies:
Re: MRF kernel modules not seeing hardware Daykin, Evan via Tech-talk
References:
MRF kernel modules not seeing hardware Daykin, Evan via Tech-talk
Re: MRF kernel modules not seeing hardware Han Lee via Tech-talk

Navigate by Date:
Prev: Re: MRF kernel modules not seeing hardware Han Lee via Tech-talk
Next: archiver appliance and CA -> PVA Pierrick M Hanlet 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  <2025
Navigate by Thread:
Prev: Re: MRF kernel modules not seeing hardware Han Lee via Tech-talk
Next: Re: MRF kernel modules not seeing hardware Daykin, Evan 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  <2025