Autor Thema: Raspberry PI2/Openelec 6.0/MediaPro III : Freeze or "no data" after some hours  (Gelesen 39755 mal)

Want2Play

  • Newbie
  • *
  • Beiträge: 25
    • Profil anzeigen
Hello,

I have two problem after some hours : the system freeze or VDR (VNSI) say "no data" and it is impossible to access at a channel.

The configuration :
- Raspberry 2;
- Power 5 V / 2A;
- the MerdiaPro III is connected to a powered Hub USB;
- SD cards "SanDisk Ultra microSDXC UHS-I card 64 GB (Up to 48 MB/S)"
- Openelec 6.0.0;
- VDR backend + VDR frontend (VDSI) "Priority -1" "Demander le différé 1" , IP by default not modified 127.0.0.1;
- MediaPro configured for DVB-T with "Enable hardware PID = ON", "Enable IR Receiver = ON", "Enable suspend/resume the driver = ON";
- the last version of the Sundtek driver is used : manual update via the GUI;
- some plugins in the "Video" section;


I have a freeze of the image after some hours or it's impossible to obtain a channel.

The details now.

Problem 1 :
After some hours, 5 hours in the last case, and with a HD channel (ARTE HD) selected, the image an the sound are stopped. The image is static on the screen. Impossible to stop or change the channel. The reboot is the only solution.

Problem 2 :
Some records are scheduled by the "Guide" menu in the night and are correctly done. But in the morning, it's impossible to see a channel. The VDR frontend (VDSI) report "No data" for each channel. The reboot is the only solution.

I don't know if it's related to your hardware or software, I could post in the Openelec forum if your are not concern. I hope that you can help me.

Edit : With Overclock Turob or Pi2 or no overclock, I notice that the CPU frequency could by 100 MHz or 900 Mhz, but sometimes the frequency is 600 MHz and return to 900 or 100 MHz. The temperature is between 42 °C or 50 °C - Pi2 mode without dissipators. I can't say why.
I've try to use the "performance" option (https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=128872&p=872235#p872235) : "echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" for each CPU, but the default "ondemand" value is set at the boot time.

If I can give you some other usefull informations, ask them please.

Best regards.


« Letzte Änderung: Januar 03, 2016, 09:12:44 Nachmittag von Want2Play »

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:Raspberry PI2/Openelec 6.0/MediaPro III : Freeze or "no data" after some hours
« Antwort #1 am: Januar 03, 2016, 11:53:47 Nachmittag »
Change everything to performance as indicated in that post.

is the system still alive?

Did you try to restart vdr only?


What does "dmesg" say on the console?
Failure is a good thing! I'll fix it

Want2Play

  • Newbie
  • *
  • Beiträge: 25
    • Profil anzeigen
Re:Raspberry PI2/Openelec 6.0/MediaPro III : Freeze or "no data" after some hours
« Antwort #2 am: Januar 04, 2016, 05:06:59 Nachmittag »
Change everything to performance as indicated in that post.

How to change permanently this parameters because at each reboot it's lost ?

Must I modify ./storage/.kodi/addons/driver.dvb.sundtek-mediatv/bin/sundtek-mediatv.start ?

Zitat
is the system still alive?
Is, the SSH access is always available and 'top' show a normal situation.

Zitat
Did you try to restart vdr only?

I don't how to restart VDR.

With Openelec there is the backend and a frontend. What part to restart ?

Zitat
What does "dmesg" say on the console?
I can't give you the response now.

Want2Play

  • Newbie
  • *
  • Beiträge: 25
    • Profil anzeigen
Re:Raspberry PI2/Openelec 6.0/MediaPro III : Freeze or "no data" after some hours
« Antwort #3 am: Januar 04, 2016, 10:43:38 Nachmittag »
The "dmesg" :
[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Linux version 4.1.12 (stephan@buildserver.openelec.tv) (gcc version 4.9.3 (GCC) ) #1 SMP Sun Nov 1 16:44:41 CET 2015
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Raspberry Pi 2 Model B Rev 1.1
[    0.000000] cma: Reserved 8 MiB at 0x2e800000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 192512
[    0.000000] free_area_init_node: node 0, pgdat 80873cc0, node_mem_map ae212000
[    0.000000]   Normal zone: 1504 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 192512 pages, LIFO batch:31
[    0.000000] [bcm2709_smp_init_cpus] enter (93c0->f3003010)
[    0.000000] [bcm2709_smp_init_cpus] ncores=4
[    0.000000] PERCPU: Embedded 11 pages/cpu @ae1d8000 s15488 r8192 d21376 u45056
[    0.000000] pcpu-alloc: s15488 r8192 d21376 u45056 alloc=11*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 191008
[    0.000000] Kernel command line: root=/dev/ram0 rdinit=/init BOOT_IMAGE=/kernel.img usbcore.autosuspend=-1 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2709.boardrev=0xa01041 bcm2709.serial=0x5c3cbc5e smsc95xx.macaddr=B8:27:EB:3C:BC:5E bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 745720K/770048K available (5115K kernel code, 306K rwdata, 1376K rodata, 1828K init, 387K bss, 16136K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xaf800000 - 0xff000000   (1272 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xaf000000   ( 752 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x8065effc   (6492 kB)
[    0.000000]       .init : 0x8065f000 - 0x80828000   (1828 kB)
[    0.000000]       .data : 0x80828000 - 0x80874ad8   ( 307 kB)
[    0.000000]        .bss : 0x80877000 - 0x808d7ddc   ( 388 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:608
[    0.000000] Architected cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000010] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000029] Switching to timer-based delay loop, resolution 52ns
[    0.000225] Console: colour dummy device 80x30
[    0.000990] console [tty0] enabled
[    0.001037] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.00 BogoMIPS (lpj=64000)
[    0.001100] pid_max: default: 32768 minimum: 301
[    0.001275] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001318] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002401] CPU: Testing write buffer coherency: ok
[    0.002950] CPU0: update cpu_capacity 1024
[    0.002994] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.003029] [bcm2709_smp_prepare_cpus] enter
[    0.003237] Setting up static identity map for 0x8280 - 0x82b4
[    0.005213] [bcm2709_boot_secondary] cpu:1 started (0) 17
[    0.005591] [bcm2709_secondary_init] enter cpu:1
[    0.005640] CPU1: update cpu_capacity 1024
[    0.005648] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.006177] [bcm2709_boot_secondary] cpu:2 started (0) 17
[    0.006464] [bcm2709_secondary_init] enter cpu:2
[    0.006495] CPU2: update cpu_capacity 1024
[    0.006503] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.006979] [bcm2709_boot_secondary] cpu:3 started (0) 17
[    0.007234] [bcm2709_secondary_init] enter cpu:3
[    0.007264] CPU3: update cpu_capacity 1024
[    0.007271] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.007348] Brought up 4 CPUs
[    0.007454] SMP: Total of 4 processors activated (153.00 BogoMIPS).
[    0.007484] CPU: All CPU(s) started in HYP mode.
[    0.007511] CPU: Virtualization extensions available.
[    0.008228] devtmpfs: initialized
[    0.029175] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.029504] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.030248] pinctrl core: initialized pinctrl subsystem
[    0.031037] NET: Registered protocol family 16
[    0.036705] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.050094] cpuidle: using governor ladder
[    0.063452] cpuidle: using governor menu
[    0.063879] bcm2709.uart_clock = 3000000
[    0.068471] Serial: AMBA PL011 UART driver
[    0.068674] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev2
[    0.069210] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.124808] bcm2708-dmaengine 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0xf35
[    0.124895] bcm2708-dmaengine 3f007000.dma: Initialized 7 DMA channels (+ 1 legacy)
[    0.125636] bcm2708-dmaengine 3f007000.dma: Load BCM2835 DMA engine driver
[    0.125677] bcm2708-dmaengine 3f007000.dma: dma_debug:0
[    0.126271] SCSI subsystem initialized
[    0.126724] usbcore: registered new interface driver usbfs
[    0.126866] usbcore: registered new interface driver hub
[    0.127015] usbcore: registered new device driver usb
[    0.127915] raspberrypi-firmware soc:firmware: Attached to firmware from 2015-10-28 17:09
[    0.155121] Switched to clocksource arch_sys_counter
[    0.166659] NET: Registered protocol family 2
[    0.167767] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.167936] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.168151] TCP: Hash tables configured (established 8192 bind 8192)
[    0.168291] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.168376] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.168787] NET: Registered protocol family 1
[    0.169227] RPC: Registered named UNIX socket transport module.
[    0.169269] RPC: Registered udp transport module.
[    0.169298] RPC: Registered tcp transport module.
[    0.169327] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.307944] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.322633] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.324903] NFS: Registering the id_resolver key type
[    0.325012] Key type id_resolver registered
[    0.325043] Key type id_legacy registered
[    0.325092] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.329232] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.329303] io scheduler noop registered (default)
[    0.329344] io scheduler deadline registered
[    0.329415] io scheduler cfq registered
[    0.331591] BCM2708FB: allocated DMA memory eec00000
[    0.331658] BCM2708FB: allocated DMA channel 0 @ f3007000
[    0.361089] Console: switching to colour frame buffer device 228x61
[    0.380234] vc-cma: Videocore CMA driver
[    0.380328] vc-cma: vc_cma_base      = 0x00000000
[    0.380423] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    0.380529] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    0.380845] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[    0.395098] brd: module loaded
[    0.395399] loop: module loaded
[    0.396025] nbd: registered device at major 43
[    0.405812] vchiq: vchiq_init_state: slot_zero = 0xaec80000, is_master = 0
[    0.407776] usbcore: registered new interface driver rtsx_usb
[    0.407922] Loading iSCSI transport class v2.0-870.
[    0.408592] iscsi: registered transport (tcp)
[    0.409049] tun: Universal TUN/TAP device driver, 1.6
[    0.409159] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    0.409639] usbcore: registered new interface driver dm9601
[    0.409875] usbcore: registered new interface driver smsc95xx
[    0.410098] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.610547] Core Release: 2.80a
[    0.610636] Setting default values for core params
[    0.610768] Finished setting default values for core params
[    0.811251] Using Buffer DMA mode
[    0.811332] Periodic Transfer Interrupt Enhancement - disabled
[    0.811444] Multiprocessor Interrupt Enhancement - disabled
[    0.811553] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.811651] Dedicated Tx FIFOs mode
[    0.812091] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xaec14000 dma = 0xeec14000 len=9024
[    0.812304] FIQ FSM acceleration enabled for :
[    0.812304] Non-periodic Split Transactions
[    0.812304] Periodic Split Transactions
[    0.812304] High-Speed Isochronous Endpoints
[    0.812603] dwc_otg: Microframe scheduler enabled
[    0.812661] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x80394888
[    0.817639] WARN::hcd_init_fiq:413: FIQ ASM at 0x80394bf8 length 36
[    0.822580] WARN::hcd_init_fiq:438: MPHI regs_base at 0xaf8a4000
[    0.827536] dwc_otg 3f980000.usb: DWC OTG Controller
[    0.832452] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    0.837400] dwc_otg 3f980000.usb: irq 32, io mem 0x00000000
[    0.842336] Init: Port Power? op_state=1
[    0.847168] Init: Power Port (0)
[    0.852165] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.857025] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.861876] usb usb1: Product: DWC OTG Controller
[    0.866679] usb usb1: Manufacturer: Linux 4.1.12 dwc_otg_hcd
[    0.871470] usb usb1: SerialNumber: 3f980000.usb
[    0.877016] hub 1-0:1.0: USB hub found
[    0.881864] hub 1-0:1.0: 1 port detected
[    0.887105] dwc_otg: FIQ enabled
[    0.887118] dwc_otg: NAK holdoff enabled
[    0.887126] dwc_otg: FIQ split-transaction FSM enabled
[    0.887165] Module dwc_common_port init
[    0.887445] usbcore: registered new interface driver uas
[    0.892470] usbcore: registered new interface driver usb-storage
[    0.897535] mousedev: PS/2 mouse device common for all mice
[    0.902489] i2c /dev entries driver
[    0.908146] bcm2835-cpufreq: min=600000 max=900000
[    0.915628] sdhci: Secure Digital Host Controller Interface driver
[    0.918855] sdhci: Copyright(c) Pierre Ossman
[    0.922363] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    0.925584] mmc-bcm2835 3f300000.mmc: DMA channels allocated
[    0.955333] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.965366] hidraw: raw HID events driver (C) Jiri Kosina
[    0.979114] usbcore: registered new interface driver usbhid
[    0.982354] usbhid: USB HID core driver
[    0.986556] NET: Registered protocol family 10
[    0.990768] NET: Registered protocol family 17
[    0.994077] Key type dns_resolver registered
[    0.997530] Registering SWP/SWPB emulation handler
[    1.001458] vc-sm: Videocore shared memory driver
[    1.004712] [vc_sm_connected_init]: start
[    1.008367] [vc_sm_connected_init]: end - returning 0
[    1.011802] console [netcon0] enabled
[    1.014932] netconsole: network logging started
[    1.021014] Freeing unused kernel memory: 1828K (8065f000 - 80828000)
[    1.029458] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.036381] mmc0: new high speed SDXC card at address aaaa
[    1.040677] mmcblk0: mmc0:aaaa SL64G 59.4 GiB
[    1.050657]  mmcblk0: p1 p2
[    1.085263] Indeed it is in host mode hprt0 = 00021501
[    1.251855] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.252097] Indeed it is in host mode hprt0 = 00001101
[    1.432150] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    1.432175] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.432860] hub 1-1:1.0: USB hub found
[    1.432946] hub 1-1:1.0: 5 ports detected
[    1.710093] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.710628] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.711827] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    1.808356] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    1.808379] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.811064] smsc95xx v1.0.4
[    1.851056] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:3c:bc:5e
[    1.907468] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.928482] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    2.023086] usb 1-1.2: New USB device found, idVendor=05e3, idProduct=0608
[    2.023108] usb 1-1.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.023119] usb 1-1.2: Product: USB2.0 Hub
[    2.023904] hub 1-1.2:1.0: USB hub found
[    2.024217] hub 1-1.2:1.0: 4 ports detected
[    2.105211] usb 1-1.4: new low-speed USB device number 5 using dwc_otg
[    2.216923] usb 1-1.4: New USB device found, idVendor=0dc6, idProduct=3401
[    2.216946] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.216957] usb 1-1.4: Product: SCISSORS Keyboard
[    2.216967] usb 1-1.4: Manufacturer: 
[    2.233925] input:   SCISSORS Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:0DC6:3401.0001/input/input0
[    2.285582] hid-generic 0003:0DC6:3401.0001: input,hidraw0: USB HID v1.00 Keyboard [  SCISSORS Keyboard] on usb-3f980000.usb-1.4/input0
[    2.292911] usb 1-1.2.2: new high-speed USB device number 6 using dwc_otg
[    2.326297] random: systemd urandom read with 86 bits of entropy available
[    2.337171] systemd[1]: systemd 219 running in system mode. (-PAM -AUDIT -SELINUX -IMA -APPARMOR -SMACK -SYSVINIT -UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS -ACL -XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[    2.337467] systemd[1]: Detected architecture 'arm'.
[    2.337764] systemd[1]: Running with unpopulated /etc.
[    2.339548] systemd[1]: Set hostname to <OpenELEC>.
[    2.339873] systemd[1]: Initializing machine ID from random generator.
[    2.340784] systemd[1]: Populated /etc with preset unit settings.
[    2.353301] systemd[1]: Unit type .busname is not supported on this system.
[    2.374628] usb 1-1.2.2: New USB device found, idVendor=2659, idProduct=1210
[    2.374651] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.374662] usb 1-1.2.2: Product: MediaTV Pro III (EU)
[    2.374672] usb 1-1.2.2: Manufacturer: Sundtek
[    2.374681] usb 1-1.2.2: SerialNumber: U151204174522
[    2.450957] systemd[1]: Created slice Root Slice.
[    2.451051] systemd[1]: Starting Root Slice.
[    2.451585] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    2.451649] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[    2.452145] systemd[1]: Listening on Delayed Shutdown Socket.
[    2.452210] systemd[1]: Starting Delayed Shutdown Socket.
[    2.452684] systemd[1]: Listening on Journal Socket.
[    2.452761] systemd[1]: Starting Journal Socket.
[    2.453212] systemd[1]: Listening on udev Control Socket.
[    2.453271] systemd[1]: Starting udev Control Socket.
[    2.453778] systemd[1]: Created slice User and Session Slice.
[    2.453838] systemd[1]: Starting User and Session Slice.
[    2.454287] systemd[1]: Created slice System Slice.
[    2.454362] systemd[1]: Starting System Slice.
[    2.456261] systemd[1]: Starting Mounting swapfile...
[    2.457153] systemd[1]: Started Debug Shell on /dev/console.
[    2.457777] systemd[1]: Started Debug Shell.
[    2.459861] systemd[1]: Mounting Variable Directory...
[    2.462690] systemd[1]: Starting Remount Root and Kernel File Systems...
[    2.466254] systemd[1]: Mounting Debug File System...
[    2.469342] systemd[1]: Mounting POSIX Message Queue File System...
[    2.472332] systemd[1]: Mounting Temporary Directory...
[    2.475284] systemd[1]: Starting Show Version...
[    2.485271] usb 1-1.5: new full-speed USB device number 7 using dwc_otg
[    2.486296] systemd[1]: Starting Load Kernel Modules...
[    2.488839] systemd[1]: Starting Setup machine-id...
[    2.489657] systemd[1]: Listening on Journal Socket (/dev/log).
[    2.489782] systemd[1]: Starting Journal Socket (/dev/log).
[    2.590104] usb 1-1.5: New USB device found, idVendor=1997, idProduct=2433
[    2.590137] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.590147] usb 1-1.5: Product: Mini Keyboard
[    2.590158] usb 1-1.5: Manufacturer: 
[    2.597754] input:   Mini Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:1997:2433.0002/input/input1
[    2.606222] systemd[1]: Listening on Journal Audit Socket.
[    2.607244] systemd[1]: Reached target Slices.
[    2.607434] systemd[1]: Starting Slices.
[    2.608064] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    2.608337] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[    2.609190] systemd[1]: Listening on udev Kernel Socket.
[    2.609565] systemd[1]: Starting udev Kernel Socket.
[    2.612130] systemd[1]: Starting udev Coldplug all Devices...
[    2.616454] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    2.617513] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    2.617657] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    2.618307] systemd[1]: Reached target Paths.
[    2.618607] systemd[1]: Starting Paths.
[    2.619307] systemd[1]: Mounted Huge Pages File System.
[    2.620877] bcm2708_rng_init=afa7a000
[    2.627225] systemd[1]: Mounted Debug File System.
[    2.628968] systemd[1]: Mounted POSIX Message Queue File System.
[    2.630005] systemd[1]: Mounted Variable Directory.
[    2.631898] systemd[1]: Mounted Temporary Directory.
[    2.639750] systemd[1]: Started Remount Root and Kernel File Systems.
[    2.647377] systemd[1]: Started Show Version.
[    2.651304] systemd[1]: Started Setup machine-id.
[    2.655676] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    2.791494] systemd[1]: Started udev Coldplug all Devices.
[    2.794343] systemd[1]: Started Mounting swapfile.
[    2.936174] systemd[1]: Reached target Swap.
[    2.936335] systemd[1]: Starting Swap.
[    2.940470] systemd[1]: Starting Create Static Device Nodes in /dev...
[    2.946240] systemd[1]: Starting Journal Service...
[    2.952784] systemd[1]: Started Rebuild Hardware Database.
[    2.955220] systemd[1]: Started Debug /var/log relink.
[    2.970083] systemd[1]: Starting Setup Timezone data...
[    3.542829] hid-generic 0003:1997:2433.0002: input,hidraw1: USB HID v1.01 Keyboard [  Mini Keyboard] on usb-3f980000.usb-1.5/input0
[    3.550920] input:   Mini Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.1/0003:1997:2433.0003/input/input2
[    3.562548] systemd[1]: Started Load Kernel Modules.
[    3.564254] systemd[1]: Started Create Static Device Nodes in /dev.
[    3.566387] systemd[1]: Started Setup Timezone data.
[    3.602449] hid-generic 0003:1997:2433.0003: input,hidraw2: USB HID v1.01 Mouse [  Mini Keyboard] on usb-3f980000.usb-1.5/input1
[    3.625579] systemd[1]: Started Journal Service.
[    3.706417] systemd-journald[177]: Received request to flush runtime journal from PID 1
[    4.996245] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    4.998622] Console: switching to colour dummy device 80x30
[    5.554145] random: nonblocking pool is initialized
[    5.797315] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[    5.797789] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.456406] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.459533] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
[    8.178558] input: Sundtek Ltd. Remote Control as /devices/virtual/input/input3
[   11.897637] usb 1-1.2.2: usbfs: process 483 (mediasrv) did not claim interface 0 before use
[   17.738111] usb 1-1.2.2: usbfs: process 531 (mediasrv) did not claim interface 2 before use
[42197.164880] usb 1-1.2.2: USB disconnect, device number 6
[42197.360154] usb 1-1.2.2: new high-speed USB device number 8 using dwc_otg
[42197.443293] usb 1-1.2.2: New USB device found, idVendor=2659, idProduct=1210
[42197.443318] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[42197.443330] usb 1-1.2.2: Product: MediaTV Pro III (EU)
[42197.443340] usb 1-1.2.2: Manufacturer: Sundtek
[42197.443351] usb 1-1.2.2: SerialNumber: U151204174522
[42198.372727] input: Sundtek Ltd. Remote Control as /devices/virtual/input/input4
[42201.996835] usb 1-1.2.2: usbfs: process 483 (mediasrv) did not claim interface 0 before use
[42230.192523] usb 1-1.2.2: USB disconnect, device number 8
[42230.380156] usb 1-1.2.2: new high-speed USB device number 9 using dwc_otg
[42230.463203] usb 1-1.2.2: New USB device found, idVendor=2659, idProduct=1210
[42230.463229] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[42230.463241] usb 1-1.2.2: Product: MediaTV Pro III (EU)
[42230.463251] usb 1-1.2.2: Manufacturer: Sundtek
[42230.463261] usb 1-1.2.2: SerialNumber: U151204174522
[42232.016822] input: Sundtek Ltd. Remote Control as /devices/virtual/input/input5
[42235.645359] usb 1-1.2.2: usbfs: process 483 (mediasrv) did not claim interface 0 before use
[42280.119179] usb 1-1.2.2: USB disconnect, device number 9
[42280.313449] usb 1-1.2.2: new high-speed USB device number 10 using dwc_otg
[42280.396469] usb 1-1.2.2: New USB device found, idVendor=2659, idProduct=1210
[42280.396496] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[42280.396507] usb 1-1.2.2: Product: MediaTV Pro III (EU)
[42280.396517] usb 1-1.2.2: Manufacturer: Sundtek
[42280.396527] usb 1-1.2.2: SerialNumber: U151204174522
[42281.876941] input: Sundtek Ltd. Remote Control as /devices/virtual/input/input6

After 142 lines with the same type of message
[42282.538451] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 192 rq 6 len 1 ret -71
[42282.538666] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 64 rq 2 len 4 ret -71
[42282.538813] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 64 rq 2 len 1 ret -71
[42282.538980] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 64 rq 2 len 2 ret -71
[42282.539134] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 64 rq 2 len 1 ret -71
[42282.539292] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 64 rq 2 len 4 ret -71
[42282.539480] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 64 rq 2 len 1 ret -71
[42282.539652] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 192 rq 6 len 4 ret -71
[42282.539799] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 192 rq 6 len 1 ret -71
[42282.539973] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 64 rq 2 len 4 ret -71
[42282.544671] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 64 rq 2 len 2 ret -71
[42282.547029] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 192 rq 6 len 3 ret -71
[42282.549791] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 64 rq 2 len 2 ret -71
[42282.550027] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 192 rq 6 len 4 ret -71
[42282.550220] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 192 rq 6 len 4 ret -71
[42282.550396] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 192 rq 6 len 4 ret -71

After this part :
[42282.679435] usb 1-1.2.2: USB disconnect, device number 10
[42282.870121] usb 1-1.2.2: new high-speed USB device number 11 using dwc_otg
[42282.953062] usb 1-1.2.2: New USB device found, idVendor=2659, idProduct=1210
[42282.953088] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[42282.953099] usb 1-1.2.2: Product: MediaTV Pro III (EU)
[42282.953109] usb 1-1.2.2: Manufacturer: Sundtek
[42282.953120] usb 1-1.2.2: SerialNumber: U151204174522
[42284.874608] input: Sundtek Ltd. Remote Control as /devices/virtual/input/input7
[42288.517881] usb 1-1.2.2: usbfs: process 483 (mediasrv) did not claim interface 0 before use
[42320.060498] usb 1-1.2.2: USB disconnect, device number 11
[42320.253448] usb 1-1.2.2: new high-speed USB device number 12 using dwc_otg
[42320.336516] usb 1-1.2.2: New USB device found, idVendor=2659, idProduct=1210
[42320.336541] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[42320.336552] usb 1-1.2.2: Product: MediaTV Pro III (EU)
[42320.336562] usb 1-1.2.2: Manufacturer: Sundtek
[42320.336572] usb 1-1.2.2: SerialNumber: U151204174522

Followed by the repetition of :
[42321.515440] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 64 rq 0 len 4 ret -71
[42321.515674] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 64 rq 0 len 4 ret -71

I suppose that the last part wad generated in the evening when I've tested a channel before to get get the resutlt of the "dmesg" command :
[42321.596715] usb 1-1.2.2: USB disconnect, device number 12
[42321.604258] usb 1-1.2.2: usbfs: USBDEVFS_CONTROL failed cmd mediasrv rqt 64 rq 0 len 4 ret -71
[42321.678732] input: Sundtek Ltd. Remote Control as /devices/virtual/input/input8
[42321.790103] usb 1-1.2.2: new high-speed USB device number 13 using dwc_otg
[42321.873169] usb 1-1.2.2: New USB device found, idVendor=2659, idProduct=1210
[42321.873196] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[42321.873208] usb 1-1.2.2: Product: MediaTV Pro III (EU)
[42321.873219] usb 1-1.2.2: Manufacturer: Sundtek
[42321.873229] usb 1-1.2.2: SerialNumber: U151204174522
[42324.139207] input: Sundtek Ltd. Remote Control as /devices/virtual/input/input9
[42327.765867] usb 1-1.2.2: usbfs: process 483 (mediasrv) did not claim interface 0 before use
[42474.427582] usb 1-1.2.2: usbfs: process 3694 (mediasrv) did not claim interface 2 before use



Alaways "No data" return by the VDR frontend in the evening.



Zitat
Did you try to restart vdr only?

It's impossible to stop the VDR frontend because the VDR backend is actif, so, I've stop and start the backend : the channels are available.

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:Raspberry PI2/Openelec 6.0/MediaPro III : Freeze or "no data" after some hours
« Antwort #4 am: Januar 04, 2016, 10:51:05 Nachmittag »
Does the -71 message match with your freeze?

I guess it has something to do with some power failure, either the USB hub or the RPI might not have enough power.
« Letzte Änderung: Januar 04, 2016, 10:52:39 Nachmittag von Sundtek »
Failure is a good thing! I'll fix it

Want2Play

  • Newbie
  • *
  • Beiträge: 25
    • Profil anzeigen
Re:Raspberry PI2/Openelec 6.0/MediaPro III : Freeze or "no data" after some hours
« Antwort #5 am: Januar 05, 2016, 12:22:04 Vormittag »
This time, there is no freeze, but it was impossible to see a channel.

My HUB is a "DIGITUS / 4-Port USB 2.0 / Design HUB / DA-70220" with a power supply 5 V / 2 A. There is only the MediaPro connected to the HUB, nothing else.

Connected to the Raspberry, I have a keyboard and a Wifi dongle for a "Rii 8 " Keyboard - http://www.kubii.fr/peripheriques-usb-rapsberry-pi/671-mini-clavier-rii-mini-i8-azerty-6952917708002.html. But I kept the keyboard "power off" when I don't use it.


Zitat
I guess it has something to do with some power failure, either the USB hub or the RPI might not have enough power.
If it is the HUB, what's the power necessary for the MediaPro III?

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:Raspberry PI2/Openelec 6.0/MediaPro III : Freeze or "no data" after some hours
« Antwort #6 am: Januar 05, 2016, 01:42:02 Vormittag »
Connect the tuner directly to the Raspberry PI if possible and use the other ports for the other devices.

The tuners are extremely low power, 200mA for DVB-C, still a bit more for DVB-T maybe 250-300mA.

The only known reason for such issue is a bad AC adapter (but in your case it could be due the hub as well)
« Letzte Änderung: Januar 05, 2016, 01:46:27 Vormittag von Sundtek »
Failure is a good thing! I'll fix it

Want2Play

  • Newbie
  • *
  • Beiträge: 25
    • Profil anzeigen
Re:Raspberry PI2/Openelec 6.0/MediaPro III : Freeze or "no data" after some hours
« Antwort #7 am: Januar 06, 2016, 10:00:59 Vormittag »
I'm waiting a 5V / 3 A power supply for the Raspberry... We'll see if it's the only problem - I hope that.

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:Raspberry PI2/Openelec 6.0/MediaPro III : Freeze or "no data" after some hours
« Antwort #8 am: Januar 06, 2016, 02:20:06 Nachmittag »
First of all try to connect the tuner directly not via the USB hub.
Failure is a good thing! I'll fix it

Want2Play

  • Newbie
  • *
  • Beiträge: 25
    • Profil anzeigen
Re:Raspberry PI2/Openelec 6.0/MediaPro III : Freeze or "no data" after some hours
« Antwort #9 am: Januar 06, 2016, 10:35:19 Nachmittag »
Bravo ! Good diagnostic !

This evening I've power on my Raspberry and my HUB. But VDR proclaims "no data" because my HUB's power supply is dead  :(

I've plugged the tuner directly on the Raspberry and it's WORKING !!  :)

For change the "scaling_governor" the solution is :
cd /storage/.config
touch autostart.sh
chmod a+x autostart.sh
vi autostart.sh

This is my "autostart.sh"
(
  for gov in /sys/devices/system/cpu/cpu[0-9]*/cpufreq/scaling_governor
  do echo "performance" > $gov
  done
) &

Two references :
* http://openelec.tv/forum/148-usage/77654-setting-cpu-scaling-governor-to-performance
* http://wiki.openelec.tv/index.php?title=Autostart.sh

About of your demands
Zitat
First of all try to connect the tuner directly not via the USB hub.
All paper that I've read said to use a HUB to connect the tuner... Maybe for the previous version of the Raspberry Pi2 ???


But, don't be too optimistic, few minutes it's not enough to validate the solution. I'm going to schedule a record and see tomorrow if I can see a channel.

If this is the solution, the next step is to have the remote control usable  ;)
« Letzte Änderung: Januar 06, 2016, 10:38:22 Nachmittag von Want2Play »

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:Raspberry PI2/Openelec 6.0/MediaPro III : Freeze or "no data" after some hours
« Antwort #10 am: Januar 06, 2016, 10:40:42 Nachmittag »
No it's always better to plug the tuner directly. Hubs might introduce some additional problems (might -- not always do)
Failure is a good thing! I'll fix it

Want2Play

  • Newbie
  • *
  • Beiträge: 25
    • Profil anzeigen
Re:Raspberry PI2/Openelec 6.0/MediaPro III : Freeze or "no data" after some hours
« Antwort #11 am: Januar 07, 2016, 10:45:18 Vormittag »
This morning, I've selected a HD channel. Few seconds of pictures and freeze because the update of the EPG data is done, KODI is active, channel unselected. Later, channel selected, but freeze and message from "VDR VNSI" : "no data", after unfreeze and freeze again.

This situation is better than the previous one :
* the Kodi interface is always active;
* few seconds of a channel can be view.

But the freeze because the update of EPG data is strange. The update is programmed to be done every 120 minutes :
* why an update only when I select a channel ? (contact lost during the night with the tuner ?)

I've two messages generated during the night, the two last lines :
[    2.702070] systemd[1]: Started Create Static Device Nodes in /dev.
[    2.722737] systemd[1]: Started Setup machine-id.
[    2.825279] systemd[1]: Started udev Coldplug all Devices.
[    2.827718] systemd[1]: Started Mounting swapfile.
[    2.986070] systemd[1]: Reached target Swap.
[    2.986245] systemd[1]: Starting Swap.
[    2.989938] systemd[1]: Starting Journal Service...
[    2.991624] systemd[1]: Reached target Local File Systems (Pre).
[    2.991924] systemd[1]: Starting Local File Systems (Pre).
[    3.000920] systemd[1]: Starting Setup Timezone data...
[    3.003679] systemd[1]: Reached target Local File Systems.
[    3.003912] systemd[1]: Starting Local File Systems.
[    3.004588] systemd[1]: Started Rebuild Journal Catalog.
[    3.006250] systemd[1]: Started Debug /var/log relink.
[    3.536835] systemd[1]: Started Load Kernel Modules.
[    3.538359] systemd[1]: Started Setup Timezone data.
[    3.581465] systemd[1]: Started Journal Service.
[    3.665422] systemd-journald[178]: Received request to flush runtime journal from PID 1
[    4.958336] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    5.027704] Console: switching to colour dummy device 80x30
[    5.734787] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[    5.735578] random: nonblocking pool is initialized
[    5.735654] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.321334] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.327938] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
[    7.376668] input: Sundtek Ltd. Remote Control as /devices/virtual/input/input2
[   11.077757] usb 1-1.5: usbfs: process 415 (mediasrv) did not claim interface 0 before use
[  265.655892] usb 1-1.5: usbfs: process 445 (mediasrv) did not claim interface 2 before use
[ 4534.718318] usb 1-1.5: USB disconnect, device number 5
[ 4534.924882] usb 1-1.5: new high-speed USB device number 6 using dwc_otg
[ 4535.021162] usb 1-1.5: New USB device found, idVendor=2659, idProduct=1210
[ 4535.021189] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4535.021200] usb 1-1.5: Product: MediaTV Pro III (EU)
[ 4535.021210] usb 1-1.5: Manufacturer: Sundtek
[ 4535.021220] usb 1-1.5: SerialNumber: U151204174522
[ 4535.958485] input: Sundtek Ltd. Remote Control as /devices/virtual/input/input3
[ 4539.589023] usb 1-1.5: usbfs: process 415 (mediasrv) did not claim interface 0 before use
[ 4576.247940] usb 1-1.5: usbfs: process 854 (mediasrv) did not claim interface 2 before use


Nothing to do with the driver's option "suspend/resume" setted "ON" ?


Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:Raspberry PI2/Openelec 6.0/MediaPro III : Freeze or "no data" after some hours
« Antwort #12 am: Januar 07, 2016, 12:03:22 Nachmittag »
run /opt/bin/mediaclient --cpucheck

Did you suspend the RPI during that time?

We were using the RPI for weeks without any problem (but we didn't enter Standby during that time)

You can also enable driver logging
/etc/sundtek.conf
loglevel=min

That will enable logging to /var/log/mediasrv.log

Just recently we have been running the driver for several days on various android systems and also did not see any issue with it.

Either something is set up completely wrong on your Raspberry PI or your Raspberry PI might be damaged?
« Letzte Änderung: Januar 07, 2016, 12:51:03 Nachmittag von Sundtek »
Failure is a good thing! I'll fix it

Want2Play

  • Newbie
  • *
  • Beiträge: 25
    • Profil anzeigen
Re:Raspberry PI2/Openelec 6.0/MediaPro III : Freeze or "no data" after some hours
« Antwort #13 am: Januar 07, 2016, 06:04:57 Nachmittag »
Have you made some tests to use a PVR/DVR with the Raspberry and Osmc or Openelec ?

I use VDR because it is available under Osmc and Openelec. I can't see the records of HD channel with Raspbian. I'm ready to change the solution, but I 'd like keep the Raspberry and your tuner.
Have you a idea ?


Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:Raspberry PI2/Openelec 6.0/MediaPro III : Freeze or "no data" after some hours
« Antwort #14 am: Januar 07, 2016, 07:20:45 Nachmittag »
Hi,

can you contact us via chat? (the link is on the left top side).

I think before using the player on your side you should try to do some basic tests first.
Failure is a good thing! I'll fix it