[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20190725095644.GB3640@shao2-debian>
Date: Thu, 25 Jul 2019 17:56:44 +0800
From: kernel test robot <rong.a.chen@...el.com>
To: Chao Yu <yuchao0@...wei.com>
Cc: Jaegeuk Kim <jaegeuk@...nel.org>, Chen Gong <gongchen4@...wei.com>,
LKML <linux-kernel@...r.kernel.org>,
Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [f2fs] 3d03243e45: WARNING:at_mm/page_alloc.c:#__alloc_pages_nodemask
FYI, we noticed the following commit (built with gcc-7):
commit: 3d03243e4536c00d6fdc3ffc60e4bdddc6fdc31c ("f2fs: allocate memory in batch in build_sit_info()")
https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next.git master
in testcase: xfstests
with following parameters:
disk: 4HDD
fs: f2fs
test: generic-054
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 2G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------------------------------------+------------+------------+
| | d5e5efa250 | 3d03243e45 |
+----------------------------------------------------+------------+------------+
| boot_successes | 32 | 2 |
| boot_failures | 38 | 88 |
| BUG:kernel_reboot-without-warning_in_test_stage | 38 | |
| WARNING:at_mm/page_alloc.c:#__alloc_pages_nodemask | 0 | 88 |
| RIP:__alloc_pages_nodemask | 0 | 88 |
+----------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen@...el.com>
[ 17.942328] WARNING: CPU: 0 PID: 696 at mm/page_alloc.c:4711 __alloc_pages_nodemask+0x1d1/0x340
[ 17.944450] Modules linked in: dm_mod f2fs sr_mod cdrom sg ata_generic pata_acpi crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel bochs_drm ttm ppdev snd_pcm drm_kms_helper ata_piix snd_timer snd aesni_intel syscopyarea libata crypto_simd sysfillrect sysimgblt cryptd glue_helper soundcore joydev pcspkr serio_raw fb_sys_fops drm i2c_piix4 floppy parport_pc parport ip_tables
[ 17.951060] CPU: 0 PID: 696 Comm: mount Not tainted 5.2.0-07769-g3d03243e4536c0 #2
[ 17.952576] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 17.954141] RIP: 0010:__alloc_pages_nodemask+0x1d1/0x340
[ 17.955149] Code: ff ff ff 65 48 8b 04 25 c0 6b 01 00 48 05 48 0c 00 00 41 be 01 00 00 00 48 89 44 24 08 e9 02 ff ff ff 81 e7 00 20 00 00 75 02 <0f> 0b 45 31 f6 eb 95 44 8b 64 24 18 65 8b 05 5c ba da 5d 89 c0 48
[ 17.958636] RSP: 0018:ffffbc688039fbc8 EFLAGS: 00010246
[ 17.959626] RAX: 0000000000000000 RBX: 00000000017ee3c0 RCX: 0000000000000000
[ 17.960970] RDX: 0000000000000000 RSI: 000000000000000d RDI: 0000000000000000
[ 17.962307] RBP: 00000000017ee3c0 R08: ffff9482feb18000 R09: fffff6f701e97400
[ 17.963644] R10: fffff6f701e97300 R11: 0000000000000000 R12: 0000000000000dc0
[ 17.965007] R13: ffff9482ea464c80 R14: 000000000000000d R15: ffff9482ff6660a0
[ 17.966353] FS: 00007fc57d449e40(0000) GS:ffff9482ea400000(0000) knlGS:0000000000000000
[ 17.967886] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 17.968981] CR2: 000055e536756870 CR3: 000000005a150000 CR4: 00000000000406f0
[ 17.970321] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 17.971661] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 17.973009] Call Trace:
[ 17.973508] kmalloc_order+0x14/0x40
[ 17.974217] kmalloc_order_trace+0x1d/0xb0
[ 17.975015] f2fs_kmalloc+0xe/0x30 [f2fs]
[ 17.976137] f2fs_build_segment_manager+0x254/0x1b40 [f2fs]
[ 17.977198] ? validate_checkpoint+0xcd/0x390 [f2fs]
[ 17.978148] ? f2fs_get_valid_checkpoint+0x3cd/0x760 [f2fs]
[ 17.979203] f2fs_fill_super+0xea6/0x1e30 [f2fs]
[ 17.980120] ? f2fs_commit_super+0x190/0x190 [f2fs]
[ 17.981048] mount_bdev+0x173/0x1b0
[ 17.981719] legacy_get_tree+0x27/0x40
[ 17.982438] vfs_get_tree+0x25/0xf0
[ 17.983108] do_mount+0x683/0x9b0
[ 17.983747] ? memdup_user+0x4b/0x70
[ 17.984458] ksys_mount+0x80/0xd0
[ 17.985098] __x64_sys_mount+0x21/0x30
[ 17.985818] do_syscall_64+0x5b/0x1d0
[ 17.986521] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 17.987479] RIP: 0033:0x7fc57cb0648a
[ 17.988181] Code: 48 8b 0d 11 fa 2a 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d de f9 2a 00 f7 d8 64 89 01 48
[ 17.993280] RSP: 002b:00007ffc9a066418 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
[ 17.995535] RAX: ffffffffffffffda RBX: 0000557daab115c0 RCX: 00007fc57cb0648a
[ 17.997695] RDX: 0000557daab117a0 RSI: 0000557daab117e0 RDI: 0000557daab117c0
[ 17.999836] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000020
[ 18.001965] R10: 00000000c0ed0000 R11: 0000000000000206 R12: 0000557daab117c0
[ 18.004210] R13: 0000557daab117a0 R14: 0000000000000000 R15: 00000000ffffffff
[ 18.007803] ---[ end trace 7421db5ba1f0bb3c ]---
To reproduce:
# build kernel
cd linux
cp config-5.2.0-07769-g3d03243e4536c0 .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.2.0-07769-g3d03243e4536c0" of type "text/plain" (198818 bytes)
View attachment "job-script" of type "text/plain" (5499 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (17584 bytes)
View attachment "xfstests" of type "text/plain" (667 bytes)
Powered by blists - more mailing lists