Compile not working in Ubuntu with kernel 4.13.0-36-generic
-
- Posts: 9
- Joined: Mon Feb 26, 2018 7:42 am
- Location:
-
HTPC Specs:
Compile not working in Ubuntu with kernel 4.13.0-36-generic
When I download the files at https://github.com/JamesRHarris/infinitv_pcie into a local directory, running make fails. Anybody have any better luck compiling with current kernels? I am running Mythbuntu 16.04.3 LTS (Xenial Xerus) with Mythtv 0.29.
dvr@dvr:~$ cd /home/dvr/Downloads/infinitv_pcie-master/
dvr@dvr:~/Downloads/infinitv_pcie-master$ ls -l
total 216
-rw-rw-r-- 1 dvr dvr 80 Jun 20 2017 98-ctn91xx.rules
-rw-rw-r-- 1 dvr dvr 6879 Jun 20 2017 ctn91xx_driver.c
-rw-rw-r-- 1 dvr dvr 527 Jun 20 2017 ctn91xx_driver.h
-rw-rw-r-- 1 dvr dvr 8920 Jun 20 2017 ctn91xx_event.c
-rw-rw-r-- 1 dvr dvr 1337 Jun 20 2017 ctn91xx_event.h
-rw-rw-r-- 1 dvr dvr 4739 Jun 20 2017 ctn91xx.h
-rw-rw-r-- 1 dvr dvr 10241 Jun 20 2017 ctn91xx_interrupt.c
-rw-rw-r-- 1 dvr dvr 709 Jun 20 2017 ctn91xx_interrupt.h
-rw-rw-r-- 1 dvr dvr 1594 Jun 20 2017 ctn91xx_ioctl.c
-rw-rw-r-- 1 dvr dvr 4056 Jun 20 2017 ctn91xx_ioctl.h
-rw-rw-r-- 1 dvr dvr 1220 Jun 20 2017 ctn91xx_kal.h
-rw-rw-r-- 1 dvr dvr 44140 Jun 20 2017 ctn91xx_mpeg.c
-rw-rw-r-- 1 dvr dvr 1944 Jun 20 2017 ctn91xx_mpeg.h
-rw-rw-r-- 1 dvr dvr 9154 Jun 20 2017 ctn91xx_net.c
-rw-rw-r-- 1 dvr dvr 389 Jun 20 2017 ctn91xx_net.h
-rw-rw-r-- 1 dvr dvr 7773 Jun 20 2017 ctn91xx_pci.c
-rw-rw-r-- 1 dvr dvr 135 Jun 20 2017 ctn91xx_pci.h
-rw-rw-r-- 1 dvr dvr 5418 Jun 20 2017 ctn91xx_registers.h
-rw-rw-r-- 1 dvr dvr 3939 Jun 20 2017 ctn91xx_reset.c
-rw-rw-r-- 1 dvr dvr 164 Jun 20 2017 ctn91xx_reset.h
-rw-rw-r-- 1 dvr dvr 3339 Jun 20 2017 ctn91xx_rpc.c
-rw-rw-r-- 1 dvr dvr 218 Jun 20 2017 ctn91xx_rpc.h
-rw-rw-r-- 1 dvr dvr 6751 Jun 20 2017 ctn91xx_rtp.c
-rw-rw-r-- 1 dvr dvr 985 Jun 20 2017 ctn91xx_rtp.h
-rw-rw-r-- 1 dvr dvr 6266 Jun 20 2017 ctn91xx_structs.h
-rw-rw-r-- 1 dvr dvr 14708 Jun 20 2017 ctn91xx_util.c
-rw-rw-r-- 1 dvr dvr 2784 Jun 20 2017 ctn91xx_util.h
-rw-rw-r-- 1 dvr dvr 1406 Jun 20 2017 Makefile
-rw-rw-r-- 1 dvr dvr 1659 Jun 20 2017 README
dvr@dvr:~/Downloads/infinitv_pcie-master$ sudo make install
[sudo] password for dvr:
Installing ctn91xx driver...
make[1]: Entering directory '/usr/src/linux-headers-4.13.0-36-generic'
INSTALL /home/dvr/Downloads/infinitv_pcie-master/ctn91xx.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
DEPMOD 4.13.0-36-generic
make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-36-generic'
cp 98-ctn91xx.rules /etc/udev/rules.d/
/sbin/depmod -a
dvr@dvr:~$ cd /home/dvr/Downloads/infinitv_pcie-master/
dvr@dvr:~/Downloads/infinitv_pcie-master$ ls -l
total 216
-rw-rw-r-- 1 dvr dvr 80 Jun 20 2017 98-ctn91xx.rules
-rw-rw-r-- 1 dvr dvr 6879 Jun 20 2017 ctn91xx_driver.c
-rw-rw-r-- 1 dvr dvr 527 Jun 20 2017 ctn91xx_driver.h
-rw-rw-r-- 1 dvr dvr 8920 Jun 20 2017 ctn91xx_event.c
-rw-rw-r-- 1 dvr dvr 1337 Jun 20 2017 ctn91xx_event.h
-rw-rw-r-- 1 dvr dvr 4739 Jun 20 2017 ctn91xx.h
-rw-rw-r-- 1 dvr dvr 10241 Jun 20 2017 ctn91xx_interrupt.c
-rw-rw-r-- 1 dvr dvr 709 Jun 20 2017 ctn91xx_interrupt.h
-rw-rw-r-- 1 dvr dvr 1594 Jun 20 2017 ctn91xx_ioctl.c
-rw-rw-r-- 1 dvr dvr 4056 Jun 20 2017 ctn91xx_ioctl.h
-rw-rw-r-- 1 dvr dvr 1220 Jun 20 2017 ctn91xx_kal.h
-rw-rw-r-- 1 dvr dvr 44140 Jun 20 2017 ctn91xx_mpeg.c
-rw-rw-r-- 1 dvr dvr 1944 Jun 20 2017 ctn91xx_mpeg.h
-rw-rw-r-- 1 dvr dvr 9154 Jun 20 2017 ctn91xx_net.c
-rw-rw-r-- 1 dvr dvr 389 Jun 20 2017 ctn91xx_net.h
-rw-rw-r-- 1 dvr dvr 7773 Jun 20 2017 ctn91xx_pci.c
-rw-rw-r-- 1 dvr dvr 135 Jun 20 2017 ctn91xx_pci.h
-rw-rw-r-- 1 dvr dvr 5418 Jun 20 2017 ctn91xx_registers.h
-rw-rw-r-- 1 dvr dvr 3939 Jun 20 2017 ctn91xx_reset.c
-rw-rw-r-- 1 dvr dvr 164 Jun 20 2017 ctn91xx_reset.h
-rw-rw-r-- 1 dvr dvr 3339 Jun 20 2017 ctn91xx_rpc.c
-rw-rw-r-- 1 dvr dvr 218 Jun 20 2017 ctn91xx_rpc.h
-rw-rw-r-- 1 dvr dvr 6751 Jun 20 2017 ctn91xx_rtp.c
-rw-rw-r-- 1 dvr dvr 985 Jun 20 2017 ctn91xx_rtp.h
-rw-rw-r-- 1 dvr dvr 6266 Jun 20 2017 ctn91xx_structs.h
-rw-rw-r-- 1 dvr dvr 14708 Jun 20 2017 ctn91xx_util.c
-rw-rw-r-- 1 dvr dvr 2784 Jun 20 2017 ctn91xx_util.h
-rw-rw-r-- 1 dvr dvr 1406 Jun 20 2017 Makefile
-rw-rw-r-- 1 dvr dvr 1659 Jun 20 2017 README
dvr@dvr:~/Downloads/infinitv_pcie-master$ sudo make install
[sudo] password for dvr:
Installing ctn91xx driver...
make[1]: Entering directory '/usr/src/linux-headers-4.13.0-36-generic'
INSTALL /home/dvr/Downloads/infinitv_pcie-master/ctn91xx.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
DEPMOD 4.13.0-36-generic
make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-36-generic'
cp 98-ctn91xx.rules /etc/udev/rules.d/
/sbin/depmod -a
- Crash2009
- Posts: 4357
- Joined: Thu May 17, 2012 12:38 am
- Location: Ann Arbor, Michigan
-
HTPC Specs:
-
- Posts: 9
- Joined: Mon Feb 26, 2018 7:42 am
- Location:
-
HTPC Specs:
No. The Change Log on the Ceton page http://cetoncorp.com/infinitv_support/l ... hange_log/ referenced in that post states that the latest kernel supported is 3.8. On the other hand, the README at the github site states that some files have been revised to allow the driver to compile under kernel 4.11.
I suppose what I'll have to do is reinstall Mythbuntu, update to kernel 4.11, install the InfiniTV 4 drivers, and never update the kernel again.
I suppose what I'll have to do is reinstall Mythbuntu, update to kernel 4.11, install the InfiniTV 4 drivers, and never update the kernel again.
- Crash2009
- Posts: 4357
- Joined: Thu May 17, 2012 12:38 am
- Location: Ann Arbor, Michigan
-
HTPC Specs:
I couldn't find the Delete Post button
- Crash2009
- Posts: 4357
- Joined: Thu May 17, 2012 12:38 am
- Location: Ann Arbor, Michigan
-
HTPC Specs:
This one stalled in the same place as yours. ctn91xx.ko
https://www.linux.org/threads/install-d ... oob.10999/
Code: Select all
Installing ctn91xx driver...
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-43-generic'
INSTALL /home/zamily84/Downloads/ceton_infinitv_linux_driver/ctn91xx.ko
Can't read private key
DEPMOD 3.13.0-43-generic
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-43-generic'
cp 98-ctn91xx.rules /etc/udev/rules.d/
/sbin/depmod -a 3.13.0-43-generic
- Crash2009
- Posts: 4357
- Joined: Thu May 17, 2012 12:38 am
- Location: Ann Arbor, Michigan
-
HTPC Specs:
Cetonj Driver modified for Linux with support for Kernel 4.11
https://github.com/JamesRHarris/infinitv_pcie
Edit: I just noticed...this is the same link as yours in the first post.
https://github.com/JamesRHarris/infinitv_pcie
Edit: I just noticed...this is the same link as yours in the first post.
- Attachments
-
- infinitv_pcie-master.zip
- (40.75 KiB) Downloaded 27 times
-
- Posts: 2
- Joined: Tue Nov 11, 2014 7:33 am
- Location:
-
HTPC Specs:
You saved my bacon. I think I Love you.
- Crash2009
- Posts: 4357
- Joined: Thu May 17, 2012 12:38 am
- Location: Ann Arbor, Michigan
-
HTPC Specs:
Thanks, this was a challenging puzzle. Nice to know I finally solved one.fbacher wrote:You saved my bacon. I think I Love you.
https://youtu.be/AMFMf9cN64U
-
- Posts: 9
- Joined: Mon Feb 26, 2018 7:42 am
- Location:
-
HTPC Specs:
It was a pain, but I am now running Kernel 4.11.14. I just tried compiling but got the same error. Did James. R. Harris's revisions work for you?Crash2009 wrote:Cetonj Driver modified for Linux with support for Kernel 4.11
https://github.com/JamesRHarris/infinitv_pcie
Edit: I just noticed...this is the same link as yours in the first post.
Code: Select all
dvr@dvr:~/Downloads/infinitv_pcie-master$ sudo make install
Installing ctn91xx driver...
make[1]: Entering directory '/usr/src/linux-headers-4.11.0-14-lowlatency'
INSTALL /home/dvr/Downloads/infinitv_pcie-master/ctn91xx.ko
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
DEPMOD 4.11.0-14-lowlatency
make[1]: Leaving directory '/usr/src/linux-headers-4.11.0-14-lowlatency'
cp 98-ctn91xx.rules /etc/udev/rules.d/
/sbin/depmod -a
-
- Posts: 9
- Joined: Mon Feb 26, 2018 7:42 am
- Location:
-
HTPC Specs:
I now have the InfiniTV 4 working with kernel 4.13.0-36-generic using dkms based on Karl_Shea's comment here:Crash2009 wrote:This one stalled in the same place as yours. ctn91xx.ko
https://ubuntuforums.org/showthread.php ... st13350770.
Here's the procedure:
Go to https://github.com/JamesRHarris/infinitv_pcie and click on 'Clone or download' to create a zip file of the driver files dated June 20, 2017. Extract the files into a new folder /usr/src/ctn91xx-2017/
Create /usr/src/ctn91xx-2017/dkms.conf:
Code: Select all
MAKE="make"
CLEAN="make clean"
BUILT_MODULE_NAME=ctn91xx
DEST_MODULE_LOCATION=/extra/
BUILT_MODULE_LOCATION=
PACKAGE_NAME=ctn91xx
PACKAGE_VERSION=2017
AUTOINSTALL=yes
REMAKE_INITRD=yes
Code: Select all
$ ifconfig -a
$ cd /usr/src/ctn91xx-2017/
$ sudo dkms add -m ctn91xx -v 2017
$ sudo dkms build -m ctn91xx -v 2017
$ sudo dkms install -m ctn91xx -v 2017
$ ifconfig -a
Run
Code: Select all
ifconfig -a
With the InfiniTV card inserted and the CableCard paired, run
Code: Select all
cat /dev/ceton/ctn91xx_mpeg0_0 | mplayer -cache 8192 -
Proceed to set up the card in MythTV using the instructions here:
https://www.mythtv.org/wiki/Ceton_Infin ... ing_MythTV.
Enjoy.
-
- Posts: 9
- Joined: Mon Feb 26, 2018 7:42 am
- Location:
-
HTPC Specs:
After the dkms install step, I forgot to insert
Code: Select all
sudo modprobe ctn91xx
-
- Posts: 9
- Joined: Mon Feb 26, 2018 7:42 am
- Location:
-
HTPC Specs:
Karl_Shea observes that in order to get dkms.conf to build against the kernel version that's getting installed instead of the current version, the MAKE line should read:
https://ubuntuforums.org/showthread.php ... st13355816
Code: Select all
MAKE="make KERNEL_VERSION=${kernelver}"
CLEAN="make clean"
BUILT_MODULE_NAME=ctn91xx
DEST_MODULE_LOCATION=/extra/
BUILT_MODULE_LOCATION=
PACKAGE_NAME=ctn91xx
PACKAGE_VERSION=2017
AUTOINSTALL=yes
REMAKE_INITRD=yes