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

Re: Memory management problem with 2.6.0


caszonyi _at_ rdslink.ro wrote:
>
> see atached file


> mplayer: page allocation failure. order:1, mode:0x21
> Call Trace:
>  [<c013a3fc>] __alloc_pages+0x30c/0x350
>  [<c013a45f>] __get_free_pages+0x1f/0x50
>  [<c036fd5d>] sound_alloc_dmap+0x9d/0x1a0
>  [<c0377ec0>] ad_mute+0x20/0x40
>  [<c0370116>] open_dmap+0x26/0x100
>  [<c0370554>] DMAbuf_open+0x174/0x1a0
>  [<c036e0c2>] audio_open+0xc2/0x250
>  [<c036d2e4>] sound_open+0xf4/0x120
>  [<c036c5b5>] soundcore_open+0x1e5/0x330
>  [<c036c3d0>] soundcore_open+0x0/0x330
>  [<c015c3e8>] chrdev_open+0xe8/0x210
>  [<c0161fdc>] open_namei+0xac/0x3f0
>  [<c015c300>] chrdev_open+0x0/0x210
>  [<c0152425>] dentry_open+0x145/0x210
>  [<c01522d8>] filp_open+0x68/0x70
>  [<c015276b>] sys_open+0x5b/0x90
>  [<c0109367>] syscall_call+0x7/0xb
> 
> Sound error: Couldn't allocate DMA buffer
> esd: page allocation failure. order:4, mode:0x21
> Call Trace:
>  [<c013a3fc>] __alloc_pages+0x30c/0x350
>  [<c013a45f>] __get_free_pages+0x1f/0x50
>  [<c036fd5d>] sound_alloc_dmap+0x9d/0x1a0
>  [<c0377ec0>] ad_mute+0x20/0x40
>  [<c0370116>] open_dmap+0x26/0x100
>  [<c0370554>] DMAbuf_open+0x174/0x1a0
>  [<c036e0c2>] audio_open+0xc2/0x250
>  [<c036d2e4>] sound_open+0xf4/0x120
>  [<c036c5b5>] soundcore_open+0x1e5/0x330
>  [<c036c3d0>] soundcore_open+0x0/0x330
>  [<c015c3e8>] chrdev_open+0xe8/0x210
>  [<c0161fdc>] open_namei+0xac/0x3f0
>  [<c015c300>] chrdev_open+0x0/0x210
>  [<c0152425>] dentry_open+0x145/0x210
>  [<c01522d8>] filp_open+0x68/0x70
>  [<c015276b>] sys_open+0x5b/0x90
>  [<c0109367>] syscall_call+0x7/0xb

sound_alloc_dmap() is trying to perform a 4-order GFP_ATOMIC allocation.

There is just nothing the MM system can do about that - it is a basic
design problem in that part of the OSS sound system.

I'm not sure what to suggest - development and maintenance of OSS seems to
have come to a stop.

Can you use ALSA instead?  If not, increasing /proc/sys/vm/min_free_kbytes
by quite a lot will probably decrease the frequency at which this occurs.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo _at_ vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
References: