[mythtv-users] Ack! Need more memory, Capt'n!

Rich West Rich.West at wesmo.com
Mon Oct 23 18:03:30 UTC 2006


I'm working my way through a build of a "proof-of-concept" box, and
everything is going pretty well.  The only thing I thought I had left to
work on was getting the IR blaster compiled up for the PVR-150.

I just bumped in to this (it popped up earlier today too, but I thought
it was something my wife may have accidentally done to the machine at
home).  The somewhat lengthy output is from dmesg, but it's acting like
there is no more memory available on the system. :(

The system is currently running the mythbackend and it was left in
"Watch TV" mode. In looking at the output from "top", I'm seeing that
all but ~6MB of the available 512MB of RAM is used, and swap has not
been touched at all..

Is there something here (a setting somewhere) that I should be tweaking?

I'm calling home now to have someone take a look at the screen... (I was
just told there appeared to be nothing wrong displaying on the screen)

-Rich

----mythbackend.log---
2006-10-23 13:30:10.441 AFD: Opened codec 0x871b610, id(MPEG2VIDEO)
type(Video)
2006-10-23 13:30:10.654 AFD: Opened codec 0x8697060, id(MP2) type(Audio)
2006-10-23 13:30:14.451 TFW, Error: Write() -- IOBOUND begin cnt(2048)
free(2047)
2006-10-23 13:30:17.828 TFW, Error: Write() -- IOBOUND end
2006-10-23 13:30:27.628 TFW, Error: Write() -- IOBOUND begin cnt(2048)
free(2047)
2006-10-23 13:30:35.464 TFW, Error: Write() -- IOBOUND end
2006-10-23 13:30:45.284 TFW, Error: Write() -- IOBOUND begin cnt(2048)
free(2047)
2006-10-23 13:30:49.852 TFW, Error: Write() -- IOBOUND end
2006-10-23 13:31:00.233 MPEGRec(/dev/video0) Error: select timeout -
ivtv driver has stopped responding
2006-10-23 13:31:08.696 TFW, Error: Write() -- IOBOUND begin cnt(2048)
free(63)
2006-10-23 13:31:15.345 TFW, Error: Write() -- IOBOUND end
2006-10-23 13:31:24.305 TFW, Error: Write() -- IOBOUND begin cnt(2048)
free(2047)
2006-10-23 13:31:31.217 TFW, Error: Write() -- IOBOUND end
2006-10-23 13:31:41.569 TFW, Error: Write() -- IOBOUND begin cnt(2048)
free(2047)
2006-10-23 13:31:49.610 TFW, Error: Write() -- IOBOUND end
2006-10-23 13:32:03.586 MPEGRec(/dev/video0) Error: select timeout -
ivtv driver has stopped responding
2006-10-23 13:32:13.791 TFW, Error: Write() -- IOBOUND begin cnt(2048)
free(2047)
2006-10-23 13:32:21.902 TFW, Error: Write() -- IOBOUND end
2006-10-23 13:32:34.003 MPEGRec(/dev/video0) Error: select timeout -
ivtv driver has stopped responding
2006-10-23 13:32:42.488 TFW, Error: Write() -- IOBOUND begin cnt(2048)
free(2047)
2006-10-23 13:32:43.867 TFW, Error: Write() -- IOBOUND end
2006-10-23 13:33:37.253 TFW, Error: Write() -- IOBOUND begin cnt(2048)
free(2047)
2006-10-23 13:33:42.768 TFW, Error: Write() -- IOBOUND end
2006-10-23 13:33:51.688 MPEGRec(/dev/video0) Error: select timeout -
ivtv driver has stopped responding
2006-10-23 13:34:21.257 TFW, Error: Write() -- IOBOUND begin cnt(2048)
free(2047)
2006-10-23 13:34:23.841 TFW, Error: Write() -- IOBOUND end
2006-10-23 13:35:11.650 MainServer::HandleAnnounce Monitor


---dmesg output---
ivtv0 warning: No memory on buffer alloc!
ivtv0 warning: Needed 28672 bufs for encoder MPEG stream, received 0
(buffers free 0, dma 0, full 234)
ivtv-enc: page allocation failure. order:4, mode:0xd0
 [<c0403f10>] dump_trace+0x69/0x1af
 [<c040406e>] show_trace_log_lvl+0x18/0x2c
 [<c04045e9>] show_trace+0xf/0x11
 [<c0404673>] dump_stack+0x15/0x17
 [<c044a623>] __alloc_pages+0x28b/0x29c
 [<c045d9c3>] cache_alloc_refill+0x253/0x409
 [<c045dbe5>] __kmalloc+0x6c/0x76
 [<e09112d2>] ivtv_init_buffer+0x54/0x19c [ivtv]
 [<e09129c1>] enc_gather_free_buffers+0x8e/0x28e [ivtv]
 [<e091d9db>] ivtv_sched_DMA+0x5f6/0x8fb [ivtv]
 [<e0921a41>] ivtv_enc_thread+0x15d/0x1d3 [ivtv]
 [<c0403ac7>] kernel_thread_helper+0x7/0x10
DWARF2 unwinder stuck at kernel_thread_helper+0x7/0x10
Leftover inexact backtrace:
 =======================
Mem-info:
DMA per-cpu:
cpu 0 hot: high 0, batch 1 used:0
cpu 0 cold: high 0, batch 1 used:0
DMA32 per-cpu: empty
Normal per-cpu:
cpu 0 hot: high 186, batch 31 used:25
cpu 0 cold: high 62, batch 15 used:53
HighMem per-cpu: empty
Free pages:        6540kB (0kB HighMem)
Active:97619 inactive:14590 dirty:8629 writeback:0 unstable:0 free:1635
slab:10229 mapped:19746 pagetables:1090
DMA free:2076kB min:88kB low:108kB high:132kB active:8300kB
inactive:28kB present:16384kB pages_scanned:99 all_unreclaimable? no
lowmem_reserve[]: 0 0 494 494
DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB
present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 494 494
Normal free:4464kB min:2800kB low:3500kB high:4200kB active:382176kB
inactive:58332kB present:506816kB pages_scanned:123 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB
present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 71*4kB 72*8kB 34*16kB 13*32kB 0*64kB 0*128kB 1*256kB 0*512kB
0*1024kB 0*2048kB 0*4096kB = 2076kB
DMA32: empty
Normal: 20*4kB 230*8kB 1*16kB 73*32kB 1*64kB 1*128kB 0*256kB 0*512kB
0*1024kB 0*2048kB 0*4096kB = 4464kB
HighMem: empty
Swap cache: add 712, delete 712, find 40/58, race 0+0
Free swap  = 915076kB
Total swap = 917496kB
Free swap:       915076kB
130800 pages of RAM
0 pages of HIGHMEM
2306 reserved pages
106823 pages shared
0 pages swap cached
8629 pages dirty
0 pages writeback
19746 pages mapped
10229 pages slab
1090 pages pagetables
ivtv0 warning: No memory on buffer alloc!
ivtv0 warning: Needed 16384 bufs for encoder MPEG stream, received 0
(buffers free 0, dma 0, full 237)



More information about the mythtv-users mailing list