usb 2-1: device descriptor read/64, error 18 usb 2-1: new high-speed USB device number 71 using dummy_hcd usb 2-1: device descriptor read/64, error 18 usb 2-1: device descriptor read/64, error 18 INFO: task kworker/0:0:5 blocked for more than 143 seconds. Not tainted 5.1.0-rc4-319354-g9a33b36 #3 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:0 D24112 5 2 0x80000000 Workqueue: usb_hub_wq hub_event Call Trace: schedule+0x8f/0x180 kernel/sched/core.c:3562 schedule_preempt_disabled+0x11/0x20 kernel/sched/core.c:3620 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x800/0x12b0 kernel/locking/mutex.c:1072 i2c_add_adapter+0x1e/0x110 drivers/i2c/i2c-core-base.c:1356 dvb_usb_i2c_init+0x1e5/0x2b0 drivers/media/usb/dvb-usb/dvb-usb-i2c.c:30 dvb_usb_init drivers/media/usb/dvb-usb/dvb-usb-init.c:162 [inline] dvb_usb_device_init.cold+0x3e2/0x10b3 drivers/media/usb/dvb-usb/dvb-usb-init.c:277 dtv5100_probe drivers/media/usb/dvb-usb/dtv5100.c:163 [inline] dtv5100_probe+0x1db/0x232 drivers/media/usb/dvb-usb/dtv5100.c:145 usb_probe_interface+0x31d/0x820 drivers/usb/core/driver.c:361 really_probe+0x2da/0xb10 drivers/base/dd.c:509 driver_probe_device+0x21d/0x350 drivers/base/dd.c:671 __device_attach_driver+0x1d8/0x290 drivers/base/dd.c:778 bus_for_each_drv+0x163/0x1e0 drivers/base/bus.c:454 __device_attach+0x223/0x3a0 drivers/base/dd.c:844 bus_probe_device+0x1f1/0x2a0 drivers/base/bus.c:514 device_add+0xad2/0x16e0 drivers/base/core.c:2106 usb_set_configuration+0xdf7/0x1740 drivers/usb/core/message.c:2021 generic_probe+0xa2/0xda drivers/usb/core/generic.c:210 usb_probe_device+0xc0/0x150 drivers/usb/core/driver.c:266 really_probe+0x2da/0xb10 drivers/base/dd.c:509 driver_probe_device+0x21d/0x350 drivers/base/dd.c:671 __device_attach_driver+0x1d8/0x290 drivers/base/dd.c:778 bus_for_each_drv+0x163/0x1e0 drivers/base/bus.c:454 __device_attach+0x223/0x3a0 drivers/base/dd.c:844 bus_probe_device+0x1f1/0x2a0 drivers/base/bus.c:514 device_add+0xad2/0x16e0 drivers/base/core.c:2106 usb_new_device.cold+0x537/0xccf drivers/usb/core/hub.c:2534 hub_port_connect drivers/usb/core/hub.c:5089 [inline] hub_port_connect_change drivers/usb/core/hub.c:5204 [inline] port_event drivers/usb/core/hub.c:5350 [inline] hub_event+0x138e/0x3b00 drivers/usb/core/hub.c:5432 process_one_work+0x90f/0x1580 kernel/workqueue.c:2269 process_scheduled_works kernel/workqueue.c:2331 [inline] worker_thread+0x7b0/0xe20 kernel/workqueue.c:2417 kthread+0x313/0x420 kernel/kthread.c:253 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 usb usb2-port1: attempt power cycle Showing all locks held in the system: 6 locks held by kworker/0:0/5: #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x81f/0x1580 kernel/workqueue.c:2240 #1: 000000002172ce5f ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x853/0x1580 kernel/workqueue.c:2244 #2: 000000004ec81724 (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #2: 000000004ec81724 (&dev->mutex){....}, at: hub_event+0x18a/0x3b00 drivers/usb/core/hub.c:5378 #3: 000000000a2b5f7c (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #3: 000000000a2b5f7c (&dev->mutex){....}, at: __device_attach+0x80/0x3a0 drivers/base/dd.c:821 #4: 000000001804c080 (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #4: 000000001804c080 (&dev->mutex){....}, at: __device_attach+0x80/0x3a0 drivers/base/dd.c:821 #5: 00000000c08f97dc (core_lock){+.+.}, at: i2c_add_adapter+0x1e/0x110 drivers/i2c/i2c-core-base.c:1356 5 locks held by kworker/1:0/17: #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x81f/0x1580 kernel/workqueue.c:2240 #1: 0000000017b186be ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x853/0x1580 kernel/workqueue.c:2244 #2: 000000000379c5fb (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #2: 000000000379c5fb (&dev->mutex){....}, at: hub_event+0x18a/0x3b00 drivers/usb/core/hub.c:5378 #3: 00000000e14e7e64 (&port_dev->status_lock){+.+.}, at: usb_lock_port drivers/usb/core/hub.c:2994 [inline] #3: 00000000e14e7e64 (&port_dev->status_lock){+.+.}, at: hub_port_connect drivers/usb/core/hub.c:5020 [inline] #3: 00000000e14e7e64 (&port_dev->status_lock){+.+.}, at: hub_port_connect_change drivers/usb/core/hub.c:5204 [inline] #3: 00000000e14e7e64 (&port_dev->status_lock){+.+.}, at: port_event drivers/usb/core/hub.c:5350 [inline] #3: 00000000e14e7e64 (&port_dev->status_lock){+.+.}, at: hub_event+0x11a3/0x3b00 drivers/usb/core/hub.c:5432 #4: 0000000097fbfa00 (hcd->address0_mutex){+.+.}, at: hub_port_init+0x1bb/0x2d30 drivers/usb/core/hub.c:4529 1 lock held by khungtaskd/23: #0: 00000000b4aad2c7 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:5059 2 locks held by kworker/u4:2/466: 9 locks held by kworker/1:2/531: #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x81f/0x1580 kernel/workqueue.c:2240 #1: 0000000053a4b251 ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x853/0x1580 kernel/workqueue.c:2244 #2: 0000000011b1cf4e (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #2: 0000000011b1cf4e (&dev->mutex){....}, at: hub_event+0x18a/0x3b00 drivers/usb/core/hub.c:5378 #3: 0000000070fd89ed (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #3: 0000000070fd89ed (&dev->mutex){....}, at: __device_attach+0x80/0x3a0 drivers/base/dd.c:821 #4: 00000000315b5739 (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #4: 00000000315b5739 (&dev->mutex){....}, at: __device_attach+0x80/0x3a0 drivers/base/dd.c:821 #5: 000000002b017ab0 (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #5: 000000002b017ab0 (&dev->mutex){....}, at: __device_attach+0x80/0x3a0 drivers/base/dd.c:821 #6: 00000000c08f97dc (core_lock){+.+.}, at: i2c_register_adapter+0x507/0xb30 drivers/i2c/i2c-core-base.c:1292 #7: 000000001963fe31 (i2c_register_adapter){+.+.}, at: i2c_lock_bus include/linux/i2c.h:739 [inline] #7: 000000001963fe31 (i2c_register_adapter){+.+.}, at: i2c_smbus_xfer+0x79/0x130 drivers/i2c/i2c-core-smbus.c:533 #8: 00000000e7a855f3 (&vb->lock){+.+.}, at: vprbrd_i2c_xfer+0x1a3/0x1b9e drivers/i2c/busses/i2c-viperboard.c:291 5 locks held by kworker/0:2/534: #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x81f/0x1580 kernel/workqueue.c:2240 #1: 00000000dc7b185a ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x853/0x1580 kernel/workqueue.c:2244 #2: 000000004c42d51a (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #2: 000000004c42d51a (&dev->mutex){....}, at: hub_event+0x18a/0x3b00 drivers/usb/core/hub.c:5378 #3: 00000000eda023d8 (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #3: 00000000eda023d8 (&dev->mutex){....}, at: __device_attach+0x80/0x3a0 drivers/base/dd.c:821 #4: 000000007fed6723 (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #4: 000000007fed6723 (&dev->mutex){....}, at: __device_attach+0x80/0x3a0 drivers/base/dd.c:821 1 lock held by rsyslogd/5403: #0: 000000008acc83de (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xe8/0x100 fs/file.c:801 2 locks held by getty/5493: #0: 000000005091af24 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x27/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000a0913343 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21c/0x1a60 drivers/tty/n_tty.c:2156 2 locks held by getty/5494: #0: 0000000069921b4c (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x27/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000012f3f29d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21c/0x1a60 drivers/tty/n_tty.c:2156 2 locks held by getty/5495: #0: 00000000abdd941a (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x27/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000f68f56bd (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21c/0x1a60 drivers/tty/n_tty.c:2156 usb-fuzzer-gadget dummy_udc.4: failed to start USB fuzzer: -22 2 locks held by getty/5496: #0: 00000000bd1dbe18 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x27/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000037f761a5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21c/0x1a60 drivers/tty/n_tty.c:2156 2 locks held by getty/5497: #0: 000000001a126e39 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x27/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000060316700 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21c/0x1a60 drivers/tty/n_tty.c:2156 2 locks held by getty/5498: #0: 00000000346a81ad (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x27/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000abbd85ef (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21c/0x1a60 drivers/tty/n_tty.c:2156 2 locks held by getty/5499: #0: 00000000c0fd8c18 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x27/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000961f34ad (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x21c/0x1a60 drivers/tty/n_tty.c:2156 5 locks held by kworker/0:3/5545: #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: __write_once_size include/linux/compiler.h:220 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_data kernel/workqueue.c:619 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:646 [inline] #0: 00000000773244b0 ((wq_completion)usb_hub_wq){+.+.}, at: process_one_work+0x81f/0x1580 kernel/workqueue.c:2240 #1: 00000000cbb6c8db ((work_completion)(&hub->events)){+.+.}, at: process_one_work+0x853/0x1580 kernel/workqueue.c:2244 #2: 0000000071f90991 (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #2: 0000000071f90991 (&dev->mutex){....}, at: hub_event+0x18a/0x3b00 drivers/usb/core/hub.c:5378 #3: 000000004cf4be6f (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #3: 000000004cf4be6f (&dev->mutex){....}, at: __device_attach+0x80/0x3a0 drivers/base/dd.c:821 #4: 0000000021b18c80 (&dev->mutex){....}, at: device_lock include/linux/device.h:1207 [inline] #4: 0000000021b18c80 (&dev->mutex){....}, at: __device_attach+0x80/0x3a0 drivers/base/dd.c:821 3 locks held by kworker/0:4/5604: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 23 Comm: khungtaskd Not tainted 5.1.0-rc4-319354-g9a33b36 #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0xe8/0x16e lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x48/0x87 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1bd lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline] watchdog+0x98e/0xe20 kernel/hung_task.c:288 kthread+0x313/0x420 kernel/kthread.c:253 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8692 Comm: blkid Not tainted 5.1.0-rc4-319354-g9a33b36 #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:match_held_lock+0x20/0x4b0 kernel/locking/lockdep.c:3762 Code: c3 66 0f 1f 84 00 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 41 56 41 55 41 54 55 53 48 89 fb 48 83 c7 10 48 89 fa 48 83 ec 08 <48> c1 ea 03 80 3c 02 00 0f 85 b4 03 00 00 48 39 73 10 0f 84 f9 01 RSP: 0000:ffff88809b1efb28 EFLAGS: 00000096 RAX: dffffc0000000000 RBX: ffff88809c4f8868 RCX: ffff88809b1efbd8 RDX: ffff88809c4f8878 RSI: ffffffff917d61e0 RDI: ffff88809c4f8878 RBP: ffffffff917d61e0 R08: 0000000000000000 R09: 0000000000000002 R10: ffffed1015a25c27 R11: ffff8880ad12e13b R12: ffff88809c4f8868 R13: ffffffff917d61e0 R14: ffff88809b1efbd8 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880ad100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f965823d000 CR3: 0000000093406000 CR4: 00000000001406e0 Call Trace: find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:3806 __lock_release kernel/locking/lockdep.c:3968 [inline] lock_release+0x1e2/0x770 kernel/locking/lockdep.c:4230 rcu_lock_release include/linux/rcupdate.h:215 [inline] rcu_read_unlock include/linux/rcupdate.h:649 [inline] cgroup_account_cputime include/linux/cgroup.h:770 [inline] update_curr+0x419/0x8c0 kernel/sched/fair.c:843 put_prev_entity+0x11b/0x2b0 kernel/sched/fair.c:4178 pick_next_task_fair+0x10ff/0x1af0 kernel/sched/fair.c:7016 pick_next_task kernel/sched/core.c:3364 [inline] __schedule+0x362/0x1d00 kernel/sched/core.c:3492 schedule+0x8f/0x180 kernel/sched/core.c:3562 exit_to_usermode_loop+0x14e/0x270 arch/x86/entry/common.c:152 prepare_exit_to_usermode+0x262/0x2c0 arch/x86/entry/common.c:197 retint_user+0x8/0x18 RIP: 0033:0x7f965802ca3a Code: 48 83 f8 ff 0f 84 5b 01 00 00 48 8b 15 6f 86 21 00 48 83 fa 10 0f 86 3d 01 00 00 48 8d 3d 73 18 01 00 b9 0b 00 00 00 48 89 c6 a6 0f 85 45 01 00 00 8b 48 0c 48 89 c5 48 89 05 31 86 21 00 48 RSP: 002b:00007ffcad7efbb0 EFLAGS: 00010202 RAX: 00007f965823d000 RBX: 0000000000400f31 RCX: 000000000000000b RDX: 00000000000033ef RSI: 00007f965823d000 RDI: 00007f965803e2a5 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000217 R12: 00007f96582451c8 R13: 00007f9658244040 R14: 0000000000000000 R15: 00007f9658245570