FYI, we noticed the following commit:
commit: 0789e2c538a0f766600f51cff83dc389b9ea3ad0 ("staging: unisys: visorbus: get rid
of create_bus_type.")
https://github.com/0day-ci/linux
David-Kershner/staging-unisys-Add-additional-error-handling-to-the-s-Par-drivers/20170329-031020
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url:
http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -m 512M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------+------------+------------+
| | 4d7e588d9c | 0789e2c538 |
+------------------------------------------+------------+------------+
| boot_successes | 64 | 0 |
| boot_failures | 0 | 11 |
| kernel_BUG_at_drivers/base/driver.c | 0 | 11 |
| invalid_opcode:#[##] | 0 | 11 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 11 |
+------------------------------------------+------------+------------+
[ 12.361441] kernel BUG at drivers/base/driver.c:153!
[ 12.364118] invalid opcode: 0000 [#1] SMP
[ 12.366171] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc4-00790-g0789e2c #1
[ 12.368899] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.9.3-20161025_171302-gandalf 04/01/2014
[ 12.372029] task: ffff88001f646bc0 task.stack: ffffc90000008000
[ 12.374478] RIP: 0010:driver_register+0xa1/0xd0
[ 12.376841] RSP: 0000:ffffc9000000be60 EFLAGS: 00010246
[ 12.379118] RAX: 0000000000000000 RBX: ffffffff831d4c20 RCX: 0000000000000000
[ 12.381818] RDX: 000000000000004d RSI: ffffffff831d47c0 RDI: ffffffff831d4c20
[ 12.384605] RBP: ffffc9000000be78 R08: ffffc9000000be78 R09: ffffc9000000be7c
[ 12.387179] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
[ 12.389868] R13: 00000000ffffffff R14: ffffffff832f3923 R15: 0000000000000000
[ 12.392573] FS: 0000000000000000(0000) GS:ffff88001f800000(0000)
knlGS:0000000000000000
[ 12.395502] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 12.397886] CR2: 0000000000000000 CR3: 0000000003009000 CR4: 00000000000406b0
[ 12.400437] Call Trace:
[ 12.402366] ? visorbus_register_visor_driver+0x3f/0x60
[ 12.404900] ? init_unisys+0x3a/0x90
[ 12.406753] ? device_resume_response+0x50/0x50
[ 12.409003] visorinput_init+0x10/0x20
[ 12.410901] do_one_initcall+0x9a/0x164
[ 12.413035] ? set_debug_rodata+0x12/0x12
[ 12.415114] kernel_init_freeable+0x11e/0x1a1
[ 12.417259] ? rest_init+0x80/0x80
[ 12.419113] kernel_init+0x9/0x100
[ 12.421101] ret_from_fork+0x2c/0x40
[ 12.422964] Code: ff 85 c0 41 89 c4 75 13 48 8b 7b 70 31 f6 e8 97 16 be ff 44 89 e0 5b
41 5c 5d c3 48 89 df e8 57 e1 ff ff 44 89 e0 5b 41 5c 5d c3 <0f> 0b 48 8b 33 48 c7
c7 a0 dd d5 82 e8 ec f0 6f ff 48 8b 73 08
[ 12.428561] RIP: driver_register+0xa1/0xd0 RSP: ffffc9000000be60
[ 12.430817] ---[ end trace 03911425d08f3274 ]---
To reproduce:
git clone
https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this
email
Thanks,
Xiaolong