From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752438Ab0IWGeM (ORCPT ); Thu, 23 Sep 2010 02:34:12 -0400 Received: from mail-gw0-f46.google.com ([74.125.83.46]:51086 "EHLO mail-gw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751217Ab0IWGeL (ORCPT ); Thu, 23 Sep 2010 02:34:11 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=QSFmpBl0xdVGzAqjo0CiW85yior0OU2lqjH8Vu6Fr2P6B/DNCKyYRZhHaM4Op0klDa z/rDwsCF6EM/izscDB599aXpNGM8MrgeHBjyBfr7q4KxDtylMYFcpBssR7s+wL3D1LE/ SLSgNsUtXOGdKanZsikNmVFMuJEXZNvNdAi1M= Subject: Re: idr_remove called for id=0 which is not allocated From: Ben Skeggs Reply-To: skeggsb@gmail.com To: Andrew Morton Cc: Alessandro Guido , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org In-Reply-To: <20100922225612.826b0553.akpm@linux-foundation.org> References: <4C9A70B2.3090101@alessandroguido.name> <20100922225612.826b0553.akpm@linux-foundation.org> Content-Type: text/plain; charset="UTF-8" Date: Thu, 23 Sep 2010 16:33:41 +1000 Message-ID: <1285223621.27598.1.camel@nisroch> Mime-Version: 1.0 X-Mailer: Evolution 2.31.5 (2.31.5-2.fc14) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2010-09-22 at 22:56 -0700, Andrew Morton wrote: > On Wed, 22 Sep 2010 23:10:10 +0200 Alessandro Guido wrote: > > > I have this traces in my logs (full dmesg attached). > > > > idr_remove called for id=0 which is not allocated. > > Pid: 1136, comm: Xorg Not tainted 2.6.36-rc5-49-gc79bd89 #1 > > Call Trace: > > [] ? printk+0x18/0x1a > > [] idr_remove+0x73/0x1c0 > > [] drm_mode_object_put+0x2f/0x50 > > [] drm_mode_destroy+0xe/0x20 > > [] nouveau_connector_get_modes+0x2b/0x390 > > [] ? acpi_lid_open+0x22/0x3c > > [] ? queue_delayed_work+0x1b/0x30 > > [] drm_helper_probe_single_connector_modes+0xc4/0x360 > > [] drm_mode_getconnector+0x2a7/0x350 > > [] drm_ioctl+0x1c2/0x4b0 > > [] ? filemap_fault+0x81/0x3c0 > > [] ? drm_mode_getconnector+0x0/0x350 > > [] ? handle_mm_fault+0x13f/0x670 > > [] ? drm_ioctl+0x0/0x4b0 > > [] do_vfs_ioctl+0x7d/0x5f0 > > [] ? do_page_fault+0x17c/0x3c0 > > [] ? vfs_write+0xfd/0x140 > > [] ? do_sync_write+0x0/0xe0 > > [] sys_ioctl+0x39/0x60 > > [] sysenter_do_call+0x12/0x26 > > I assume this is a regression. 2.6.35 didn't do this? Yes, I suspect 6e86e0419471d11ed3d4d46039ee90e8cb85806c is the culprit. I'll send a patch to Dave, but I can't test it personally, I don't have any hardware the manufacturer has configured in the way it'd need to be to trigger this. Ben. > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel