From: Jerome Glisse Subject: Re: [drm] [radeon] [3.1.4] slub memory corruption in drm_vblank_cleanup Date: Tue, 13 Dec 2011 18:31:57 -0500 Message-ID: <20111213233157.GD2339@homer.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-qy0-f177.google.com (mail-qy0-f177.google.com [209.85.216.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 9044D9E97F for ; Tue, 13 Dec 2011 15:27:54 -0800 (PST) Received: by qcsf1 with SMTP id f1so173394qcs.36 for ; Tue, 13 Dec 2011 15:27:53 -0800 (PST) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: batouzo Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org 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