Recorded show ending prematurely
  • Hi,

    I've had a couple of shows recently that have not recorded for the whole duration of the show. For example, a 2 hour show last night stopped recording at 00:54, 54mins into the show.

    cat /var/log/kern.log.1 reveals this line:

    Jul 10 00:54:38 nts-studio-desktop kernel: [130198.128053] usb 1-2: reset high speed USB device using ehci_hcd and address 3


    I've changed:

    base_recorded_files = /var/tmp/airtime/show-recorder/


    to:

    base_recorded_files = '/media/airtime/show-recorder/'


    in /etc/airtime/recorder.cfg so that the shows are recorded to an external USB hard drive. The PC is running Airtime 1.8.2 on Ubuntu 10.10 32 bit. Does anyone have any idea why this might be happening?

    I've also checked /var/log/airtime/show-recorder/main/current but the log doesn't go back that far.

    thanks
    James
  • 4 Comments sorted by
  • Vote Up0Vote Down Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    Googling "reset high speed USB device using ehci_hcd" finds the following
    results:

    Looks like this is a bug with some USB devices:
    https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.2 0/+bug/88746

    One possible workaround is here:
    http://gordonazmo.wordpress.com/2010/08/26/reset-high-speed- usb-device-using-ehci_hcd-and-address-3-your-syslog-and-what -fixed-it-for-me/

    You can check the other results as well if that doesnt fix it.



    On Sun, Jul 10, 2011 at 11:08 AM, James Dunn <
    airtime-support@lists.sourcefabric.org> wrote:

    > **
    > Hi,
    >
    > I've had a couple of shows recently that have not recorded for the whole
    > duration of the show. For example, a 2 hour show last night stopped
    > recording at 00:54, 54mins into the show.
    >
    > cat /var/log/kern.log.1 reveals this line:
    >
    > Jul 10 00:54:38 nts-studio-desktop kernel: [130198.128053] usb 1-2: reset high speed USB device using ehci_hcd and address 3
    >
    >
    >
    > I've changed:
    >
    > base_recorded_files = /var/tmp/airtime/show-recorder/
    >
    >
    >
    > to:
    >
    > base_recorded_files = '/media/airtime/show-recorder/'
    >
    >
    >
    > in /etc/airtime/recorder.cfg so that the shows are recorded to an external
    > USB hard drive. The PC is running Airtime 1.8.2 on Ubuntu 10.10 32 bit. Does
    > anyone have any idea why this might be happening?
    >
    > I've also checked /var/log/airtime/show-recorder/main/current but the log
    > doesn't go back that far.
    >
    > thanks
    > James
    >
    >

  • Ok I set the max_sectors to 128 but it happened again today so that fix doesn't work for me. I think a better solution might be to change the show-recorder directory back to the local hard drive. The problem with this is that the drive is small and will fill up really quickly!

    What's the best way to automatically delete files from /var/tmp/airtime/show-recorder after they have been successfully imported into the stor directory?

    thanks

    James
  • Vote Up0Vote Down Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    We are checking if we can reproduce the issue of recorded shows not being
    deleted...will get back to you on that.


    Paul Baranowski
    CTO, Sourcefabric, http://sourcefabric.org

    +1 (416) 832-6436 (Cell)
    Skype: paulbaranowski
    720 Bathurst St. / Suite 203 / Toronto / ON / M5S 2R4 / Canada



    On Fri, Jul 15, 2011 at 11:15 AM, James Dunn <
    airtime-support@lists.sourcefabric.org> wrote:

    > **
    > Ok I set the max_sectors to 128 but it happened again today so that fix
    > doesn't work for me. I think a better solution might be to change the
    > show-recorder directory back to the local hard drive. The problem with this
    > is that the drive is small and will fill up really quickly!
    >
    > What's the best way to automatically delete files from
    > /var/tmp/airtime/show-recorder after they have been successfully imported
    > into the stor directory?
    >
    > thanks
    >
    > James
    >

  • Vote Up0Vote Down Paul BaranowskiPaul Baranowski
    Posts: 389Member, Administrator, Sourcefabric Team
    We have found in certain cases that cached recorded shows are not deleted
    after they are uploaded into Airtime. The 1.9.0 release will address this
    issue. 1.9.0-RC2 is coming out tomorrow, please test it out and let us know
    how it works for you. There are no known bugs remaining that we know about.



    On Fri, Jul 15, 2011 at 4:52 PM, Paul Baranowski <
    paul.baranowski@sourcefabric.org> wrote:

    > We are checking if we can reproduce the issue of recorded shows not being
    > deleted...will get back to you on that.
    >
    >
    >