Linux Driver Build CX23885 on RedHat style systems FIXED
Posted: Mon Jun 21, 2021 8:57 pm
Hi All,
First post here, but I'm a long term Linux user. Jack at TBS kindly help me to compile the driver for a TBS6902.
This is on a system with a clone of Red Hat EL 8.4 with Kernel 4.18
However the machine also contains a Hauppauge DVB-T card with a CX23885 chip. With the standard set of kernel driver modules, as provided by the Linux distribution, the DVB-T card driver loads just fine. As expected the TBS-6902 doesn't.
With the TBS driver tree I get this error in dmesg
cx23885: disagrees about version of symbol altera_init
cx23885: Unknown symbol altera_init (err -22)
I saw a post elsewhere that this can be caused by duplicate modules, one old and another new. On search I found that there are two versions of the altera-stapl driver in /lib/modules/4.18.0-305.el8.x86_64/kernel/drivers/misc/altera-stapl/ one called altera-stapl.ko.xz from the original distribution and a new one called altera-stapl.ko from the build of the TBS version of the v4l tree. Removing the old driver version fixed the issue.
I don't know how common it is for distributions to store drivers in .ko.xz format. I'm only familiar with RedHat derived systems.
Hope this might be helpful to someone.
Ken
First post here, but I'm a long term Linux user. Jack at TBS kindly help me to compile the driver for a TBS6902.
This is on a system with a clone of Red Hat EL 8.4 with Kernel 4.18
However the machine also contains a Hauppauge DVB-T card with a CX23885 chip. With the standard set of kernel driver modules, as provided by the Linux distribution, the DVB-T card driver loads just fine. As expected the TBS-6902 doesn't.
With the TBS driver tree I get this error in dmesg
cx23885: disagrees about version of symbol altera_init
cx23885: Unknown symbol altera_init (err -22)
I saw a post elsewhere that this can be caused by duplicate modules, one old and another new. On search I found that there are two versions of the altera-stapl driver in /lib/modules/4.18.0-305.el8.x86_64/kernel/drivers/misc/altera-stapl/ one called altera-stapl.ko.xz from the original distribution and a new one called altera-stapl.ko from the build of the TBS version of the v4l tree. Removing the old driver version fixed the issue.
I don't know how common it is for distributions to store drivers in .ko.xz format. I'm only familiar with RedHat derived systems.
Hope this might be helpful to someone.
Ken