usb 2-1: string descriptor 0 read error: -71 comedi comedi0: Wrong number of endpoints ni6501 2-1:3.119: 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: 1 PID: 5449 Comm: kworker/1:4 Not tainted 5.1.0-rc3-319004-g43151d6 #6 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+0xe8/0x16e lib/dump_stack.c:113 assign_lock_key kernel/locking/lockdep.c:786 [inline] register_lock_class+0x11b8/0x1250 kernel/locking/lockdep.c:1095 __lock_acquire+0xfb/0x37c0 kernel/locking/lockdep.c:3582 lock_acquire+0x10d/0x2f0 kernel/locking/lockdep.c:4211 __mutex_lock_common kernel/locking/mutex.c:925 [inline] __mutex_lock+0xfe/0x12b0 kernel/locking/mutex.c:1072 ni6501_detach+0x5b/0x110 drivers/staging/comedi/drivers/ni_usb6501.c:567 comedi_device_detach+0xed/0x800 drivers/staging/comedi/drivers.c:204 comedi_device_cleanup.part.0+0x68/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+0x16/0x90 drivers/staging/comedi/comedi_fops.c:190 comedi_free_board_dev drivers/staging/comedi/comedi_fops.c:189 [inline] comedi_release_hardware_device+0x111/0x140 drivers/staging/comedi/comedi_fops.c:2880 comedi_auto_config.cold+0x124/0x1b0 drivers/staging/comedi/drivers.c:1068 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:2023 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 2-1: USB disconnect, device number 12 usb 2-1: new high-speed USB device number 13 using dummy_hcd usb 2-1: Using ep0 maxpacket: 8 usb 2-1: config 3 has an invalid interface number: 119 but max is 0 usb 2-1: config 3 has no interface number 0 usb 2-1: config 3 interface 119 has no altsetting 0 usb 2-1: New USB device found, idVendor=3923, idProduct=718a, bcdDevice=fd.65 usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 2-1: string descriptor 0 read error: -71 comedi comedi0: Wrong number of endpoints ni6501 2-1:3.119: driver 'ni6501' failed to auto-configure device. usb 2-1: USB disconnect, device number 13 usb 2-1: new high-speed USB device number 14 using dummy_hcd usb 2-1: Using ep0 maxpacket: 8 usb 2-1: config 0 has an invalid interface number: 146 but max is 0 usb 2-1: config 0 has no interface number 0 usb 2-1: New USB device found, idVendor=9710, idProduct=7730, bcdDevice=ca.33 usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 2-1: config 0 descriptor?? usb 2-1: Cannot set autoneg MOSCHIP usb-ethernet driver: probe of 2-1:0.146 failed with error -71 usb 2-1: USB disconnect, device number 14 usb 2-1: new high-speed USB device number 15 using dummy_hcd usb 2-1: Using ep0 maxpacket: 8 usb 2-1: config 0 has an invalid interface number: 146 but max is 0 usb 2-1: config 0 has no interface number 0 usb 2-1: New USB device found, idVendor=9710, idProduct=7730, bcdDevice=ca.33 usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 2-1: config 0 descriptor?? usb 2-1: Cannot set autoneg MOSCHIP usb-ethernet driver: probe of 2-1:0.146 failed with error -71 usb 2-1: USB disconnect, device number 15 usb 2-1: new high-speed USB device number 16 using dummy_hcd usb 2-1: Using ep0 maxpacket: 8 usb 2-1: config 0 has an invalid interface number: 146 but max is 0 usb 2-1: config 0 has no interface number 0 usb 2-1: New USB device found, idVendor=9710, idProduct=7730, bcdDevice=ca.33 usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 2-1: config 0 descriptor?? usb 2-1: Cannot set autoneg MOSCHIP usb-ethernet driver: probe of 2-1:0.146 failed with error -71 usb 2-1: USB disconnect, device number 16 usb 5-1: new high-speed USB device number 21 using dummy_hcd usb 5-1: config 0 has an invalid interface number: 186 but max is 0 usb 5-1: config 0 has no interface number 0 usb 5-1: New USB device found, idVendor=2058, idProduct=1005, bcdDevice=3c.8d usb 5-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 5-1: config 0 descriptor?? viperboard 5-1:0.186: version 0.00 found at bus 005 address 021 viperboard-i2c viperboard-i2c.5.auto: failure setting i2c_bus_freq to 100 viperboard-i2c: probe of viperboard-i2c.5.auto failed with error -5 usb 5-1: USB disconnect, device number 21 usb 2-1: new high-speed USB device number 18 using dummy_hcd usb 2-1: Using ep0 maxpacket: 8 usb 2-1: config 0 has an invalid interface number: 146 but max is 0 usb 2-1: config 0 has no interface number 0 usb 2-1: New USB device found, idVendor=9710, idProduct=7730, bcdDevice=ca.33 usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 usb 2-1: config 0 descriptor?? usb 2-1: Cannot set autoneg MOSCHIP usb-ethernet driver: probe of 2-1:0.146 failed with error -71 usb 2-1: USB disconnect, device number 18 usb 2-1: new high-speed USB device number 19 using dummy_hcd usb 2-1: Using ep0 maxpacket: 8