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.