Re: Lockdep warning upon device removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tejun:

You might know something about this.

Alan Stern

On Fri, 24 Jan 2014, Fabio Estevam wrote:

> Hi,
> 
> I am running linux-next-20140124 on a mx6slevk board and I am getting
> the following dump when I remove the USB stick:
> 
> $ usb 1-1: USB disconnect, device number 2
> INFO: trying to register non-static key.
> the code is fine but needs lockdep annotation.
> turning off the locking correctness validator.
> CPU: 0 PID: 16 Comm: khubd Tainted: G        W    3.13.0-next-20140124 #702
> Backtrace:
> [<8001235c>] (dump_backtrace) from [<800124f8>] (show_stack+0x18/0x1c)
>  r6:80dbc844 r5:809655b0 r4:00000000 r3:00000000
> [<800124e0>] (show_stack) from [<80612ef0>] (dump_stack+0x80/0x9c)
> [<80612e70>] (dump_stack) from [<80063dcc>] (__lock_acquire+0x17cc/0x1c24)
>  r4:00000002 r3:bf159300
> [<80062600>] (__lock_acquire) from [<800646f0>] (lock_acquire+0x68/0x7c)
>  r10:80142550 r9:bebfd528 r8:00000000 r7:00000001 r6:60000013 r5:bf156000
>  r4:00000000
> [<80064688>] (lock_acquire) from [<80142328>] (kernfs_addrm_finish+0xe0/0x13c)
>  r7:bf157d94 r6:bf157d08 r5:bf157d54 r4:bebfd530
> [<80142248>] (kernfs_addrm_finish) from [<80142550>] (kernfs_remove_by_name_ns+0
> x50/0x8c)
>  r10:00000000 r9:00000000 r8:bf38ec00 r7:808a9928 r6:00000000 r5:bebfd318
>  r4:807bf940
> [<80142500>] (kernfs_remove_by_name_ns) from [<801405b4>] (remove_files+0x40/0x7
> c)
>  r6:bebfd318 r5:bf39a870 r4:808a99b0
> [<80140574>] (remove_files) from [<801408c8>] (sysfs_remove_group+0x4c/0xa0)
>  r7:bf39a868 r6:bf39a870 r5:808a9928 r4:bebfd318
> [<8014087c>] (sysfs_remove_group) from [<80140948>] (sysfs_remove_groups+0x2c/0x
> 3c)
>  r6:808a9458 r5:bf39a870 r4:808a98fc
> [<8014091c>] (sysfs_remove_groups) from [<803210f8>] (device_remove_groups+0x14/
> 0x18)
>  r5:00000000 r4:bf39a868
> [<803210e4>] (device_remove_groups) from [<80321128>] (device_remove_attrs+0x2c/
> 0x5c)
> [<803210fc>] (device_remove_attrs) from [<8032124c>] (device_del+0xf4/0x180)
>  r6:bf38e468 r5:bf39a868 r4:bf38ec00 r3:00000000
> [<80321158>] (device_del) from [<803db198>] (usb_disconnect+0x104/0x190)
>  r6:bf39a89c r5:bf39a800 r4:bf38ec00 r3:bf159300
> [<803db094>] (usb_disconnect) from [<803de2a0>] (hub_thread+0xe70/0x116c)
>  r10:00000100 r8:bf376268 r7:00000001 r6:bf376200 r5:0000001e r4:00000001
> [<803dd430>] (hub_thread) from [<80044dec>] (kthread+0xcc/0xe8)
>  r10:00000000 r9:00000000 r8:00000000 r7:803dd430 r6:00000000 r5:bf137c80
>  r4:00000000
> [<80044d20>] (kthread) from [<8000eae8>] (ret_from_fork+0x14/0x2c)
>  r7:00000000 r6:00000000 r5:80044d20 r4:bf137c80
> 
> Any ideas?
> 
> Thanks,
> 
> Fabio Estevam

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux