Project

General

Profile

Bug #5432

using multiple DVB-C frontends(FBC) on [email protected]/mutant/gfutures hd530c with OpenPLi 6.2

Added by Walter av almost 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
DVB
Target version:
-
Start date:
2018-12-14
Due date:
% Done:

0%

Estimated time:
Found in version:
4.2.x 4.3.x
Affected Versions:

Description

This hd530c OpenPLi/enigma based setop box has a triple DVB-C tuner (FBC) with for me a still unknown Tuner brand(Broadcom?).

The [email protected] hd530c currently runs Tvheadend 79ea2a42c477e315ffa2143252273fe2db0c2165 with 3 frontends detected on a single adapter but using its dvb-c adapters directly within Tvheadend causes Tvheadend to crash as soon as a 2nd channel on a different transponder is tuned on a 2nd/3rd tuner. This happens with enigma enabled in background and with runlevel init 4. There has been some Tvheadend optimizations lately(see issues) to improve multiple frontend behaviour on dual tuners but for this FBC dvb-c tuner it did not improve yet.
The good news is that scanning for channels works even on 2 tuners also EPG update.

Similar fixed Tvheadend issue on enigma:
https://tvheadend.org/issues/5330
https://tvheadend.org/issues/5379

Tvheadend forum topic build instructions for [email protected] hd530c:
https://tvheadend.org/boards/4/topics/34921

Similar discussed mini-satip issues exist [email protected] :
https://github.com/catalinii/minisatip/issues/475

Boxinfo:
http://mutant-digital.net/?p=1810

command:

/usr/bin/tvheadend -C -c /etc/tuxbox/config/tvheadend -u root -g root -f

kernel version:

#uname -a
Linux hd530c 4.10.12 #1 SMP Thu May 17 03:59:32 CEST 2018 mips GNU/Linux
#cat /etc/issue
openpli 6.2-release

Cpuinfo

cat /proc/cpuinfo
system type        : BCM75845A0 STB platform
machine            : Unknown
processor        : 0
cpu model        : Broadcom BMIPS4380 V6.5  FPU V0.1
BogoMIPS        : 741.37
cpu MHz            : 742.535
wait instruction    : yes
microsecond timers    : yes
tlb_entries        : 32
extra interrupt vector    : yes
hardware watchpoint    : no
isa            : mips1 mips2 mips32r1
ASEs implemented    : mips16
shadow register sets    : 1
kscratch registers    : 0
package            : 0
core            : 0
VCED exceptions        : not available
VCEI exceptions        : not available

processor        : 1
cpu model        : Broadcom BMIPS4380 V6.5  FPU V0.1
BogoMIPS        : 745.47
cpu MHz            : 742.535
wait instruction    : yes
microsecond timers    : yes
tlb_entries        : 32
extra interrupt vector    : yes
hardware watchpoint    : no
isa            : mips1 mips2 mips32r1
ASEs implemented    : mips16
shadow register sets    : 1
kscratch registers    : 0
package            : 0
core            : 0
VCED exceptions        : not available
VCEI exceptions        : not available

lsusb

lsusb
Bus 003 Device 001: ID 1d6b:0001
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 0bda:8153
Bus 001 Device 002: ID 1a40:0101
Bus 004 Device 001: ID 1d6b:0001
Bus 004 Device 002: ID 04a3:0101
Bus 002 Device 001: ID 1d6b:0002
Bus 001 Device 004: ID 0b95:7720

ls -la /dev/dvb/adapter0

ls -la /dev/dvb/adapter0
drwxr-xr-x    2 root     root           640 Jan  1  1970 .
drwxr-xr-x    3 root     root            60 Jan  1  1970 ..
crw-rw----    1 root     root      212,  28 Jan  1  1970 audio0
crw-rw----    1 root     root      212,   5 Jan  1  1970 ca0
crw-rw----    1 root     root      212,   8 Jan  1  1970 ca1
crw-rw----    1 root     root      212,  11 Jan  1  1970 ca2
crw-rw----    1 root     root      212,  14 Jan  1  1970 ca3
crw-rw----    1 root     root      212,  17 Jan  1  1970 ca4
crw-rw----    1 root     root      212,  20 Jan  1  1970 ca5
crw-rw----    1 root     root      212,  23 Jan  1  1970 ca6
crw-rw----    1 root     root      212,  26 Jan  1  1970 ca7
crw-rw----    1 root     root      212,   3 Jan  1  1970 demux0
crw-rw----    1 root     root      212,   6 Jan  1  1970 demux1
crw-rw----    1 root     root      212,   9 Jan  1  1970 demux2
crw-rw----    1 root     root      212,  12 Jan  1  1970 demux3
crw-rw----    1 root     root      212,  15 Jan  1  1970 demux4
crw-rw----    1 root     root      212,  18 Jan  1  1970 demux5
crw-rw----    1 root     root      212,  21 Jan  1  1970 demux6
crw-rw----    1 root     root      212,  24 Jan  1  1970 demux7
crw-rw----    1 root     root      212,   4 Jan  1  1970 dvr0
crw-rw----    1 root     root      212,   7 Jan  1  1970 dvr1
crw-rw----    1 root     root      212,  10 Jan  1  1970 dvr2
crw-rw----    1 root     root      212,  13 Jan  1  1970 dvr3
crw-rw----    1 root     root      212,  16 Jan  1  1970 dvr4
crw-rw----    1 root     root      212,  19 Jan  1  1970 dvr5
crw-rw----    1 root     root      212,  22 Jan  1  1970 dvr6
crw-rw----    1 root     root      212,  25 Jan  1  1970 dvr7
crw-rw----    1 root     root      212,   0 Jan  1  1970 frontend0
crw-rw----    1 root     root      212,   1 Jan  1  1970 frontend1
crw-rw----    1 root     root      212,   2 Jan  1  1970 frontend2
crw-rw----    1 root     root      212,  27 Jan  1  1970 video0
crw-rw----    1 root     root      212,  29 Jan  1  1970 video1


Files

History

#1

Updated by Walter av almost 3 years ago

dmesg shows adapter as dvb0.0

#dmesg
dmesg 
[    0.000000] bmem: adding 82 MB LINUX region at 686 MB ([email protected])
[    0.000000] Primary instruction cache 32kB, VIPT, 2-way, linesize 64 bytes.
[    0.000000] Primary data cache 64kB, 4-way, VIPT, cache aliases, linesize 64 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   node   0: [mem 0x0000000020000000-0x000000002fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000] On node 0 totalpages: 131072
[    0.000000]   Normal zone: 1152 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] percpu: Embedded 13 pages/cpu @81484000 s22608 r8192 d22448 u53248
[    0.000000] pcpu-alloc: s22608 r8192 d22448 u53248 alloc=13*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: ubi.mtd=rootfs rootfstype=ubifs root=ubi0:rootfs [email protected] [email protected] console=null
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 224468K/524288K available (7715K kernel code, 379K rwdata, 1472K rodata, 276K init, 162K bss, 299820K reserved, 0K cma-reserved)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]     Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:160
[    0.000000] Measuring MIPS counter frequency...
[    0.000000] Detected MIPS clock frequency: 742 MHz (371.267 MHz counter)
[    0.000000] clocksource: wktmr: mask: 0xffffffffffffffff max_cycles: 0x63a1e71a3, max_idle_ns: 440795203123 ns
[    0.000000] sched_clock: 32 bits at 1kHz, resolution 1000000ns, wraps every 2147483647500000ns
[    0.000000] Console: colour dummy device 80x25
[    0.009000] Calibrating delay loop... 741.37 BogoMIPS (lpj=370688)
[    0.009000] pid_max: default: 32768 minimum: 301
[    0.009000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.009000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.010000] smp: Bringing up secondary CPUs ...
[    0.011000] SMP: Booting CPU1...
[    0.015000] Primary instruction cache 32kB, VIPT, 2-way, linesize 64 bytes.
[    0.015000] Primary data cache 64kB, 4-way, VIPT, cache aliases, linesize 64 bytes
[    0.015000] CPU1 revision is: 0002a065 (Broadcom BMIPS4380)
[    0.015000] FPU revision is: 00130001
[    0.024000] SMP: CPU1 is running
[    0.024000] smp: Brought up 1 node, 2 CPUs
[    0.024000] devtmpfs: initialized
[    0.028000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.028000] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.028000] NET: Registered protocol family 16
[    0.043000] USB0: power enable is active high; overcurrent is active low
[    0.053000] SCSI subsystem initialized
[    0.053000] libata version 3.00 loaded.
[    0.053000] usbcore: registered new interface driver usbfs
[    0.053000] usbcore: registered new interface driver hub
[    0.053000] usbcore: registered new device driver usb
[    0.053000] Linux cec interface: v0.10
[    0.053000] Linux video capture interface: v2.00
[    0.053000] Advanced Linux Sound Architecture Driver Initialized.
[    0.054000] Bluetooth: Core ver 2.22
[    0.054000] NET: Registered protocol family 31
[    0.054000] Bluetooth: HCI device and connection manager initialized
[    0.054000] Bluetooth: HCI socket layer initialized
[    0.054000] Bluetooth: L2CAP socket layer initialized
[    0.054000] Bluetooth: SCO socket layer initialized
[    0.055000] clocksource: Switched to clocksource wktmr
[    0.055000] FS-Cache: Loaded
[    0.062000] random: fast init done
[    0.065000] NET: Registered protocol family 2
[    0.065000] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.065000] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.065000] TCP: Hash tables configured (established 4096 bind 4096)
[    0.066000] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.066000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.066000] NET: Registered protocol family 1
[    0.066000] RPC: Registered named UNIX socket transport module.
[    0.066000] RPC: Registered udp transport module.
[    0.066000] RPC: Registered tcp transport module.
[    0.066000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.068000] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.069000] NFS: Registering the id_resolver key type
[    0.069000] Key type id_resolver registered
[    0.069000] Key type id_legacy registered
[    0.069000] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.070000] fuse init (API version 7.26)
[    0.077000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[    0.077000] io scheduler noop registered
[    0.077000] io scheduler cfq registered (default)
[    0.077000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.079000] serial8250.0: ttyS0 at MMIO 0x10406800 (irq = 62, base_baud = 5062500) is a 16550A
[    0.079000] serial8250.0: ttyS1 at MMIO 0x10406840 (irq = 63, base_baud = 5062500) is a 16550A
[    0.079000] serial8250.0: ttyS2 at MMIO 0x10406880 (irq = 64, base_baud = 5062500) is a 16550A
[    0.088000] loop: module loaded
[    0.089000] brcmstb_nand: NAND controller driver is loaded
[    0.089000] libphy: Fixed MDIO Bus: probed
[    0.089000] __clk_enable: network [1]
[    0.089000] bcm7584_pm_network_enable 00
[    0.089000] __clk_enable: enet [1]
[    0.089000] bcm7584_pm_genet_enable 00
[    0.089000] bcmgenet bcmgenet.0: GENET 2.1 EPHY: 0x00c0
[    0.089000] bcmgenet bcmgenet.0: failed to get enet-eee clock
[    0.127000] libphy: bcmgenet MII bus: probed
[    0.127000] __clk_disable: enet [0]
[    0.127000] bcm7584_pm_genet_disable 00
[    0.127000] __clk_disable: network [0]
[    0.127000] bcm7584_pm_network_disable 00
[    0.128000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.128000] __clk_enable: usb [1]
[    0.128000] bcm7584_pm_usb_enable 00
[    0.128000] ehci-brcm ehci-brcm.0: Broadcom STB EHCI
[    0.128000] ehci-brcm ehci-brcm.0: new USB bus registered, assigned bus number 1
[    0.138000] ehci-brcm ehci-brcm.0: irq 66, io mem 0x10480300
[    0.145000] ehci-brcm ehci-brcm.0: USB 0.0 started, EHCI 1.00
[    0.145000] hub 1-0:1.0: USB hub found
[    0.145000] hub 1-0:1.0: 1 port detected
[    0.146000] ehci-brcm ehci-brcm.1: Broadcom STB EHCI
[    0.146000] ehci-brcm ehci-brcm.1: new USB bus registered, assigned bus number 2
[    0.156000] ehci-brcm ehci-brcm.1: irq 68, io mem 0x10480500
[    0.163000] ehci-brcm ehci-brcm.1: USB 0.0 started, EHCI 1.00
[    0.163000] hub 2-0:1.0: USB hub found
[    0.163000] hub 2-0:1.0: 1 port detected
[    0.164000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.164000] ohci-brcm ohci-brcm.0: Broadcom STB OHCI
[    0.164000] ohci-brcm ohci-brcm.0: new USB bus registered, assigned bus number 3
[    0.164000] ohci-brcm ohci-brcm.0: irq 67, io mem 0x10480400
[    0.231000] hub 3-0:1.0: USB hub found
[    0.231000] hub 3-0:1.0: 1 port detected
[    0.232000] ohci-brcm ohci-brcm.1: Broadcom STB OHCI
[    0.232000] ohci-brcm ohci-brcm.1: new USB bus registered, assigned bus number 4
[    0.232000] ohci-brcm ohci-brcm.1: irq 69, io mem 0x10480600
[    0.299000] hub 4-0:1.0: USB hub found
[    0.299000] hub 4-0:1.0: 1 port detected
[    0.300000] usbcore: registered new interface driver usb-storage
[    0.300000] mousedev: PS/2 mouse device common for all mice
[    0.300000] i2c /dev entries driver
[    0.300000] usbcore: registered new interface driver btusb
[    0.300000] hidraw: raw HID events driver (C) Jiri Kosina
[    0.301000] usbcore: registered new interface driver usbhid
[    0.301000] usbhid: USB HID core driver
[    0.301000] NET: Registered protocol family 17
[    0.301000] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    0.301000] Bluetooth: HIDP socket layer initialized
[    0.302000] Key type dns_resolver registered
[    0.302000] PM: CP0 COUNT/COMPARE frequency does not depend on divisor
[    0.303000] EBI CS2: setting up NAND flash (primary)
[    0.304000] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xda
[    0.304000] nand: Toshiba NAND 256MiB 3,3V 8-bit
[    0.304000] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    0.304000] brcmnand brcmnand.0: 256MiB total, 128KiB blocks, 2KiB pages, 32B OOB, 8-bit, BCH-8
[    0.304000] 
[    0.304000] Bad block table found at page 131008, version 0x01
[    0.305000] Bad block table found at page 130944, version 0x01
[    0.305000] nand_read_bbt: bad block at 0x000000d80000
[    0.305000] nand_read_bbt: bad block at 0x00000a440000
[    0.305000] nand_read_bbt: bad block at 0x00000c000000
[    0.305000] nand_read_bbt: bad block at 0x00000c020000
[    0.306000] Creating 3 MTD partitions on "brcmnand.0":
[    0.306000] 0x000000000000-0x000010000000 : "complete" 
[    0.308000] 0x000000000000-0x000000600000 : "kernel" 
[    0.310000] 0x000000600000-0x000010000000 : "rootfs" 
[    0.312000] EBI CS0: setting up SPI flash
[    0.312000] brcm_setup_spi_flash: can't locate SPI master
[    0.312000] brcm_setup_cs: can't register SPI flash (error -19)
[    0.312000] ubi0: default fastmap pool size: 100
[    0.312000] ubi0: default fastmap WL pool size: 50
[    0.312000] ubi0: attaching mtd2
[    0.421000] ubi0: attached by fastmap
[    0.421000] ubi0: fastmap pool size: 100
[    0.421000] ubi0: fastmap WL pool size: 50
[    0.433000] ubi0: attached mtd2 (name "rootfs", size 250 MiB)
[    0.433000] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    0.433000] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    0.433000] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    0.433000] ubi0: good PEBs: 1992, bad PEBs: 8, corrupted PEBs: 0
[    0.433000] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[    0.433000] ubi0: max/mean erase counter: 101/10, WL threshold: 4096, image sequence number: 1032005904
[    0.433000] ubi0: available PEBs: 0, total reserved PEBs: 1992, PEBs reserved for bad PEB handling: 32
[    0.434000] ubi0: background thread "ubi_bgt0d" started, PID 79
[    0.434000] ALSA device list:
[    0.434000]   No soundcards found.
[    0.434000] Warning: unable to open an initial console.
[    0.437000] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 80
[    0.456000] usb 1-1: new high-speed USB device number 2 using ehci-brcm
[    0.533000] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs" 
[    0.533000] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    0.533000] UBIFS (ubi0:0): FS size: 246714368 bytes (235 MiB, 1943 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[    0.533000] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[    0.533000] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 0C1B8D32-F5FA-4B0F-BAC8-854DAFF40415, small LPT model
[    0.536000] VFS: Mounted root (ubifs filesystem) on device 0:12.
[    0.538000] devtmpfs: mounted
[    0.538000] Freeing unused kernel memory: 276K
[    0.538000] This architecture does not have kernel memory protection.
[    0.576000] hub 1-1:1.0: USB hub found
[    0.576000] hub 1-1:1.0: 4 ports detected
[    0.693000] usb 4-1: new full-speed USB device number 2 using ohci-brcm
[    0.862000] usb 1-1.1: new high-speed USB device number 3 using ehci-brcm
[    1.035000] usb 1-1.2: new high-speed USB device number 4 using ehci-brcm
[    1.254000] random: crng init done
[    1.365000] hd530c_1: loading out-of-tree module taints kernel.
[    1.369000] usbcore: registered new interface driver tpm
[    4.888000] hd530c: module_layout: kernel tainted.
[    4.888000] Disabling lock debugging due to kernel taint
[    7.468000] Console: switching to colour frame buffer device 160x45
[    7.541000] input: dreambox remote control (native) as /devices/virtual/input/input0
[    7.551000] input: dreambox advanced remote control (native) as /devices/virtual/input/input1
[    7.687000] dvbdev: DVB: registering new adapter (dvb0)
[    7.687000] platform dvb0.0: DVB: registering adapter 0 frontend 0 ()...
[    7.688000] platform dvb0.0: DVB: registering adapter 0 frontend 1 ()...
[    7.689000] platform dvb0.0: DVB: registering adapter 0 frontend 2 ()...
[    8.066000] input: front panel as /devices/virtual/input/input2
[    8.101000] Registered IR keymap rc-cec
[    8.102000] input: RC for hdmi_cec as /devices/platform/hdmi.0/rc/rc0/input3
[    8.102000] rc rc0: RC for hdmi_cec as /devices/platform/hdmi.0/rc/rc0
[    9.307000] Console: switching to colour dummy device 80x25
[   12.901000] __clk_enable: network [1]
[   12.901000] bcm7584_pm_network_enable 00
[   12.901000] __clk_enable: enet [1]
[   12.901000] bcm7584_pm_genet_enable 00
[   13.015000] bcmgenet bcmgenet.0: configuring instance for (null)
[   13.103000] bcmgenet bcmgenet.0 eth0: Link is Down
[   14.674000] bcmgenet bcmgenet.0 eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   17.947000] NET: Registered protocol family 10
[   17.950000] Segment Routing with IPv6
[  348.087000] platform dvb0.0: DVB: adapter 0 frontend 1 frequency 0 out of range (48250000..863250000)
[  348.111000] platform dvb0.0: DVB: adapter 0 frontend 2 frequency 0 out of range (48250000..863250000)

#2

Updated by Ricardo Rocha almost 3 years ago

@Walter av hi!

I guess the tuner is also broadcom.

That's not the problem but why do you compile tvheadend and don't use tvheadend on enigma as peter peter Bašista did "https://octagon-forum.eu/threads/running-tvheadend-directly-on-sf4008.2236/"?

By the way i am using that same mutant as minisatip server with asix network and pulling streams by http (because of the problem reported on #5428 with wan use!)

#3

Updated by Luis Alves almost 3 years ago

Where is the tvheadend crash log?

#4

Updated by Walter av almost 3 years ago

Ricardo Rocha wrote:

@Walter av hi!

I guess the tuner is also broadcom.

That's not the problem but why do you compile tvheadend and don't use tvheadend on enigma as peter peter Bašista did "https://octagon-forum.eu/threads/running-tvheadend-directly-on-sf4008.2236/"?

By the way i am using that same mutant as minisatip server with asix network and pulling streams by http (because of the problem reported on #5428 with wan use!)

@Ricardo Rocha, thanks for pointing out the "chroot" option. But I'm still missing a complete step by step howto, google cache didn't reveal that much info on peter peter Bašista his post and I don't feel like registering on that forum.

Would you like to consider writing a step by step tutorial for chrooting debian on the hd530c at this tvheadend forum?

#5

Updated by Walter av almost 3 years ago

Luis Alves wrote:

Where is the tvheadend crash log?

I'm still having difficulties of running/installing the dbg version of Tvheadend.
https://tvheadend.org/boards/4/topics/34921?r=35541#message-35541

If you have any hints for building/installing dbg versions on openpli/enigma or other methods to produce usefull debug info with the standard tvheadend package I'm willing to try time

#6

Updated by Digi Hoe almost 3 years ago

Walter av wrote:

@Ricardo Rocha, thanks for pointing out the "chroot" option. But I'm still missing a complete step by step howto, google cache didn't reveal that much info on peter peter Bašista his post and I don't feel like registering on that forum.
Would you like to consider writing a step by step tutorial for chrooting debian on the hd530c at this tvheadend forum?

The link from that forum goes to this forum https://unix.stackexchange.com/questions/413552/how-to-install-tvheadend-on-a-set-top-box-running-openembedded-based-linux and that in turn refers to debootstrap using Debian https://wiki.debian.org/Debootstrap

Please consider sharing your compiled OE tvheadend/minisatip.

Best regards!

#7

Updated by Ricardo Rocha almost 3 years ago

@Walter av i didn't tried it for my self but it seens after read it a really better way to run it compared with all the workarounds needed to compile it to enigma!

Let's try to bring peter peter Bašista to discussion... i am sure he don't have troubles in explain the process!

Thanks

#8

Updated by Peter Bašista almost 3 years ago

Hi,

Regarding the usage of Debootstrap to bootstrap a Debian base system in a directory and then use it with chroot on your receiver, there are no special requirements that I am aware of. Just follow the guide, mount the directories properly and it should work fine. This part of /etc/fstab may be useful:

/dev    /mnt/hdd/debian/dev   devfs    bind       0  0
proc    /mnt/hdd/debian/proc  proc     defaults   0  0
sysfs   /mnt/hdd/debian/sys   sysfs    defaults   0  0
/tmp    /mnt/hdd/debian/tmp   none     bind       0  0

I am not using this approach anymore, because for a simple use case like just using Tvheadend and nothing more, it is simpler for me to build it using bitbake. I have posted another answer to Stack Exchange question about how to install Tvheadend on a set-top-box running OpenEmbedded-based Linux, which roughly explains one of the ways to do it.

Walter av wrote:

I'm still having difficulties of running/installing the dbg version of Tvheadend.

When you build it using bitbake, it will generate all the dbg packages as well. If some dependencies of dbg packages are missing, you can simply build them in the same way.

#9

Updated by Walter av almost 3 years ago

Recompiled Tvheadend 4.3x 7fdc6f0549147ba0c25d652c5efe1bdaed6e7543 with --enable-trace and ran 4 linuxdvb logs. For every log I ran a network tuning scan on each individual tuner separately ending with watching a fta HD channel in the end.

The last log is has tuner 1 and tuner 0 enabled and it locks Tvheadend when starting to watch a service on tuner 1 while a service on tuner 0 was already running.

#10

Updated by Walter av almost 3 years ago

When tuner0 and tuner1 are both used at the same time when watching a channel a deadlock arise, since the process is still running and OpenPLi is ssh accessable however the process of Tvheadend is unkillable.

Here a crashlog with '--thrdebug 1', still investigating howto compile dbg version.

Also available in: Atom PDF