Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Junior Member

    Join Date
    Apr 2011
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Trying to comple dvb-apps_1.1.1.bb

    Am trying to compile the dvbnet app from the dvb-apps_1.1.1 package: openvix/build-enviroment/meta-oe-alliance/meta-oe/recipes-multimedia/dvb-apps/dvb-apps_1.1.1.bb

    Have remove the blacklist list line:
    PNBLACKLIST[dvb-apps] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/130603/ - the recipe will be removed on 2017-09-01 unless the issue is fixed"

    When I rebuild the source I can see that the bb file is not skipped anymore, however it doesn't seem to compile it.

    I have also tried to compile directly: bitbake dvb-apps_1.1.1.bb, I just get an Unable to connect to bitbake server, or start one error.

    Any ideas?

  2. #2
    Junior Member

    Join Date
    Apr 2011
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Have bitbake running ok now, however is throwing the following error:

    make -C dst-utils all
    make[2]: Entering directory '/home/openvixbuilder/openvix/build-enviroment/builds/openvix/release/vuzero4k/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/dvb-apps/dvb-apps-1.1.1-r0/git/util/dst-utils'
    CC dst_test
    dst_test.c: In function 'dst_set_pid':
    dst_test.c:116:19: error: 'CA_SET_PID' undeclared (first use in this function); did you mean 'CA_GET_CAP'?
    if ((ioctl(cafd, CA_SET_PID)) < 0) {
    ^~~~~~~~~~
    CA_GET_CAP
    dst_test.c:116:19: note: each undeclared identifier is reported only once for each function it appears in
    make[2]: *** [../../Make.rules:76: dst_test] Error 1
    make[2]: Leaving directory '/home/openvixbuilder/openvix/build-enviroment/builds/openvix/release/vuzero4k/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/dvb-apps/dvb-apps-1.1.1-r0/git/util/dst-utils'
    make[1]: *** [Makefile:9: all] Error 2
    make[1]: Leaving directory '/home/openvixbuilder/openvix/build-enviroment/builds/openvix/release/vuzero4k/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/dvb-apps/dvb-apps-1.1.1-r0/git/util'
    make: *** [Makefile:14: all] Error 2
    ERROR: oe_runmake failed

  3. #3
    Moderator abu baniaz's Avatar

    Join Date
    Sep 2010
    Location
    East London
    Posts
    18,801
    Thanks
    4,933
    Thanked 7,353 Times in 4,958 Posts
    I have sent a message to someone. He'll look into it if/when he gets a chance.

  4. #4
    V.I.P

    Join Date
    Jan 2011
    Posts
    170
    Thanks
    57
    Thanked 427 Times in 123 Posts
    CA_SET_PID was removed some time ago, see here. You will probably need to apply similar patch as was done here.

  5. The Following 6 Users Say Thank You to LraiZer For This Useful Post:

    abu baniaz (07-07-19),bear (07-07-19),Clabs (07-07-19),Huevos (07-07-19),Sicilian (07-07-19),SpaceRat (07-07-19)

  6. #5
    Junior Member

    Join Date
    Apr 2011
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thanks LraiZer, will take a look at patching it.
    btw, your not aware of any other way of creating a DVB network adapter?

  7. #6
    Junior Member

    Join Date
    Apr 2011
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Manage to build the the dvb-apps_1.1.1 package with the following changes:

    ----
    Patch ca.h with

    #ifndef CA_SET_PID
    typedef struct ca_pid {
    unsigned int pid;
    int index; /* -1 == disable*/
    } ca_pid_t;

    #define CA_SET_PID _IOW('o', 135, struct ca_pid)
    #endif
    ----
    To fix this error "Can't locate atsc_psip_section.pl in @INC"
    (ref:https://aur.archlinux.org/packages/linuxtv-dvb-apps/)
    edit util/scan/Makefile

    change
    perl section_generate.pl atsc_psip_section.pl
    to
    perl section_generate.pl ./atsc_psip_section.pl
    ----
    Build requires dvb-format-convert, install dvb-tools for this utility.
    for some reason I had to edit the initial-scan-tables/Makefile and set the path to dvb-format-convert(/usr/bin/dvb-format-convert)
    ----

    The following two packages for dvbnet were created:
    libdvbapi_apps_0.0-1222-gceb1183-r0_cortexa15hf-neon-vfpv4.ipk
    dvbnet_apps_0.0-1222-gceb1183-r0_cortexa15hf-neon-vfpv4.ipk

  8. #7
    Junior Member

    Join Date
    Apr 2011
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I was able to install both packages on my vuzero4k ok.

    root@vuzero4k:~# dvbnet

    DVB Network Interface Manager
    Copyright (C) 2003, TV Files S.p.A

    Usage: dvbnet [options]
    Where options are:
    -a AD : Adapter card (default 0)
    -n DD : Demux (default 0)
    -p PID : Add interface listening on PID
    -d NUM : Remove interface NUM
    -l : List currently available interfaces
    -U : use ULE framing (default: MPE)
    -v : Print current version

    root@vuzero4k:~#

    However if I try to run with any option I get a segmentation fault, not sure what the problem is?
    Perhaps an incompatibility with the newer multistream DVB-S2X adapter?

    root@vuzero4k:~# dvbnet -l

    DVB Network Interface Manager
    Copyright (C) 2003, TV Files S.p.A

    Query DVB network interfaces:
    -----------------------------
    Segmentation fault
    root@vuzero4k:~#

    root@vuzero4k:~# dvbnet -p 8000

    DVB Network Interface Manager
    Copyright (C) 2003, TV Files S.p.A

    Segmentation fault
    root@vuzero4k:~#

    Attached is a copy of the kernel trace:

    [ 687.298186] Unable to handle kernel paging request at virtual address 02d00518
    [ 687.305453] pgd = ce0d74c0
    [ 687.308177] [02d00518] *pgd=0eb10003, *pmd=00000000
    [ 687.313100] Internal error: Oops: 206 [#3] SMP ARM
    [ 687.317897] Modules linked in: bluetooth brcmfb(O) dvb_bcm72604(PO) dvb_base(PO) bcm_event(PO) procmk(O) xfs libcrc32c
    [ 687.328710] CPU: 1 PID: 1820 Comm: dvbnet Tainted: P D O 4.1.20-1.9 #1
    [ 687.336199] Hardware name: Broadcom STB (Flattened Device Tree)
    [ 687.342125] task: ce050640 ti: ce86c000 task.ti: ce86c000
    [ 687.347536] PC is at mutex_optimistic_spin+0x3c/0x1f0
    [ 687.352597] LR is at __mutex_lock_interruptible_slowpath+0x28/0x190
    [ 687.358871] pc : [<c005a8e0>] lr : [<c066a6b8>] psr: 20080013
    [ 687.358871] sp : ce86de18 ip : ffffe000 fp : 00000000
    [ 687.370358] r10: 00000000 r9 : cceb2d40 r8 : ccce3a2c
    [ 687.375587] r7 : ce050640 r6 : 00000003 r5 : ce050640 r4 : ccce3a88
    [ 687.382120] r3 : 02d00500 r2 : 00000000 r1 : 00000000 r0 : ccce3a88
    [ 687.388654] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
    [ 687.395796] Control: 30c5383d Table: 0e0d74c0 DAC: ffdf4a7e
    [ 687.401546] Process dvbnet (pid: 1820, stack limit = 0xce86c210)
    [ 687.407557] Stack: (0xce86de18 to 0xce86e000)
    [ 687.411917] de00: ce86c000 ccce3a88
    [ 687.420104] de20: ce050640 00000003 ccce3a88 ccce3a2c cceb2d40 ccff8100 c049dcf0 c066a6b8
    [ 687.428290] de40: 00000000 00000000 ce163d10 ce5a2198 cccd2bb8 c0066f34 ce86de90 00000003
    [ 687.436477] de60: ccce3a88 ccce3a2c cceb2d40 c049dd1c c0066f34 00000006 00000003 00000000
    [ 687.444663] de80: beb8eaa0 ce86de90 ccff8100 c04918f4 00001f40 ffee0000 c092051c ce86dfb0
    [ 687.452849] dea0: ccf593c0 80000207 b6e93f7c 00000002 ce163d10 ce721ee0 ccf593fc c001e7e0
    [ 687.461035] dec0: 00000001 ce86df74 00000001 ffffff9c ceb94000 c0010244 ce86c000 00000000
    [ 687.469222] dee0: 00022084 c00f0dc4 00000041 c0925344 ce163d10 ce721ee0 b41790de 00000004
    [ 687.477408] df00: ceb94022 beb8ec34 00000000 ce475880 cccd25f8 beb8eaa0 cccd25f8 00000003
    [ 687.485594] df20: c0066f34 ccff8100 00000003 00000000 00022084 c00f3174 00000000 00000000
    [ 687.493781] df40: 00000002 00000003 ccff8100 ceb94000 00000003 ccff8100 ceb94000 00000020
    [ 687.501967] df60: cccd25f8 c00e1b1c 00000000 00000000 ccff8100 ccff8100 00000003 c0066f34
    [ 687.510154] df80: beb8eaa0 ce86c000 00000000 c00f34cc 00022084 00022078 00022070 00000036
    [ 687.518341] dfa0: c0010244 c00100c0 00022084 00022078 00000003 c0066f34 beb8eaa0 00000000
    [ 687.526527] dfc0: 00022084 00022078 00022070 00000036 00000003 00022070 beb8ec34 00022084
    [ 687.534714] dfe0: b6f05150 beb8ea9c b6f79120 b6f0515c 60080010 00000003 b845797d 6180ad02
    [ 687.542911] [<c005a8e0>] (mutex_optimistic_spin) from [<c066a6b8>] (__mutex_lock_interruptible_slowpath+0x28/0x190)
    [ 687.553364] [<c066a6b8>] (__mutex_lock_interruptible_slowpath) from [<c049dd1c>] (dvb_net_do_ioctl+0x2c/0x204)
    [ 687.563380] [<c049dd1c>] (dvb_net_do_ioctl) from [<c04918f4>] (dvb_usercopy+0x40/0x18c)
    [ 687.571398] [<c04918f4>] (dvb_usercopy) from [<c00f3174>] (do_vfs_ioctl+0x2c4/0x5e8)
    [ 687.579152] [<c00f3174>] (do_vfs_ioctl) from [<c00f34cc>] (SyS_ioctl+0x34/0x60)
    [ 687.586472] [<c00f34cc>] (SyS_ioctl) from [<c00100c0>] (ret_fast_syscall+0x0/0x3c)
    [ 687.594050] Code: e593700c e5903010 e3530000 0a00000e (e5933018)
    [ 687.600198] ---[ end trace 6a25c0b1d5f2f35a ]---

  9. #8
    Junior Member

    Join Date
    Apr 2011
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Pulled out my old vu+ duo, built an image for it and crossed compiled the dvbnet app with bitbake against it, still get a segmentation fault(see below).
    If anyone has managed to get dvbnet to work would be grateful to here how?

    Unhandled kernel unaligned access[#1]:
    Cpu 1
    $ 0 : 00000000 7fb3259e 0092db4b 00010000
    $ 4 : 87c89bcc 0092db4b 874f5df8 8046f13c
    $ 8 : 00000000 874f5dfe 00000010 fffffff8
    $12 : ffffffff 779db000 00000000 779968dc
    $16 : 87c89bcc ffffffff 00000001 80739a80
    $20 : 00010000 875b9730 0092db4b ffffffff
    $24 : 00000010 778fee3c
    $28 : 874f4000 874f5d48 00410000 80608c4c
    Hi : 000002c9
    Lo : 00001c1d
    epc : 80054fec mutex_spin_on_owner+0x18/0x68
    Tainted: P O
    ra : 80608c4c __mutex_lock_interruptible_slowpath+0x58/0x30c
    Status: 10008b03 KERNEL EXL IE
    Cause : 00800010
    BadVA : 0092db63
    PrId : 0002a044 (Brcm4380)
    Modules linked in: ipv6 xfs libcrc32c brcmfb(O) dvb_bcm7335(PO) procmk(O)
    Process dvbnet (pid: 901, threadinfo=874f4000, task=875b9730, tls=779e35d0)
    Stack : 8841d590 800e89b8 874f5e28 00000002 874f5e20 87503e00 00000000 874f5f00
    87c89bcc ffffffff 87c89bcc 87c89b70 868ebd00 00000000 87503e00 ffffffff
    00410000 80608f94 874f5e78 87fc3022 874f5e90 800d3aec 77874000 c0066f34
    874f5df8 8046f184 00000026 880a7910 00000000 00000000 00000000 80730000
    8841d590 00000006 c0066f34 874f5df8 00000006 7fb32598 00000000 804629ac
    ...
    Call Trace:
    [<80054fec>] mutex_spin_on_owner+0x18/0x68
    [<80608c4c>] __mutex_lock_interruptible_slowpath+0x58/0x30c
    [<80608f94>] mutex_lock_interruptible+0x94/0xa4
    [<8046f184>] dvb_net_do_ioctl+0x48/0x228
    [<804629ac>] dvb_usercopy+0x68/0x1bc
    [<800dab08>] do_vfs_ioctl+0x3d8/0x5fc
    [<800dad7c>] sys_ioctl+0x50/0xb4
    [<8000d388>] stack_done+0x20/0x44


    Code: 8c820010 03e00008 2c420001 <8ca20018> 1040fffb 00000000 8f820008 00021082 30420001
    ---[ end trace b142d85a72f353f8 ]---

  10. #9
    ViX Beta Tester birdman's Avatar

    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    5,137
    Thanks
    118
    Thanked 1,093 Times in 874 Posts
    You could try downloading the Debian build for ARM* and run it through a front-end script to set LD_LIBRARY_PATH appropriately.

    However, when I do this on my (mipsel) system it is looking for /dev/dvb/adapter0/net0, which doesn't exist.
    What are you trying to do with dvbnet?

    * see:
    Code:
    https://packages.debian.org/stretch/dvb-apps
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  11. #10
    V.I.P

    Join Date
    Jan 2011
    Posts
    170
    Thanks
    57
    Thanked 427 Times in 123 Posts
    Never used this myself, but I built these dvbnet apps and tested on mips stb. Seems ok to me?

    Code:
    dvbnet -l
    
    DVB Network Interface Manager
    Copyright (C) 2003, TV Files S.p.A
    
    Query DVB network interfaces:
    -----------------------------
    -----------------------------
    Found 0 interface(s).
    Code:
    dvbnet -p 8000
    
    DVB Network Interface Manager
    Copyright (C) 2003, TV Files S.p.A
    
    Status: device dvb0_0 for pid 8000 created successfully.
    Code:
    dvbnet -l
    
    DVB Network Interface Manager
    Copyright (C) 2003, TV Files S.p.A
    
    Query DVB network interfaces:
    -----------------------------
    Found device 0: interface dvb0_0, listening on PID 8000, encapsulation MPE
    -----------------------------
    Found 1 interface(s).
    Code:
    dvbnet -d 0
    
    DVB Network Interface Manager
    Copyright (C) 2003, TV Files S.p.A
    
    Status: device 0 removed successfully.
    Code:
    dvbnet -l
    
    DVB Network Interface Manager
    Copyright (C) 2003, TV Files S.p.A
    
    Query DVB network interfaces:
    -----------------------------
    -----------------------------
    Found 0 interface(s).
    Attached Files Attached Files

  12. The Following 2 Users Say Thank You to LraiZer For This Useful Post:

    abu baniaz (14-07-19),Andy_Hazza (12-07-19)

  13. #11
    V.I.P

    Join Date
    Jan 2011
    Posts
    170
    Thanks
    57
    Thanked 427 Times in 123 Posts
    Quote Originally Posted by bear View Post
    Thanks LraiZer, will take a look at patching it.
    btw, your not aware of any other way of creating a DVB network adapter?
    There is dvbnetctrl source code in the old tuxbox-git that creates this also
    Code:
    github.com/UkCvs/commando/tree/16.0/apps/dvb/tools/dvbnetctrl

  14. The Following User Says Thank You to LraiZer For This Useful Post:

    Andy_Hazza (12-07-19)

  15. #12
    Moderator abu baniaz's Avatar

    Join Date
    Sep 2010
    Location
    East London
    Posts
    18,801
    Thanks
    4,933
    Thanked 7,353 Times in 4,958 Posts
    Can the fixes be pushed to Git if applicable please

  16. The Following User Says Thank You to abu baniaz For This Useful Post:

    deltec (14-07-19)

  17. #13
    V.I.P

    Join Date
    Jan 2011
    Posts
    170
    Thanks
    57
    Thanked 427 Times in 123 Posts
    @Abu, the dvbapps build was reinstated just several months ago on openpli-oe-core, just update oe-a with the required patches and your bb to mirror those.
    Code:
    https://github.com/OpenPLi/openpli-oe-core/tree/47bb7337994aaab77f6cc01e99fc83d54124ea79/meta-openpli/recipes-multimedia/dvb-apps

  18. The Following 2 Users Say Thank You to LraiZer For This Useful Post:

    abu baniaz (13-07-19),Andy_Hazza (12-07-19)

  19. #14
    Senior Member SpaceRat's Avatar

    Join Date
    Apr 2015
    Posts
    206
    Thanks
    22
    Thanked 76 Times in 51 Posts
    Just in case anyone is waiting for a response from the "someone" abu baniaz asked about this:
    "Someone" has no idea.

    "Someone" added this bb back for a completely different purpose/sub-package.

    Gesendet von meinem SM-N950F mit Tapatalk
    Receiver/TV:
    • Vu+ Duo² 4*S2+2*C / 1.8TB HDD / OpenATV 6.1@Samsung 50" Plasma
    • AX Quadbox 2400 / 2*S2/2*C / 930GB HDD / OpenATV 6.1@Samsung 32" LCD
    • Vu+ Solo² / 465GB HDD / OpenATV 6.1
    • Vu+ Solo² / 230GB HDD / OpenATV 6.1
    • DVBSky S2-Twin-Tuner PCIe@Samsung SyncMaster T240HD (PC)
    Pay TV: Redlight Mega, Brazzers TV Europe, XXL, HD-, Sky
    Internet: Unitymedia 1play 100 / Cisco EPC3212 + Linksys WRT1900ACS + Fritz!Box 7390 / IPv4 (UM) + IPv6 (HE)

  20. The Following 3 Users Say Thank You to SpaceRat For This Useful Post:

    abu baniaz (13-07-19),Andy_Hazza (12-07-19),deltec (13-07-19)

  21. #15
    Moderator abu baniaz's Avatar

    Join Date
    Sep 2010
    Location
    East London
    Posts
    18,801
    Thanks
    4,933
    Thanked 7,353 Times in 4,958 Posts
    Change made in 4.2 branch for now
    https://github.com/oe-alliance/oe-al...870990e15efb4f

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.