Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: ba1e520c7f99b5659a2a0accf251066c3356aba8 ("dm: open code blk_max_size_offset
in max_io_len")
git://git.infradead.org/users/hch/block.git get_max_io_size
in testcase: xfstests
version: xfstests-x86_64-99bc497-1_20211014
with following parameters:
disk: 4HDD
fs: ext4
test: ext4-group-01
ucode: 0xe2
test-description: xfstests is a regression test suite for xfs and other files ystems.
test-url:
git://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git
on test machine: 4 threads Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz with 32G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang(a)intel.com>
[ 380.090782][ T48] ------------[ cut here ]------------
[ 380.095246][T26167] kernel BUG at block/bio.c:1517!
[ 380.100398][ T48] kernel BUG at block/bio.c:1517!
[ 380.100402][ T48] invalid opcode: 0000 [#1] SMP PTI
[ 380.100404][ T48] CPU: 2 PID: 48 Comm: kworker/2:1 Tainted: G I
5.15.0-rc3-00023-gba1e520c7f99 #1
[ 380.100406][ T48] Hardware name: Dell Inc. OptiPlex 7040/0Y7WYT, BIOS 1.1.1
10/07/2015
[ 380.100407][ T48] Workqueue: kcopyd do_work [dm_mod]
[ 380.100432][ T48] RIP: 0010:bio_split+0x79/0xc0
[ 380.100435][ T48] Code: 89 e7 e8 2a f1 03 00 41 8b 74 24 28 48 89 ef e8 dd e4 ff ff
f6 45 15 01 74 08 66 41 81 4c 24 14 00 01 4c 89 e0 5b 5d 41 5c c3 <0f> 0b 0f 0b 0f
0b 45 31 e4 eb ed 66 66 2e 0f 1f 84 00 00 00 00 00
[ 380.100450][ T48] RSP: 0018:ffffc900001efb00 EFLAGS: 00010246
[ 380.100452][ T48] RAX: 0000000000000010 RBX: 0000000000000000 RCX: ffff8888717258f0
[ 380.100453][ T48] RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffff8881a91f8840
[ 380.100454][ T48] RBP: ffff8882a1200000 R08: 0000000000000000 R09: ffff88886e050858
[ 380.100455][ T48] R10: 0000000000000000 R11: ffff8881a971f670 R12: ffff8881a91f8840
[ 380.100456][ T48] R13: 0000000000000000 R14: ffff8882a1200578 R15: ffff8881a971f600
[ 380.100457][ T48] FS: 0000000000000000(0000) GS:ffff888837100000(0000)
knlGS:0000000000000000
[ 380.100458][ T48] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 380.100459][ T48] CR2: 00007f4ddd51d000 CR3: 0000000870c10001 CR4: 00000000003706e0
[ 380.100460][ T48] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 380.100460][ T48] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 380.100461][ T48] Call Trace:
[ 380.100464][ T48] dm_submit_bio+0x201/0x3c0 [dm_mod]
[ 380.100472][ T48] submit_bio_noacct+0x10c/0x480
[ 380.100475][ T48] dispatch_io+0x1bd/0x480 [dm_mod]
[ 380.100495][ T48] ? dm_interface_exit+0x40/0x40 [dm_mod]
[ 380.100500][ T48] ? list_get_page+0x40/0x40 [dm_mod]
[ 380.100505][ T48] ? dm_kcopyd_do_callback+0x40/0x40 [dm_mod]
[ 380.100510][ T48] dm_io+0x119/0x240 [dm_mod]
[ 380.100515][ T48] ? dm_interface_exit+0x40/0x40 [dm_mod]
[ 380.100520][ T48] ? list_get_page+0x40/0x40 [dm_mod]
[ 380.100525][ T48] run_io_job+0x112/0x200 [dm_mod]
[ 380.100530][ T48] ? dm_kcopyd_do_callback+0x40/0x40 [dm_mod]
[ 380.307386][ T48] ? dm_kcopyd_client_destroy+0x180/0x180 [dm_mod]
[ 380.313724][ T48] process_jobs+0x86/0x200 [dm_mod]
[ 380.318765][ T48] do_work+0xc3/0x100 [dm_mod]
[ 380.323370][ T48] ? __schedule+0x52a/0xa00
[ 380.327715][ T48] process_one_work+0x1f2/0x3c0
[ 380.332405][ T48] worker_thread+0x21d/0x3c0
[ 380.336837][ T48] ? process_one_work+0x3c0/0x3c0
[ 380.341700][ T48] kthread+0x140/0x180
[ 380.345610][ T48] ? set_kthread_struct+0x40/0x40
[ 380.350470][ T48] ret_from_fork+0x22/0x30
[ 380.354743][ T48] Modules linked in: dm_snapshot dm_bufio dm_zero loop dm_mod xfs
libcrc32c ipmi_devintf ipmi_msghandler sd_mod t10_pi sg intel_rapl_msr intel_rapl_common
x86_pkg_temp_thermal intel_powerclamp coretemp i915 kvm_intel kvm irqbypass intel_gtt
crct10dif_pclmul crc32_pclmul mei_wdt ttm crc32c_intel ahci ghash_clmulni_intel libahci
mei_me rapl drm_kms_helper wmi_bmof libata mei syscopyarea intel_cstate sysfillrect
sysimgblt fb_sys_fops drm intel_uncore intel_pch_thermal wmi acpi_pad video intel_pmc_core
ip_tables
[ 380.401184][T26167] invalid opcode: 0000 [#2] SMP PTI
[ 380.401199][ T48] ---[ end trace 406fcf623061f4e5 ]---
To reproduce:
git clone
https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
---
0DAY/LKP+ Test Infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation
Thanks,
Oliver Sang