lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200215131841.GB14493@shao2-debian>
Date:   Sat, 15 Feb 2020 21:18:41 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Jens Axboe <axboe@...nel.dk>
Cc:     LKML <linux-kernel@...r.kernel.org>, Jens Axboe <axboe@...com>,
        Jens Axboe <axboe@...nel.dk>, lkp@...ts.01.org
Subject: [iomap] a24ec005a6: xfstests.generic.322.fail

FYI, we noticed the following commit (built with gcc-7):

commit: a24ec005a6111af4ed8d600b6605dba66fced357 ("iomap: add struct iomap_ctx")
https://git.kernel.org/cgit/linux/kernel/git/axboe/linux-block.git buffered-uncached

in testcase: xfstests
with following parameters:

	disk: 4HDD
	fs: xfs
	test: generic-group16

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 8G

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 <rong.a.chen@...el.com>


[   24.495879] run fstests generic/322 at 2020-02-15 11:53:33
[   25.845279] 262144 bytes (262 kB, 256 KiB) copied, 0.00456977 s, 57.4 MB/s

[   25.852132] 512+0 records in

[   25.855605] 512+0 records out

[   25.862061] 262144 bytes (262 kB, 256 KiB) copied, 0.0157573 s, 16.6 MB/s

[   25.867693] 512+0 records in

[   25.876837] 512+0 records out

[   25.887788] 262144 bytes (262 kB, 256 KiB) copied, 0.0354247 s, 7.4 MB/s

[   26.331208] XFS (dm-0): Mounting V5 Filesystem
[   26.337463] XFS (dm-0): Ending clean mount
[   26.339813] xfs filesystem being mounted at /fs/scratch supports timestamps until 2038 (0x7fffffff)
[   26.418176] XFS (dm-0): Unmounting Filesystem
[   26.439908] XFS (dm-0): Mounting V5 Filesystem
[   26.446998] XFS (dm-0): Starting recovery (logdev: internal)
[   26.450071] XFS (dm-0): Ending recovery (logdev: internal)
[   26.452709] xfs filesystem being mounted at /fs/scratch supports timestamps until 2038 (0x7fffffff)
[   26.481332] XFS (dm-0): Unmounting Filesystem
[   26.945352] install debs round one: dpkg -i --force-confdef --force-depends /opt/deb/uuid-runtime_2.29.2-1+deb9u1_amd64.deb

[   26.949569] /opt/deb/libssl1.1_1.1.0k-1~deb9u1_amd64.deb

[   26.952383] /opt/deb/attr_1%3a2.4.47-2+b2_amd64.deb

[   26.957315] /opt/deb/gawk_1%3a4.1.4+dfsg-1_amd64.deb

[   26.963677] Selecting previously unselected package uuid-runtime.

[   26.971328] (Reading database ... 16194 files and directories currently installed.)

[   26.978919] Preparing to unpack .../uuid-runtime_2.29.2-1+deb9u1_amd64.deb ...

[   26.985485] Unpacking uuid-runtime (2.29.2-1+deb9u1) ...

[   26.992587] Preparing to unpack .../libssl1.1_1.1.0k-1~deb9u1_amd64.deb ...

[   27.000292] Unpacking libssl1.1:amd64 (1.1.0k-1~deb9u1) over (1.1.0f-3+deb9u1) ...

[   27.006978] Selecting previously unselected package attr.

[   27.013743] Preparing to unpack .../attr_1%3a2.4.47-2+b2_amd64.deb ...

[   27.018132] Unpacking attr (1:2.4.47-2+b2) ...

[   27.021222] Selecting previously unselected package gawk.

[   27.025238] Preparing to unpack .../gawk_1%3a4.1.4+dfsg-1_amd64.deb ...

[   27.028292] Unpacking gawk (1:4.1.4+dfsg-1) ...

[   27.031629] Setting up uuid-runtime (2.29.2-1+deb9u1) ...

[   27.034576] Adding group `uuidd' (GID 111) ...

[   27.037036] Done.

[   27.037678] XFS (dm-0): Mounting V5 Filesystem
[   27.040685] Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory

[   27.044778] Adding system user `uuidd' (UID 108) ...

[   27.045881] XFS (dm-0): Ending clean mount
[   27.048105] Adding new user `uuidd' (UID 108) with group `uuidd' ...

[   27.050357] xfs filesystem being mounted at /fs/scratch supports timestamps until 2038 (0x7fffffff)
[   27.051809] Not creating home directory `/run/uuidd'.

[   27.056563] Setting up libssl1.1:amd64 (1.1.0k-1~deb9u1) ...

[   27.062225] Setting up attr (1:2.4.47-2+b2) ...

[   27.068198] Setting up gawk (1:4.1.4+dfsg-1) ...

[   27.074856] Processing triggers for systemd (232-25+deb9u2) ...

[   27.081558] Processing triggers for libc-bin (2.24-11+deb9u3) ...

[   27.087126] /lkp/lkp/src/bin/run-lkp

[   27.096078] XFS (dm-0): Unmounting Filesystem
[   27.103091] XFS (dm-0): Mounting V5 Filesystem
[   27.110303] XFS (dm-0): Ending clean mount
[   27.113903] xfs filesystem being mounted at /fs/scratch supports timestamps until 2038 (0x7fffffff)
[   27.207834] XFS (dm-0): Unmounting Filesystem
[   27.236431] XFS (dm-0): Mounting V5 Filesystem
[   27.244481] XFS (dm-0): Starting recovery (logdev: internal)
[   27.247519] XFS (dm-0): Ending recovery (logdev: internal)
[   27.250096] xfs filesystem being mounted at /fs/scratch supports timestamps until 2038 (0x7fffffff)
[   27.289556] ------------[ cut here ]------------
[   27.291456] WARNING: CPU: 0 PID: 1917 at /kbuild/src/consumer/fs/iomap/buffered-io.c:481 iomap_readpages+0x1a3/0x200
[   27.293937] Modules linked in: dm_flakey xfs libcrc32c dm_mod intel_rapl_msr intel_rapl_common crct10dif_pclmul crc32_pclmul sr_mod cdrom crc32c_intel bochs_drm sg drm_vram_helper drm_ttm_helper ata_generic ghash_clmulni_intel pata_acpi ppdev ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops snd_pcm drm aesni_intel crypto_simd snd_timer cryptd glue_helper snd soundcore joydev serio_raw pcspkr ata_piix parport_pc floppy parport libata i2c_piix4 ip_tables
[   27.303534] CPU: 0 PID: 1917 Comm: md5sum Not tainted 5.5.0-08198-ga24ec005a6111 #1
[   27.309028] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[   27.310326] RIP: 0010:iomap_readpages+0x1a3/0x200
[   27.311338] Code: 57 48 8b 47 08 8b 80 d0 00 00 00 83 e8 01 83 f8 01 77 45 e8 5f 78 ec ff 48 85 db 75 0f 48 8b 44 24 18 48 8b 10 48 39 d0 74 02 <0f> 0b 48 8b 4c 24 48 65 48 33 0c 25 28 00 00 00 89 e8 75 35 48 83
[   27.314138] RSP: 0018:ffffbdb2420efb38 EFLAGS: 00010293
[   27.315218] RAX: ffffbdb2420efc80 RBX: 0000000000000000 RCX: 0000000000000000
[   27.316468] RDX: fffff694474e8348 RSI: 0000000000000000 RDI: fffff69447515f40
[   27.317710] RBP: 0000000000000000 R08: ffffbdb2420ef970 R09: ffff98df1457d000
[   27.318963] R10: 0000000000000000 R11: 0000000000001000 R12: ffffffff8915ded0
[   27.320239] R13: ffff98df16ae5958 R14: ffffbdb2420efc80 R15: ffff98df16ae5ac8
[   27.321480] FS:  00007ffaf58fc480(0000) GS:ffff98df7fc00000(0000) knlGS:0000000000000000
[   27.322792] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   27.323939] CR2: 00005569e5b2e000 CR3: 000000015e2ee000 CR4: 00000000000406f0
[   27.325191] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   27.326453] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   27.327702] Call Trace:
[   27.328628]  read_pages+0x6d/0x190
[   27.329583]  ? __do_page_cache_readahead+0x191/0x1d0
[   27.330634]  __do_page_cache_readahead+0x191/0x1d0
[   27.331680]  ondemand_readahead+0x117/0x300
[   27.333091]  generic_file_read_iter+0x8e3/0xd50
[   27.334113]  ? _cond_resched+0x19/0x30
[   27.335219]  xfs_file_buffered_aio_read+0x53/0xf0 [xfs]
[   27.336350]  xfs_file_read_iter+0x6e/0xd0 [xfs]
[   27.337378]  new_sync_read+0x12a/0x1c0
[   27.338340]  vfs_read+0x9b/0x160
[   27.339254]  ksys_read+0xa1/0xe0
[   27.340172]  do_syscall_64+0x5b/0x1f0
[   27.341112]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   27.342150] RIP: 0033:0x7ffaf541b910
[   27.343080] Code: b6 fe ff ff 48 8d 3d 0f be 08 00 48 83 ec 08 e8 06 db 01 00 66 0f 1f 44 00 00 83 3d f9 2d 2c 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 de 9b 01 00 48 89 04 24
[   27.345877] RSP: 002b:00007fff977bab78 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[   27.347153] RAX: ffffffffffffffda RBX: 00005569e5b27060 RCX: 00007ffaf541b910
[   27.348835] RDX: 0000000000008000 RSI: 00005569e5b27290 RDI: 0000000000000004
[   27.350666] RBP: 00007ffaf56d6440 R08: 0000000000000b40 R09: 0000000016268636
[   27.352543] R10: 000000001b5b9ecc R11: 0000000000000246 R12: 0000000000008000
[   27.355354] R13: 0000000000000d68 R14: 00005569e5b27290 R15: 00007ffaf56d5900
[   27.359159] ---[ end trace 2fc4caf82302047d ]---
[   27.427444] XFS (dm-0): Unmounting Filesystem
[   27.475811] XFS (vda): Unmounting Filesystem


To reproduce:

        # build kernel
	cd linux
	cp config-5.5.0-08198-ga24ec005a6111 .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules
	make HOSTCC=gcc-7 CC=gcc-7 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,
Rong Chen


View attachment "config-5.5.0-08198-ga24ec005a6111" of type "text/plain" (203279 bytes)

View attachment "job-script" of type "text/plain" (5439 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (8688 bytes)

View attachment "xfstests" of type "text/plain" (2268 bytes)

View attachment "322.dmesg" of type "text/plain" (7205 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ