Tilator Posted December 16, 2017 Posted December 16, 2017 Tvheadend does not install in 5.35 version Debian. It misses at least one library.
Igor Posted December 16, 2017 Posted December 16, 2017 If you used our installer, then do this: sudo apt update sudo apt install tvheadend and paste what you get and remember to paste URL from armbianmonitor -u since without this, a problem does not exist.
Tilator Posted December 16, 2017 Author Posted December 16, 2017 Result: Get:88 http://cdn-fastly.deb.debian.org/debian stretch/non-free armhf Contents (deb) [735 kB] Fetched 45.2 MB in 2min 11s (343 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 19 packages can be upgraded. Run 'apt list --upgradable' to see them. root@cubietruck:~# apt install tvheadend Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package tvheadend root@cubietruck:~#
Tilator Posted December 16, 2017 Author Posted December 16, 2017 More info: root@cubietruck:~# uname -a Linux cubietruck 4.13.16-sunxi #20 SMP Fri Nov 24 19:50:07 CET 2017 armv7l GNU/Linux root@cubietruck:~# cat /etc/debian_version 9.3
Igor Posted December 16, 2017 Posted December 16, 2017 It installs fine on Ubuntu Xenial - I am using it and I reinstall it last month since I moved to H5 powered board. Install part is very simple. You need to ask TVheadend creator(s), why it is not working on Debian. Not really our problem. All I can do is to remove it from our install menu for Debian users.https://www.google.com/search?q=debian+stretch+tvheadend
Tilator Posted December 16, 2017 Author Posted December 16, 2017 I know. Unfortunately my tv card drivers compile only for Debian and not for Ubuntu with very same kernel. Tvheadend installs for Ubuntu but not Debian. There is a bit of a problem as you can see. I would like to try older 3.4.113 kernel, but it seems not to install headers in Ubuntu. Can you tell me what to do with this issue?
Tilator Posted December 16, 2017 Author Posted December 16, 2017 This comes in messages with Ubuntu having 4.14.4 kernel while Debian with same kernel does it just fine: [ 25.967412] Bluetooth: BNEP socket layer initialized [ 26.469073] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 26.558644] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 28.961850] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred [ 28.961874] brcmfmac: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5 [ 29.162719] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 40.356115] fuse init (API version 7.26) [ 102.576410] usb 1-1: USB disconnect, device number 2 [ 107.931827] usb 2-1: new high-speed USB device number 2 using ehci-platform [ 108.132727] usb 2-1: New USB device found, idVendor=0572, idProduct=c68a [ 108.132740] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 108.132745] usb 2-1: Product: EyeTV Stick [ 108.132751] usb 2-1: Manufacturer: Geniatech [ 108.132757] usb 2-1: SerialNumber: 161206 [ 108.202054] dvb_usb: loading out-of-tree module taints kernel. [ 108.216426] dvb-usb: found a 'Mygica T230C2 DVB-T/T2/C' in warm state. [ 108.482413] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 108.482685] dvbdev: DVB: registering new adapter (Mygica T230C2 DVB-T/T2/C) [ 108.515346] i2c i2c-3: Added multiplexed i2c bus 4 [ 108.515366] si2168 3-0064: Silicon Labs Si2168-D60 successfully identified [ 108.515373] si2168 3-0064: firmware version: D 6.0.1 [ 108.529480] si2157 4-0060: Silicon Labs Si2141 successfully attached [ 108.529637] usb 2-1: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)... [ 108.581777] Registered IR keymap rc-total-media-in-hand-02 [ 108.582016] rc rc1: Mygica T230C2 DVB-T/T2/C as /devices/platform/soc@01c00000/1c1c000.usb/usb2/2-1/rc/rc1 [ 108.582251] input: Mygica T230C2 DVB-T/T2/C as /devices/platform/soc@01c00000/1c1c000.usb/usb2/2-1/rc/rc1/input2 [ 108.582546] dvb-usb: schedule remote query interval to 100 msecs. [ 108.583756] dvb-usb: Mygica T230C2 DVB-T/T2/C successfully initialized and connected. [ 108.583991] usbcore: registered new interface driver dvb_usb_cxusb [ 108.588231] Unable to handle kernel NULL pointer dereference at virtual address 00000020 [ 108.596472] pgd = c0004000 [ 108.599190] [00000020] *pgd=00000000 [ 108.602873] Internal error: Oops: 5 [#1] SMP THUMB2 [ 108.607763] Modules linked in: rc_total_media_in_hand_02 si2157(O) si2168(O) dvb_usb_cxusb(O) dib0070(O) dvb_usb(O) fuse bnep sun4i_gpadc_iio zram snd_soc_simple_card snd_soc_simple_card_utils snd_soc_spdif_tx evdev sun4i_spdif sun4i_codec sun4i_ts nvmem_sunxi_sid sun4i_gpadc snd_soc_core snd_pcm_dmaengine ir_lirc_codec lirc_dev snd_pcm snd_timer sunxi_cir snd soundcore pwm_sun4i brcmfmac brcmutil sun4i_ss cfg80211 uio_pdrv_genirq uio bonding hidp rfcomm hci_uart btbcm btqca btintel bluetooth ecdh_generic rfkill pwrseq_simple uas realtek [ 108.655448] CPU: 1 PID: 2829 Comm: kdvb-ad-0-fe-0 Tainted: G O 4.14.4-sunxi #1 [ 108.663812] Hardware name: Allwinner sun7i (A20) Family [ 108.669059] task: ebccde80 task.stack: ed5c4000 [ 108.673629] PC is at dvb_usb_fe_wakeup+0xf/0x3c [dvb_usb] [ 108.679058] LR is at dvb_frontend_init+0x13/0x40 [ 108.683694] pc : [<bfc620a0>] lr : [<c071814b>] psr: 20000033 [ 108.689977] sp : ed5c5f18 ip : 00000000 fp : c0d03f48 [ 108.695217] r10: c9effd2c r9 : c9f54594 r8 : ecbc8818 [ 108.700458] r7 : ed5c4000 r6 : 00000000 r5 : c9f54400 r4 : ecbc8818 [ 108.707001] r3 : 00000000 r2 : ecbc8a5c r1 : 00000001 r0 : ecbc8818 [ 108.713523] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment none [ 108.720825] Control: 50c5387d Table: 6c9dc06a DAC: 00000051 [ 108.726567] Process kdvb-ad-0-fe-0 (pid: 2829, stack limit = 0xed5c4210) [ 108.733286] Stack: (0xed5c5f18 to 0xed5c6000) [ 108.737648] 5f00: bfc62091 ecbc8818 [ 108.745842] 5f20: c9f54400 c071814b ecbc8818 c0718dd3 00000000 2e118000 ecbc8a5c 00000000 [ 108.754034] 5f40: ed5c5c44 00000000 00000004 e600e123 ffffe000 ffffe000 ec8b6680 e600e123 [ 108.762208] 5f60: ed5c5f78 eca0b500 ec8b6680 00000000 ed5c4000 ecbc8818 c0718d8d c9effd2c [ 108.770404] 5f80: eca0b51c c0131be1 ffffffff ec8b6680 c0131ae5 00000000 00000000 00000000 [ 108.778604] 5fa0: 00000000 00000000 00000000 c01067a9 00000000 00000000 00000000 00000000 [ 108.786779] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 108.794971] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [ 108.803200] [<bfc620a0>] (dvb_usb_fe_wakeup [dvb_usb]) from [<c071814b>] (dvb_frontend_init+0x13/0x40) [ 108.812509] [<c071814b>] (dvb_frontend_init) from [<c0718dd3>] (dvb_frontend_thread+0x47/0x390) [ 108.821211] [<c0718dd3>] (dvb_frontend_thread) from [<c0131be1>] (kthread+0xfd/0x104) [ 108.829047] [<c0131be1>] (kthread) from [<c01067a9>] (ret_from_fork+0x11/0x28) [ 108.836270] Code: 2101 f8d0 3228 4604 (6a1d) 6828 [ 108.841303] ---[ end trace fe936c37586751ca ]--- What is different between them? Zimage seems to be same, but uInitrd is not. If Ubuntu just had exactly same kernel (without these errors) what is in Debian, I would be happy. Is it possible to compile Ubuntu kernel with the same settings Debian has now? Or is there something else I don't understand?
Tilator Posted December 16, 2017 Author Posted December 16, 2017 Is this something related to sound settings?
Igor Posted December 17, 2017 Posted December 17, 2017 When you are up to solve something more complicated you need to understand few things first. - all kernels come with headers package and they can be installed from the armbian-config menu -> software. Never install other generic headers from upstream distribution (from Debian or Ubuntu) because of it simply won't work. - there is no difference between Debian and Ubuntu kernels. They are always the same. Diff can be only on our download page since we change targets sometimes and there is a diff but it's gone once you do first update + reboot - use old 3.4.y kernel only if there is no other way - the differences between Debian Jessie, Stretch, Ubuntu Xenial are in many areas, but why you face those problems is really hard to say. Compiler-related? Bugs in a library, driver, ...
Tilator Posted December 17, 2017 Author Posted December 17, 2017 You are right and I know it too. I don't expect you to have answers right away, because it's impossible. I just wanted you to know. Debian version seems to have kernel 4.14.4. Can you tell me what update takes Ubunto to the same level? There seems to be "over night" update and kernel (dev or something else) available in armbian-config. What should I do to update 4.13.16 kernel in Ubunto to this same level? B.T.W. I did try 3.4.113 install, but it did not install headers using armbian-config. It did install Tvheadend, but I was not able to try compile drivers because lacking the headers.
Tilator Posted December 19, 2017 Author Posted December 19, 2017 Good news now. Our young IT-man found the sources for 3.4.113 kernel. It needs only I2C-MUX set compiling in kernel. After that it will compile Mygica T230C (third version with idVendor=0572, idProduct=c68a) drivers properly. I do not know yet whether this works with 4.x kernels too. 1
Tilator Posted December 23, 2017 Author Posted December 23, 2017 I can now report it works with 4.14.7 kernel too. Tvheadend repo server might have been down for a while some days ago, but I got it installed later. Third version of Mygica DVB-T2 T230C having idVendor=0572 and idProduct=c68a does not have mailline drivers yet, but it is supported by Crazycat DVB github repo. BTW the new Armbian seems not to support nand. Not even if it is turned on from Armbian-config. I would like to move this complete installation from SD to nand now. Do you have any new ideas how to do it?
Tilator Posted December 23, 2017 Author Posted December 23, 2017 OK. Found the reason for missing NAND from some other old posts. Seems to be disabled because Cubietruck NAND is considered as unreliable. Well - I will put it back because I would like to have booting to start from NAND but kernel and user space to be on SSD. I just don't remember if only SPL needs to be on NAND and U-boot might be on SSD too. At least it should be made to work if U-boot is put on NAND if SPL can't load it using SATA.
Recommended Posts