Author |
Message |
jensk
|
Posted: Sun Aug 12, 2007 1:51 pm |
|
Joined: Tue Oct 18, 2005 1:40 am
Posts: 35
Location:
Aarhus, Denmark
|
I have a R5F1 that i upgraded from a R5D1. Since the upgrade i haven't been able to make recordings because they are og zero size.
I can't se anything wrong in /var/log/messages
In /var/log/mythtv/mythbackend.log is says
2007-08-12 21:49:24.841 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding
I can se that the rights of the recorded file in /myth/tv is set to group 102 which is a group that doesn't exist on my system. This can be due to me fumbling around with groups to get my samba to work right.
Which group should be owner of the recordings in /myth/tv? and who is the member of this group.
/jk
|
|
Top |
|
 |
manicmike
|
Posted: Sun Aug 12, 2007 2:22 pm |
|
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location:
Melbourne, Australia
|
jensk wrote: I have a R5F1 that i upgraded from a R5D1. Since the upgrade i haven't been able to make recordings because they are og zero size.
I can't se anything wrong in /var/log/messages In /var/log/mythtv/mythbackend.log is says 2007-08-12 21:49:24.841 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding
I can se that the rights of the recorded file in /myth/tv is set to group 102 which is a group that doesn't exist on my system. This can be due to me fumbling around with groups to get my samba to work right.
Which group should be owner of the recordings in /myth/tv? and who is the member of this group. /jk
they should be owned by mythtv (102). Sounds like you have indeed messed up the /etc/group file. This file is very easy to understand, so change it back to 102.
Mike
_________________ ********************* LinHES 7.4 Australian Dragon *********************
|
|
Top |
|
 |
tjc
|
Posted: Sun Aug 12, 2007 2:47 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Here are what a current one /etc/group and /etc/passwd look like:
Code: root@black2:~# cat /etc/group root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4: tty:x:5: disk:x:6:mythtv lp:x:7: mail:x:8: news:x:9: uucp:x:10: man:x:12: proxy:x:13: kmem:x:15: dialout:x:20:mythtv fax:x:21:mythtv voice:x:22:mythtv cdrom:x:24:mythtv floppy:x:25:mythtv tape:x:26:mythtv sudo:x:27:mythtv audio:x:29:mythtv dip:x:30: www-data:x:33: backup:x:34: operator:x:37: list:x:38: irc:x:39: src:x:40: gnats:x:41: shadow:x:42: utmp:x:43: video:x:44:mythtv sasl:x:45: plugdev:x:46:mythtv staff:x:50: games:x:60:mythtv users:x:100:mythtv nogroup:x:65534: crontab:x:101: mythtv:x:102: mysql:x:103: ssh:x:104: ntp:x:105: messagebus:x:106: haldaemon:x:107: powerdev:x:108: Debian-ipw3945d:x:109: fuse:x:110:mythtv netdev:x:1001:
Code: root@black2:~# cat /etc/passwd root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/bin/sh bin:x:2:2:bin:/bin:/bin/sh sys:x:3:3:sys:/dev:/bin/sh sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/bin/sh man:x:6:12:man:/var/cache/man:/bin/sh lp:x:7:7:lp:/var/spool/lpd:/bin/sh mail:x:8:8:mail:/var/mail:/bin/sh news:x:9:9:news:/var/spool/news:/bin/sh uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh proxy:x:13:13:proxy:/bin:/bin/sh www-data:x:33:33:www-data:/var/www:/bin/sh backup:x:34:34:backup:/var/backups:/bin/sh list:x:38:38:Mailing List Manager:/var/list:/bin/sh irc:x:39:39:ircd:/var/run/ircd:/bin/sh gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh nobody:x:65534:65534:nobody:/nonexistent:/bin/sh mythtv:x:100:102::/home/mythtv:/bin/sh mysql:x:101:103:MySQL Server,,,:/var/lib/mysql:/bin/false statd:x:102:65534::/var/lib/nfs:/bin/false sshd:x:103:65534::/var/run/sshd:/usr/sbin/nologin ntp:x:104:105::/home/ntp:/bin/false messagebus:x:105:106::/var/run/dbus:/bin/false haldaemon:x:106:107:Hardware abstraction layer,,,:/home/haldaemon:/bin/false Debian-ipw3945d:x:107:109::/home/Debian-ipw3945d:/bin/false
Of course the whole point is that these are _symbolic_ names and you should just be able to run the mkmythdir script and have it fix up the directory ownerships...
|
|
Top |
|
 |
jensk
|
Posted: Mon Aug 13, 2007 9:44 am |
|
Joined: Tue Oct 18, 2005 1:40 am
Posts: 35
Location:
Aarhus, Denmark
|
Hi tjc and thank you for the reply.
I ran the mkmythdir as root and the dir owners and groups are corrected. A la _al confirms that mythtv and mythtv are owner and group.
Still my recordings generates files of zero size in /myth/tv.
Rights of the files are:
Code: root@BE:/myth/tv# ls -al total 49283728 drwxrwxr-x 2 mythtv mythtv 8192 Aug 13 17:39 . drwxrwxrwx 28 root ntp 4096 Jul 27 18:27 .. -rw-r--r-- 1 mythtv mythtv 5250336876 May 20 23:15 1001_20070520210500.mpg -rw-rw-rw- 1 mythtv mythtv 23190 Jul 20 23:38 1001_20070520210500.mpg.png -rw-r--r-- 1 mythtv mythtv 4443889772 May 27 01:05 1001_20070526231500.mpg -rw-r--r-- 1 mythtv mythtv 26911 Jul 17 23:36 1001_20070526231500.mpg.png -rw-r--r-- 1 mythtv mythtv 4646976484 Jun 25 02:50 1001_20070625005500.mpg -rw-rw-rw- 1 mythtv mythtv 23490 Jul 20 23:38 1001_20070625005500.mpg.png -rw-r--r-- 1 mythtv mythtv 7250140996 Jun 6 02:00 1002_20070605230000.mpg -rw-rw-rw- 1 mythtv mythtv 19551 Jul 20 23:38 1002_20070605230000.mpg.png -rw-r--r-- 1 mythtv mythtv 2411973992 Jul 20 20:00 1. 002_20070720190000.mpg -rw-rw-rw- 1 mythtv mythtv 25797 Jul 28 17:36 1002_20070720190000.mpg.png -rw-r--r-- 1 mythtv mythtv 4545900728 Jul 21 22:25 1002_20070721205000.mpg -rw-rw-rw- 1 mythtv mythtv 12738 Jul 24 08:39 1002_20070721205000.mpg.png -rw-r--r-- 1 mythtv mythtv 2409889496 Jul 27 20:00 1002_20070727190000.mpg -rw-rw-rw- 1 mythtv mythtv 32735 Aug 12 19:39 1002_20070727190000.mpg.png -rw-r--r-- 1 mythtv mythtv 0 Aug 13 17:39 1002_20070813173900.mpg -rw-rw-rw- 1 mythtv mythtv 30229 Jul 20 23:38 1007_20070527012000.mpg.png . . . -rw-r--r-- 1 mythtv mythtv 0 Aug 12 22:03 nfslockfile.lock root@BE:/myth/tv#
/var/log/nmythtv/mythbackend.log shows: Code: 2007-08-13 17:46:01.494 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding 2007-08-13 17:46:07.214 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding
what do I do to diagnose this error
/jk
|
|
Top |
|
 |
tjc
|
Posted: Mon Aug 13, 2007 6:12 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Did you go through the R5F1 hints and deal with all the ivtv related stuff? Driver versions have changed substantially and you probably have stale configs.
|
|
Top |
|
 |
jensk
|
Posted: Tue Aug 14, 2007 10:05 am |
|
Joined: Tue Oct 18, 2005 1:40 am
Posts: 35
Location:
Aarhus, Denmark
|
Hi Tjc.
The issue solved thanks to your post installation hints.
I Did the
Code: update-rc.d set_ivtv_params defaults
Dropped cards and recreated them once again.
This solved the issue.
Thank you for the help
|
|
Top |
|
 |
jensk
|
Posted: Tue Aug 14, 2007 2:04 pm |
|
Joined: Tue Oct 18, 2005 1:40 am
Posts: 35
Location:
Aarhus, Denmark
|
I was a bit fast on this one. The error had apparently gone with the update-rc.d command. Apparenmtlyt because it looks like it is everyother recording that has the error of delivering recording mpeg files of zero bytes lenght.
/var/log/myth/mythbackend.log shows:
Code: has stopped responding 2007-08-14 21:52:29.884 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding 2007-08-14 21:52:35.603 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding 2007-08-14 21:52:41.322 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding 2007-08-14 21:52:46.664 MainServer::HandleAnnounce Monitor 2007-08-14 21:52:46.667 adding: BE as a client (events: 0) 2007-08-14 21:52:46.729 MythSocket(ad5660c8:17): readStringList: Connection died (select). 2007-08-14 21:52:46.730 Slave backend: fe-stuen no longer connected 2007-08-14 21:52:46.731 Reschedule requested for id 0. 2007-08-14 21:52:46.733 MythSocket(ad5660c8:-1): writeStringList: Error, socket went unconnected. 2007-08-14 21:52:46.736 MythSocket(ad5660c8:-1): readStringList: Error, called with unconnected socket. 2007-08-14 21:52:46.772 Scheduled 11 items in 0.0 = 0.00 match + 0.04 place 2007-08-14 21:52:47.043 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding 2007-08-14 21:52:52.821 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding 2007-08-14 21:52:55.023 MainServer::HandleAnnounce Monitor 2007-08-14 21:52:55.026 adding: BE as a client (events: 0) 2007-08-14 21:52:58.541 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding 2007-08-14 21:53:00.844 MainServer::HandleAnnounce Monitor 2007-08-14 21:53:00.847 adding: BE as a client (events: 0) 2007-08-14 21:53:00.904 Preview Error: Previewer file '/myth/tv/1005_20070814210300.mpg' is not valid. 2007-08-14 21:53:00.906 MainServer: Failed to make preview image. 2007-08-14 21:53:00.907 MainServer::HandleAnnounce FileTransfer 2007-08-14 21:53:00.908 adding: BE as a remote file transfer 2007-08-14 21:53:04.262 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding 2007-08-14 21:53:07.411 RingBuf(/myth/tv/1005_20070814210300.mpg.png): Could not open /myth/tv/1005_20070814210300.mpg.png. 2007-08-14 21:53:09.984 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding 2007-08-14 21:53:10.707 MainServer::HandleAnnounce Monitor 2007-08-14 21:53:10.709 adding: BE as a client (events: 0) 2007-08-14 21:53:15.706 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding 2007-08-14 21:53:19.069 MainServer::HandleAnnounce Monitor 2007-08-14 21:53:19.077 adding: BE as a client (events: 0) 2007-08-14 21:53:21.434 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding . . . 2007-08-14 21:59:33.696 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding 2007-08-14 21:59:37.016 MainServer::HandleAnnounce Monitor 2007-08-14 21:59:37.019 adding: BE as a client (events: 0) 2007-08-14 21:59:39.416 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding 2007-08-14 21:59:41.869 MainServer::HandleAnnounce Monitor 2007-08-14 21:59:41.872 adding: BE as a client (events: 0) 2007-08-14 21:59:41.938 Preview Error: Previewer file '/myth/tv/1005_20070814210300.mpg' is not valid. 2007-08-14 21:59:41.940 MainServer: Failed to make preview image. 2007-08-14 21:59:41.942 MainServer::HandleAnnounce FileTransfer 2007-08-14 21:59:41.942 adding: BE as a remote file transfer 2007-08-14 21:59:45.140 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding 2007-08-14 21:59:48.443 RingBuf(/myth/tv/1005_20070814210300.mpg.png): Could not open /myth/tv/1005_20070814210300.mpg.png. 2007-08-14 21:59:50.860 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding 2007-08-14 21:59:54.614 MainServer::HandleAnnounce Monitor 2007-08-14 21:59:54.617 adding: BE as a client (events: 0) 2007-08-14 21:59:56.582 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding 2007-08-14 21:59:59.123 MainServer::HandleAnnounce Monitor 2007-08-14 21:59:59.125 adding: BE as a client (events: 0) 2007-08-14 22:00:00.079 TVRec(13): Changing from RecordingOnly to None 2007-08-14 22:00:00.088 Finished recording Bones: channel 1005 2007-08-14 22:00:02.304 MPEGRec(/dev/video1) Error: select timeout - ivtv driver has stopped responding 2007-08-14 22:00:02.340 Preview Error: Previewer file '/myth/tv/1005_20070814210300.mpg' is not valid. 2007-08-14 22:00:02.350 Finished recording Bones: channel 1005 2007-08-14 22:00:02.589 TVRec(12): Changing from None to RecordingOnly 2007-08-14 22:00:02.624 TVRec(12): HW Tuner: 12->12 2007-08-14 22:00:02.921 Started recording: Perfect Romance: channel 1005 on cardid 12, sourceid 1 2007-08-14 22:00:03.926 Reschedule requested for id 0. 2007-08-14 22:00:04.251 Scheduled 10 items in 0.3 = 0.27 match + 0.06 place 2007-08-14 22:00:04.736 Reschedule requested for id 0. 2007-08-14 22:00:04.770 Scheduled 10 items in 0.0 = 0.00 match + 0.03 place 2007-08-14 22:00:28.462 JobQueue: Commercial Flagging Starting for Bones recorded from channel 1005 at Tue Aug 14 21:03:00 2007 2007-08-14 22:00:29.314 Using runtime prefix = /usr ..
The recording of Bones gives a zero bytes file
The recording of Perfect Romance generates a normal mpeg file.
/jens
|
|
Top |
|
 |
cecil
|
Posted: Wed Aug 15, 2007 11:44 pm |
|
 |
Site Admin |
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location:
Whittier, Ca
|
If your original query has been answered, please start a new thread.
|
|
Top |
|
 |