[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170531063033.GC1795@yexl-desktop>
Date: Wed, 31 May 2017 14:30:33 +0800
From: kernel test robot <xiaolong.ye@...el.com>
To: Vinnie Magro <vmagro@...com>
Cc: David Sterba <dsterba@...e.com>, Omar Sandoval <osandov@...com>,
LKML <linux-kernel@...r.kernel.org>,
Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...org
Subject: [lkp-robot] [btrfs] beeeccca9b: WARNING:at_mm/util.c:#kvmalloc_node
FYI, we noticed the following commit:
commit: beeeccca9bebcec386cc31c250cff8a06cf27034 ("btrfs: Use kvzalloc instead of kzalloc/vmalloc in alloc_bitmap")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu kvm64,+ssse3 -smp 2 -m 8G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------+------------+------------+
| | 79495163d0 | beeeccca9b |
+-------------------------------------+------------+------------+
| boot_successes | 5 | 0 |
| boot_failures | 2 | 4 |
| invoked_oom-killer:gfp_mask=0x | 1 | |
| Mem-Info | 1 | |
| BUG:scheduling_while_atomic | 1 | |
| WARNING:at_mm/util.c:#kvmalloc_node | 0 | 4 |
+-------------------------------------+------------+------------+
[ 42.538761] WARNING: CPU: 1 PID: 1 at mm/util.c:357 kvmalloc_node+0x24/0x7f
[ 42.566115] Modules linked in:
[ 42.579911] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.12.0-rc2-00039-gbeeeccc #1
[ 42.605667] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 42.635708] task: ffff88022a2c0000 task.stack: ffffc90000c54000
[ 42.652751] RIP: 0010:kvmalloc_node+0x24/0x7f
[ 42.667140] RSP: 0000:ffffc90000c57b90 EFLAGS: 00010283
[ 42.683218] RAX: 0000000001400040 RBX: 0000000001408040 RCX: 0000000000001000
[ 42.701823] RDX: 00000000ffffffff RSI: 0000000001408040 RDI: 0000000000000001
[ 42.720999] RBP: ffffc90000c57ba8 R08: 0000000000000000 R09: 0000000000000011
[ 42.740154] R10: ffff88020554d010 R11: 0000000000001000 R12: 0000000000000001
[ 42.758754] R13: 00000000ffffffff R14: ffff88020a0f2000 R15: 0000000000000000
[ 42.778133] FS: 0000000000000000(0000) GS:ffff88023fd00000(0000) knlGS:0000000000000000
[ 42.804770] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 42.821362] CR2: ffffc90000ce0000 CR3: 0000000002011000 CR4: 00000000000006e0
[ 42.840607] Call Trace:
[ 42.851886] convert_free_space_to_bitmaps+0x56/0x390
[ 42.867254] ? btrfs_get_token_32+0x7a/0xcc
[ 42.881701] check_free_space_extents+0xbf/0x100
[ 42.896515] test_empty_block_group+0x3a/0x46
[ 42.911003] run_test+0x23a/0x2e0
[ 42.923478] ? run_test+0x23a/0x2e0
[ 42.936727] ? test_remove_all+0x83/0x83
[ 42.950403] ? test_remove_all+0x83/0x83
[ 42.964114] ? test_remove_all+0x83/0x83
[ 42.977599] run_test_both_formats+0x2e/0x98
[ 42.991788] ? test_remove_all+0x83/0x83
[ 43.005463] btrfs_test_free_space_tree+0x55/0x8d
[ 43.020567] ? test_remove_all+0x83/0x83
[ 43.034244] ? test_remove_beginning+0x9e/0x9e
[ 43.048722] ? test_remove_end+0xaa/0xaa
[ 43.062722] ? test_remove_middle+0xb2/0xb2
[ 43.076884] ? test_merge_left+0xed/0xed
[ 43.090200] ? test_merge_right+0xf2/0xf2
[ 43.267571] ? test_merge_both+0x106/0x106
[ 43.281697] ? test_merge_none+0x128/0x128
[ 43.295691] ? check_free_space_extents+0x100/0x100
[ 43.311023] btrfs_run_sanity_tests+0xec/0x144
[ 43.325511] ? set_debug_rodata+0x17/0x17
[ 43.339667] init_btrfs_fs+0xd8/0x13d
[ 43.353089] ? trace_event_define_fields_qgroup_meta_reserve+0x8b/0x8b
[ 43.371334] do_one_initcall+0x90/0x137
[ 43.385326] ? set_debug_rodata+0x17/0x17
[ 43.398999] kernel_init_freeable+0x179/0x1fc
[ 43.412840] ? rest_init+0x87/0x87
[ 43.424958] kernel_init+0xe/0xfa
[ 43.436923] ret_from_fork+0x2c/0x40
[ 43.449300] Code: e8 de ec 00 00 5d c3 0f 1f 44 00 00 89 f0 55 25 c0 00 40 01 3d c0 00 40 01 48 89 e5 41 55 41 54 41 89 d5 53 49 89 fc 89 f3 74 02 <0f> ff 49 81 fc 00 10 00 00 89 de 76 1d 0f ba e3 0a 73 0f 81 ce
[ 43.500146] ---[ end trace b527b0c96cf35883 ]---
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
Xiaolong
View attachment "config-4.12.0-rc2-00039-gbeeeccc" of type "text/plain" (105414 bytes)
View attachment "job-script" of type "text/plain" (4193 bytes)
Download attachment "dmesg.xz" of type "application/octet-stream" (16548 bytes)
Powered by blists - more mailing lists