* Need help fixing Alpha/DRM out of memory failure
@ 2009-09-22 18:58 Matt Turner
2009-09-23 2:35 ` Jay Estabrook
0 siblings, 1 reply; 2+ messages in thread
From: Matt Turner @ 2009-09-22 18:58 UTC (permalink / raw)
To: Richard Henderson, Ivan Kokshaysky, Jay Estabrook; +Cc: linux-alpha
I'm seeing a DRM-related out of memory failure. I've filed a bug at
freedesktop.org [0], but no luck. Xserver-1.7 is near, and I'd like to
get this fixed before they make a major release.
When starting up X with a Radeon graphics card, X dies with an out of
memory error. See attached dmesg in bug report and small excerpt.
Trace:
[<fffffc0000384158>] __vmalloc_area_node+0xb8/0x1b0
[<fffffc00005248a0>] drm_sg_alloc+0x1c0/0x340
[<fffffc000051d7ac>] drm_ioctl+0x18c/0x3f0
[<fffffc0000524a20>] drm_sg_alloc_ioctl+0x0/0x20
[<fffffc00003a093c>] vfs_ioctl+0x6c/0x90
[<fffffc00003435e0>] autoremove_wake_function+0x0/0x60
[<fffffc00003a0b14>] do_vfs_ioctl+0xb4/0x6b0
[<fffffc00003a1214>] SyS_ioctl+0x104/0x110
[<fffffc000038f588>] SyS_write+0x68/0xe0
[<fffffc00003a117c>] SyS_ioctl+0x6c/0x110
[<fffffc0000310d14>] entSys+0xa4/0xc0
Using Option "DRI" "false" works around the problem.
I'd really appreciate any help.
Thanks,
Matt Turner
[0] http://bugs.freedesktop.org/show_bug.cgi?id=23671
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Need help fixing Alpha/DRM out of memory failure
2009-09-22 18:58 Need help fixing Alpha/DRM out of memory failure Matt Turner
@ 2009-09-23 2:35 ` Jay Estabrook
0 siblings, 0 replies; 2+ messages in thread
From: Jay Estabrook @ 2009-09-23 2:35 UTC (permalink / raw)
To: Matt Turner
Cc: Richard Henderson, Ivan Kokshaysky, linux-alpha@vger.kernel.org
Hi, Matt,
Looks like you're running out of DMA memory for some reason.
On Nautilus, the DMA "zone" is configured to be 16MB
(see arch/alpha/include/asm/dma.h), since there's not the usual
scatter/gather support in the Irongate core logic, AFAICT.
If somethings have taken a big chunk of that, say mapping regs or fbmem
or some such, there may not be much left for others, even if it's only
a single DMA-able page (where the "page allocation failure" message
came from).
I'm really unfamiliar with the code in those files (sys_nautilus.c
and core_irongate.c), so I hope you can find someone more knowledgeable.
Sorry.
Good luck.
--Jay++
Matt Turner wrote:
> I'm seeing a DRM-related out of memory failure. I've filed a bug at
> freedesktop.org [0], but no luck. Xserver-1.7 is near, and I'd like to
> get this fixed before they make a major release.
>
> When starting up X with a Radeon graphics card, X dies with an out of
> memory error. See attached dmesg in bug report and small excerpt.
>
> Trace:
> [<fffffc0000384158>] __vmalloc_area_node+0xb8/0x1b0
> [<fffffc00005248a0>] drm_sg_alloc+0x1c0/0x340
> [<fffffc000051d7ac>] drm_ioctl+0x18c/0x3f0
> [<fffffc0000524a20>] drm_sg_alloc_ioctl+0x0/0x20
> [<fffffc00003a093c>] vfs_ioctl+0x6c/0x90
> [<fffffc00003435e0>] autoremove_wake_function+0x0/0x60
> [<fffffc00003a0b14>] do_vfs_ioctl+0xb4/0x6b0
> [<fffffc00003a1214>] SyS_ioctl+0x104/0x110
> [<fffffc000038f588>] SyS_write+0x68/0xe0
> [<fffffc00003a117c>] SyS_ioctl+0x6c/0x110
> [<fffffc0000310d14>] entSys+0xa4/0xc0
>
> Using Option "DRI" "false" works around the problem.
>
> I'd really appreciate any help.
>
> Thanks,
> Matt Turner
>
> [0] http://bugs.freedesktop.org/show_bug.cgi?id=23671
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-23 2:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-22 18:58 Need help fixing Alpha/DRM out of memory failure Matt Turner
2009-09-23 2:35 ` Jay Estabrook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).