VBI - Cannot allocate memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,
I have had this problem several times.  I have systems with 5 capture cards 
in them that need to pull cc data 24hours a day.  Everything works fine for 
about 48hours until the ccdecoder processes start to die. When I try to 
restart them by running:
[root@lga1 bin]# /usr/local/bin/ntsc-cc -c -p -d /dev/vbi3
/dev/vbi3: Cannot allocate memory

Unloading and reloading the modules does NOT fix this.  The only solution I 
have been able to find it to reboot the PC.   Also I find when it happens to 
one capture card in the pc, it also happens to several others within a short 
period of time, but not always all of them.   Has anyone else seen this 
problem?

systems have 5 ATI-TV Wonder cards
bttv-0.8.31
CCDecoder 0.9.1 (encluded with xawtv)

Thanks,
Jon

Stack Trace:

[root@lga1 bin]# strace -f /usr/local/bin/ntsc-cc -c -p -d /dev/vbi3
execve("/usr/local/bin/ntsc-cc", ["/usr/local/bin/ntsc-cc", "-c", "-p", "-d", 
"/dev/vbi3"], [/* 60 vars */]) = 0
uname({sys="Linux", node="lga1.vmsinfo.com", ...}) = 0
brk(0)                                  = 0x8064f20
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or 
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=39324, ...}) = 0
old_mmap(NULL, 39324, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3)                                = 0
open("/usr/X11R6/lib/libXaw.so.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\321\0"..., 1024) = 
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=340116, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x40021000
old_mmap(NULL, 343012, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40022000
mprotect(0x4006f000, 27620, PROT_NONE)  = 0
old_mmap(0x4006f000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x4c000) = 0x4006f000
close(3)                                = 0
open("/usr/X11R6/lib/libXmu.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240J\0"..., 1024) = 
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=83444, ...}) = 0
old_mmap(NULL, 86440, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40076000
mprotect(0x4008a000, 4520, PROT_NONE)   = 0
old_mmap(0x4008a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x13000) = 0x4008a000
old_mmap(0x4008b000, 424, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4008b000
close(3)                                = 0
open("/usr/X11R6/lib/libXt.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\300\0"..., 1024) = 
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=306428, ...}) = 0
old_mmap(NULL, 309844, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4008c000
mprotect(0x400d4000, 14932, PROT_NONE)  = 0
old_mmap(0x400d4000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x47000) = 0x400d4000
close(3)                                = 0
open("/usr/X11R6/lib/libSM.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 !\0\000"..., 1024) = 
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=31544, ...}) = 0
old_mmap(NULL, 34344, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400d8000
mprotect(0x400df000, 5672, PROT_NONE)   = 0
old_mmap(0x400df000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x6000) = 0x400df000
close(3)                                = 0
open("/usr/X11R6/lib/libICE.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0205\0"..., 1024) = 
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=82080, ...}) = 0
old_mmap(NULL, 91952, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400e1000
mprotect(0x400f5000, 10032, PROT_NONE)  = 0
old_mmap(0x400f5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x13000) = 0x400f5000
old_mmap(0x400f6000, 5936, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400f6000
close(3)                                = 0
open("/usr/X11R6/lib/libXext.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0)\0\000"..., 1024) 
= 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=51632, ...}) = 0
old_mmap(NULL, 54492, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400f8000
mprotect(0x40104000, 5340, PROT_NONE)   = 0
old_mmap(0x40104000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0xb000) = 0x40104000
close(3)                                = 0
open("/usr/X11R6/lib/libX11.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20E\1\000"..., 1024) 
= 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=911288, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x40106000
old_mmap(NULL, 907320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40107000
mprotect(0x401e0000, 18488, PROT_NONE)  = 0
old_mmap(0x401e0000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0xd8000) = 0x401e0000
close(3)                                = 0
open("/lib/i686/libc.so.6", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \306\1"..., 1024) = 
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=5772268, ...}) = 0
old_mmap(NULL, 1290088, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401e5000
mprotect(0x40317000, 36712, PROT_NONE)  = 0
old_mmap(0x40317000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x131000) = 0x40317000
old_mmap(0x4031c000, 16232, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4031c000
close(3)                                = 0
open("/usr/X11R6/lib/libXpm.so.4", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\"\0"..., 1024) = 
1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=56344, ...}) = 0
old_mmap(NULL, 58716, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40320000
mprotect(0x4032e000, 1372, PROT_NONE)   = 0
old_mmap(0x4032e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0xd000) = 0x4032e000
close(3)                                = 0
munmap(0x40017000, 39324)               = 0
open("/dev/vbi3", O_RDONLY)             = -1 ENOMEM (Cannot allocate memory)
dup(2)                                  = 3
fcntl64(0x3, 0x3, 0x3, 0)               = 32770
brk(0)                                  = 0x8064f20
brk(0x80650a0)                          = 0x80650a0
brk(0x8066000)                          = 0x8066000
fstat64(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40017000
_llseek(3, 0, 0xbffeee60, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
write(3, "/dev/vbi3: Cannot allocate memor"..., 34/dev/vbi3: Cannot allocate 
memory
) = 34
close(3)                                = 0
munmap(0x40017000, 4096)                = 0
_exit(1)                                = ?





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux