Page 5 of 8 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 79

Thread: RFH: Do you get 0-byte recordings? (Even infrequently) Please post info about it here

  1. #41
    Join Date
    Jan 2010
    Location
    California
    Beans
    32
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: RFH: Do you get 0-byte recordings? (Even infrequently) Please post info about it

    Distro and release (eg. Ubuntu 10.10, Fedora 13):
    MythBuntu 11.04

    Full version of the MythTV Backend package (eg. dpkg -l mythtv-backend*):
    2:0.24.0+fixes.20110425.56c

    Where you get your mythtv packages from (standard repos, avenard repos, mythbuntu repos, compile from source, etc):

    mythbuntu repos

    Tuners you see the issue on:
    Hauppauge HVR-2250: digital recording only, analog recordings are always good

    Other tuners on your system:
    I also have an HVR-1600 on which the mechanical input for the digital side is physically broken, so it is only an analog card - and I never have trouble with analog recordings

    Firmware version version (eg. 'dmesg | grep firmware'):

    [ 19.100075] saa7164_downloadfirmware() Waiting for firmware upload (NXP7164-2010-03-10.1.fw)
    [ 19.694337] cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes)
    [ 19.834650] cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes)
    [ 20.708889] cx18-0 843: loaded v4l-cx23418-dig.fw firmware (16382 bytes)
    [ 20.728876] cx18-0 843: verified load of v4l-cx23418-dig.fw firmware (16382 bytes)

    Kernel Version (uname -a):
    Linux Mythbox 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

    Snippet of dmesg around the time the issue is happening:

    Not from dmseg (nothing there around the time of the issue), this is from mythbackend.log
    Code:
    2011-10-09 08:29:00.374 Reschedule requested for id 0.
    2011-10-09 08:29:05.283 Scheduled 397 items in 4.9 = 0.07 match + 4.82 place
    2011-10-09 08:29:05.467 scheduler: Scheduled items: Scheduled 397 items in 4.9 = 0.07 match + 4.82 place
    2011-10-09 08:29:29.825 TVRec(3): ASK_RECORDING 3 29 0 0
    2011-10-09 08:29:30.178 TVRec(12): ASK_RECORDING 12 29 0 0
    2011-10-09 08:29:30.414 TVRec(11): ASK_RECORDING 11 29 0 0
    2011-10-09 08:30:03.003 TVRec(11): Changing from None to RecordingOnly
    2011-10-09 08:30:03.078 TVRec(11): HW Tuner: 11->11
    2011-10-09 08:30:03.618 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 7 min
    2011-10-09 08:30:03.687 Started recording: "Peep and the Big Wide  World/Pocoyo":"Current Events; Quack Loses His Hat; Pocoyo -- Pocoyo's  Balloon": channel 65639 on cardid 11, sourceid 2
    2011-10-09 08:30:03.739 scheduler: Started recording: "Peep and the Big  Wide World/Pocoyo":"Current Events; Quack Loses His Hat; Pocoyo --  Pocoyo's Balloon": channel 65639 on cardid 11, sourceid 2
    2011-10-09 08:30:04.439 ProgramInfo(65639_20111009083000.mpg), Error:  GetPlaybackURL: '65639_20111009083000.mpg' should be local, but it can  not be found.
    2011-10-09 08:30:04.622 ProgramInfo(65639_20111009083000.mpg), Error:  GetPlaybackURL: '65639_20111009083000.mpg' should be local, but it can  not be found.
    2011-10-09 08:30:04.859 ProgramInfo(65639_20111009083000.mpg), Error:  GetPlaybackURL: '65639_20111009083000.mpg' should be local, but it can  not be found.


    Any other info you think is relevant:

    ONLY HAPPENS with one of the two digital recorders on the card:
    Encoder 4 [ DVB : /dev/dvb/adapter1/frontend0 ] is local on Mythbox and is not recording.
    Encoder 5 [ DVB : /dev/dvb/adapter1/frontend0 ] is local on Mythbox and is not recording.
    Encoder 11 [ DVB : /dev/dvb/adapter2/frontend0 ] is local on Mythbox and is not recording.
    Encoder 12 [ DVB : /dev/dvb/adapter2/frontend0 ] is local on Mythbox and is not recording.
    Digital-1 (Encoder 4 & 5) never ever suffers a recording issue. Digital-2 (Encoder 11 & 12) does sporadically. I have tried deleting and reinstalling all my cards from mythbackend - didn't help. I have successfully recorded two channels on the same card when the two shows were on the same carrier frequency, but still I've tried forcing only one encoder per card - didn't help. Suspected it might be an issue with throughput to disk (if I were recording too many shows for the buses), doesn't seem to be correlated to how many recordings are concurrent.

    My other suspicion is that my signal quality may be poor - I have a separate cable coax going to the TV, and certain digital channels that should be there are unable to be scanned by the TV; on other frequencies, I get signal dropouts on the TV (the screen will go blank for a significant fraction of one second, the TV will report "No signal", then the video will come back), but then the recordings on those frequencies are pristine. I've tried upping the timeout for Myth to lock channel to no avail. But then again - why would Digital-2 have problems when Digital-1 never does?

    My family uses Myth exclusively as a timeshift device - we do not watch live TV through the Myth system. Every recording is scheduled through the Mythweb interface, and it does seem that certain frequencies are more susceptible to the issue than others, but that may just be a result of how much PBS we record relative to any other channel.
    Last edited by johnlatz; October 9th, 2011 at 06:55 PM.

  2. #42
    Join Date
    Nov 2006
    Beans
    17

    Re: RFH: Do you get 0-byte recordings? (Even infrequently) Please post info about it

    Distro and release (eg. Ubuntu 10.10, Fedora 13):
    Code:
    Ubuntu 11.04
    Full version of the MythTV Backend package (eg. dpkg -l mythtv-backend*):
    Code:
    mythtv-backend 2:0.24.1+fixes.20110911.8f865a6-0ubuntu0mythbu
    mythtv-backend-master                        2:0.24.1+fixes.20110911.8f865a6-0ubuntu0mythbu
    Where you get your mythtv packages from (standard repos, avenard repos, mythbuntu repos, compile from source, etc):
    mythbuntu nightly repos
    Tuners you see the issue on:
    HDPVR
    Other tuners on your system:
    None
    Firmware version version (eg. 'dmesg | grep hdpvr'):
    Command did not yield any results, haven't upgraded firmware. I bought the tuner 1.5 years ago.
    Kernel Version (uname -a):
    Code:
    Linux ginny 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
    Snippet of dmesg around the time the issue is happening:
    I don't have the start of the issue as my dmesg has filled with repetitions of this:
    Code:
    [1215436.890146] lirc_zilog: unable to read from the IR chip after 3 resets, giving up
    [1215438.149248] lirc_zilog: i2c_master_send failed with -110
    [1215438.149252] lirc_zilog: polling the IR receiver chip failed, trying reset
    Any other info you think is relevant:

    I wrote a script to restart everything and preserve uptime (for bragging rights):

    Code:
    sudo /etc/init.d/mythtv-backend stop
    sudo rmmod hdpvr
    sudo modprobe hdpvr
    sudo rmmod lirc_zilog
    sudo modprobe lirc_zilog
    sudo /etc/init.d/mythtv-backend start
    This requires a hdpvr power cycle, then reloads both the hdpvr driver, then the lirc_zilog IR blaster driver.

  3. #43
    Join Date
    May 2007
    Beans
    2,334

    Re: RFH: Do you get 0-byte recordings? (Even infrequently) Please post info about it

    Quote Originally Posted by jimmybondo View Post
    Distro and release (eg. Ubuntu 10.10, Fedora 13):
    Code:
    [1215436.890146] lirc_zilog: unable to read from the IR chip after 3 resets, giving up
    [1215438.149248] lirc_zilog: i2c_master_send failed with -110
    [1215438.149252] lirc_zilog: polling the IR receiver chip failed, trying reset
    Any other info you think is relevant:
    Maybe try booting with the irqpoll option. I was having i2c errors from my dvb cards until I enabled it.

    Regards
    Ian Dobson
    Walking on water and writing software to specification is easy if they're frozen.

    My corner of the internet http://www.planet-ian.com

  4. #44
    Join Date
    Mar 2009
    Beans
    116
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: RFH: Do you get 0-byte recordings? (Even infrequently) Please post info about it

    As it turns out, all of my problems seem to stem from my hardware and collisions. I've had much better success for the last 6 weeks or so, in-spite of OTA atmospheric interference (always guaranteed to trigger the problem).

    I don't fully understand, but what I know for sure is by adding an additional hard drive into my storage groups, and distributing recordings that coincide to different drives, my 0-byte recordings have been almost eliminated. The only ones I still get are when a family member adds a recording and doesn't ensure it's on a different storage group. The good news is, even if I get a 0-byte recording on one drive, the recordings on the other drive stay intact.

    So, now I need to figure out where the gate is and if it's fixable (short of limiting my recordings ). Either the HDD I'm using is to slow or the bus feeding it is. I am probably going to start with upgrading the motherboard and then see what happens.
    Out of the ashes of disaster grow the roses of success

    Are you for Linux? Is Linux for you?

  5. #45
    Join Date
    Nov 2009
    Beans
    22

    Re: RFH: Do you get 0-byte recordings? (Even infrequently) Please post info about it

    Distro and release: Mythbuntu 11.10
    Where you get your mythtv packages from: mythbuntu repos
    Tuners you see the issue on: USB Dual Kworld U399.
    Firmware version version: as included with Mythbuntu 11.10
    Kernel Version: as with Mythbuntu 11.10 (3.0.3 ?)

    Any other info you think is relevant:

    Backend logs show that the recording has started but no log of it finishing.
    First setup was working fine, but now every recording is 0 byte

    Sorry for lack of version info & logs etc, I'm not currently connected to BackEnd.

    Need to check storage location and access, I changed this early on to a 2nd HDD.
    Steven
    Last edited by sbrattonuk; November 23rd, 2011 at 05:55 PM. Reason: missed some info

  6. #46
    Join Date
    Nov 2006
    Beans
    17

    Re: RFH: Do you get 0-byte recordings? (Even infrequently) Please post info about it

    Quote Originally Posted by ian dobson View Post
    Maybe try booting with the irqpoll option. I was having i2c errors from my dvb cards until I enabled it.

    Regards
    Ian Dobson
    I just got around to trying this and it helped for about a week. Here is what I did:

    Code:
    sudo vi /etc/default/grub
    <add irqpoll to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash irqpoll">
    sudo update-grub
    reboot
    However, now I am getting the same errors in dmesg:
    Code:
    [630147.775683] lirc_zilog: i2c_master_send failed with -110
    [630147.775686] lirc_zilog: polling the IR receiver chip failed, trying reset
    [630148.874773] lirc_zilog: i2c_master_send failed with -110
    [630148.874775] lirc_zilog: polling the IR receiver chip failed, trying reset
    [630149.973998] lirc_zilog: i2c_master_send failed with -110
    [630149.974000] lirc_zilog: polling the IR receiver chip failed, trying reset
    [630151.073215] lirc_zilog: i2c_master_send failed with -110
    [630151.073217] lirc_zilog: unable to read from the IR chip after 3 resets, giving up
    Any ideas? I seem to get recordings that are only a few bytes long, then all subsequent recordings are 0-bytes.

    Thanks,
    Jim

  7. #47
    Join Date
    May 2007
    Beans
    2,334

    Re: RFH: Do you get 0-byte recordings? (Even infrequently) Please post info about it

    Quote Originally Posted by jimmybondo View Post
    I just got around to trying this and it helped for about a week. Here is what I did:

    Code:
    sudo vi /etc/default/grub
    <add irqpoll to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash irqpoll">
    sudo update-grub
    reboot
    However, now I am getting the same errors in dmesg:
    Code:
    [630147.775683] lirc_zilog: i2c_master_send failed with -110
    [630147.775686] lirc_zilog: polling the IR receiver chip failed, trying reset
    [630148.874773] lirc_zilog: i2c_master_send failed with -110
    [630148.874775] lirc_zilog: polling the IR receiver chip failed, trying reset
    [630149.973998] lirc_zilog: i2c_master_send failed with -110
    [630149.974000] lirc_zilog: polling the IR receiver chip failed, trying reset
    [630151.073215] lirc_zilog: i2c_master_send failed with -110
    [630151.073217] lirc_zilog: unable to read from the IR chip after 3 resets, giving up
    Any ideas? I seem to get recordings that are only a few bytes long, then all subsequent recordings are 0-bytes.

    Thanks,
    Jim
    Hi,
    Do you see any other error messages in the log files, somthing along the lines of:
    interrupt X, but nobody cared (try irqpoll)

    If you saw a nobody cared error, and If your running 11.10 then the irqpoll should fix the i2c errors, but due to a small bug in kernels > 2.6.39 irqpoll doesn't work. There's a patch upstream that should make it into the 11.10 kernel sometime soon.

    The patch is actually really small (a 1 liner) so if you want to compile your own kernel, let me know and I'll dig out the information and post it here.

    Regards
    Ian Dobson
    Walking on water and writing software to specification is easy if they're frozen.

    My corner of the internet http://www.planet-ian.com

  8. #48
    Join Date
    Nov 2006
    Beans
    17

    Re: RFH: Do you get 0-byte recordings? (Even infrequently) Please post info about it

    Quote Originally Posted by ian dobson View Post
    Hi,
    Do you see any other error messages in the log files, somthing along the lines of:
    interrupt X, but nobody cared (try irqpoll)
    I am actually on 11.04:

    Code:
    user@ginny:~$ uname -a
    Linux ginny 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
    user@ginny:~$ cat /etc/issue
    Ubuntu 11.04 \n \l
    So this should of worked, any more ideas or are any more logs helpful?
    JIm

  9. #49
    Join Date
    May 2007
    Beans
    2,334

    Re: RFH: Do you get 0-byte recordings? (Even infrequently) Please post info about it

    Quote Originally Posted by jimmybondo View Post
    I am actually on 11.04:

    Code:
    user@ginny:~$ uname -a
    Linux ginny 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
    user@ginny:~$ cat /etc/issue
    Ubuntu 11.04 \n \l
    So this should of worked, any more ideas or are any more logs helpful?
    JIm
    Is irqpoll actually enabled? What do you see when you do
    dmesg | grep command

    The irqpoll bug hit kernel > 2.6.39 so you should be safe from it.

    Regards
    Ian Dobson
    Walking on water and writing software to specification is easy if they're frozen.

    My corner of the internet http://www.planet-ian.com

  10. #50
    Join Date
    Nov 2006
    Beans
    17

    Re: RFH: Do you get 0-byte recordings? (Even infrequently) Please post info about it

    Quote Originally Posted by ian dobson View Post
    Is irqpoll actually enabled? What do you see when you do
    dmesg | grep command
    Looks like it is:

    Code:
    @ginny:~$ dmesg | grep command
    [    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.38-11-generic root=UUID=14269af7-9967-47ba-a9e7-604442117bb7 ro splash vga=799 quiet splash irqpoll vt.handoff=7
    Jim

Page 5 of 8 FirstFirst ... 34567 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •