sleeping function called with IRQs disabled

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

 



Just got the below when I plugged in a new webcam. Not sure it's a bug
in xhci (using GFP_KERNEL presumably) or (less likely?) in the USB
autosuspend code.

johannes

[  141.317464] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[  141.558966] usb 1-1: New USB device found, idVendor=058f, idProduct=5608
[  141.559035] usb 1-1: New USB device strings: Mfr=3, Product=1, SerialNumber=0
[  141.559094] usb 1-1: Product: USB 2.0 PC Camera
[  141.559160] usb 1-1: Manufacturer: Alcor Micro, Corp.
[  141.566501] uvcvideo: Found UVC 1.00 device USB 2.0 PC Camera (058f:5608)
[  141.571136] input: USB 2.0 PC Camera as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/input/input11
[  143.809835] BUG: sleeping function called from invalid context at mm/slab.c:2946
[  143.809922] in_atomic(): 1, irqs_disabled(): 1, pid: 39, name: kworker/2:1
[  143.809994] 4 locks held by kworker/2:1/39:
[  143.810041]  #0:  ("pm"){.+.+.+}, at: [<ffffffff81055490>] process_one_work+0x171/0x40a
[  143.810268]  #1:  ((&dev->power.work)){+.+.+.}, at: [<ffffffff81055490>] process_one_work+0x171/0x40a
[  143.810483]  #2:  (&port_dev->status_lock){+.+.+.}, at: [<ffffffffa000781b>] usb_lock_port+0x12/0x14 [usbcore]
[  143.810709]  #3:  (&(&xhci->lock)->rlock){-.-...}, at: [<ffffffffa00ce119>] xhci_stop_device.constprop.10+0x4e/0x13f [xhci_hcd]
[  143.810955] irq event stamp: 91782
[  143.811007] hardirqs last  enabled at (91781): [<ffffffff8107b271>] debug_check_no_locks_freed+0x12b/0x141
[  143.811119] hardirqs last disabled at (91782): [<ffffffff813ea8db>] _raw_spin_lock_irqsave+0x1a/0x55
[  143.811228] softirqs last  enabled at (91684): [<ffffffff8132139d>] neigh_periodic_work+0x102/0x27e
[  143.811337] softirqs last disabled at (91680): [<ffffffff813212ca>] neigh_periodic_work+0x2f/0x27e
[  143.811450] CPU: 2 PID: 39 Comm: kworker/2:1 Not tainted 3.15.0-rc8+ #37
[  143.811529] Hardware name: Dell Inc. Latitude E6430/0CPWYR, BIOS A09 12/13/2012
[  143.811605] Workqueue: pm pm_runtime_work
[  143.811699]  0000000000000027 ffff8802153fb718 ffffffff813e53fc 0000000000000006
[  143.811896]  ffff8802153f4a50 ffff8802153fb748 ffffffff81063def 0000000000000001
[  143.812092]  ffff880213758000 ffff88021d800280 0000000000008010 ffff8802153fb758
[  143.812288] Call Trace:
[  143.812338]  [<ffffffff813e53fc>] dump_stack+0x4e/0x68
[  143.812397]  [<ffffffff81063def>] __might_sleep+0x19c/0x1a4
[  143.812470]  [<ffffffff81121f13>] cache_alloc_debugcheck_before.isra.34+0x1d/0x24
[  143.812554]  [<ffffffff81123fa1>] __kmalloc+0x4c/0x11c
[  143.812617]  [<ffffffffa00c727f>] ? kzalloc+0xf/0x11 [xhci_hcd]
[  143.812683]  [<ffffffffa00c727f>] kzalloc+0xf/0x11 [xhci_hcd]
[  143.812747]  [<ffffffffa00c827e>] xhci_alloc_command+0x27/0xaf [xhci_hcd]
[  143.812813]  [<ffffffffa00ce141>] xhci_stop_device.constprop.10+0x76/0x13f [xhci_hcd]
[  143.812893]  [<ffffffffa00ceb99>] xhci_hub_control+0x89d/0xd6a [xhci_hcd]
[  143.812966]  [<ffffffffa000f759>] usb_hcd_submit_urb+0x5c7/0x777 [usbcore]
[  143.813034]  [<ffffffff8109fa91>] ? rcu_read_lock_held+0x36/0x38
[  143.813094]  [<ffffffff8109ff95>] ? __module_address+0x9a/0xc6
[  143.813160]  [<ffffffffa001086d>] usb_submit_urb+0x43a/0x467 [usbcore]
[  143.813222]  [<ffffffff810783e1>] ? lockdep_init_map+0x142/0x154
[  143.813288]  [<ffffffffa00112d0>] usb_start_wait_urb+0x59/0xcf [usbcore]
[  143.813362]  [<ffffffffa001156e>] usb_control_msg+0xc9/0xfb [usbcore]
[  143.813453]  [<ffffffffa00078d2>] set_port_feature+0x43/0x45 [usbcore]
[  143.813524]  [<ffffffffa000b5a6>] usb_port_suspend+0x1b7/0x2a0 [usbcore]
[  143.813594]  [<ffffffff8107b144>] ? trace_hardirqs_on+0xd/0xf
[  143.813662]  [<ffffffffa001adce>] generic_suspend+0x21/0x27 [usbcore]
[  143.813730]  [<ffffffffa001349c>] usb_suspend_both+0xf5/0x193 [usbcore]
[  143.813799]  [<ffffffffa0014492>] usb_runtime_suspend+0x2a/0x58 [usbcore]
[  143.813867]  [<ffffffffa0014468>] ? usb_probe_device+0x3b/0x3b [usbcore]
[  143.813931]  [<ffffffff812c762c>] __rpm_callback+0x2f/0x56
[  143.813998]  [<ffffffff812c76a4>] rpm_callback+0x51/0x74
[  143.814062]  [<ffffffff812c7e85>] rpm_suspend+0x294/0x40a
[  143.814120]  [<ffffffff813ea8ba>] ? _raw_spin_lock_irq+0x42/0x49
[  143.814180]  [<ffffffff812c75e5>] ? spin_lock_irq+0x9/0xb
[  143.814237]  [<ffffffff812c8d30>] pm_runtime_work+0x8c/0xac
[  143.814295]  [<ffffffff8105555d>] process_one_work+0x23e/0x40a
[  143.814353]  [<ffffffff81055490>] ? process_one_work+0x171/0x40a
[  143.814428]  [<ffffffff81055882>] worker_thread+0x12f/0x1fd
[  143.814488]  [<ffffffff81055753>] ? process_scheduled_works+0x2a/0x2a
[  143.814557]  [<ffffffff81055753>] ? process_scheduled_works+0x2a/0x2a
[  143.814618]  [<ffffffff8105b391>] kthread+0xb5/0xbd
[  143.814673]  [<ffffffff8105b2dc>] ? __kthread_parkme+0x5c/0x5c
[  143.814733]  [<ffffffff813f0d3c>] ret_from_fork+0x7c/0xb0
[  143.814789]  [<ffffffff8105b2dc>] ? __kthread_parkme+0x5c/0x5c


--
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