[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20220321154605.GA20651@xsang-OptiPlex-9020>
Date: Mon, 21 Mar 2022 23:46:05 +0800
From: kernel test robot <oliver.sang@...el.com>
To: "Darrick J. Wong" <djwong@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
"Darrick J. Wong" <darrick.wong@...cle.com>, lkp@...ts.01.org,
lkp@...el.com
Subject: [xfs] 778e5cd7e8: Assertion_failed
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 778e5cd7e808d593209edef34aa3ae77b1c9df35 ("xfs: remove old swap extents implementation")
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git vectorized-scrub
in testcase: xfstests
version: xfstests-x86_64-1de1db8-1_20220217
with following parameters:
disk: 4HDD
fs: xfs
test: xfs-group-11
ucode: 0x21
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 1 sockets Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz with 8G 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@...el.com>
[ 291.711056][T22736] XFS (sda2): Ending clean mount
[ 291.718644][T22736] xfs filesystem being mounted at /fs/sda2 supports timestamps until 2038 (0x7fffffff)
[ 292.140851][T22821] XFS (sda5): Mounting V5 Filesystem
[ 292.258312][T22821] XFS (sda5): Ending clean mount
[ 292.264432][T22821] xfs filesystem being mounted at /fs/scratch supports timestamps until 2038 (0x7fffffff)
[ 306.106157][T24323] XFS: Assertion failed: tip->i_delayed_blks == 0, file: fs/xfs/xfs_xchgrange.c, line: 297
[ 306.116237][T24323] ------------[ cut here ]------------
[ 306.121666][T24323] kernel BUG at fs/xfs/xfs_message.c:110!
[ 306.127353][T24323] invalid opcode: 0000 [#1] SMP KASAN PTI
[ 306.133026][T24323] CPU: 1 PID: 24323 Comm: xfs_fsr Not tainted 5.17.0-rc8-00151-g778e5cd7e808 #1
[ 306.142012][T24323] Hardware name: Hewlett-Packard HP Pro 3340 MT/17A1, BIOS 8.07 01/24/2013
[306.150598][T24323] RIP: 0010:assfail (kbuild/src/consumer/fs/xfs/./xfs_trace.h:2155 (discriminator 6)) xfs
[ 306.155925][T24323] Code: c1 e2 2a 83 e0 07 48 c1 e9 03 8a 14 11 38 c2 7f 10 84 d2 74 0c 48 c7 c7 14 ef e9 c1 e8 19 e9 bd bf 80 3d a6 8f 1d 00 00 74 02 <0f> 0b 0f 0b c3 48 8d 45 10 48 8d 54 24 28 4c 89 f6 48 c7 c7 20 3a
All code
========
0: c1 e2 2a shl $0x2a,%edx
3: 83 e0 07 and $0x7,%eax
6: 48 c1 e9 03 shr $0x3,%rcx
a: 8a 14 11 mov (%rcx,%rdx,1),%dl
d: 38 c2 cmp %al,%dl
f: 7f 10 jg 0x21
11: 84 d2 test %dl,%dl
13: 74 0c je 0x21
15: 48 c7 c7 14 ef e9 c1 mov $0xffffffffc1e9ef14,%rdi
1c: e8 19 e9 bd bf callq 0xffffffffbfbde93a
21: 80 3d a6 8f 1d 00 00 cmpb $0x0,0x1d8fa6(%rip) # 0x1d8fce
28: 74 02 je 0x2c
2a:* 0f 0b ud2 <-- trapping instruction
2c: 0f 0b ud2
2e: c3 retq
2f: 48 8d 45 10 lea 0x10(%rbp),%rax
33: 48 8d 54 24 28 lea 0x28(%rsp),%rdx
38: 4c 89 f6 mov %r14,%rsi
3b: 48 rex.W
3c: c7 .byte 0xc7
3d: c7 (bad)
3e: 20 3a and %bh,(%rdx)
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: 0f 0b ud2
4: c3 retq
5: 48 8d 45 10 lea 0x10(%rbp),%rax
9: 48 8d 54 24 28 lea 0x28(%rsp),%rdx
e: 4c 89 f6 mov %r14,%rsi
11: 48 rex.W
12: c7 .byte 0xc7
13: c7 (bad)
14: 20 3a and %bh,(%rdx)
[ 306.175683][T24323] RSP: 0018:ffffc9000d377660 EFLAGS: 00010202
[ 306.181703][T24323] RAX: 0000000000000004 RBX: 1ffff92001a6eed2 RCX: 1ffffffff83d3de2
[ 306.189660][T24323] RDX: dffffc0000000000 RSI: 000000000000000a RDI: fffff52001a6eebe
[ 306.197624][T24323] RBP: ffff888186817700 R08: 00000000ffffffea R09: ffffed1035016791
[ 306.205562][T24323] R10: ffff8881a80b3c87 R11: ffffed1035016790 R12: ffff888201a73740
[ 306.213492][T24323] R13: ffffc9000d377848 R14: 0000000000000001 R15: 0000000000000001
[ 306.221476][T24323] FS: 00007ff9b9817bc0(0000) GS:ffff8881a8080000(0000) knlGS:0000000000000000
[ 306.230411][T24323] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 306.236986][T24323] CR2: 00007f4470acb000 CR3: 0000000203450001 CR4: 00000000001706e0
[ 306.244943][T24323] Call Trace:
[ 306.248134][T24323] <TASK>
[306.250991][T24323] xfs_swap_extent_forks (kbuild/src/consumer/fs/xfs/xfs_xchgrange.c:297 (discriminator 1)) xfs
[306.256905][T24323] ? xfs_swap_change_owner (kbuild/src/consumer/fs/xfs/xfs_xchgrange.c:230) xfs
[306.262970][T24323] ? timestamp_truncate (kbuild/src/consumer/fs/inode.c:2395)
[306.268101][T24323] xfs_xchg_range (kbuild/src/consumer/fs/xfs/xfs_xchgrange.c:739) xfs
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.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config-5.17.0-rc8-00151-g778e5cd7e808" of type "text/plain" (165800 bytes)
View attachment "job-script" of type "text/plain" (5843 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (19688 bytes)
View attachment "xfstests" of type "text/plain" (201966 bytes)
View attachment "job.yaml" of type "text/plain" (4754 bytes)
Powered by blists - more mailing lists