WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [79030.229547] motion: page allocation failure: order:6, mo

To: "konrad.wilk" <konrad.wilk@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [79030.229547] motion: page allocation failure: order:6, mode:0xd4
From: Sander Eikelenboom <linux@xxxxxxxxxxxxxx>
Date: Fri, 1 Jul 2011 22:36:04 +0200
Cc:
Delivery-date: Fri, 01 Jul 2011 13:37:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Eikelenboom IT services
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Konrad,

In one of my domU's to which I pci passthrough USB cards with a videograbber 
connected to it, the videocapture bails out after running for quite some time 
with the stacktrace below.
I guess i'm interpreting the mem-info below wrong, but i fail to see why it 
can't allocate those 185088 bytes.

Could you shed some light ? it's probably the coherent requirement ?

--
Sander



[79030.229547] motion: page allocation failure: order:6, mode:0xd4
[79030.229572] Pid: 24513, comm: motion Not tainted 
3.0.0-rc4-xen-konrad-master-20110621+ #4
[79030.229581] Call Trace:
[79030.229594]  [<ffffffff810e1563>] warn_alloc_failed+0xf3/0x140
[79030.229606]  [<ffffffff810080df>] ? xen_restore_fl_direct_reloc+0x4/0x4
[79030.229616]  [<ffffffff810e22b3>] __alloc_pages_nodemask+0x533/0x700
[79030.229625]  [<ffffffff810080f2>] ? check_events+0x12/0x20
[79030.229635]  [<ffffffff810e2547>] __get_free_pages+0x17/0x80
[79030.229645]  [<ffffffff813f0af6>] xen_swiotlb_alloc_coherent+0x56/0x140
[79030.229656]  [<ffffffff814ea68e>] ? usb_alloc_urb+0x1e/0x50
[79030.229666]  [<ffffffff814f00f5>] hcd_buffer_alloc+0x95/0x150
[79030.229676]  [<ffffffff814e1806>] usb_alloc_coherent+0x26/0x30
[79030.229686]  [<ffffffff8158d0a1>] em28xx_init_isoc+0x131/0x3a0
[79030.229696]  [<ffffffff81586f1e>] buffer_prepare+0xbe/0x150
[79030.229706]  [<ffffffff815a2ff7>] videobuf_qbuf+0x237/0x5b0
[79030.229716]  [<ffffffff8158663c>] vidioc_qbuf+0x5c/0x60
[79030.229726]  [<ffffffff81564fa0>] __video_do_ioctl+0x33b0/0x7660
[79030.229736]  [<ffffffff810080df>] ? xen_restore_fl_direct_reloc+0x4/0x4
[79030.229746]  [<ffffffff817845f9>] ? _raw_spin_unlock_irqrestore+0x69/0x80
[79030.229757]  [<ffffffff810416fe>] ? __wake_up_sync_key+0x5e/0x80
[79030.229766]  [<ffffffff815865e0>] ? vidioc_dqbuf+0x80/0x80
[79030.229777]  [<ffffffff81663f6e>] ? sock_def_readable+0x3e/0x70
[79030.229787]  [<ffffffff8173f9ce>] ? unix_dgram_sendmsg+0x62e/0x6d0
[79030.229797]  [<ffffffff816603bd>] ? sock_sendmsg+0xfd/0x120
[79030.229806]  [<ffffffff815a4d63>] ? __videobuf_mmap_mapper+0x123/0x200
[79030.229816]  [<ffffffff8156182d>] video_usercopy+0x17d/0x4c0
[79030.229825]  [<ffffffff81561bf0>] ? v4l2_video_std_construct+0x60/0x60
[79030.229835]  [<ffffffff81561b85>] video_ioctl2+0x15/0x20
[79030.229844]  [<ffffffff8156078c>] v4l2_ioctl+0xac/0x170
[79030.229854]  [<ffffffff811314c4>] do_vfs_ioctl+0xa4/0x5a0
[79030.229864]  [<ffffffff81131a61>] sys_ioctl+0xa1/0xb0
[79030.232058]  [<ffffffff81785342>] system_call_fastpath+0x16/0x1b
[79030.232058] Mem-Info:
[79030.232058] DMA per-cpu:
[79030.232058] CPU    0: hi:    0, btch:   1 usd:   0
[79030.232058] DMA32 per-cpu:
[79030.232058] CPU    0: hi:  186, btch:  31 usd:   0
[79030.232058] active_anon:255 inactive_anon:755 isolated_anon:0
[79030.232058]  active_file:27673 inactive_file:28297 isolated_file:0
[79030.232058]  unevictable:0 dirty:7 writeback:0 unstable:0
[79030.232058]  free:2965 slab_reclaimable:40398 slab_unreclaimable:4116
[79030.232058]  mapped:2942 shmem:6 pagetables:946 bounce:0
[79030.232058] DMA free:2104kB min:84kB low:104kB high:124kB active_anon:0kB 
inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB 
isolated(anon):0kB isolated(file):0kB present:15704kB mlocked:0kB dirty:0kB 
writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:13148kB 
slab_unreclaimable:676kB kernel_stack:0kB pagetables:0kB unstable:0kB 
bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
[79030.232058] lowmem_reserve[]: 0 497 497 497
[79030.232058] DMA32 free:9756kB min:2808kB low:3508kB high:4212kB 
active_anon:1020kB inactive_anon:3020kB active_file:110692kB 
inactive_file:113188kB unevictable:0kB isolated(anon):0kB isolated(file):0kB 
present:509040kB mlocked:0kB dirty:28kB writeback:0kB mapped:11768kB shmem:24kB 
slab_reclaimable:148444kB slab_unreclaimable:15788kB kernel_stack:488kB 
pagetables:3784kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 
all_unreclaimable? no
[79030.232058] lowmem_reserve[]: 0 0 0 0
[79030.232058] DMA: 50*4kB 30*8kB 14*16kB 3*32kB 1*64kB 0*128kB 1*256kB 0*512kB 
1*1024kB 0*2048kB 0*4096kB = 2104kB
[79030.232058] DMA32: 405*4kB 91*8kB 65*16kB 63*32kB 32*64kB 16*128kB 1*256kB 
0*512kB 0*1024kB 0*2048kB 0*4096kB = 9756kB
[79030.232058] 56318 total pagecache pages
[79030.232058] 342 pages in swap cache
[79030.232058] Swap cache stats: add 15097, delete 14755, find 711259/712031
[79030.232058] Free swap  = 507648kB
[79030.232058] Total swap = 524284kB
[79030.232058] 133104 pages RAM
[79030.232058] 24943 pages reserved
[79030.232058] 55445 pages shared
[79030.232058] 52554 pages non-shared
[79030.232058] unable to allocate 185088 bytes for transfer buffer 4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>