[drm] [radeon] [3.1.4] slub memory corruption in drm_vblank_cleanup

Jerome Glisse j.glisse at gmail.com
Tue Dec 13 15:31:57 PST 2011


On Tue, Dec 13, 2011 at 10:26:15PM +0100, batouzo wrote:
> 
> (Send similar post to LKML / linux.kernel but no responses there yet)
> 
> Hello, we where building 3.1.4 kernel when we noticed BUG()s on bootup.
> 
> Allocated in drm_vblank_init+0x139/0x260 [drm] + Freed in
> drm_vblank_cleanup+0x78/0x90 [drm]
> Allocated in drm_vblank_init+0xbe/0x260 [drm] + Freed in
> drm_vblank_cleanup+0x48/0x90 [drm]
> 
> It is Amd Bulldozer computer, with Radeon card:
> 01:00.0 VGA compatible controller: ATI Technologies Inc Cedar PRO
> [Radeon HD 5450]
> 
> Debian stable. Builded with make-kpkg using gcc 4.4.5
> 
>    messages: http://pastebin.com/NXN5EPtG
> config used: http://pastebin.com/AeVxEX7c
> 
> 
> With radeon + kms the bug happens around 1 in 3 boot ups, right after
> the radeon is enabled (with slub debugging) or later with no debug (few
> seconds later or on shutdown esp. in rmmod).
> 
> When disabling radeon and KMS the bug was not seen;
> 
> 
> Please fix this bug :) What to test to help fixing it?
> 
> 
> Interesting part of the messages linked above is:
> 

Do you boot your kernel with kexec ? Does the patch help :

http://people.freedesktop.org/~glisse/0001-drm-radeon-disable-possible-GPU-writeback-early-v3.patch

If not please open bug on bugs.freedesktop.org against radeon driver.

Cheers,
Jerome


More information about the dri-devel mailing list