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

Stephen Gibson Stephen.Gibson at anu.edu.au
Sun Nov 20 00:36:40 UTC 2022


Hi Paul,
                   Do you have the Hauppauge NovaT 500Stick firmware file placed in /usr/lib/firmware   ?

My Mythtv system uses /usr/lib/firmware/dvb-usb-af9015.fw for a Leadtek DVB.

Notes:
[HTPC:/home/stg121]$ lsusb
Bus 002 Device 003: ID 045e:0800 Microsoft Corp. Wireless keyboard (All-in-One-Media)
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0413:6a04 Leadtek Research, Inc. DVB-T 2
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0413:6a04 Leadtek Research, Inc. DVB-T 2
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[HTPC:/home/stg121]$ lsmod | grep dvb
dvb_usb_af9015 45056 45
dvb_usb_v2 49152 1 dvb_usb_af9015
dvb_core 151552 3 af9013,dvb_usb_v2,dvb_usb_af9015
mc 65536 2 dvb_usb_v2,dvb_core
rc_core 65536 6 dvb_usb_v2,rc_leadtek_y04g0051,cec,dvb_usb_af9015


Steve

On Sun, 2022-11-20 at 09:44 +1100, Paul Wayper via linux wrote:
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