[clug] Need DVB drivers on CentOS 9 - custom kernel compile fails

Paul Wayper paulway at mabula.net
Sat Nov 19 22:44:16 UTC 2022


Hi all,

I've reached the end of this particular rabbit-hole so I've come to ask the 
CLUG people for ideas :-)

After a power failure while doing a kernel rebuild adgered my boot setup on 
CentOS 7, I decided to upgrade to CentOS 9 - an upgrade I've been putting off 
for a while.  This also solved an annoying problem that my DMRAID devices 
didn't come up when booting and had to be modprobe'd and mdadm --assemble'd 
manually on boot, so that's kind of a win.

Unfortunately one of the things that seems to be missing in the new system is 
DVB drivers.  I've got a Hauppauge NovaT 500 USB stick connected:

# lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 002: ID 2040:5200 Hauppauge NovaT 500Stick
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 09da:054f A4Tech Co., Ltd. USB Device
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

but none of the DVB drivers are loaded:

# lsmod | grep dvb
#

and almost no kernel modules compared to my old CentOS 7 install:

# find /lib/modules/6.0.9-1.el9.elrepo.x86_64/ -name dvb\*.ko\* | wc -l
1
# find /mnt/oldroot/lib/modules/3.10.0-862.14.4.el7.x86_64/ -name dvb\*.ko\* | 
wc -l
44

DNF knows no package that provides the module I think I need:

# dnf repolist
repo id                                         repo name
appstream                                       CentOS Stream 9 - AppStream
baseos                                          CentOS Stream 9 - BaseOS
crb                                             CentOS Stream 9 - CRB
elrepo                                          ELRepo.org Community 
Enterprise Linux Repository - el9
epel                                            Extra Packages for Enterprise 
Linux 9 - x86_64
epel-next                                       Extra Packages for Enterprise 
Linux 9 - Next - x86_64
extras-common                                   CentOS Stream 9 - Extras packages
influxdb                                        InfluxDB Repository - RHEL 9
rpmfusion-free-updates                          RPM Fusion for EL 9 - Free - 
Updates
# dnf provides \*/dvb-usb-nova-t-usb2.ko.xz
Last metadata expiration check: 1:55:06 ago on Sun 20 Nov 2022 07:39:05.
Error: No matches found. If searching for a file, try specifying the full path 
or using a wildcard prefix ("*/") at the beginning.

So the next tunnel in the rabbit-hole is trying to compile my own kernel with 
the DVB bits turned on.  I'm using the 6.0.5 kernel, and I've compiled 
everything.  But when I try to do `make modules_install` I get an error:

# make && make modules_install
   CALL    scripts/checksyscalls.sh
   CALL    scripts/atomic/check-atomics.sh
   DESCEND objtool
   DESCEND bpf/resolve_btfids
   CHK     include/generated/compile.h
   CHK     kernel/kheaders_data.tar.xz
   TEST    posttest
arch/x86/tools/insn_decoder_test: success: Decoded and checked 7209111 
instructions
   TEST    posttest
arch/x86/tools/insn_sanity: Success: decoded and checked 1000000 random 
instructions with 0 errors (seed:0xd62e389a)
Kernel: arch/x86/boot/bzImage is ready  (#4)
   INSTALL /lib/modules/6.0.5/kernel/arch/x86/crypto/blowfish-x86_64.ko
   SIGN /lib/modules/6.0.5/kernel/arch/x86/crypto/blowfish-x86_64.ko
At main.c:170:
- SSL error:1E08010C:DECODER routines::unsupported: 
crypto/encode_decode/decoder_lib.c:101
sign-file: ./
make[1]: *** [scripts/Makefile.modinst:83: 
/lib/modules/6.0.5/kernel/arch/x86/crypto/blowfish-x86_64.ko] Error 1
make[1]: *** Deleting file 
'/lib/modules/6.0.5/kernel/arch/x86/crypto/blowfish-x86_64.ko'
make: *** [Makefile:1777: modules_install] Error 2

What am I doing wrong, how do I fix it, and is this the best way of fixing my 
original problem?

Thanks in advance,

Paul


More information about the linux mailing list