linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* removing usb debug cable triggers lockdep warning.
@ 2014-01-31 21:11 Dave Jones
  2014-02-01  8:45 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Jones @ 2014-01-31 21:11 UTC (permalink / raw)
  To: gregkh; +Cc: Linux Kernel

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:
 [<ffffffffba73a377>] dump_stack+0x4e/0x7a
 [<ffffffffba7368b9>] register_lock_class.part.21+0x38/0x3c
 [<ffffffffba0c1560>] __lock_acquire.isra.28+0xa10/0xa50
 [<ffffffffba0c1cfd>] lock_acquire+0x8d/0x120
 [<ffffffffba24ba88>] ? kernfs_addrm_finish+0x38/0x60
 [<ffffffffba24acde>] kernfs_deactivate+0x10e/0x150
 [<ffffffffba24ba88>] ? kernfs_addrm_finish+0x38/0x60
 [<ffffffffba24ba88>] kernfs_addrm_finish+0x38/0x60
 [<ffffffffba24bd00>] kernfs_remove_by_name_ns+0x60/0xc0
 [<ffffffffba2498d1>] remove_files.isra.1+0x41/0x80
 [<ffffffffba249bc7>] sysfs_remove_group+0x47/0xa0
 [<ffffffffba249cf3>] sysfs_remove_groups+0x33/0x50
 [<ffffffffba4ded6d>] device_remove_attrs+0x4d/0x80
 [<ffffffffba4df9ae>] device_del+0x12e/0x1d0
 [<ffffffffba53ce08>] usb_disconnect+0x138/0x1d0
 [<ffffffffba540153>] hub_thread+0x723/0x1700
 [<ffffffffba09d7c4>] ? finish_task_switch+0x44/0x190
 [<ffffffffba0ba030>] ? wake_up_atomic_t+0x30/0x30
 [<ffffffffba53fa30>] ? usb_reset_device+0x1d0/0x1d0
 [<ffffffffba093dcc>] kthread+0xfc/0x120
 [<ffffffffba093cd0>] ? kthread_create_on_node+0x230/0x230
 [<ffffffffba74d96c>] ret_from_fork+0x7c/0xb0
 [<ffffffffba093cd0>] ? kthread_create_on_node+0x230/0x230


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: removing usb debug cable triggers lockdep warning.
  2014-01-31 21:11 removing usb debug cable triggers lockdep warning Dave Jones
@ 2014-02-01  8:45 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2014-02-01  8:45 UTC (permalink / raw)
  To: Dave Jones, Linux Kernel

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:
>  [<ffffffffba73a377>] dump_stack+0x4e/0x7a
>  [<ffffffffba7368b9>] register_lock_class.part.21+0x38/0x3c
>  [<ffffffffba0c1560>] __lock_acquire.isra.28+0xa10/0xa50
>  [<ffffffffba0c1cfd>] lock_acquire+0x8d/0x120
>  [<ffffffffba24ba88>] ? kernfs_addrm_finish+0x38/0x60
>  [<ffffffffba24acde>] kernfs_deactivate+0x10e/0x150
>  [<ffffffffba24ba88>] ? kernfs_addrm_finish+0x38/0x60
>  [<ffffffffba24ba88>] kernfs_addrm_finish+0x38/0x60
>  [<ffffffffba24bd00>] kernfs_remove_by_name_ns+0x60/0xc0
>  [<ffffffffba2498d1>] remove_files.isra.1+0x41/0x80
>  [<ffffffffba249bc7>] sysfs_remove_group+0x47/0xa0
>  [<ffffffffba249cf3>] sysfs_remove_groups+0x33/0x50
>  [<ffffffffba4ded6d>] device_remove_attrs+0x4d/0x80
>  [<ffffffffba4df9ae>] device_del+0x12e/0x1d0
>  [<ffffffffba53ce08>] usb_disconnect+0x138/0x1d0
>  [<ffffffffba540153>] hub_thread+0x723/0x1700
>  [<ffffffffba09d7c4>] ? finish_task_switch+0x44/0x190
>  [<ffffffffba0ba030>] ? wake_up_atomic_t+0x30/0x30
>  [<ffffffffba53fa30>] ? usb_reset_device+0x1d0/0x1d0
>  [<ffffffffba093dcc>] kthread+0xfc/0x120
>  [<ffffffffba093cd0>] ? kthread_create_on_node+0x230/0x230
>  [<ffffffffba74d96c>] ret_from_fork+0x7c/0xb0
>  [<ffffffffba093cd0>] ? 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-01  8:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-31 21:11 removing usb debug cable triggers lockdep warning Dave Jones
2014-02-01  8:45 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).