Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751465AbaBAIny (ORCPT ); Sat, 1 Feb 2014 03:43:54 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:57751 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751299AbaBAInx (ORCPT ); Sat, 1 Feb 2014 03:43:53 -0500 Date: Sat, 1 Feb 2014 09:45:14 +0100 From: Greg KH To: Dave Jones , Linux Kernel Subject: Re: removing usb debug cable triggers lockdep warning. Message-ID: <20140201084514.GC4973@kroah.com> References: <20140131211118.GA23873@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140131211118.GA23873@redhat.com> User-Agent: Mutt/1.5.22 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 31, 2014 at 04:11:18PM -0500, Dave Jones wrote: > usb 3-3: USB disconnect, device number 2 > console [ttyUSB0] disabled > debug ttyUSB0: debug converter now disconnected from ttyUSB0 > usb_debug 3-3:1.0: device disconnected > INFO: trying to register non-static key. > the code is fine but needs lockdep annotation. > turning off the locking correctness validator. > CPU: 3 PID: 66 Comm: khubd Not tainted 3.13.0+ #104 > ffffffffbb28cf50 000000000f74f0eb ffff880242eb3a08 ffffffffba73a377 > ffff880243741740 ffff880242eb3a18 ffffffffba7368b9 ffff880242eb3a90 > ffffffffba0c1560 0000000000000003 ffff880242eb2000 ffff880242eb3aa8 > Call Trace: > [] dump_stack+0x4e/0x7a > [] register_lock_class.part.21+0x38/0x3c > [] __lock_acquire.isra.28+0xa10/0xa50 > [] lock_acquire+0x8d/0x120 > [] ? kernfs_addrm_finish+0x38/0x60 > [] kernfs_deactivate+0x10e/0x150 > [] ? kernfs_addrm_finish+0x38/0x60 > [] kernfs_addrm_finish+0x38/0x60 > [] kernfs_remove_by_name_ns+0x60/0xc0 > [] remove_files.isra.1+0x41/0x80 > [] sysfs_remove_group+0x47/0xa0 > [] sysfs_remove_groups+0x33/0x50 > [] device_remove_attrs+0x4d/0x80 > [] device_del+0x12e/0x1d0 > [] usb_disconnect+0x138/0x1d0 > [] hub_thread+0x723/0x1700 > [] ? finish_task_switch+0x44/0x190 > [] ? wake_up_atomic_t+0x30/0x30 > [] ? usb_reset_device+0x1d0/0x1d0 > [] kthread+0xfc/0x120 > [] ? kthread_create_on_node+0x230/0x230 > [] ret_from_fork+0x7c/0xb0 > [] ? kthread_create_on_node+0x230/0x230 Yeah, I have a patch from Tejun to queue up after 3.14-rc1 is out to fix this issue, sorry for the noise. greg k-h -- 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/