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 136 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
-
- Posts: 93
- Joined: Wed Feb 12, 2014 8:12 pm
- Location:
-
HTPC Specs:
Know old thread so probably won't be answered but I just compiled this on ProxMox to try and run an InfiniTV 4 on the virtual server and have Windows MCE access it thru it's network IP. Thought may work better than continuing to try and do a passthrough. I have it compiled and seems to show
dmesg | grep ctn
[ 6.958349] ctn91xx 0000:02:00.0: enabling device (0000 -> 0002)
[ 6.958454] ctn91xx_register:74 : (0) IO hw_reg_base address: ec200000
[ 6.958456] ctn91xx_register:75 : (0) reg_base: 00000000527ee866
[ 6.958459] ctn91xx_register:83 : (0) IO translation_hw_reg_base address: ec220000
[ 6.958460] ctn91xx_register:84 : (0) translation_reg_base: 000000006658ea6a
[ 6.958462] ctn91xx_register:111 : (0) system clock freq 100000000, ticks per us 100
[ 6.958467] ctn91xx_register:140 : (0) face detected as present
[ 6.958469] ctn91xx_reset_all:102 : (0) reset all
[ 6.960577] ctn91xx_register:175 : (0) Driver initialization successful for CTN-9120 v6210
[ 6.964134] ctn91xx_register:198 : (0) irq: 170
[ 7.003277] ctn91xx 0000:02:00.0 enp2s0: renamed from ctn0
I create a entry for enp2s0 with an ip of 192.168.200.200/24 and can ping the address but going to http://192.168.200.200 is refused. I don't see port 80 open only when I do a nmap against 192.168.200.200 I only get back 111/udp is open.
dmesg | grep ctn
[ 6.958349] ctn91xx 0000:02:00.0: enabling device (0000 -> 0002)
[ 6.958454] ctn91xx_register:74 : (0) IO hw_reg_base address: ec200000
[ 6.958456] ctn91xx_register:75 : (0) reg_base: 00000000527ee866
[ 6.958459] ctn91xx_register:83 : (0) IO translation_hw_reg_base address: ec220000
[ 6.958460] ctn91xx_register:84 : (0) translation_reg_base: 000000006658ea6a
[ 6.958462] ctn91xx_register:111 : (0) system clock freq 100000000, ticks per us 100
[ 6.958467] ctn91xx_register:140 : (0) face detected as present
[ 6.958469] ctn91xx_reset_all:102 : (0) reset all
[ 6.960577] ctn91xx_register:175 : (0) Driver initialization successful for CTN-9120 v6210
[ 6.964134] ctn91xx_register:198 : (0) irq: 170
[ 7.003277] ctn91xx 0000:02:00.0 enp2s0: renamed from ctn0
I create a entry for enp2s0 with an ip of 192.168.200.200/24 and can ping the address but going to http://192.168.200.200 is refused. I don't see port 80 open only when I do a nmap against 192.168.200.200 I only get back 111/udp is open.
-
- Posts: 2
- Joined: Sun Jan 08, 2023 12:38 am
- Location:
-
HTPC Specs:
Total noob here, but I'm attempting to do the exact same thing as you. Have you figured this out yet? Port 80 is actually open at http://192.168.200.1.jriker1 wrote: ↑Wed Dec 21, 2022 4:56 amI create a entry for enp2s0 with an ip of 192.168.200.200/24 and can ping the address but going to http://192.168.200.200 is refused. I don't see port 80 open only when I do a nmap against 192.168.200.200 I only get back 111/udp is open.
While I'm able to get my InfiniTV4 to scan channels via https://fhdhr.github.io/fHDHR_Docs/, I still haven't been able to stream videos with it.
On a separate note, could you please take a look at https://forum.proxmox.com/threads/cant- ... sa.120629/ and see if you have any ideas on what's going on? I was trying to passthrough the card's network interfaces to a container, but failed so I'm running everything on the host right now. I would love to figure out how to do this in a container instead.
-
- Posts: 93
- Joined: Wed Feb 12, 2014 8:12 pm
- Location:
-
HTPC Specs:
I eventually called it a day. Nothing made sense why it wasn't working yet everything seemed like it should. I ended up picking up an HD HomeRun and network running that instead. The passthru and compiling of drivers wasn't worth it after as much time as I researched the little that was out there.
-
- Posts: 2
- Joined: Sun Jan 08, 2023 12:38 am
- Location:
-
HTPC Specs:
Glad to hear you got it up and running. I was able to get mine up - apparently, it took like 20+ secs to tune into a channel with Emby - so I just had to wait a bit for it to load. Still wasn't able to run it from a container, so like you, I bought a HD HomeRun Prime instead.jriker1 wrote: ↑Tue Mar 14, 2023 1:46 pmI eventually called it a day. Nothing made sense why it wasn't working yet everything seemed like it should. I ended up picking up an HD HomeRun and network running that instead. The passthru and compiling of drivers wasn't worth it after as much time as I researched the little that was out there.
That brought on another set of issues. I had to hard-wire into my server and reconfigure its network settings since HDHR Prime was stealing the 1st configured network interface, and then deal with my cable company to re-activate my CableCard cause it stopped working after I swapped it from the Ceton. It still takes a few secs to tune into a channel on Emby, but tolerable.
By the way, what software stack are you using for live TV nowadays?