Moderator Control Panel ]

Red Hat Enterprise Linux 9.3 driver installation guide(5.14)

It's important to keep your driver and software updated.

Red Hat Enterprise Linux 9.3 driver installation guide(5.14)

Postby Delta » Sun Dec 24, 2023 9:42 pm

In later 2023, Red Hat has released its latest operating system, Red Hat Enterprise Linux 9.3. I have told Steven to publish an updated version of the offline driver installation package to suit the operating system. (Thanks Steven!)

Red Hat Enterprise Linux (RHEL) is the original edition of CentOS, one of the world's most popular Linux distribution operating system. Currently CentOS has been replaced by AlmaLinux and Rocky Linux. Again, we would like to write a tutorial for beginners to guarantee successful driver installations on RHEL, AlmaLinux and Rocky Linux 9.3.

We have summarized some general considerations when using TBS drivers on a Linux PC:
1. UEFI secure boot must be turned off. This is because when UEFI secure boot is on, the Linux kernel verifies driver signatures that are not present in the TBS drivers source code.
2. You are not supposed to change your Linux kernel version once your driver installation begins. The drivers only apply to the Linux kernel version at the time of installation. Therefore, once you have successfully installed the drivers, please do not upgrade the kernel/OS.
3. You may want to keep everything available offline for future OS and driver installations. (i.e. RHEL 9.3 ISO, the perl-Proc-ProcessTable RPM package, and the TBS offline drivers archive.)

To install the drivers, do the following steps with the root user.

Step 1, install the tools and packages required to compile the TBS drivers.

dnf install curl tar zip bzip2 gcc kernel-devel perl perl-devel perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker patchutils patch
rpm -i https://dl.fedoraproject.org/pub/epel/9/Everything/x86_64/Packages/p/perl-Proc-ProcessTable-0.634-1.el9.x86_64.rpm

Step 2, download the latest version of the driver package from the TBS official website. Do not attempt to use other driver versions, please use version V20230829.

curl -O https://www.tbsiptv.com/download/common/tbs-open-linux-drivers_v20230829.zip
unzip tbs-open-linux-drivers_v20230829.zip
tar jxvf media_build-2023-08-29.tar.bz2

Step 3, make some patch modifications. The thing is, Red Hat autonomously maintains its own Linux kernel. It brings many newer kernel features into its older kernel version. This will lead to many kernel features such as those in 6.x appearing in Red Hat's 5.14 kernel. This is precisely why the compilation will fail if you attempt to directly use the automated scripts.

rm ./media_build/backports/v6.1_class.patch
rm ./media_build/backports/v5.18_rc.patch
rm ./media_build/backports/v5.17_iosys.patch
rm ./media_build/backports/v5.14_bus_void_return.patch

Step 4, compile the drivers with the given commands. Do not attempt to use "install.sh", it doesn't work properly.

cd media_build
./patch-kernel.sh
make -j8
make install

During the "make install" process, you will see many filenames with ".ko" extension taking up the screen/shell. If not, your compilation is failed and you need to start from scratch. Unexpected failure at any stage will require deletion of all files and to start the installation process over.

Finally, you will find your device in the /dev/dvb directory after restarting the PC.

Merry Christmas!
Delta
 
Posts: 11
Joined: Mon Oct 10, 2022 9:57 pm

Re: Red Hat Enterprise Linux 9.3 driver installation guide(5

Postby steven » Wed Jan 03, 2024 5:59 pm

Happy new year, thanks for sharing :D
steven
 
Posts: 2239
Joined: Fri Aug 06, 2010 3:23 pm

Re: Red Hat Enterprise Linux 9.3 driver installation guide(5

Postby padams2002 » Sun Apr 14, 2024 8:21 pm

Hi,

I have been following this guide to install the tbs drivers on RHEL 9.3. Kernel 5.14.0-362.8.1.el9_3.x86_64

Unfortunately i keep getting file not found errors after running: make -j8

Can anyone help?


Code: Select All Code
[root@tvserver media_build]# make -j8
make -C /root/media_build/v4l
make[1]: Entering directory '/root/media_build/v4l'
No version yet, using 5.14.0-362.8.1.el9_3.x86_64
scripts/make_makefile.pl
Updating/Creating .config
make[2]: Entering directory '/root/media_build/linux'
make[2]: Entering directory '/root/media_build/linux'
Syncing with dir ../../media
Can't find ../../media/Makefile at ./use_dir.pl line 287.
make[2]: *** [Makefile:134: apply_patches] Error 2
make[2]: Leaving directory '/root/media_build/linux'
Syncing with dir ../../media
Can't find ../../media/Makefile at ./use_dir.pl line 287.
make[2]: *** [Makefile:134: apply_patches] Error 2
make[2]: Leaving directory '/root/media_build/linux'
Preparing to compile for kernel version 5.14.0
File not found: /lib/modules/5.14.0-362.8.1.el9_3.x86_64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
Updating/Creating .config
make[2]: Entering directory '/root/media_build/linux'
make[2]: Entering directory '/root/media_build/linux'
Syncing with dir ../../media
Can't find ../../media/Makefile at ./use_dir.pl line 287.
make[2]: *** [Makefile:134: apply_patches] Error 2
make[2]: Leaving directory '/root/media_build/linux'
Syncing with dir ../../media
Can't find ../../media/Makefile at ./use_dir.pl line 287.
make[2]: *** [Makefile:134: apply_patches] Error 2
make[2]: Leaving directory '/root/media_build/linux'
Preparing to compile for kernel version 5.14.0
File not found: /lib/modules/5.14.0-362.8.1.el9_3.x86_64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
make[1]: *** No rule to make target '.config', needed by '.myconfig'.  Stop.
make[1]: Leaving directory '/root/media_build/v4l'
make: *** [Makefile:26: all] Error 2
padams2002
 
Posts: 1
Joined: Mon Nov 02, 2015 2:58 am

Re: Red Hat Enterprise Linux 9.3 driver installation guide(5

Postby zhangchao » Fri Apr 19, 2024 10:02 am

hi,

File not found: /lib/modules/5.14.0-362.8.1.el9_3.x86_64/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
this error means kernel header files is lost , first to install kernel header files .
you can add skype jack_2431 if also has issue .

best regards!
zhangchao
 
Posts: 96
Joined: Thu Jan 17, 2013 4:59 pm


Return to Driver & Software Update

Who is online

Users browsing this forum: No registered users and 41 guests