usb 3-1: string descriptor 0 read error: -71 comedi comedi0: Wrong number of endpoints ni6501 3-1:0.21: driver 'ni6501' failed to auto-configure device. INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 2491 Comm: kworker/0:2 Not tainted 5.1.0-rc3+ #8 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0xca/0x13e lib/dump_stack.c:113 assign_lock_key kernel/locking/lockdep.c:786 [inline] register_lock_class+0x11ae/0x1240 kernel/locking/lockdep.c:1095 __lock_acquire+0xfb/0x37c0 kernel/locking/lockdep.c:3582 lock_acquire+0x100/0x2b0 kernel/locking/lockdep.c:4211 __mutex_lock_common kernel/locking/mutex.c:925 [inline] __mutex_lock+0xf9/0x12b0 kernel/locking/mutex.c:1072 ni6501_detach+0x56/0x110 drivers/staging/comedi/drivers/ni_usb6501.c:567 comedi_device_detach+0xe8/0x800 drivers/staging/comedi/drivers.c:204 comedi_device_cleanup.part.0+0x63/0x140 drivers/staging/comedi/comedi_fops.c:156 comedi_device_cleanup drivers/staging/comedi/comedi_fops.c:187 [inline] comedi_free_board_dev.part.0+0x11/0x90 drivers/staging/comedi/comedi_fops.c:190 comedi_free_board_dev drivers/staging/comedi/comedi_fops.c:189 [inline] comedi_release_hardware_device+0x10c/0x140 drivers/staging/comedi/comedi_fops.c:2880 comedi_auto_config.cold+0x124/0x1b0 drivers/staging/comedi/drivers.c:1068 usb_probe_interface+0x30d/0x7b0 drivers/usb/core/driver.c:361 really_probe+0x296/0x680 drivers/base/dd.c:509 driver_probe_device+0xf9/0x200 drivers/base/dd.c:671 __device_attach_driver+0x1c4/0x230 drivers/base/dd.c:778 bus_for_each_drv+0x15e/0x1e0 drivers/base/bus.c:454 __device_attach+0x21e/0x360 drivers/base/dd.c:844 bus_probe_device+0x1ec/0x2a0 drivers/base/bus.c:514 device_add+0xaf4/0x1700 drivers/base/core.c:2106 usb_set_configuration+0xdf2/0x1670 drivers/usb/core/message.c:2023 generic_probe+0x9d/0xd5 drivers/usb/core/generic.c:210 usb_probe_device+0xa8/0x110 drivers/usb/core/driver.c:266 really_probe+0x296/0x680 drivers/base/dd.c:509 driver_probe_device+0xf9/0x200 drivers/base/dd.c:671 __device_attach_driver+0x1c4/0x230 drivers/base/dd.c:778 bus_for_each_drv+0x15e/0x1e0 drivers/base/bus.c:454 __device_attach+0x21e/0x360 drivers/base/dd.c:844 bus_probe_device+0x1ec/0x2a0 drivers/base/bus.c:514 device_add+0xaf4/0x1700 drivers/base/core.c:2106 usb_new_device.cold+0x8b8/0x1030 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+0x1ac9/0x35a0 drivers/usb/core/hub.c:5432 process_one_work+0x90a/0x1580 kernel/workqueue.c:2269 process_scheduled_works kernel/workqueue.c:2331 [inline] worker_thread+0x7ab/0xe20 kernel/workqueue.c:2417 kthread+0x30e/0x420 kernel/kthread.c:253 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 dummy_hcd dummy_hcd.2: port status 0x00010101 has changes usb 3-1: USB disconnect, device number 25 dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: new high-speed USB device number 26 using dummy_hcd dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: device descriptor read/64, error 18 dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: device descriptor read/64, error 18 dummy_hcd dummy_hcd.2: port status 0x00110100 has changes dummy_hcd dummy_hcd.2: port status 0x00110101 has changes dummy_hcd dummy_hcd.2: port status 0x00100101 has changes dummy_hcd dummy_hcd.2: port status 0x00100111 has changes dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: new high-speed USB device number 27 using dummy_hcd dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: Using ep0 maxpacket: 8 usb 3-1: config 0 has an invalid interface number: 21 but max is 0 usb 3-1: config 0 has an invalid descriptor of length 141, skipping remainder of the config usb 3-1: config 0 has no interface number 0 usb 3-1: config 0 interface 21 altsetting 0 endpoint 0x5 has invalid maxpacket 2042, setting to 64 usb 3-1: New USB device found, idVendor=3923, idProduct=718a, bcdDevice=5d.41 usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 3-1: config 0 descriptor?? usb 3-1: string descriptor 0 read error: -71 comedi comedi0: Wrong number of endpoints ni6501 3-1:0.21: driver 'ni6501' failed to auto-configure device. dummy_hcd dummy_hcd.2: port status 0x00010100 has changes usb 3-1: USB disconnect, device number 27 usb usb3: dummy_bus_suspend usb usb3: dummy_bus_resume dummy_hcd dummy_hcd.2: port status 0x00010101 has changes dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: new high-speed USB device number 28 using dummy_hcd dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: device descriptor read/64, error 18 dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: device descriptor read/64, error 18 dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: new high-speed USB device number 29 using dummy_hcd dummy_hcd dummy_hcd.2: port status 0x00100503 has changes dummy_hcd dummy_hcd.2: port status 0x00010100 has changes usb 3-1: device descriptor read/64, error 18 dummy_hcd dummy_hcd.2: port status 0x00010111 has changes dummy_hcd dummy_hcd.2: port status 0x00110503 has changes dummy_hcd dummy_hcd.2: port status 0x00100503 has changes dummy_hcd dummy_hcd.2: port status 0x00100111 has changes dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: device descriptor read/64, error -71 usb usb3-port1: attempt power cycle dummy_hcd dummy_hcd.2: power-off dummy_hcd dummy_hcd.2: port status 0x00010101 has changes dummy_hcd dummy_hcd.2: port status 0x00010111 has changes dummy_hcd dummy_hcd.2: port status 0x00110503 has changes dummy_hcd dummy_hcd.2: port status 0x00100503 has changes dummy_hcd dummy_hcd.2: port status 0x00100111 has changes dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: new high-speed USB device number 30 using dummy_hcd dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: config 0 has an invalid interface number: 205 but max is 0 usb 3-1: config 0 has no interface number 0 usb 3-1: New USB device found, idVendor=2357, idProduct=0109, bcdDevice=af.a3 usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 3-1: config 0 descriptor?? usb 3-1: Unsupported USB TX end-points usb 3-1: Fatal - failed to identify chip rtl8xxxu: probe of 3-1:0.205 failed with error -524 dummy_hcd dummy_hcd.2: port status 0x00010100 has changes usb 3-1: USB disconnect, device number 30 usb usb3: dummy_bus_suspend usb usb3: dummy_bus_resume dummy_hcd dummy_hcd.2: port status 0x00010101 has changes dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: new high-speed USB device number 31 using dummy_hcd dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: device descriptor read/64, error 18 dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: device descriptor read/64, error 18 dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: new high-speed USB device number 32 using dummy_hcd dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: device descriptor read/64, error 18 dummy_hcd dummy_hcd.2: port status 0x00100503 has changes usb 3-1: device descriptor read/64, error 18 usb usb3-port1: attempt power cycle dummy_hcd dummy_hcd.2: power-off