[<prev] [next>] [day] [month] [year] [list]
Message-ID: <YsGoBV/92rlRo+il@xsang-OptiPlex-9020>
Date: Sun, 3 Jul 2022 22:30:29 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: LKML <linux-kernel@...r.kernel.org>, linux-fsdevel@...r.kernel.org,
lkp@...ts.01.org, lkp@...el.com
Subject: [ITER_PIPE] 06ce57f332: WARNING:at_lib/iov_iter.c:#iov_iter_pipe
Greeting,
FYI, we noticed the following commit (built with gcc-11):
commit: 06ce57f332fd685689cf98e2c643ec5efbb483cc ("ITER_PIPE: allocate buffers as we go in copy-to-pipe primitives")
https://git.kernel.org/cgit/linux/kernel/git/viro/vfs.git work.unify_iov_iter_get_pages-2
in testcase: boot
on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 4G
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>
[ 24.801584][ T440] ------------[ cut here ]------------
[ 24.801590][ T440] WARNING: CPU: 0 PID: 440 at lib/iov_iter.c:1096 iov_iter_pipe+0x8e/0xa0
[ 33.070278][ T440] Modules linked in:
[ 33.070646][ T440] CPU: 0 PID: 440 Comm: cat Tainted: G W 5.19.0-rc2-00017-g06ce57f332fd #1
[ 33.071541][ T440] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.0-debian-1.16.0-4 04/01/2014
[ 33.072482][ T440] EIP: iov_iter_pipe+0x8e/0xa0
[ 33.072929][ T440] Code: 51 00 0f 0b 83 05 30 e4 d4 51 01 83 15 34 e4 d4 51 00 8d b4 26 00 00 00 00 8d 76 00 83 05 38 e4 d4 51 01 83 15 3c e4 d4 51
00 <0f> 0b 83 05 40 e4 d4 51 01 83 15 44 e4 d4 51 00 eb 8f 55 89 e5 57
[ 33.074634][ T440] EAX: 428e1e30 EBX: 00000010 ECX: 00000010 EDX: 42b02568
[ 33.075241][ T440] ESI: 41d38880 EDI: 428e1ec8 EBP: 428e1e20 ESP: 428e1e18
[ 33.075883][ T440] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068 EFLAGS: 00010246
[ 33.076575][ T440] CR0: 80050033 CR2: 005045bf CR3: 02aff000 CR4: 000406d0
[ 33.077257][ T440] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 33.077918][ T440] DR6: fffe0ff0 DR7: 00000400
[ 33.078327][ T440] Call Trace:
[ 33.078628][ T440] ? generic_file_splice_read+0x2a/0x230
[ 33.079134][ T440] ? security_file_permission+0xe9/0x190
[ 33.079630][ T440] ? rw_verify_area+0x59/0x160
[ 33.080066][ T440] ? splice_to_pipe+0x200/0x200
[ 33.080501][ T440] ? do_splice_to+0x97/0x130
[ 33.080905][ T440] ? splice_to_pipe+0x200/0x200
[ 33.081333][ T440] ? splice_direct_to_actor+0xad/0x370
[ 33.081832][ T440] ? propagate_umount+0x740/0x740
[ 33.082302][ T440] ? do_splice_direct+0x95/0x130
[ 33.082761][ T440] ? do_sendfile+0x433/0x560
[ 33.083192][ T440] ? __do_sys_sendfile64+0xdc/0x130
[ 33.083711][ T440] ? __ia32_sys_sendfile64+0x21/0x40
[ 33.084199][ T440] ? do_int80_syscall_32+0x2e/0x90
[ 33.084691][ T440] ? entry_INT80_32+0x10c/0x10c
[ 33.085163][ T440] irq event stamp: 28927
[ 33.085584][ T440] hardirqs last enabled at (28935): [<4e94c772>] __up_console_sem+0x102/0x130
[ 33.086390][ T440] hardirqs last disabled at (28942): [<4e94c713>] __up_console_sem+0xa3/0x130
[ 33.087221][ T440] softirqs last enabled at (28608): [<4feac5f5>] __do_softirq+0x405/0x4f9
[ 33.087992][ T440] softirqs last disabled at (28599): [<4e84c6ce>] do_softirq_own_stack+0x2e/0x50
[ 33.088809][ T440] ---[ end trace 0000000000000000 ]---
To reproduce:
# build kernel
cd linux
cp config-5.19.0-rc2-00017-g06ce57f332fd .config
make HOSTCC=gcc-11 CC=gcc-11 ARCH=i386 olddefconfig prepare modules_prepare bzImage modules
make HOSTCC=gcc-11 CC=gcc-11 ARCH=i386 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
# 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.19.0-rc2-00017-g06ce57f332fd" of type "text/plain" (130340 bytes)
View attachment "job-script" of type "text/plain" (4839 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (90028 bytes)
Powered by blists - more mailing lists