[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200705075639.GR3874@shao2-debian>
Date: Sun, 5 Jul 2020 15:56:40 +0800
From: kernel test robot <lkp@...el.com>
To: Christoph Hellwig <hch@....de>
Cc: Jens Axboe <axboe@...nel.dk>, LKML <linux-kernel@...r.kernel.org>,
lkp@...ts.01.org
Subject: [block] ff93ea0ce7: WARNING:at_block/blk-core.c:#submit_bio_noacct
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: ff93ea0ce7636345df1bf77a2be09dbb59f4517e ("block: shortcut __submit_bio_noacct for blk-mq drivers")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: xfstests
with following parameters:
disk: 6HDD
fs: btrfs
test: btrfs-group00
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: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------------------------------------------------------------+------------+------------+
| | 566acf2daa | ff93ea0ce7 |
+----------------------------------------------------------------------------+------------+------------+
| boot_successes | 1 | 1 |
| boot_failures | 2 | 25 |
| BUG:kernel_NULL_pointer_dereference,address | 2 | 2 |
| Oops:#[##] | 2 | 2 |
| RIP:raid#_sse21_gen_syndrome[raid#_pq] | 2 | 2 |
| Kernel_panic-not_syncing:Fatal_exception | 2 | 2 |
| WARNING:at_block/blk-core.c:#submit_bio_noacct | 0 | 19 |
| RIP:submit_bio_noacct | 0 | 19 |
| Kernel_panic-not_syncing:VFS:Unable_to_mount_root_fs_on_unknown-block(#,#) | 0 | 4 |
+----------------------------------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp@...el.com>
[ 266.949462] WARNING: CPU: 1 PID: 658 at block/blk-core.c:1165 submit_bio_noacct+0x407/0x450
[ 266.949463] Modules linked in: dm_flakey btrfs blake2b_generic xor zstd_decompress zstd_compress raid6_pq libcrc32c dm_mod intel_rapl_msr intel_rapl_common crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel sr_mod cdrom sg ata_generic pata_acpi bochs_drm drm_vram_helper drm_ttm_helper ppdev ttm snd_pcm aesni_intel crypto_simd drm_kms_helper cryptd glue_helper snd_timer snd joydev soundcore syscopyarea serio_raw sysfillrect pcspkr sysimgblt fb_sys_fops drm ata_piix libata i2c_piix4 floppy parport_pc parport ip_tables
[ 266.949472] CPU: 1 PID: 658 Comm: kworker/u4:8 Not tainted 5.8.0-rc2-00081-gff93ea0ce7636 #1
[ 266.949472] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[ 266.949473] Workqueue: writeback wb_workfn (flush-btrfs-135)
[ 266.949474] RIP: 0010:submit_bio_noacct+0x407/0x450
[ 266.949474] Code: 24 24 4d 85 e4 0f 84 f5 fe ff ff 49 8b 04 24 48 89 04 24 48 85 c0 74 16 49 8b 44 24 08 49 c7 04 24 00 00 00 00 49 39 c6 74 a5 <0f> 0b eb a1 48 c7 44 24 08 00 00 00 00 eb df 85 db 74 08 49 8b 47
[ 266.949474] RSP: 0018:ffff96d0804436b0 EFLAGS: 00010206
[ 266.949475] RAX: ffff8b444ffd0800 RBX: 0000000000000000 RCX: 0000000000000000
[ 266.949475] RDX: ffff96d080443d80 RSI: ffff96d080443d80 RDI: ffff8b44503f1188
[ 266.949476] RBP: ffff96d080443718 R08: ffff96d080443d80 R09: ffff96d080443d80
[ 266.949476] R10: 0000000000000006 R11: 0000000000000007 R12: ffff8b44a02636b0
[ 266.949477] R13: 00000000800000b7 R14: ffff8b445006d800 R15: ffff8b4187f7d800
[ 266.949477] FS: 0000000000000000(0000) GS:ffff8b44bfd00000(0000) knlGS:0000000000000000
[ 266.949477] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 266.949478] CR2: 0000564bb57ee828 CR3: 00000003c447a000 CR4: 00000000000406e0
[ 266.949478] Call Trace:
[ 266.949478] submit_bio+0x43/0x160
[ 266.949478] finish_rmw+0x3c4/0x560 [btrfs]
[ 266.949479] full_stripe_write+0xa3/0xb0 [btrfs]
[ 266.949479] raid56_parity_write+0xff/0x170 [btrfs]
[ 266.949479] btrfs_map_bio+0x36f/0x380 [btrfs]
[ 266.949480] btrfs_submit_bio_hook+0x8a/0x180 [btrfs]
[ 266.949480] submit_one_bio+0x31/0x50 [btrfs]
[ 266.949480] submit_extent_page+0x104/0x210 [btrfs]
[ 266.949481] __extent_writepage_io+0x1d3/0x390 [btrfs]
[ 266.949481] ? end_extent_writepage+0xc0/0xc0 [btrfs]
[ 266.949481] __extent_writepage+0x177/0x340 [btrfs]
[ 266.949482] extent_write_cache_pages+0x25e/0x450 [btrfs]
[ 266.949482] extent_writepages+0x43/0x90 [btrfs]
[ 266.949482] do_writepages+0x43/0xe0
[ 266.949483] ? __queue_work+0x14b/0x420
[ 266.949483] __writeback_single_inode+0x3d/0x3a0
[ 266.949483] writeback_sb_inodes+0x219/0x4b0
[ 266.949484] __writeback_inodes_wb+0x4c/0xc0
[ 266.949484] wb_writeback+0x284/0x320
[ 266.949484] ? get_nr_inodes+0x32/0x50
[ 266.949484] wb_workfn+0x18c/0x440
[ 266.949485] ? __switch_to+0x80/0x450
[ 266.949485] process_one_work+0x1bb/0x3b0
[ 266.949485] worker_thread+0x50/0x3d0
[ 266.949485] ? process_one_work+0x3b0/0x3b0
[ 266.949486] kthread+0x114/0x150
[ 266.949486] ? kthread_park+0x90/0x90
[ 266.949486] ret_from_fork+0x22/0x30
[ 266.949487] ---[ end trace 7ee36e885c3ded61 ]---
To reproduce:
# build kernel
cd linux
cp config-5.8.0-rc2-00081-gff93ea0ce7636 .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules
make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 INSTALL_MOD_PATH=<mod-install-dir> modules_install
cd <mod-install-dir>
find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email
Thanks,
lkp
View attachment "config-5.8.0-rc2-00081-gff93ea0ce7636" of type "text/plain" (206161 bytes)
View attachment "job-script" of type "text/plain" (5530 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (53548 bytes)
View attachment "xfstests" of type "text/plain" (3321 bytes)
Powered by blists - more mailing lists