[lkp] [blk] fb205598f2: general protection fault: 0000 [#1] SMP
by kernel test robot
FYI, we noticed the following commit:
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git blk-dio
commit fb205598f24363aae7b7e4bbb6c95cecc7c0d821 ("blk-mq: private O_DIRECT implementation")
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G
caused below changes:
+----------------------------------------------------------------------------------------+------------+------------+
| | f31494bd05 | fb205598f2 |
+----------------------------------------------------------------------------------------+------------+------------+
| boot_successes | 879 | 494 |
| boot_failures | 189 | 598 |
| BUG:kernel_early-boot_hang_Unable_to_boot-please_use_a_kernel_appropriate_for_your_CPU | 12 | |
| BUG:kernel_reboot-without-warning_in_test_stage | 150 | 237 |
| calltrace:SyS_write | 1 | 9 |
| BUG:kernel_early-boot_hang | 8 | |
| WARNING:at_kernel/trace/ftrace.c:#ftrace_bug | 19 | |
| backtrace:perf_ftrace_event_register | 19 | |
| backtrace:perf_trace_init | 19 | |
| backtrace:perf_tp_event_init | 19 | |
| backtrace:perf_try_init_event | 19 | |
| backtrace:perf_event_alloc | 19 | |
| backtrace:SyS_perf_event_open | 19 | |
| BUG:unable_to_handle_kernel | 0 | 237 |
| Oops | 0 | 238 |
| RIP:blk_update_request | 0 | 169 |
| calltrace:SyS_epoll_wait | 0 | 25 |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 361 |
| RIP:__blk_recalc_rq_segments | 0 | 77 |
| calltrace:SyS_newfstat | 0 | 13 |
| kernel_BUG_at_block/blk-mq.c | 0 | 111 |
| invalid_opcode:#[##]SMP | 0 | 111 |
| RIP:blk_mq_end_request | 0 | 111 |
| calltrace:SyS_ioctl | 0 | 24 |
| calltrace:SyS_lseek | 0 | 24 |
| calltrace:SyS_read | 0 | 80 |
| general_protection_fault:#[##]SMP | 0 | 12 |
| calltrace:SyS_recvmsg | 0 | 9 |
| calltrace:smpboot_thread_fn | 0 | 1 |
| calltrace:schedule_timeout | 0 | 2 |
| RIP:bio_advance | 0 | 1 |
| calltrace:SyS_open | 0 | 2 |
| calltrace:SyS_ppoll | 0 | 1 |
| RIP:blk_account_io_completion | 0 | 1 |
| calltrace:prepare_to_swait_event | 0 | 1 |
| calltrace:SyS_close | 0 | 2 |
+----------------------------------------------------------------------------------------+------------+------------+
[ 69.317126] systemd-udevd[2082]: starting version 215
Starting Copy rules generated while the root was ro...
Starting LSB: MD array assembly...
[ 69.696600] general protection fault: 0000 [#1] SMP
[ 69.712484] Modules linked in:
[ 69.726192] CPU: 0 PID: 2096 Comm: mdadm Not tainted 4.8.0-rc1-00242-gfb20559 #1
[ 69.752666] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 69.781474] task: ffff880113868cc0 task.stack: ffff88011468c000
[ 69.798806] RIP: 0010:[<ffffffff814d2cc7>] [<ffffffff814d2cc7>] blk_update_request+0x275/0x2a6
[ 69.828338] RSP: 0000:ffff88013fc03ee0 EFLAGS: 00010006
[ 69.844799] RAX: ffff88011462d900 RBX: ffff880114d50000 RCX: 0001000000000000
[ 69.864041] RDX: 0000000000000825 RSI: 0000000000000000 RDI: ffff88011462d500
[ 69.883582] RBP: ffff88013fc03f10 R08: 00000000000087d0 R09: 0000000000000000
[ 69.902994] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
[ 69.922345] R13: 0000000000000008 R14: 0000000000000000 R15: 0000000000001000
[ 69.942111] FS: 00007f473842f700(0000) GS:ffff88013fc00000(0000) knlGS:0000000000000000
[ 69.969853] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 69.986867] CR2: 0000000001d7dbf8 CR3: 000000012e4f9000 CR4: 00000000000006f0
[ 70.006304] Stack:
[ 70.017161] ffff88011462d500 ffff880114d50000 0000000000000000 ffff880114d50000
[ 70.047531] ffffffff81eac5db 0000000000000000 ffff88013fc03f30 ffffffff814dadcd
[ 70.078150] ffff880114d50010 ffffffff814d9aa6 ffff88013fc03f40 ffffffff815de10f
[ 70.108775] Call Trace:
[ 70.120410] <IRQ>
[ 70.124784] [<ffffffff814dadcd>] blk_mq_end_request+0x1a/0x5c
[ 70.149863] [<ffffffff814d9aa6>] ? __blk_mq_end_request+0x44/0x44
[ 70.167817] [<ffffffff815de10f>] virtblk_request_done+0x5e/0x60
[ 70.185409] [<ffffffff814d9ab9>] __blk_mq_complete_request_remote+0x13/0x15
[ 70.204954] [<ffffffff8116dcee>] flush_smp_call_function_queue+0xcd/0x13e
[ 70.224015] [<ffffffff8116e58f>] generic_smp_call_function_single_interrupt+0x13/0x4a
[ 70.263316] [<ffffffff81078f51>] smp_call_function_single_interrupt+0x27/0x35
[ 70.289465] [<ffffffff81ab378c>] call_function_single_interrupt+0x8c/0xa0
[ 70.308366] <EOI>
[ 70.312603] Code: 4f 49 8b 7d 08 44 89 f1 48 89 da 4c 89 fe 41 ff 55 00 49 83 c5 18 49 83 7d 00 00 e9 e4 fd ff ff 8b 48 2c 48 c1 e1 04 48 03 48 78 <8b> 49 08 2b 48 30 39 ca 0f 47 d1 eb 8a 8b 4a 2c 48 c1 e1 04 48
[ 70.438340] RIP [<ffffffff814d2cc7>] blk_update_request+0x275/0x2a6
[ 70.457494] RSP <ffff88013fc03ee0>
[ 70.470915] ---[ end trace b4db690ab7dba899 ]---
[ 70.486372] Kernel panic - not syncing: Fatal exception in interrupt
Thanks,
Xiaolong
5 years, 11 months
612ef47e8e: BUG: key ffff88013c99be98 not in .data!
by kernel test robot
FYI, we noticed the following commit:
git://git.cmpxchg.org/linux-mmotm.git master
commit 612ef47e8e736d599a5d9d98623f9eb9f4a023f5 ("Make sure nobody's leaking resources")
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G
caused below changes:
+-------------------------------------------------------+------------+------------+
| | bc9598d1d0 | 612ef47e8e |
+-------------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 0 | 6 |
| BUG:key#not_in.data | 0 | 6 |
| WARNING:at_kernel/locking/lockdep.c:#lockdep_init_map | 0 | 6 |
| calltrace:vhci_hcd_init | 0 | 6 |
+-------------------------------------------------------+------------+------------+
[ 31.015520] usbip_core: USB/IP Core v1.0.0
[ 31.035514] vhci_hcd vhci_hcd: USB/IP Virtual Host Controller
[ 31.038866] vhci_hcd vhci_hcd: new USB bus registered, assigned bus number 1
[ 31.041309] BUG: key ffff88013c99be98 not in .data!
[ 31.042799] ------------[ cut here ]------------
[ 31.044241] WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:3131 lockdep_init_map+0x11c/0x1c6
[ 31.047286] DEBUG_LOCKS_WARN_ON(1)
[ 31.048137] Modules linked in:
[ 31.049829] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.8.0-rc2-mm1-00130-g612ef47e #1
[ 31.052243] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 31.054897] 0000000000000000 ffff880159b83a18 ffffffff81791461 ffff880159b83a68
[ 31.057711] 0000000000000000 ffff880159b83a58 ffffffff810e5d96 00000c3b59b83ad0
[ 31.060616] ffff88013ca5b550 ffff88013c99be98 0000000000000000 0000000000001000
[ 31.063474] Call Trace:
[ 31.064621] [<ffffffff81791461>] dump_stack+0x82/0xb8
[ 31.066211] [<ffffffff810e5d96>] __warn+0xc2/0xdd
[ 31.067688] [<ffffffff810e5dfc>] warn_slowpath_fmt+0x4b/0x53
[ 31.069438] [<ffffffff81122c93>] lockdep_init_map+0x11c/0x1c6
[ 31.071137] [<ffffffff81290f7f>] __kernfs_create_file+0x7a/0xc9
[ 31.072917] [<ffffffff81291760>] sysfs_add_file_mode_ns+0xcf/0x176
[ 31.074679] [<ffffffff812921c4>] internal_create_group+0x18f/0x268
[ 31.076487] [<ffffffff82656375>] ? vhci_urb_dequeue+0x20e/0x20e
[ 31.078221] [<ffffffff812922b0>] sysfs_create_group+0x13/0x15
[ 31.079923] [<ffffffff82656130>] vhci_start+0x187/0x1be
[ 31.081503] [<ffffffff825a0adf>] usb_add_hcd+0x416/0x787
[ 31.083127] [<ffffffff82655a2b>] vhci_hcd_probe+0x58/0x7d
[ 31.084856] [<ffffffff81bf320c>] platform_drv_probe+0x3a/0x7d
[ 31.086555] [<ffffffff81bf1787>] driver_probe_device+0x113/0x25c
[ 31.088540] [<ffffffff81bf1a09>] __device_attach_driver+0x85/0x8c
[ 31.090295] [<ffffffff81bf1984>] ? driver_allows_async_probing+0x2e/0x2e
[ 31.092202] [<ffffffff81befc90>] bus_for_each_drv+0x7b/0x8a
[ 31.093820] [<ffffffff81bf15e8>] __device_attach+0x93/0xf2
[ 31.095474] [<ffffffff81bf1b68>] device_initial_probe+0x13/0x15
[ 31.097340] [<ffffffff81bf0b87>] bus_probe_device+0x33/0x9e
[ 31.099038] [<ffffffff81bef05d>] device_add+0x405/0x505
[ 31.100727] [<ffffffff846327c5>] ? set_debug_rodata+0x12/0x12
[ 31.102417] [<ffffffff81bf3068>] platform_device_add+0x141/0x1a1
[ 31.104159] [<ffffffff846327c5>] ? set_debug_rodata+0x12/0x12
[ 31.105834] [<ffffffff81bf384b>] platform_device_register_full+0xb3/0x109
[ 31.107953] [<ffffffff846c2571>] vhci_hcd_init+0xb9/0x118
[ 31.109633] [<ffffffff846c24b8>] ? usbip_core_init+0x17/0x17
[ 31.111304] [<ffffffff810021b0>] do_one_initcall+0x90/0x11f
[ 31.113102] [<ffffffff846327c5>] ? set_debug_rodata+0x12/0x12
[ 31.114761] [<ffffffff8463311b>] kernel_init_freeable+0x1c6/0x253
[ 31.116670] [<ffffffff82ef5502>] kernel_init+0xe/0xf5
[ 31.118243] [<ffffffff82f016af>] ret_from_fork+0x1f/0x40
[ 31.119844] [<ffffffff82ef54f4>] ? rest_init+0x13b/0x13b
[ 31.121522] ---[ end trace f6a9fd55fb003702 ]---
[ 31.122969] vhci_hcd: created sysfs vhci_hcd
Thanks,
Kernel Test Robot
5 years, 11 months
[serial: 8250_lpss] a13e19cf3d: BUG: kernel hang in boot stage
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-next
commit a13e19cf3dc1080cf8a3a174cefd9199610faed7
Author: Andy Shevchenko <andriy.shevchenko(a)linux.intel.com>
AuthorDate: Wed Aug 17 19:20:27 2016 +0300
Commit: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
CommitDate: Wed Aug 31 16:13:30 2016 +0200
serial: 8250_lpss: split LPSS driver to separate module
The SoCs, such as Intel Braswell, have DesignWare UART IP. Split out the
support of such chips to a separate module which also will be used for Intel
Quark later.
The rationale to have the separate driver to be existing:
- Do not contaminate 8250_pci.c anymore with LPSS related quirks
- All of them are using same DMA engine and they are Designware IP which means
that in the future we might share the code between 8250_dw.c and 8250_lpss.c
- It reduces the kernel memory footprint on non-X86 machines where 8250_pci.c
is in use
Besides the split the driver also has been refactored, in particular a) the DMA
and port setup are separate functions, b) the two new structures lpss8250 and
lpss8250_board are introduced to keep necessary data instead of
pciserial_board, c) DMA parameters are passed to the DMA setup via mentioned
custom structure. Most of the changes are done due to the future support of
UART DMA on Intel Quark.
The Intel Quark UART DMA support is based on bits taking from BSP code
published by Intel earlier.
The driver does not use any specific power management. PCI core takes care of
the default behaviour during suspend and resume.
Signed-off-by: Andy Shevchenko <andriy.shevchenko(a)linux.intel.com>
Tested-by: Bryan O'Donoghue <pure.logic(a)nexus-software.ie>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
+-------------------------------+------------+------------+------------+
| | 68af490b03 | a13e19cf3d | 6fe4da5401 |
+-------------------------------+------------+------------+------------+
| boot_successes | 63 | 0 | 0 |
| boot_failures | 0 | 26 | 27 |
| BUG:kernel_hang_in_boot_stage | 0 | 26 | 27 |
+-------------------------------+------------+------------+------------+
Booting the kernel.
Elapsed time: 500
BUG: kernel hang in boot stage
Linux version 4.8.0-rc2-00028-ga13e19c #1
Command line: root=/dev/ram0 hung_task_panic=1 debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 systemd.log_level=err ignore_loglevel earlyprintk=ttyS0,115200 console=ttyS0,115200 console=tty0 vga=normal rw link=/kbuild-tests/run-queue/kvm/x86_64-randconfig-r0-09031101/linux-devel:devel-spot-201609030826:a13e19cf3dc1080cf8a3a174cefd9199610faed7:bisect-linux-0/.vmlinuz-a13e19cf3dc1080cf8a3a174cefd9199610faed7-20160903152912-8-vp branch=linux-devel/devel-spot-201609030826 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-r0-09031101/gcc-6/a13e19cf3dc1080cf8a3a174cefd9199610faed7/vmlinuz-4.8.0-rc2-00028-ga13e19c drbd.minor_count=8
git bisect start 6fe4da54019254083959652e61fab5d7b6d8b16b 3eab887a55424fc2c27553b7bfe32330df83f7b8 --
git bisect good 86374892625f368ff0a7d0045bbd10f5005f5095 # 13:00 20+ 0 Merge 'linux-review/Paul-Burton/Partial-MIPS-Malta-DT-conversion/20160903-000153' into devel-spot-201609030826
git bisect bad 28b0a3136795a9a1d1abb0331790bbae75e71e03 # 13:14 0- 11 Merge 'renesas/topic/sdr104-v6' into devel-spot-201609030826
git bisect good 2e5ad9bf16a597bcf52ffee14dc5a3dc80e60ae9 # 13:24 22+ 0 Merge 'linux-review/Wang-Nan/perf-report-Recognize-hugetlb-mapping-as-anon-mapping/20160902-220432' into devel-spot-201609030826
git bisect bad bedfbf8942db947f2a9be3e3a4e01d8ddf3bdf4e # 13:40 0- 8 Merge 'linux-review/Luca-Ceresoli/rtl8723au-remove-declaration-of-unimplemented-functions/20160902-211231' into devel-spot-201609030826
git bisect bad 687a5fb1c4382d1e37d444fdc24f9a0ecb4034a0 # 14:02 0- 10 Merge 'tty/tty-testing' into devel-spot-201609030826
git bisect good 259bbca0cd7b626ab0fc5eb63dfc24b1408e29b4 # 14:13 21+ 0 Merge 'linux-review/Toke-H-iland-J-rgensen/mac80211-Move-reorder-sensitive-TX-handlers-to-after-TXQ-dequeue/20160902-215155' into devel-spot-201609030826
git bisect good bf7a791d2c931375ae966adfb0a93eae426c6d7e # 14:26 22+ 0 Merge 'linux-review/Hariprasad-Shenai/cxgb4-Add-support-for-ndo_get_vf_config/20160902-214923' into devel-spot-201609030826
git bisect good 5887ad43ee02a00f17a6132b7fb256dc6865474c # 14:41 22+ 0 tty: serial: fsl_lpuart: Use cyclic DMA for Rx
git bisect good 9217a5bf66061c392e461255c5d9d41aac136e58 # 14:50 22+ 0 dmaengine: dw: keep copy of custom slave config in dwc
git bisect good 8d17047207d52182ccd55b9529e1c8cc062c07c2 # 15:06 22+ 0 serial: 8250_dma: switch to new dmaengine_terminate_* API
git bisect good 68af490b03b40cc31b2cd47899661d87ab9f127d # 15:22 22+ 0 serial: 8250: enable AFE on ports where FIFO is 16 bytes
git bisect bad a13e19cf3dc1080cf8a3a174cefd9199610faed7 # 15:36 0- 4 serial: 8250_lpss: split LPSS driver to separate module
# first bad commit: [a13e19cf3dc1080cf8a3a174cefd9199610faed7] serial: 8250_lpss: split LPSS driver to separate module
git bisect good 68af490b03b40cc31b2cd47899661d87ab9f127d # 15:40 63+ 0 serial: 8250: enable AFE on ports where FIFO is 16 bytes
# extra tests on HEAD of linux-devel/devel-spot-201609030826
git bisect bad 6fe4da54019254083959652e61fab5d7b6d8b16b # 15:40 0- 27 0day head guard for 'devel-spot-201609030826'
# extra tests on tree/branch tty/tty-next
git bisect bad d2f5a7311bcaed681a41cb3419b8fe92a7b68bf5 # 16:00 0- 17 dmaengine: hsu: refactor hsu_dma_do_irq() to return int
# extra tests on tree/branch linus/master
git bisect good 0141af184adc7f6ea9bd2f9631a15704d0806f8b # 16:10 66+ 1 Merge branch 'for-linus' of git://git.kernel.dk/linux-block
# extra tests on tree/branch linux-next/master
git bisect good 0f98f121e1670eaa2a2fbb675e07d6ba7f0e146f # 16:24 65+ 1 Add linux-next specific files for 20160825
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
5 years, 11 months
[ima] 529aa19519: BUG: spinlock bad magic on CPU#1, swapper/0/1
by kernel test robot
FYI, we noticed the following commit:
https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git next-restore-kexec
commit 529aa195198645e2a8e97872e5d57a929883a910 ("ima: store the builtin/custom template definitions in a list")
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 1G
caused below changes:
+-------------------------------+------------+------------+
| | ae1b8f8c4d | 529aa19519 |
+-------------------------------+------------+------------+
| boot_successes | 6 | 0 |
| boot_failures | 0 | 6 |
| BUG:spinlock_bad_magic_on_CPU | 0 | 6 |
| calltrace:init_ima | 0 | 6 |
+-------------------------------+------------+------------+
[ 17.388687] cryptomgr_probe (157) used greatest stack depth: 13872 bytes left
[ 17.391265] Key type trusted registered
[ 17.393763] Key type encrypted registered
[ 17.394912] BUG: spinlock bad magic on CPU#1, swapper/0/1
[ 17.396088] lock: template_list+0x0/0x48, .magic: 00000000, .owner: swapper/0/1, .owner_cpu: 1
[ 17.397731] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.8.0-rc1-00027-g529aa19 #1
[ 17.399271] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 17.401114] 0000000000000000 ffff8800364fbdf0 ffffffff814a5e6c ffff8800364f1780
[ 17.402879] ffffffff82521865 ffff8800364fbe10 ffffffff810fbfd8 ffffffff83109280
[ 17.404520] ffffffff8225c200 ffff8800364fbe30 ffffffff810fc003 ffffffff83109280
[ 17.406024] Call Trace:
[ 17.406539] [<ffffffff814a5e6c>] dump_stack+0x61/0x7e
[ 17.407534] [<ffffffff82521865>] ? set_debug_rodata+0x12/0x12
[ 17.408658] [<ffffffff810fbfd8>] spin_dump+0x85/0x8a
[ 17.409731] [<ffffffff810fc003>] spin_bug+0x26/0x28
[ 17.410855] [<ffffffff810fc24a>] do_raw_spin_unlock+0x1d/0x7c
[ 17.412212] [<ffffffff81a0ff51>] _raw_spin_unlock+0x22/0x3f
[ 17.413480] [<ffffffff82548a96>] ima_init_template_list+0x4b/0x55
[ 17.414837] [<ffffffff8254863f>] ? hash_setup+0xb3/0xb3
[ 17.415982] [<ffffffff82548649>] init_ima+0xa/0x36
[ 17.417113] [<ffffffff82522079>] do_one_initcall+0x8b/0x119
[ 17.418377] [<ffffffff82521865>] ? set_debug_rodata+0x12/0x12
[ 17.419643] [<ffffffff82522220>] kernel_init_freeable+0x119/0x1a6
[ 17.420936] [<ffffffff81a0989b>] kernel_init+0x9/0xeb
[ 17.421988] [<ffffffff81a1093f>] ret_from_fork+0x1f/0x40
[ 17.423244] [<ffffffff81a09892>] ? rest_init+0xb9/0xb9
[ 17.451107] ima: No TPM chip found, activating TPM-bypass!
[ 17.452384] evm: HMAC attrs: 0x0
Thanks,
Kernel Test Robot
5 years, 11 months
[ppdev] 8b7d3a9d90: WARNING: CPU: 0 PID: 153 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x62/0x80
by kernel test robot
FYI, we noticed the following commit:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-testing
commit 8b7d3a9d903ee1d1f5febc8e74223e4e72720e35 ("ppdev: use new parport device model")
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G
caused below changes:
+---------------------------------------------------------+------------+------------+
| | 5ed22cebba | 8b7d3a9d90 |
+---------------------------------------------------------+------------+------------+
| boot_successes | 0 | 19 |
| boot_failures | 1 | 8 |
| BUG:kernel_reboot-without-warning_in_test_stage | 1 | |
| message:BUG:kernel_reboot-without-warning_in_test_stage | 0 | |
| pattern:BUG:kernel_reboot-without-warning_in_test_stage | 0 | |
| WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup | 0 | 8 |
| message:WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup | 0 | 0.0 |
| pattern:WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup | 0 | 0.0 |
| calltrace:parport_pc_init | 0 | 8 |
| message:calltrace:parport_pc_init | 0 | 0.0 |
| pattern:calltrace:parport_pc_init | 0 | 0 |
| calltrace:SyS_finit_module | 0 | 8 |
| message:calltrace:SyS_finit_module | 0 | 0.0 |
| pattern:calltrace:SyS_finit_module | 0 | 0 |
| WARNING:at_lib/kobject.c:#kobject_add_internal | 0 | 8 |
| message:WARNING:at_lib/kobject.c:#kobject_add_internal | 0 | 0.0 |
| pattern:WARNING:at_lib/kobject.c:#kobject_add_internal | 0 | 0.0 |
+---------------------------------------------------------+------------+------------+
[ 8.347735] blk_update_request: I/O error, dev fd0, sector 0
[ 8.349231] floppy: error -5 while reading block 0
[ 8.350671] ------------[ cut here ]------------
[ 8.352075] WARNING: CPU: 0 PID: 153 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x62/0x80
[ 8.354659] sysfs: cannot create duplicate filename '/devices/pnp0/00:04/ppdev/parport0'
[ 8.357017] Modules linked in: ppdev snd_pcm snd_timer crc32c_intel snd soundcore
[ 8.358738] ata2.01: NODEV after polling detection
[ 8.359071] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[ 8.359795] ata2.00: configured for MWDMA2
[ 8.363714] floppy pcspkr parport_pc(+) serio_raw ata_piix parport libata i2c_piix4 acpi_cpufreq
[ 8.367797] CPU: 0 PID: 153 Comm: systemd-udevd Not tainted 4.8.0-rc2-00102-g8b7d3a9 #1
[ 8.370307] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 8.370387] Kernel tests: Boot OK!
[ 8.374113] 0000000000000000 ffff88010f0cb740 ffffffff8144bb29 ffff88010f0cb790
[ 8.376739] 0000000000000000 ffff88010f0cb780 ffffffff8107e6ab 0000001f0dd7d000
[ 8.379427] ffff88010dd7d000 ffff88010f377110 ffff88010fab69d8 ffff88010fb4f400
[ 8.382066] Call Trace:
[ 8.383085] [<ffffffff8144bb29>] dump_stack+0x63/0x8a
[ 8.384557] [<ffffffff8107e6ab>] __warn+0xcb/0xf0
[ 8.385924] [<ffffffff8107e71f>] warn_slowpath_fmt+0x4f/0x60
[ 8.387368] [<ffffffff8128f1c2>] sysfs_warn_dup+0x62/0x80
[ 8.388780] [<ffffffff8128f2a7>] sysfs_create_dir_ns+0x77/0x90
[ 8.390282] [<ffffffff8144e829>] kobject_add_internal+0xa9/0x320
[ 8.391840] [<ffffffff81457ff3>] ? vsnprintf+0x1e3/0x4d0
[ 8.393256] [<ffffffff8144eb08>] kobject_add+0x68/0xb0
[ 8.394618] [<ffffffff8192bec5>] ? mutex_lock+0x25/0x50
[ 8.395973] [<ffffffff815a5c75>] device_add+0x165/0x630
[ 8.397377] [<ffffffff8119fd61>] ? kfree_const+0x21/0x30
[ 8.398804] [<ffffffff815a6330>] device_create_groups_vargs+0xe0/0xf0
[ 8.400490] [<ffffffffa0079060>] ? dead_read+0x10/0x10 [parport]
[ 8.402022] [<ffffffff815a63a1>] device_create+0x41/0x50
[ 8.403977] [<ffffffff81920b7d>] ? klist_next+0x7d/0x100
[ 8.405376] [<ffffffffa000b0b2>] pp_attach+0x32/0x40 [ppdev]
[ 8.406934] [<ffffffffa0079077>] driver_check+0x17/0x20 [parport]
[ 8.408462] [<ffffffff815a6ecb>] bus_for_each_drv+0x5b/0x90
[ 8.409894] [<ffffffffa0079499>] attach_driver_chain+0x59/0x60 [parport]
[ 8.411537] [<ffffffffa007a7e7>] parport_announce_port+0xc7/0x110 [parport]
[ 8.413173] [<ffffffffa00a3f96>] parport_pc_probe_port+0x6f6/0xca0 [parport_pc]
[ 8.415531] [<ffffffff815a511c>] ? __dev_printk+0x3c/0x80
[ 8.416999] [<ffffffff815a54ac>] ? _dev_info+0x5c/0x60
[ 8.418499] [<ffffffffa00a48f3>] parport_pc_pnp_probe+0x143/0x1e0 [parport_pc]
[ 8.420721] [<ffffffffa00a47b0>] ? parport_pc_pci_probe+0x270/0x270 [parport_pc]
[ 8.422979] [<ffffffff81524865>] pnp_device_probe+0x65/0xc0
[ 8.424555] [<ffffffff815a9323>] driver_probe_device+0x223/0x430
[ 8.426088] [<ffffffff815a960f>] __driver_attach+0xdf/0xf0
[ 8.427541] [<ffffffff815a9530>] ? driver_probe_device+0x430/0x430
[ 8.429072] [<ffffffff815a6e10>] bus_for_each_dev+0x60/0xa0
[ 8.430502] [<ffffffff815a8a5e>] driver_attach+0x1e/0x20
[ 8.431988] [<ffffffff815a84a0>] bus_add_driver+0x170/0x270
[ 8.433549] [<ffffffff815a9f30>] driver_register+0x60/0xe0
[ 8.435027] [<ffffffff815246a0>] pnp_register_driver+0x20/0x30
[ 8.436486] [<ffffffffa00ab36c>] parport_pc_init+0x2b4/0xf48 [parport_pc]
[ 8.438179] [<ffffffffa00ab0b8>] ? parport_parse_param+0xb8/0xb8 [parport_pc]
[ 8.442285] [<ffffffff8100217d>] do_one_initcall+0x3d/0x150
[ 8.443818] [<ffffffff810a4a79>] ? __might_sleep+0x49/0x80
[ 8.445245] [<ffffffff811e68f3>] ? kmem_cache_alloc_trace+0x163/0x1b0
[ 8.446831] [<ffffffff8117b3e0>] do_init_module+0x5f/0x1ef
[ 8.448350] [<ffffffff811092a9>] load_module+0x1439/0x1b50
[ 8.449791] [<ffffffff81105e50>] ? __symbol_put+0x40/0x40
[ 8.451268] [<ffffffff81212f93>] ? kernel_read_file+0x1a3/0x1c0
[ 8.452766] [<ffffffff81213069>] ? kernel_read_file_from_fd+0x49/0x80
Thanks,
Kernel Test Robot
5 years, 11 months
[lkp] [btrfs] 18513091af: WARNING: CPU: 3 PID: 14091 at fs/btrfs/extent-tree.c:10008 btrfs_free_block_groups+0x29b/0x420 [btrfs]
by kernel test robot
FYI, we noticed the following commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit 18513091af9483ba84328d42092bd4d42a3c958f ("btrfs: update btrfs_space_info's bytes_may_use timely")
in testcase: xfstests
with following parameters:
disk: 4HDD
fs: btrfs
test: generic-quick1
on test machine: qemu-system-x86_64 -enable-kvm -cpu qemu64,+ssse3 -smp 4 -m 4G
caused below changes:
+---------------------------------------------------------------------------+------------+------------+
| | 4824f1f412 | 18513091af |
+---------------------------------------------------------------------------+------------+------------+
| boot_successes | 8 | 0 |
| boot_failures | 0 | 4 |
| WARNING:at_fs/btrfs/extent-tree.c:#btrfs_free_block_groups[btrfs] | 0 | 4 |
+---------------------------------------------------------------------------+------------+------------+
[ 279.132633] BTRFS info (device dm-0): has skinny extents
[ 279.242965] BTRFS info (device dm-0): checking UUID tree
[ 279.522977] ------------[ cut here ]------------
[ 279.524657] WARNING: CPU: 3 PID: 14091 at fs/btrfs/extent-tree.c:10008 btrfs_free_block_groups+0x29b/0x420 [btrfs]
[ 279.531051] Modules linked in: dm_flakey btrfs xor raid6_pq dm_mod rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver sg sr_mod cdrom ata_generic pata_acpi snd_pcm snd_timer ata_piix snd soundcore pcspkr ppdev serio_raw libata floppy i2c_piix4 parport_pc parport acpi_cpufreq
[ 279.550377] CPU: 3 PID: 14091 Comm: umount Not tainted 4.7.0-rc6-00087-g1851309 #1
[ 279.556229] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 279.562315] 0000000000000000 ffff880124b7fcf0 ffffffff8143669b 0000000000000000
[ 279.568558] 0000000000000000 ffff880124b7fd30 ffffffff8107d3fb 0000271800000000
[ 279.574784] ffff88007e965288 ffff8800aacb4000 ffff88007e965200 ffff88007e964e00
[ 279.581047] Call Trace:
[ 279.582259] [<ffffffff8143669b>] dump_stack+0x63/0x88
[ 279.587003] [<ffffffff8107d3fb>] __warn+0xcb/0xf0
[ 279.588640] [<ffffffff8107d4ed>] warn_slowpath_null+0x1d/0x20
[ 279.593536] [<ffffffffa02a708b>] btrfs_free_block_groups+0x29b/0x420 [btrfs]
[ 279.598666] [<ffffffffa02b9092>] close_ctree+0x192/0x370 [btrfs]
[ 279.600538] [<ffffffff8121f1e9>] ? evict_inodes+0x189/0x1a0
[ 279.605395] [<ffffffffa02899c9>] btrfs_put_super+0x19/0x20 [btrfs]
[ 279.610339] [<ffffffff81203acf>] generic_shutdown_super+0x6f/0x100
[ 279.612236] [<ffffffff81203df2>] kill_anon_super+0x12/0x20
[ 279.617083] [<ffffffffa028a7a8>] btrfs_kill_super+0x18/0x110 [btrfs]
[ 279.622070] [<ffffffff81203fa3>] deactivate_locked_super+0x43/0x70
[ 279.623980] [<ffffffff8120448a>] deactivate_super+0x5a/0x60
[ 279.628770] [<ffffffff8122288f>] cleanup_mnt+0x3f/0x90
[ 279.630304] [<ffffffff81222922>] __cleanup_mnt+0x12/0x20
[ 279.634894] [<ffffffff8109b138>] task_work_run+0x88/0xc0
[ 279.636419] [<ffffffff81003312>] exit_to_usermode_loop+0xc2/0xd0
[ 279.638171] [<ffffffff81003c31>] syscall_return_slowpath+0xa1/0xb0
[ 279.639841] [<ffffffff8190d37a>] entry_SYSCALL_64_fastpath+0xa2/0xa4
[ 279.658835] ---[ end trace 4976d490d5aef958 ]---
[ 279.660401] BTRFS: space_info 1 has 8126464 free, is not full
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Xiaolong
5 years, 11 months
[lkp] [net] c4c75f963d: inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage.
by kernel test robot
FYI, we noticed the following commit:
https://github.com/0day-ci/linux John-Fastabend/support-lockless-qdisc/20160824-044640
commit c4c75f963de7196385f3e3a80c03d89923b26ba7 ("net: sched: pfifo_fast use skb_array")
in testcase: boot
on test machine: qemu-system-i386 -enable-kvm -m 256M
caused below changes:
+--------------------------------------------------------------------------+------------+------------+
| | d459d8932c | c4c75f963d |
+--------------------------------------------------------------------------+------------+------------+
| boot_successes | 6 | 3 |
| boot_failures | 4 | 7 |
| genirq:Flags_mismatch_irq##(serial)vs.#(goldfish_pdev_bus) | 4 | 7 |
| message:genirq:Flags_mismatch_irq##(serial)vs.#(goldfish_pdev_bus) | 0.0 | 0.0 |
| pattern:genirq:Flags_mismatch_irq##(serial)vs.#(goldfish_pdev_bus) | 0 | 0 |
| invoked_oom-killer:gfp_mask=0x | 3 | 3 |
| message:invoked_oom-killer:gfp_mask=0x | 0.0 | 0.0 |
| pattern:invoked_oom-killer:gfp_mask=0x | 0 | 0 |
| Mem-Info | 3 | 3 |
| message:Mem-Info | 0.0 | 0.0 |
| pattern:Mem-Info | 0 | 0 |
| page_allocation_failure:order:#,mode:#(GFP_KERNEL|__GFP_NORETRY) | 1 | 2 |
| message:page_allocation_failure:order:#,mode:#(GFP_KERNEL|__GFP_NORETRY) | 0.0 | 0.0 |
| pattern:page_allocation_failure:order:#,mode:#(GFP_KERNEL|__GFP_NORETRY) | 0 | 0 |
| warn_alloc_failed+0x | 1 | 2 |
| message:warn_alloc_failed+0x | 0.0 | 0.0 |
| pattern:warn_alloc_failed+0x | 0 | 0 |
| BUG:kernel_reboot-without-warning_in_test_stage | 1 | 1 |
| message:BUG:kernel_reboot-without-warning_in_test_stage | 0 | 0 |
| pattern:BUG:kernel_reboot-without-warning_in_test_stage | 0 | 0 |
| inconsistent{SOFTIRQ-ON-W}->{IN-SOFTIRQ-W}usage | 0 | 6 |
| message:inconsistent{SOFTIRQ-ON-W}->{IN-SOFTIRQ-W}usage | 0 | 0.0 |
| pattern:inconsistent{SOFTIRQ-ON-W}->{IN-SOFTIRQ-W}usage | 0 | 0.0 |
| calltrace:SyS_ioctl | 0 | 6 |
| message:calltrace:SyS_ioctl | 0 | 0.0 |
| pattern:calltrace:SyS_ioctl | 0 | 0 |
| calltrace:schedule_timeout | 0 | 1 |
| message:calltrace:schedule_timeout | 0 | 0.0 |
| pattern:calltrace:schedule_timeout | 0 | 0 |
| calltrace:SyS_execve | 0 | 1 |
| message:calltrace:SyS_execve | 0 | 0.0 |
| pattern:calltrace:SyS_execve | 0 | 0 |
+--------------------------------------------------------------------------+------------+------------+
[ 38.736548] =================================
[ 38.738214] [ INFO: inconsistent lock state ]
[ 38.739821] 4.8.0-rc2-00595-gc4c75f9 #1 Tainted: G S
[ 38.741866] ---------------------------------
[ 38.743472] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage.
[ 38.745526] seq/980 [HC0[0]:SC1[3]:HE1:SE0] takes:
[ 38.747262] (&(&r->consumer_lock)->rlock){+.?...}, at: [<c1f97d4f>] pfifo_fast_dequeue+0x42/0x10a
[ 38.751394] {SOFTIRQ-ON-W} state was registered at:
[ 38.753420] [<c108e5bc>] __lock_acquire+0x34e/0x1568
[ 38.755723] [<c1090460>] lock_acquire+0x119/0x19e
[ 38.757963] [<c213bc25>] _raw_spin_lock+0x2d/0x5d
[ 38.760217] [<c1f97bd5>] pfifo_fast_reset+0x26/0xaf
[ 38.762489] [<c1f987a9>] qdisc_reset+0x1b/0xd3
[ 38.764644] [<c1f98f07>] dev_deactivate_many+0x265/0x30c
[ 38.767059] [<c1f71f84>] __dev_close_many+0x6e/0xa3
[ 38.769319] [<c1f71fe2>] __dev_close+0x29/0x3a
[ 38.771465] [<c1f76f97>] __dev_change_flags+0x98/0x125
[ 38.773810] [<c1f77046>] dev_change_flags+0x22/0x4f
[ 38.776040] [<c1f8c15f>] dev_ifsioc+0xdc/0x2ce
[ 38.778184] [<c1f8ca15>] dev_ioctl+0x5c7/0x63b
[ 38.780310] [<c1f5da99>] sock_ioctl+0x19e/0x1a8
[ 38.783151] [<c1163c64>] vfs_ioctl+0x1c/0x26
[ 38.785214] [<c11648d6>] do_vfs_ioctl+0x65d/0x6cf
[ 38.787411] [<c1164979>] SyS_ioctl+0x31/0x4a
[ 38.789485] [<c1001441>] do_int80_syscall_32+0x53/0xee
[ 38.791812] [<c213c8cf>] restore_all+0x0/0xf
[ 38.793904] irq event stamp: 2076
[ 38.795470] hardirqs last enabled at (2076): [<c1053e19>] __local_bh_enable_ip+0x9f/0xb8
[ 38.799794] hardirqs last disabled at (2075): [<c1053dcd>] __local_bh_enable_ip+0x53/0xb8
[ 38.803442] softirqs last enabled at (0): [<c104cd30>] copy_process+0x2af/0x14a9
[ 38.807020] softirqs last disabled at (2067): [<c10164b0>] do_softirq_own_stack+0x28/0x2e
[ 38.810579]
[ 38.810579] other info that might help us debug this:
[ 38.813514] Possible unsafe locking scenario:
[ 38.813514]
[ 38.816283] CPU0
[ 38.817553] ----
[ 38.818870] lock(&(&r->consumer_lock)->rlock);
[ 38.821150] <Interrupt>
[ 38.822490] lock(&(&r->consumer_lock)->rlock);
[ 38.824842]
[ 38.824842] *** DEADLOCK ***
[ 38.824842]
[ 38.827961] 3 locks held by seq/980:
[ 38.829604] #0: (((&port->ip4_own_query.timer))){+.-...}, at: [<c10afd01>] call_timer_fn+0x0/0x2b7
[ 38.834182] #1: (&(&br->multicast_lock)->rlock){+.-...}, at: [<c205b3f9>] br_ip4_multicast_port_query_expired+0x1c/0x52
[ 38.840020] #2: (rcu_read_lock_bh){......}, at: [<c1f7441c>] __dev_queue_xmit+0x4e/0x746
[ 38.844392]
[ 38.844392] stack backtrace:
[ 38.846691] CPU: 0 PID: 980 Comm: seq Tainted: G S 4.8.0-rc2-00595-gc4c75f9 #1
[ 38.850180] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 38.853855] 00000000 00000002 cf5dfd28 c1450dcd c3189840 ca183280 cf5dfd48 c108c978
[ 38.858487] c2665225 c2665118 c26661d5 ca183868 00000004 00000006 cf5dfd70 c108cc4a
[ 38.863137] 00000004 ca17dea4 c108c02c 00000006 ca183280 ca7a6a34 00000001 ca183868
[ 38.868506] Call Trace:
[ 38.869808] [<c1450dcd>] dump_stack+0x75/0xa9
[ 38.871679] [<c108c978>] print_usage_bug+0x223/0x22f
[ 38.873744] [<c108cc4a>] mark_lock+0x2c6/0x4f9
[ 38.875691] [<c108c02c>] ? print_irq_inversion_bug+0x196/0x196
[ 38.878055] [<c108e549>] __lock_acquire+0x2db/0x1568
[ 38.880145] [<c1036d5d>] ? kvm_clock_read+0x1f/0x30
[ 38.882209] [<c1036d83>] ? kvm_sched_clock_read+0x9/0x18
[ 38.884403] [<c1090460>] lock_acquire+0x119/0x19e
[ 38.886426] [<c1f97d4f>] ? pfifo_fast_dequeue+0x42/0x10a
[ 38.888629] [<c213bc25>] _raw_spin_lock+0x2d/0x5d
[ 38.890638] [<c1f97d4f>] ? pfifo_fast_dequeue+0x42/0x10a
[ 38.893545] [<c1f97d4f>] pfifo_fast_dequeue+0x42/0x10a
[ 38.895645] [<c1f98400>] __qdisc_run+0x14b/0x29a
[ 38.897618] [<c1f74717>] __dev_queue_xmit+0x349/0x746
[ 38.899749] [<c1f74b23>] dev_queue_xmit+0xf/0x11
[ 38.901752] [<c20524af>] br_dev_queue_push_xmit+0x115/0x125
[ 38.904028] [<c205b2b8>] __br_multicast_send_query+0x1fc/0x28c
[ 38.906418] [<c108b207>] ? save_trace+0x39/0x8e
[ 38.908400] [<c205239a>] ? br_fdb_external_learn_del+0xd4/0xd4
[ 38.910738] [<c205b3b0>] br_multicast_send_query+0x68/0x95
[ 38.912984] [<c2130008>] ? switchdev_port_obj_add_now+0x16/0xac
[ 38.915345] [<c205b423>] br_ip4_multicast_port_query_expired+0x46/0x52
[ 38.917878] [<c205b3dd>] ? br_multicast_send_query+0x95/0x95
[ 38.920174] [<c10afe0b>] call_timer_fn+0x10a/0x2b7
[ 38.922204] [<c205b3dd>] ? br_multicast_send_query+0x95/0x95
[ 38.924497] [<c10b010f>] expire_timers+0x157/0x1b7
[ 38.926510] [<c10b0239>] run_timer_softirq+0x5a/0xd6
[ 38.928565] [<c10538f8>] ? _local_bh_enable+0x40/0x40
[ 38.930688] [<c1053a71>] __do_softirq+0x179/0x3b3
[ 38.932725] [<c10538f8>] ? _local_bh_enable+0x40/0x40
[ 38.935557] [<c10164b0>] do_softirq_own_stack+0x28/0x2e
[ 38.937691] <IRQ> [<c1053ece>] irq_exit+0x42/0x8f
[ 38.939887] [<c1030a5b>] smp_apic_timer_interrupt+0x38/0x42
[ 38.942157] [<c213d332>] apic_timer_interrupt+0x32/0x40
[ 38.944340] [<c10906a3>] ? lock_release+0x1be/0x4cd
[ 38.947117] [<c1089866>] up_read+0x1b/0x2e
[ 38.948899] [<c1039720>] __do_page_fault+0x325/0x3d1
[ 38.950994] [<c1039ade>] trace_do_page_fault+0x182/0x22c
[ 38.953173] [<c1036ae9>] ? kvm_read_and_reset_pf_reason+0x28/0x28
[ 38.955607] [<c1036b11>] do_async_page_fault+0x28/0x50
[ 38.957777] [<c213d79f>] error_code+0x5f/0x70
[ 38.959670] [<c1036ae9>] ? kvm_read_and_reset_pf_reason+0x28/0x28
Thanks,
Xiaolong
5 years, 11 months