Re: [comedi] install error of comedi on rhel9

Ian Abbott <[email protected]> Tue, 24 Jun 2025 18:49:21 +0100
Newsgroups gmane.linux.comedi
Organization MEV Ltd.
Message-ID <[email protected]>
On 20/06/2025 22:32, A Asraoui wrote:
> thank you Ian for checking on this , when do we get the updated version=
=20
> with the fix ..

I haven't fixed it yet, but the modules should get installed despite the=20
SSL signing errors.  The kernel should be able to load the modules=20
unless it is built with the CONFIG_MODULE_SIG_FORCE option, or the=20
module.sig_enforce kernel command line parameter is set, or secure boot=20
is enabled.

Note that due to a recently fixed kernel memory corruption bug, be sure=20
to use the latest sources at the time of this email, or later.

Cheers,
Ian

> On Friday, June 20, 2025 at 4:07:44=E2=80=AFAM UTC-7 Ian Abbott wrote:
>=20
>     On 16/06/2025 15:24, A Asraoui wrote:
>      > hi,
>      > Running into ssl error during the install of comedi and wondering =
if
>      > this is a known problem in rhel9
>      > thanks!
>      > ./autogen.sh
>      > make
>      > make install
>      > make entering dir "/usr/local/comedi'
>      >
>      > make -I /usr/local/comedi/comedi -C /lib/modules/..../build M=3D/u=
sr/
>      > local/comedi/comedi \
>      > =C2=A0 =C2=A0 =C2=A0 INSTALL_MOD_DIR=3Dcomedi \
>      > =C2=A0 =C2=A0 =C2=A0 INSTALL_MOD_PATH=3D"/" modules_install
>      > make[4]: Entering directory '/usr/src/linix-xxxx
>      > =C2=A0 INSTALL //lib/modules/xxxx/comedit/comedi/comedi.ko
>      > =C2=A0 STRIP //lib/modules/xxxx/comedit/comedi/comedi.ko
>      > =C2=A0 SIGN //lib.modules/xxx/comedi/comedi.ko
>      > At main.c:171
>      > -SSL error: Fxxxx:system library: No such file or directory: crypt=
o/
>      > bios/bss_file.c:67
>      > -SSL_error:1xxxxx:BIO routines::no such file: crypto:/bio/
>     bss_file.c:75
>      > sign-file: ./certs/signing_key.pem
>=20
>     I can reproduce it. It's under investigation. I think the eventual
>     solution will involve using "akmods" to sign the modules.
>=20
>     In the meantime, I have fixed a problem with comedi failing to build
>     for
>     later versions of Red Hat's 5.14 kernels due to Red Hat back-porting
>     API
>     changes to the class_create() function from the mainline 6.4 kernel.
>     This broke Comedi's kernel compatibility wrapper code for this
>     function.

--=20
-=3D( Ian Abbott <[email protected]> || MEV Ltd. is a company  )=3D-
-=3D( registered in England & Wales.  Regd. number: 02862268.  )=3D-
-=3D( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=3D-
-=3D( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || www.mev.co.uk )=3D-

--=20
You received this message because you are subscribed to the Google Groups "=
Comedi: Linux Control and Measurement Device Interface" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/comedi_list=
/2577b9b1-873c-4e8e-a2aa-0e371cadc675%40mev.co.uk.