[mythtv-users] LiveTV Fails To Start Because of Recordings? How Do I Resolve?

Bruce Perryman bperryman_us at yahoo.com
Mon Nov 26 15:49:50 UTC 2007


My apologies for the lack of information and thank you for responding.

I'm running a combined backend/frontend mythbuntu installation from packages contained within ubuntu 7.10 based on mythtv 0.20.

It was previously running. It may have something to do with audio settings in recording. I have included some more information below from a post that I made before which contains some information from the backend log file. Thanks again for your help and for responding!

2007-11-22 07:23:07.702 MainServer::HandleAnnounce Monitor
2007-11-22 07:23:07.717 adding: Hosana as a client (events: 0)
2007-11-22 07:23:07.718 MainServer::HandleAnnounce Monitor
2007-11-22 07:23:07.718 adding: Hosana as a client (events: 1)
2007-11-22 07:23:07.762 MainServer::HandleAnnounce Playback
2007-11-22 07:23:07.772 adding: Hosana as a client (events: 0)
2007-11-22 07:23:07.781 TVRec(1): Changing from None to WatchingLiveTV
2007-11-22 07:23:07.788 TVRec(1): HW Tuner: 1->1
2007-11-22 07:23:08.156 MPEGRec(/dev/video0) Error: Error getting codec params u
sing old IVTV ioctl
                        eno: Bad address (14)
2007-11-22 07:23:08.165 MPEGRec(/dev/video0) Warning: MPEG Layer1 does not work
properly with ivtv driver.
                        Using MPEG layer 2 audio instead.
2007-11-22 07:23:08.166 MPEGRec(/dev/video0) Error: Could not set MPEG controls
2 through 0.
                        eno: Numerical result out of range (34)
2007-11-22 07:23:17.914 TVRec(1): Changing from WatchingLiveTV to None
2007-11-22 07:23:17.938 Finished recording Unknown: channel 1068
2007-11-22 07:23:51.470 MainServer::HandleAnnounce Monitor
2007-11-22 07:23:51.480 adding: Hosana as a client (events: 0)
2007-11-22 07:23:51.542 MainServer::HandleAnnounce Monitor
2007-11-22 07:23:51.547 adding: Hosana as a client (events: 1)
2007-11-22 07:23:51.551 MainServer::HandleAnnounce Playback
2007-11-22 07:23:51.552 adding: Hosana as a client (events: 0)
2007-11-22 07:23:51.553 TVRec(1): Changing from None to WatchingLiveTV
2007-11-22 07:23:51.559 TVRec(1): HW Tuner: 1->1
2007-11-22 07:23:51.731 MPEGRec(/dev/video0) Error: Error getting codec params u
sing old IVTV ioctl
                        eno: Bad address (14)
2007-11-22 07:23:51.736 MPEGRec(/dev/video0) Warning: MPEG Layer1 does not work
properly with ivtv driver.
                        Using MPEG layer 2 audio instead.
2007-11-22 07:23:51.737 MPEGRec(/dev/video0) Error: Could not set MPEG controls
2 through 0.
                        eno: Numerical result out of range (34)
2007-11-22 07:24:22.968 Expiring Unknown from Thu Nov 22 07:23:07 2007, 0 MBytes
, forced expire (LiveTV recording)
2007-11-22 07:24:38.232 TVRec(1): Changing from WatchingLiveTV to None
2007-11-22 07:24:38.261 Finished recording Unknown: channel 1068
2007-11-22 07:26:23.126 Expiring Unknown from Thu Nov 22 07:23:51 2007, 0 MBytes
, forced expire (LiveTV recording)
2007-11-22 07:52:10.668 Using runtime prefix = /usr
2007-11-22 07:52:10.826 New DB connection, total: 1
2007-11-22 07:52:10.836 Connected to database 'mythconverg' at host: localhost
2007-11-22 07:52:10.839 Current Schema Version: 1160
Starting up as the master server.
2007-11-22 07:52:10.844 New DB connection, total: 2
2007-11-22 07:52:10.845 Connected to database 'mythconverg' at host: localhost
2007-11-22 07:52:10.853 EITHelper: localtime offset -5:00:00
2007-11-22 07:52:10.876 New DB connection, total: 3
2007-11-22 07:52:10.877 Connected to database 'mythconverg' at host: localhost
2007-11-22 07:52:11.019 New DB scheduler connection
2007-11-22 07:52:11.020 Connected to database 'mythconverg' at host: localhost
2007-11-22 07:52:12.367 Main::Registering HttpStatus Extension
2007-11-22 07:52:12.368 mythbackend version: 0.20.20070821-1 www.mythtv.org
2007-11-22 07:52:12.368 Enabled verbose msgs:  important general
2007-11-22 07:52:12.369 AutoExpire: Found 1 recorders w/max rate of 72 MiB/min
2007-11-22 07:52:12.370 AutoExpire: Required Free Space: 2.1 GB w/freq: 10 min
2007-11-22 07:52:13.027 Reschedule requested for id -1.
2007-11-22 07:52:13.042 Scheduled 0 items in 0.0 = 0.01 match + 0.01 place
2007-11-22 07:52:13.045 Seem to be woken up by USER
2007-11-22 07:54:59.562 MainServer::HandleAnnounce Monitor
2007-11-22 07:54:59.568 adding: Hosana as a client (events: 0)
2007-11-22 07:54:59.568 MainServer::HandleAnnounce Monitor
2007-11-22 07:54:59.571 adding: Hosana as a client (events: 1)
2007-11-22 07:54:59.576 MainServer::HandleAnnounce Playback
2007-11-22 07:54:59.583 adding: Hosana as a client (events: 0)
2007-11-22 07:54:59.585 TVRec(3): Changing from None to WatchingLiveTV
2007-11-22 07:52:10.844 New DB connection, total: 2
2007-11-22 07:52:10.845 Connected to database 'mythconverg' at host: localhost
2007-11-22 07:52:10.853 EITHelper: localtime offset -5:00:00
2007-11-22 07:52:10.876 New DB connection, total: 3
2007-11-22 07:52:10.877 Connected to database 'mythconverg' at host: localhost
2007-11-22 07:52:11.019 New DB scheduler connection
2007-11-22 07:52:11.020 Connected to database 'mythconverg' at host: localhost
2007-11-22 07:52:12.367 Main::Registering HttpStatus Extension
2007-11-22 07:52:12.368 mythbackend version: 0.20.20070821-1 www.mythtv.org
2007-11-22 07:52:12.368 Enabled verbose msgs:  important general
2007-11-22 07:52:12.369 AutoExpire: Found 1 recorders w/max rate of 72 MiB/min
2007-11-22 07:52:12.370 AutoExpire: Required Free Space: 2.1 GB w/freq: 10 min
2007-11-22 07:52:13.027 Reschedule requested for id -1.
2007-11-22 07:52:13.042 Scheduled 0 items in 0.0 = 0.01 match + 0.01 place
2007-11-22 07:52:13.045 Seem to be woken up by USER
2007-11-22 07:54:59.562 MainServer::HandleAnnounce Monitor
2007-11-22 07:54:59.568 adding: Hosana as a client (events: 0)
2007-11-22 07:54:59.568 MainServer::HandleAnnounce Monitor
2007-11-22 07:54:59.571 adding: Hosana as a client (events: 1)
2007-11-22 07:54:59.576 MainServer::HandleAnnounce Playback
2007-11-22 07:54:59.583 adding: Hosana as a client (events: 0)
2007-11-22 07:54:59.585 TVRec(3): Changing from None to WatchingLiveTV
2007-11-22 07:54:59.602 TVRec(3): HW Tuner: 3->3
2007-11-22 07:54:59.793 MPEGRec(/dev/video0) Error: Error getting codec params u
sing old IVTV ioctl
                        eno: Bad address (14)
2007-11-22 07:54:59.801 MPEGRec(/dev/video0) Warning: MPEG Layer1 does not work
properly with ivtv driver.
                        Using MPEG layer 2 audio instead.
2007-11-22 07:54:59.802 MPEGRec(/dev/video0) Error: Could not set MPEG controls
2 through 0.
                        eno: Numerical result out of range (34)
2007-11-22 07:55:46.304 TVRec(3): Changing from WatchingLiveTV to None
2007-11-22 07:55:46.309 Finished recording Unknown: channel 1000
2007-11-22 07:58:31.524 Expiring Unknown from Thu Nov 22 07:54:59 2007, 0 MBytes
, forced expire (LiveTV recording)
2007-11-22 08:04:40.348 Using runtime prefix = /usr
2007-11-22 08:04:40.369 New DB connection, total: 1
2007-11-22 08:04:40.432 Connected to database 'mythconverg' at host: localhost
2007-11-22 08:04:40.434 Current Schema Version: 1160
Starting up as the master server.
2007-11-22 08:04:40.440 New DB connection, total: 2
2007-11-22 08:04:40.441 Connected to database 'mythconverg' at host: localhost
2007-11-22 08:04:40.443 EITHelper: localtime offset -5:00:00
2007-11-22 08:04:40.472 New DB connection, total: 3
2007-11-22 08:04:40.473 Connected to database 'mythconverg' at host: localhost
2007-11-22 07:55:46.309 Finished recording Unknown: channel 1000
2007-11-22 07:58:31.524 Expiring Unknown from Thu Nov 22 07:54:59 2007, 0 MBytes
, forced expire (LiveTV recording)
2007-11-22 08:04:40.348 Using runtime prefix = /usr
2007-11-22 08:04:40.369 New DB connection, total: 1
2007-11-22 08:04:40.432 Connected to database 'mythconverg' at host: localhost
2007-11-22 08:04:40.434 Current Schema Version: 1160
Starting up as the master server.
2007-11-22 08:04:40.440 New DB connection, total: 2
2007-11-22 08:04:40.441 Connected to database 'mythconverg' at host: localhost
2007-11-22 08:04:40.443 EITHelper: localtime offset -5:00:00
2007-11-22 08:04:40.472 New DB connection, total: 3
2007-11-22 08:04:40.473 Connected to database 'mythconverg' at host: localhost
2007-11-22 08:04:40.613 New DB scheduler connection
2007-11-22 08:04:40.614 Connected to database 'mythconverg' at host: localhost
2007-11-22 08:04:41.982 Main::Registering HttpStatus Extension
2007-11-22 08:04:42.019 mythbackend version: 0.20.20070821-1 www.mythtv.org
2007-11-22 08:04:42.027 Enabled verbose msgs:  important general
2007-11-22 08:04:42.130 AutoExpire: Found 1 recorders w/max rate of 72 MiB/min
2007-11-22 08:04:42.134 AutoExpire: Required Free Space: 2.1 GB w/freq: 10 min
2007-11-22 08:04:42.622 Reschedule requested for id -1.
2007-11-22 08:04:42.638 Scheduled 0 items in 0.0 = 0.01 match + 0.01 place
2007-11-22 08:04:42.641 Seem to be woken up by USER

CHRIS KOTTING <ckotting at wideopenwest.com> wrote:       On Mon, 26 Nov 2007 04:19:44 -0800 (PST), Bruce Perryman wrote 
> Hello, 
>  
> I created a thread about blank screen when starting livetv which received no responses. 
>  
> In viewing other responses to other posts I saw where I can start the frontend in the command line in verbose mode. When running this command it appears that LiveTV times out because of a failure to start a recording. I don't know what this recording is or how to remove it. Can it be that this problem is due to a bad recording? Please offer your opinions. 
>  
> This is the output of mythfrontend -v audio,playback: 
>  
> bper at Hosana:~$ mythfrontend -v audio,playback 
> 2007-11-26 07:04:17.257 Using runtime prefix = /usr 
<snip> 
> 2007-11-26 07:04:24.864 New DB connection, total: 2 
> 2007-11-26 07:04:24.865 Connected to database 'mythconverg' at host: localhost 
> 2007-11-26 07:04:24.885 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5) 
> 2007-11-26 07:04:24.904 Using protocol version 31 
> 2007-11-26 07:04:24.972 TV: Attempting to change from None to WatchingLiveTV 
> 2007-11-26 07:04:24.973 Using protocol version 31 
> 2007-11-26 07:04:25.329 LiveTVChain(live-Hosana-2007-11-26T07:04:24): ReloadAll(): Added new recording 
> 2007-11-26 07:04:25.331 RingBuf(/var/lib/mythtv/recordings/1000_20071126070425.mpg): OpenFile(/var/lib/mythtv/recordings/1000_20071126070425.mpg, 12) 
> 2007-11-26 07:04:31.835 RingBuf(/var/lib/mythtv/recordings/1000_20071126070425.mpg): Invalid file (fd -1) when opening '/var/lib/mythtv/recordings/1000_20071126070425.mpg'. 
> 2007-11-26 07:04:31.835 RingBuf(/var/lib/mythtv/recordings/1000_20071126070425.mpg): CalcReadAheadThresh(1 KB) 
>                            -> threshhold(64 KB) min read(0 KB) blk size(32 KB) 
> 2007-11-26 07:04:31.839 DPMS Deactivated  
> 2007-11-26 07:05:11.846 TV Error: StartRecorder() -- timed out waiting for recorder to start 
> 2007-11-26 07:05:11.846 TV Error: LiveTV not successfully started 
> 2007-11-26 07:05:11.862 TV: Deleting TV Chain in destructor 
> 2007-11-26 07:05:11.863 DPMS Reactivated. 
>  

  It would be helpful to know:
   
   whether this is a combined frontend/backend, or a remote frontend, 
   what version you are running,  
   on top of what distribution, and  
   whther you compiled form source or used a package. 
  The text of the messages heps, bit it's still a little difficult to defintiely determine what the problem is.  However, some clues:
  If it is a backend server with a remote frontend (rather than a combined FE/BE), you need to change the IP address in Setup to that of the remote server (or to the correct assigned name, if you're using DHCP).
  It seems really odd to me that the ringbuffer would be located in a subdirectory of /var/lib.  If I recall correctly, the Live TV ringbuffer is usually in the same directory as the recordings.  MythTV may not have the permissions required to write to that directory.
  _______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


       
---------------------------------
Get easy, one-click access to your favorites.  Make Yahoo! your homepage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20071126/9d8087e3/attachment.htm 


More information about the mythtv-users mailing list