[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20171110170559.cwts7xakxop3hdqf@wfg-t540p.sh.intel.com>
Date: Sat, 11 Nov 2017 01:05:59 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: linux-usb@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Mike Krinkin <krinkin.m.u@...il.com>,
linux-kernel@...r.kernel.org
Subject: [usb_runtime_suspend] WARNING: CPU: 0 PID: 16 at
drivers/usb/core/urb.c:341 usb_submit_urb+0x7e3/0x910
Hello,
FYI this happens in 4.14.0-rc8 -- it's not necessarily a new bug.
It occurs in 2 out of 2 boots.
[ 36.432666] hub 3-0:1.0: 8 ports detected
[ 36.434783] hub 3-0:1.0: USB hub found
[ 36.435374] hub 3-0:1.0: 8 ports detected
[ 36.528031] URB cd136280 submitted while active
[ 36.528747] ------------[ cut here ]------------
[ 36.529414] WARNING: CPU: 0 PID: 16 at drivers/usb/core/urb.c:341 usb_submit_urb+0x7e3/0x910:
usb_submit_urb at drivers/usb/core/urb.c:341
[ 36.530739] CPU: 0 PID: 16 Comm: kworker/0:1 Not tainted 4.14.0-rc8 #1
[ 36.531597] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 36.532732] Workqueue: pm pm_runtime_work
[ 36.533306] task: cf530400 task.stack: cf532000
[ 36.533921] EIP: usb_submit_urb+0x7e3/0x910:
usb_submit_urb at drivers/usb/core/urb.c:341
[ 36.534505] EFLAGS: 00210286 CPU: 0
[ 36.535006] EAX: 00000023 EBX: c26ff120 ECX: 00000000 EDX: 00000000
[ 36.535852] ESI: 00000000 EDI: cd136280 EBP: cf533d84 ESP: cf533d48
[ 36.537100] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[ 36.538107] CR0: 80050033 CR2: 00000000 CR3: 04b6f000 CR4: 00140690
[ 36.539305] Call Trace:
[ 36.539697] hub_activate+0x311/0x900:
hub_activate at drivers/usb/core/hub.c:1205
[ 36.540246] hub_resume+0x13/0x20:
hub_resume at drivers/usb/core/hub.c:3619
[ 36.540730] usb_resume_interface+0x185/0x1c0
[ 36.541402] usb_suspend_both+0x32e/0x3b0:
usb_suspend_both at drivers/usb/core/driver.c:1358
[ 36.541965] ? usb_autopm_get_interface_no_resume+0x20/0x20:
usb_runtime_suspend at drivers/usb/core/driver.c:1841
[ 36.542713] usb_runtime_suspend+0x39/0xb0:
usb_runtime_suspend at drivers/usb/core/driver.c:1855
[ 36.543407] __rpm_callback+0x50/0x320:
__rpm_callback at drivers/base/power/runtime.c:334
[ 36.544338] ? usb_autopm_get_interface_no_resume+0x20/0x20:
usb_runtime_suspend at drivers/usb/core/driver.c:1841
[ 36.545113] rpm_callback+0x51/0xb0:
rpm_callback at drivers/base/power/runtime.c:468
[ 36.545618] ? usb_autopm_get_interface_no_resume+0x20/0x20:
usb_runtime_suspend at drivers/usb/core/driver.c:1841
[ 36.546364] rpm_suspend+0x271/0x870:
rpm_suspend at drivers/base/power/runtime.c:597
[ 36.546877] ? __pm_runtime_suspend+0x6b/0xc0:
__pm_runtime_suspend at drivers/base/power/runtime.c:1009
[ 36.547487] ? _raw_spin_lock_irqsave+0x7d/0x90:
_raw_spin_lock_irqsave at kernel/locking/spinlock.c:161
[ 36.548130] __pm_runtime_suspend+0x77/0xc0:
__pm_runtime_suspend at include/linux/spinlock.h:372
[ 36.548709] ? usb_runtime_resume+0x20/0x20:
usb_runtime_idle at drivers/usb/core/driver.c:1882
[ 36.549291] usb_runtime_idle+0x36/0x40:
usb_runtime_idle at drivers/usb/core/driver.c:1892
[ 36.549833] __rpm_callback+0x50/0x320:
__rpm_callback at drivers/base/power/runtime.c:334
[ 36.550419] ? __dev_pm_qos_read_value+0x54/0xe0:
__dev_pm_qos_read_value at include/linux/err.h:41 (discriminator 9)
[ 36.551241] ? usb_runtime_resume+0x20/0x20:
usb_runtime_idle at drivers/usb/core/driver.c:1882
[ 36.551945] rpm_idle+0x561/0x5a0:
rpm_idle at drivers/base/power/runtime.c:426
[ 36.552461] pm_runtime_work+0xcf/0xe0:
pm_runtime_work at include/linux/spinlock.h:367
[ 36.553002] process_one_work+0x28f/0x820:
process_one_work at kernel/workqueue.c:2113
[ 36.553571] worker_thread+0x31b/0x690:
worker_thread at include/linux/compiler.h:277
[ 36.554107] kthread+0x156/0x160:
kthread at kernel/kthread.c:231
[ 36.554583] ? process_one_work+0x820/0x820:
worker_thread at kernel/workqueue.c:2190
[ 36.555164] ? __kthread_create_on_node+0x200/0x200:
kthread at kernel/kthread.c:190
[ 36.555817] ret_from_fork+0x19/0x24:
ret_from_fork at arch/x86/entry/entry_32.S:299
[ 36.556346] Code: 00 b8 58 4d 36 c4 83 05 f8 79 82 c4 01 c6 05 c8 54 2c c4 01 e8 cf b4 a3 fe 57 68 d0 fe eb c3 83 05 e4 79 82 c4 01 e8 f4 4c 9b fe <0f> ff 6a 01 31 c9 ba 01 00 00 00 b8 40 4d 36 c4 e8 a8 b4 a3 fe
[ 36.558823] ---[ end trace 484cd65098edaa99 ]---
[ 36.559462] hub 1-0:1.0: activate --> -16
Attached the full dmesg, kconfig and reproduce scripts.
Thanks,
Fengguang
View attachment "dmesg-yocto-ivb41-47:20171109093310:i386-randconfig-b0-11061302-CONFIG_DRM_BOCHS:4.14.0-rc8:1" of type "text/plain" (90379 bytes)
View attachment ".config" of type "text/plain" (126312 bytes)
View attachment "reproduce-yocto-ivb41-47:20171109093310:i386-randconfig-b0-11061302-CONFIG_DRM_BOCHS:4.14.0-rc8:1" of type "text/plain" (901 bytes)
Powered by blists - more mailing lists