Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751938Ab0DLMxy (ORCPT ); Mon, 12 Apr 2010 08:53:54 -0400 Received: from cable-static-49-187.intergga.ch ([157.161.49.187]:59631 "EHLO mail.ffwll.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750782Ab0DLMxw (ORCPT ); Mon, 12 Apr 2010 08:53:52 -0400 X-Spam-ASN: X-Spam-Hammy: 0.000-+--H*Ad:D*sourceforge.net, 0.000-+--H*Ad:D*lists.sourceforge.net, 0.000-+--HCc:D*sourceforge.net X-Spam-Spammy: 0.987-1--stopping Date: Mon, 12 Apr 2010 14:54:03 +0200 From: Daniel Vetter To: Andrew Morton Cc: Thomas Meyer , Mimi Zohar , James Morris , Eric Paris , linux-kernel@vger.kernel.org, dri-devel@lists.sourceforge.net Subject: Re: 2.6.34-rc2: "ima_dec_counts: open/free imbalance"? Message-ID: <20100412125326.GA3461@viiv.ffwll.ch> Mail-Followup-To: Andrew Morton , Thomas Meyer , Mimi Zohar , James Morris , Eric Paris , linux-kernel@vger.kernel.org, dri-devel@lists.sourceforge.net References: <1269775909.5301.4.camel@localhost.localdomain> <20100331163234.8e875ae8.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100331163234.8e875ae8.akpm@linux-foundation.org> X-Operating-System: Linux viiv 2.6.34-rc2-00116-gc643418 User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4231 Lines: 87 On Wed, Mar 31, 2010 at 04:32:34PM -0700, Andrew Morton wrote: > On Sun, 28 Mar 2010 13:31:49 +0200 > Thomas Meyer wrote: > > > This warning/error/notice is new in 2.6.34-rc2+: > > Let's add some cc's. It might be a DRM bug. > > I'll ask Rafael and Maciej to track this as a post-2.6.33 regression, > thanks. I myself and a few testers have hit another strange inconsistency in the gem shm handling code which might be related (some internal refcount that gets out-of-sync and no refcount imbalances in the code). Unfortunately I can't reproduce it anymore and I currently don't yet have a clue about what's wrong. Currently I'm suspecting a locking goof-up. Is there a bugzilla entry to track this? -Daniel > > [ 1878.810147] PM: Syncing filesystems ... done. > > [ 1878.903316] Freezing user space processes ... (elapsed 0.01 seconds) done. > > [ 1878.916589] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. > > [ 1878.929866] Suspending console(s) (use no_console_suspend to debug) > > [ 1878.930229] sd 0:0:0:0: [sda] Synchronizing SCSI cache > > [ 1878.930370] sd 0:0:0:0: [sda] Stopping disk > > [ 1878.981086] atl1c 0000:01:00.0: PCI INT A disabled > > [ 1878.981369] uhci_hcd 0000:00:1d.2: PCI INT D disabled > > [ 1878.981379] uhci_hcd 0000:00:1d.1: PCI INT B disabled > > [ 1878.981389] uhci_hcd 0000:00:1d.0: PCI INT A disabled > > [ 1878.981454] HDA Intel 0000:00:1b.0: PCI INT A disabled > > [ 1878.981500] ACPI handle has no context! > > [ 1878.981529] ehci_hcd 0000:00:1a.7: PCI INT D disabled > > [ 1878.981540] uhci_hcd 0000:00:1a.0: PCI INT A disabled > > [ 1878.981602] IMA: unmeasured files on fsmagic: 1021994 > > [ 1878.981605] ima_dec_counts: open/free imbalance (r:0 w:-1 o:-1) > > [ 1878.981609] Pid: 4888, comm: async/10 Tainted: G W 2.6.34-rc2 #88 > > [ 1878.981612] Call Trace: > > [ 1878.981620] [] ? printk+0x1d/0x23 > > [ 1878.981627] [] ima_file_free+0x16f/0x210 > > [ 1878.981632] [] __fput+0xf2/0x1f0 > > [ 1878.981636] [] fput+0x1d/0x30 > > [ 1878.981641] [] drm_gem_object_free_common+0x1f/0x40 > > [ 1878.981645] [] ? drm_gem_object_free+0x0/0x40 > > [ 1878.981649] [] drm_gem_object_free+0x31/0x40 > > [ 1878.981653] [] kref_put+0x2c/0x60 > > [ 1878.981658] [] i915_gem_cleanup_ringbuffer+0x48/0x70 > > [ 1878.981662] [] i915_gem_idle+0x9c/0x120 > > [ 1878.981666] [] i915_drm_freeze+0x3d/0xa0 > > [ 1878.981670] [] i915_pm_suspend+0x2e/0x80 > > [ 1878.981674] [] ? wait_for_common+0x1a/0x100 > > [ 1878.981679] [] pci_pm_suspend+0x49/0x110 > > [ 1878.981682] [] ? pci_pm_suspend+0x0/0x110 > > [ 1878.981687] [] pm_op+0x181/0x1d0 > > [ 1878.981691] [] ? device_for_each_child+0x54/0x60 > > [ 1878.981695] [] __device_suspend+0xbf/0x110 > > [ 1878.981699] [] async_suspend+0x23/0x60 > > [ 1878.981703] [] async_thread+0xc5/0x210 > > [ 1878.981707] [] ? schedule+0x1e1/0x450 > > [ 1878.981713] [] ? default_wake_function+0x0/0x20 > > [ 1878.981716] [] ? async_thread+0x0/0x210 > > [ 1878.981720] [] kthread+0x74/0x80 > > [ 1878.981724] [] ? kthread+0x0/0x80 > > [ 1878.981728] [] kernel_thread_helper+0x6/0x10 > > [ 1878.986489] iint_free: writecount: -1 > > [ 1878.986492] iint_free: opencount: -1 > > [ 1878.986494] iint_free: writecount: -1 > > [ 1878.986496] iint_free: opencount: -1 > > [ 1878.993205] ehci_hcd 0000:00:1d.7: PCI INT A disabled > > [ 1879.649836] PM: suspend of devices complete after 719.812 msecs > > [ 1879.676555] PM: late suspend of devices complete after 26.714 msecs > > [ 1879.677144] ACPI: Preparing to enter system sleep state S3 > > [ 1879.677144] Back to C! > > > > Does anybody care? > > > > mfg > > thomas -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/