knoppmyth.net Forum Index knoppmyth.net
The home of KnoppMyth.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Apparent fix for some zero length recordings on 5D1

 
Post new topic   Reply to topic    knoppmyth.net Forum Index -> Hints & Tips
View previous topic :: View next topic  
Author Message
bruce_s01



Joined: 08 Aug 2006
Posts: 544
Location: UK

PostPosted: Thu Sep 28, 2006 6:56 am    Post subject: Apparent fix for some zero length recordings on 5D1 Reply with quote

When carrying out simultaneous recordings using 2 Nova-T DVB cards, one of the recordings sometimes ended up zero length

From mythbackend.log
Code:

stream: start_time: 0.276 duration: 28320.966 bitrate=1093 kb/s
2006-09-27 02:00:01.151 AFD: Opened codec 0x86b9170, id(MPEG2VIDEO) type(Video)
2006-09-27 02:00:01.204 AFD: Opened codec 0x86bec90, id(MP2) type(Audio)
2006-09-27 02:00:03.057 TVRec(2): Changing from None to RecordingOnly
2006-09-27 02:00:03.093 DVB#1 Using DVB card 1, with frontend 'Conexant CX22702 DVB-T'.
2006-09-27 02:00:03.254 Started recording: Future Fighting Machines: channel 1567 on cardid 2, sourceid 1
2006-09-27 02:00:03.269 scheduler: Last message repeated 1 times: Finished recording: [adult swim]: channel 1601
2006-09-27 02:00:03.281 scheduler: Started recording: Future Fighting Machines: channel 1567 on cardid 2, sourceid 1
2006-09-27 02:00:04.147 DVB#1 DVB SI Table Parser Started
2006-09-27 02:00:04.284 Reschedule requested for id 0.
2006-09-27 02:00:04.592 DVBRec(1) Error: Failed to open DVB device
                        eno: Cannot allocate memory (12)
2006-09-27 02:00:04.761 Scheduled 88 items in 0.5 = 0.00 match + 0.48 place
2006-09-27 02:00:04.771 scheduler: Scheduled items: Scheduled 88 items in 0.5 = 0.00 match + 0.48 place
2006-09-27 02:00:11.834 DVB#1 ERROR - Failed to set demux buffer size (pid 18)
          (12) Cannot allocate memory
[mpeg2video @ 0xb70b2620]ac-tex damaged at 27 18
[mpeg2video @ 0xb70b2620]Warning MVs not available

{snippage}

2006-09-27 02:25:00.860 TVRec(2): Changing from RecordingOnly to None
2006-09-27 02:25:01.393 Finished recording Future Fighting Machines: channel 1567
2006-09-27 02:25:01.394 Reschedule requested for id 0.
2006-09-27 02:25:01.398 scheduler: Finished recording: Future Fighting Machines: channel 1567
2006-09-27 02:25:01.860 Finished recording Future Fighting Machines: channel 1567
2006-09-27 02:25:01.934 Scheduled 86 items in 0.5 = 0.01 match + 0.53 place
2006-09-27 02:25:01.944 scheduler: Last message repeated 1 times: Finished recording: Future Fighting Machines: channel 1567
2006-09-27 02:25:01.935 Preview Error: Previewer file '/myth/tv/1567_20060927020000.mpg' is not valid.
[mpeg2video @ 0xb6fff620]ac-tex damaged at 9 3
[mpeg2video @ 0xb6fff620]Warning MVs not available


So looking at dmesg:
Code:

allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.


So searching for vmalloc, I found out that default setting for a normal kernel is 128m, so I added vmalloc=256m (my machine has 1GB of memory) to the append line in etc/lilo.conf and running lilo -v to update the boot files.
I then rebooted and then commenced to schedule several simultaneous recordings to test it. The recordings were OK and the memory allocation error lines no longer appear.

Hope this helps someone.
Regards
Bruce S.
_________________
Updated 2010/06/26: Athlon64 3700+ Asus A8N4-SLI Deluxe
1Gb PC 3200, 200Gb+250Gb SATA HDD,
DVD-RW LG , Gigabyte GV-NX66128DP
Hauppauage Nova-T 500 + Hauppauge Nova-(D)T 500,+ Nova HD S2 LinHes R6 RC2
Back to top
View user's profile Send private message
tjc



Joined: 25 Mar 2004
Posts: 9117
Location: Arlington, MA

PostPosted: Thu Sep 28, 2006 6:31 pm    Post subject: Reply with quote

Nice catch!
Back to top
View user's profile Send private message
cecil
Site Admin


Joined: 19 Sep 2003
Posts: 2643
Location: Fontana, Ca

PostPosted: Mon Oct 02, 2006 7:49 pm    Post subject: Reply with quote

Nice indeed!
Back to top
View user's profile Send private message
seano



Joined: 25 Nov 2005
Posts: 73

PostPosted: Wed Jan 03, 2007 8:00 pm    Post subject: Re: Apparent fix for some zero length recordings on 5D1 Reply with quote

bruce_s01 wrote:

Hope this helps someone.


Helped me!
Thanks Bruce_s01!

Only difference was:
Code:

 kernel: allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.


Appeared in messages and kern.log (not in dmesg)

Thanks again!

-Seano
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    knoppmyth.net Forum Index -> Hints & Tips All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group