FYI, we noticed the following commit (built with gcc-7):
commit: 2442424275f104e5c479d5d8ea92c79546dd48a0 ("page cache: Convert delete_batch
to XArray")
git://git.infradead.org/users/willy/linux-dax.git xarray-2017-12-11
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -m 512M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------+------------+------------+
| | 453a73480b | 2442424275 |
+-------------------------------+------------+------------+
| boot_successes | 8 | 2 |
| boot_failures | 0 | 4 |
| BUG:Bad_page_state_in_process | 0 | 4 |
+-------------------------------+------------+------------+
[ 12.171742] BUG: Bad page state in process udevd pfn:1371f
[ 12.176137] page:ffffe3cb004dc7c0 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x45
[ 12.184510] flags: 0x10000000000000c(referenced|uptodate)
[ 12.189431] raw: 010000000000000c ffff94bbde00e9b8 0000000000000045 00000000ffffffff
[ 12.315553] raw: ffffe3cb004dc820 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 12.318111] page dumped because: non-NULL mapping
[ 12.320602] Modules linked in: snd_pcsp
[ 12.321632] CPU: 0 PID: 2176 Comm: udevd Not tainted 4.15.0-rc6-00058-g24424242 #137
[ 12.323394] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 12.325232] Call Trace:
[ 12.325980] dump_stack+0x85/0xbc
[ 12.326828] bad_page+0xf2/0x10c
[ 12.333714] free_unref_page_prepare+0x19b/0x1f2
[ 12.334690] free_unref_page_list+0x4d/0x274
[ 12.335615] release_pages+0x2cb/0x2da
[ 12.336507] __pagevec_release+0x23/0x2c
[ 12.337419] truncate_inode_pages_range+0x1f1/0x582
[ 12.338470] __blkdev_put+0x62/0x194
[ 12.339315] blkdev_close+0x24/0x27
[ 12.340185] __fput+0xf3/0x1ac
[ 12.340992] task_work_run+0x79/0xa0
[ 12.341834] exit_to_usermode_loop+0x5e/0x8d
[ 12.342759] syscall_return_slowpath+0x102/0x115
[ 12.343731] entry_SYSCALL_64_fastpath+0x94/0x96
[ 12.344739] RIP: 0033:0x7f3e95c56f00
[ 12.345610] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 12.360325] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 12.361604] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 12.362850] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 12.364099] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 12.365346] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
[ 12.366777] Disabling lock debugging due to kernel taint
[ 12.547937] BUG: Bad page state in process udevd pfn:13720
[ 12.554706] page:ffffe3cb004dc800 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x44
[ 12.565093] flags: 0x10000000000000c(referenced|uptodate)
[ 12.576423] raw: 010000000000000c ffff94bbde00e9b8 0000000000000044 00000000ffffffff
[ 12.586107] raw: ffffe3cb004dc860 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 12.596095] page dumped because: non-NULL mapping
[ 12.603179] Modules linked in: snd_pcsp
[ 12.609097] CPU: 0 PID: 2176 Comm: udevd Tainted: G B
4.15.0-rc6-00058-g24424242 #137
[ 12.611160] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 12.613152] Call Trace:
[ 12.613928] dump_stack+0x85/0xbc
[ 12.614893] bad_page+0xf2/0x10c
[ 12.615750] free_unref_page_prepare+0x19b/0x1f2
[ 12.616802] free_unref_page_list+0x4d/0x274
[ 12.617876] release_pages+0x2cb/0x2da
[ 12.618873] __pagevec_release+0x23/0x2c
[ 12.619791] truncate_inode_pages_range+0x1f1/0x582
[ 12.620970] __blkdev_put+0x62/0x194
[ 12.621865] blkdev_close+0x24/0x27
[ 12.622797] __fput+0xf3/0x1ac
[ 12.623700] task_work_run+0x79/0xa0
[ 12.624650] exit_to_usermode_loop+0x5e/0x8d
[ 12.625692] syscall_return_slowpath+0x102/0x115
[ 12.627685] entry_SYSCALL_64_fastpath+0x94/0x96
[ 12.628805] RIP: 0033:0x7f3e95c56f00
[ 12.629756] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 12.631633] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 12.633005] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 12.634382] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 12.635814] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 12.637207] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
[ 12.638768] BUG: Bad page state in process udevd pfn:13721
[ 12.767836] page:ffffe3cb004dc840 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x43
[ 12.773372] flags: 0x10000000000000c(referenced|uptodate)
[ 12.779649] raw: 010000000000000c ffff94bbde00e9b8 0000000000000043 00000000ffffffff
[ 12.807088] raw: ffffe3cb004dc8a0 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 12.817119] page dumped because: non-NULL mapping
[ 12.823196] Modules linked in: snd_pcsp
[ 12.826750] CPU: 0 PID: 2176 Comm: udevd Tainted: G B
4.15.0-rc6-00058-g24424242 #137
[ 12.828972] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 12.831090] Call Trace:
[ 12.831952] dump_stack+0x85/0xbc
[ 12.832892] bad_page+0xf2/0x10c
[ 12.833827] free_unref_page_prepare+0x19b/0x1f2
[ 12.835008] free_unref_page_list+0x4d/0x274
[ 12.836118] release_pages+0x2cb/0x2da
[ 12.837142] __pagevec_release+0x23/0x2c
[ 12.838198] truncate_inode_pages_range+0x1f1/0x582
[ 12.839439] __blkdev_put+0x62/0x194
[ 12.840463] blkdev_close+0x24/0x27
[ 12.841423] __fput+0xf3/0x1ac
[ 12.842322] task_work_run+0x79/0xa0
[ 12.843322] exit_to_usermode_loop+0x5e/0x8d
[ 12.844333] syscall_return_slowpath+0x102/0x115
[ 12.845403] entry_SYSCALL_64_fastpath+0x94/0x96
[ 12.846555] RIP: 0033:0x7f3e95c56f00
[ 12.847519] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 12.849467] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 12.851013] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 12.852485] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 12.853974] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 12.855450] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
[ 12.856991] BUG: Bad page state in process udevd pfn:13722
[ 12.930193] page:ffffe3cb004dc880 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x42
[ 12.932457] flags: 0x10000000000000c(referenced|uptodate)
[ 12.933756] raw: 010000000000000c ffff94bbde00e9b8 0000000000000042 00000000ffffffff
[ 12.935775] raw: ffffe3cb004dc8e0 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 12.937773] page dumped because: non-NULL mapping
[ 12.938912] Modules linked in: snd_pcsp
[ 12.939959] CPU: 0 PID: 2176 Comm: udevd Tainted: G B
4.15.0-rc6-00058-g24424242 #137
[ 12.942129] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 12.944181] Call Trace:
[ 12.944984] dump_stack+0x85/0xbc
[ 12.946078] bad_page+0xf2/0x10c
[ 12.947002] free_unref_page_prepare+0x19b/0x1f2
[ 12.949449] free_unref_page_list+0x4d/0x274
[ 12.950529] release_pages+0x2cb/0x2da
[ 12.951601] __pagevec_release+0x23/0x2c
[ 12.952639] truncate_inode_pages_range+0x1f1/0x582
[ 12.953799] __blkdev_put+0x62/0x194
[ 12.954753] blkdev_close+0x24/0x27
[ 12.955698] __fput+0xf3/0x1ac
[ 12.956610] task_work_run+0x79/0xa0
[ 12.957585] exit_to_usermode_loop+0x5e/0x8d
[ 12.958654] syscall_return_slowpath+0x102/0x115
[ 12.959739] entry_SYSCALL_64_fastpath+0x94/0x96
[ 12.960835] RIP: 0033:0x7f3e95c56f00
[ 12.961795] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 12.963671] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 12.974070] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 12.975512] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 12.976948] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 12.978411] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
[ 12.979894] BUG: Bad page state in process udevd pfn:13723
[ 12.981161] page:ffffe3cb004dc8c0 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x41
[ 12.983136] flags: 0x10000000000000c(referenced|uptodate)
[ 12.984352] raw: 010000000000000c ffff94bbde00e9b8 0000000000000041 00000000ffffffff
[ 12.986253] raw: ffffe3cb004dc920 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 12.988174] page dumped because: non-NULL mapping
[ 12.989403] Modules linked in: snd_pcsp
[ 12.990458] CPU: 0 PID: 2176 Comm: udevd Tainted: G B
4.15.0-rc6-00058-g24424242 #137
[ 12.992516] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 12.994422] Call Trace:
[ 12.995264] dump_stack+0x85/0xbc
[ 12.999072] bad_page+0xf2/0x10c
[ 13.000009] free_unref_page_prepare+0x19b/0x1f2
[ 13.001129] free_unref_page_list+0x4d/0x274
[ 13.002164] release_pages+0x2cb/0x2da
[ 13.003167] __pagevec_release+0x23/0x2c
[ 13.004234] truncate_inode_pages_range+0x1f1/0x582
[ 13.005358] __blkdev_put+0x62/0x194
[ 13.006338] blkdev_close+0x24/0x27
[ 13.007274] __fput+0xf3/0x1ac
[ 13.008155] task_work_run+0x79/0xa0
[ 13.009104] exit_to_usermode_loop+0x5e/0x8d
[ 13.010131] syscall_return_slowpath+0x102/0x115
[ 13.011656] entry_SYSCALL_64_fastpath+0x94/0x96
[ 13.012813] RIP: 0033:0x7f3e95c56f00
[ 13.013771] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 13.015629] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 13.017094] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 13.018518] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 13.020016] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 13.021444] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
[ 13.022887] BUG: Bad page state in process udevd pfn:13724
[ 13.024928] page:ffffe3cb004dc900 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x40
[ 13.026884] flags: 0x10000000000000c(referenced|uptodate)
[ 13.028155] raw: 010000000000000c ffff94bbde00e9b8 0000000000000040 00000000ffffffff
[ 13.030139] raw: ffffe3cb005c9720 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 13.032045] page dumped because: non-NULL mapping
[ 13.033156] Modules linked in: snd_pcsp
[ 13.034185] CPU: 0 PID: 2176 Comm: udevd Tainted: G B
4.15.0-rc6-00058-g24424242 #137
[ 13.036294] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 13.038237] Call Trace:
[ 13.039046] dump_stack+0x85/0xbc
[ 13.039915] bad_page+0xf2/0x10c
[ 13.040845] free_unref_page_prepare+0x19b/0x1f2
[ 13.041966] free_unref_page_list+0x4d/0x274
[ 13.042995] release_pages+0x2cb/0x2da
[ 13.043959] __pagevec_release+0x23/0x2c
[ 13.044970] truncate_inode_pages_range+0x1f1/0x582
[ 13.046180] __blkdev_put+0x62/0x194
[ 13.047172] blkdev_close+0x24/0x27
[ 13.048115] __fput+0xf3/0x1ac
[ 13.049057] task_work_run+0x79/0xa0
[ 13.050010] exit_to_usermode_loop+0x5e/0x8d
[ 13.051019] syscall_return_slowpath+0x102/0x115
[ 13.052086] entry_SYSCALL_64_fastpath+0x94/0x96
[ 13.053170] RIP: 0033:0x7f3e95c56f00
[ 13.054120] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 13.055975] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 13.057556] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 13.059040] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 13.060579] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 13.062013] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
[ 13.063593] BUG: Bad page state in process udevd pfn:1377e
[ 13.064918] page:ffffe3cb004ddf80 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x3ffff88
[ 13.067056] flags: 0x10000000000000c(referenced|uptodate)
[ 13.068329] raw: 010000000000000c ffff94bbde00e9b8 0000000003ffff88 00000000ffffffff
[ 13.070324] raw: ffffe3cb004ddf60 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 13.072393] page dumped because: non-NULL mapping
[ 13.073562] Modules linked in: snd_pcsp
[ 13.074588] CPU: 0 PID: 2176 Comm: udevd Tainted: G B
4.15.0-rc6-00058-g24424242 #137
[ 13.076760] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 13.079093] Call Trace:
[ 13.079923] dump_stack+0x85/0xbc
[ 13.080875] bad_page+0xf2/0x10c
[ 13.081809] free_unref_page_prepare+0x19b/0x1f2
[ 13.082929] free_unref_page_list+0x4d/0x274
[ 13.084013] release_pages+0x2cb/0x2da
[ 13.085038] __pagevec_release+0x23/0x2c
[ 13.086058] truncate_inode_pages_range+0x1f1/0x582
[ 13.087176] __blkdev_put+0x62/0x194
[ 13.088154] blkdev_close+0x24/0x27
[ 13.089158] __fput+0xf3/0x1ac
[ 13.090134] task_work_run+0x79/0xa0
[ 13.091274] exit_to_usermode_loop+0x5e/0x8d
[ 13.092371] syscall_return_slowpath+0x102/0x115
[ 13.093535] entry_SYSCALL_64_fastpath+0x94/0x96
[ 13.094702] RIP: 0033:0x7f3e95c56f00
[ 13.095703] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 13.097649] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 13.099130] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 13.100639] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 13.102131] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 13.106842] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
[ 13.108363] BUG: Bad page state in process udevd pfn:1377d
[ 13.109503] page:ffffe3cb004ddf40 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x3ffff87
[ 13.111208] flags: 0x10000000000000c(referenced|uptodate)
[ 13.112227] raw: 010000000000000c ffff94bbde00e9b8 0000000003ffff87 00000000ffffffff
[ 13.113915] raw: ffffe3cb005b34a0 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 13.115952] page dumped because: non-NULL mapping
[ 13.117160] Modules linked in: snd_pcsp
[ 13.118225] CPU: 0 PID: 2176 Comm: udevd Tainted: G B
4.15.0-rc6-00058-g24424242 #137
[ 13.120412] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 13.122555] Call Trace:
[ 13.123404] dump_stack+0x85/0xbc
[ 13.124373] bad_page+0xf2/0x10c
[ 13.125325] free_unref_page_prepare+0x19b/0x1f2
[ 13.126503] free_unref_page_list+0x4d/0x274
[ 13.127645] release_pages+0x2cb/0x2da
[ 13.128687] __pagevec_release+0x23/0x2c
[ 13.129736] truncate_inode_pages_range+0x1f1/0x582
[ 13.130924] __blkdev_put+0x62/0x194
[ 13.131923] blkdev_close+0x24/0x27
[ 13.132905] __fput+0xf3/0x1ac
[ 13.133849] task_work_run+0x79/0xa0
[ 13.134880] exit_to_usermode_loop+0x5e/0x8d
[ 13.136012] syscall_return_slowpath+0x102/0x115
[ 13.137156] entry_SYSCALL_64_fastpath+0x94/0x96
[ 13.138298] RIP: 0033:0x7f3e95c56f00
[ 13.139291] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 13.141249] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 13.142759] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 13.144291] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 13.145750] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 13.147226] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
[ 13.148771] BUG: Bad page state in process udevd pfn:16cd2
[ 13.150169] page:ffffe3cb005b3480 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x3ffff86
[ 13.152309] flags: 0x100000000000008(uptodate)
[ 13.153476] raw: 0100000000000008 ffff94bbde00e9b8 0000000003ffff86 00000000ffffffff
[ 13.155500] raw: ffffe3cb004ddf20 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 13.157571] page dumped because: non-NULL mapping
[ 13.158918] Modules linked in: snd_pcsp
[ 13.160011] CPU: 0 PID: 2176 Comm: udevd Tainted: G B
4.15.0-rc6-00058-g24424242 #137
[ 13.162266] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 13.164210] Call Trace:
[ 13.165122] dump_stack+0x85/0xbc
[ 13.166128] bad_page+0xf2/0x10c
[ 13.167109] free_unref_page_prepare+0x19b/0x1f2
[ 13.168279] free_unref_page_list+0x4d/0x274
[ 13.169362] release_pages+0x2cb/0x2da
[ 13.170378] __pagevec_release+0x23/0x2c
[ 13.171422] truncate_inode_pages_range+0x1f1/0x582
[ 13.172638] __blkdev_put+0x62/0x194
[ 13.173664] blkdev_close+0x24/0x27
[ 13.174662] __fput+0xf3/0x1ac
[ 13.175587] task_work_run+0x79/0xa0
[ 13.176580] exit_to_usermode_loop+0x5e/0x8d
[ 13.177649] syscall_return_slowpath+0x102/0x115
[ 13.191576] entry_SYSCALL_64_fastpath+0x94/0x96
[ 13.192763] RIP: 0033:0x7f3e95c56f00
[ 13.193787] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 13.195758] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 13.197233] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 13.198752] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 13.200255] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 13.201715] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
[ 13.203229] BUG: Bad page state in process udevd pfn:1377c
[ 13.204558] page:ffffe3cb004ddf00 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x3ffff85
[ 13.206666] flags: 0x10000000000000c(referenced|uptodate)
[ 13.209212] raw: 010000000000000c ffff94bbde00e9b8 0000000003ffff85 00000000ffffffff
[ 13.211289] raw: ffffe3cb005b34e0 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 13.213288] page dumped because: non-NULL mapping
[ 13.214456] Modules linked in: snd_pcsp
[ 13.215509] CPU: 0 PID: 2176 Comm: udevd Tainted: G B
4.15.0-rc6-00058-g24424242 #137
[ 13.217750] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 13.219866] Call Trace:
[ 13.220720] dump_stack+0x85/0xbc
[ 13.221683] bad_page+0xf2/0x10c
[ 13.222666] free_unref_page_prepare+0x19b/0x1f2
[ 13.223838] free_unref_page_list+0x4d/0x274
[ 13.224958] release_pages+0x2cb/0x2da
[ 13.225996] __pagevec_release+0x23/0x2c
[ 13.227034] truncate_inode_pages_range+0x1f1/0x582
[ 13.228265] __blkdev_put+0x62/0x194
[ 13.229402] blkdev_close+0x24/0x27
[ 13.230619] __fput+0xf3/0x1ac
[ 13.231590] task_work_run+0x79/0xa0
[ 13.232596] exit_to_usermode_loop+0x5e/0x8d
[ 13.233689] syscall_return_slowpath+0x102/0x115
[ 13.234840] entry_SYSCALL_64_fastpath+0x94/0x96
[ 13.235983] RIP: 0033:0x7f3e95c56f00
[ 13.236986] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 13.238982] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 13.240494] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 13.241993] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 13.246126] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 13.247652] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
[ 13.249167] BUG: Bad page state in process udevd pfn:16cd3
[ 13.250454] page:ffffe3cb005b34c0 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x3ffff84
[ 13.252620] flags: 0x100000000000008(uptodate)
[ 13.253785] raw: 0100000000000008 ffff94bbde00e9b8 0000000003ffff84 00000000ffffffff
[ 13.255888] raw: ffffe3cb004ddee0 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 13.257932] page dumped because: non-NULL mapping
[ 13.259099] Modules linked in: snd_pcsp
[ 13.261487] CPU: 0 PID: 2176 Comm: udevd Tainted: G B
4.15.0-rc6-00058-g24424242 #137
[ 13.263720] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 13.265783] Call Trace:
[ 13.266637] dump_stack+0x85/0xbc
[ 13.267606] bad_page+0xf2/0x10c
[ 13.268559] free_unref_page_prepare+0x19b/0x1f2
[ 13.269699] free_unref_page_list+0x4d/0x274
[ 13.270819] release_pages+0x2cb/0x2da
[ 13.271873] __pagevec_release+0x23/0x2c
[ 13.272933] truncate_inode_pages_range+0x1f1/0x582
[ 13.274132] __blkdev_put+0x62/0x194
[ 13.275138] blkdev_close+0x24/0x27
[ 13.276141] __fput+0xf3/0x1ac
[ 13.277082] task_work_run+0x79/0xa0
[ 13.278086] exit_to_usermode_loop+0x5e/0x8d
[ 13.279266] syscall_return_slowpath+0x102/0x115
[ 13.280462] entry_SYSCALL_64_fastpath+0x94/0x96
[ 13.281653] RIP: 0033:0x7f3e95c56f00
[ 13.282657] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 13.284648] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 13.286127] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 13.287672] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 13.289185] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 13.290645] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
[ 13.292208] BUG: Bad page state in process udevd pfn:1377b
[ 13.293394] page:ffffe3cb004ddec0 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x3ffff83
[ 13.295497] flags: 0x10000000000000c(referenced|uptodate)
[ 13.296754] raw: 010000000000000c ffff94bbde00e9b8 0000000003ffff83 00000000ffffffff
[ 13.298729] raw: ffffe3cb004ddea0 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 13.300744] page dumped because: non-NULL mapping
[ 13.301954] Modules linked in: snd_pcsp
[ 13.303035] CPU: 0 PID: 2176 Comm: udevd Tainted: G B
4.15.0-rc6-00058-g24424242 #137
[ 13.305216] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 13.307275] Call Trace:
[ 13.308128] dump_stack+0x85/0xbc
[ 13.309089] bad_page+0xf2/0x10c
[ 13.310218] free_unref_page_prepare+0x19b/0x1f2
[ 13.311393] free_unref_page_list+0x4d/0x274
[ 13.312482] release_pages+0x2cb/0x2da
[ 13.313510] __pagevec_release+0x23/0x2c
[ 13.314655] truncate_inode_pages_range+0x1f1/0x582
[ 13.315627] __blkdev_put+0x62/0x194
[ 13.316621] blkdev_close+0x24/0x27
[ 13.317534] __fput+0xf3/0x1ac
[ 13.318463] task_work_run+0x79/0xa0
[ 13.319463] exit_to_usermode_loop+0x5e/0x8d
[ 13.320522] syscall_return_slowpath+0x102/0x115
[ 13.321691] entry_SYSCALL_64_fastpath+0x94/0x96
[ 13.322841] RIP: 0033:0x7f3e95c56f00
[ 13.323846] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 13.325808] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 13.327226] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 13.328691] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 13.330187] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 13.331721] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
[ 13.333233] BUG: Bad page state in process udevd pfn:1377a
[ 13.334516] page:ffffe3cb004dde80 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x3ffff82
[ 13.336646] flags: 0x10000000000000c(referenced|uptodate)
[ 13.337928] raw: 010000000000000c ffff94bbde00e9b8 0000000003ffff82 00000000ffffffff
[ 13.339966] raw: ffffe3cb004dde60 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 13.342020] page dumped because: non-NULL mapping
[ 13.343247] Modules linked in: snd_pcsp
[ 13.344329] CPU: 0 PID: 2176 Comm: udevd Tainted: G B
4.15.0-rc6-00058-g24424242 #137
[ 13.346535] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 13.348640] Call Trace:
[ 13.349496] dump_stack+0x85/0xbc
[ 13.350430] bad_page+0xf2/0x10c
[ 13.351263] free_unref_page_prepare+0x19b/0x1f2
[ 13.352387] free_unref_page_list+0x4d/0x274
[ 13.353513] release_pages+0x2cb/0x2da
[ 13.354530] __pagevec_release+0x23/0x2c
[ 13.355555] truncate_inode_pages_range+0x1f1/0x582
[ 13.356731] __blkdev_put+0x62/0x194
[ 13.357765] blkdev_close+0x24/0x27
[ 13.358794] __fput+0xf3/0x1ac
[ 13.359749] task_work_run+0x79/0xa0
[ 13.360790] exit_to_usermode_loop+0x5e/0x8d
[ 13.361865] syscall_return_slowpath+0x102/0x115
[ 13.362984] entry_SYSCALL_64_fastpath+0x94/0x96
[ 13.364110] RIP: 0033:0x7f3e95c56f00
[ 13.366067] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 13.368007] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 13.369505] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 13.371038] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 13.372540] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 13.374027] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
[ 13.375492] BUG: Bad page state in process udevd pfn:13779
[ 13.376715] page:ffffe3cb004dde40 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x3ffff81
[ 13.378764] flags: 0x10000000000000c(referenced|uptodate)
[ 13.379987] raw: 010000000000000c ffff94bbde00e9b8 0000000003ffff81 00000000ffffffff
[ 13.381891] raw: ffffe3cb004dde20 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 13.383784] page dumped because: non-NULL mapping
[ 13.384908] Modules linked in: snd_pcsp
[ 13.385937] CPU: 0 PID: 2176 Comm: udevd Tainted: G B
4.15.0-rc6-00058-g24424242 #137
[ 13.387995] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 13.389914] Call Trace:
[ 13.390706] dump_stack+0x85/0xbc
[ 13.391619] bad_page+0xf2/0x10c
[ 13.392524] free_unref_page_prepare+0x19b/0x1f2
[ 13.393624] free_unref_page_list+0x4d/0x274
[ 13.394646] release_pages+0x2cb/0x2da
[ 13.395605] __pagevec_release+0x23/0x2c
[ 13.396585] truncate_inode_pages_range+0x1f1/0x582
[ 13.397663] __blkdev_put+0x62/0x194
[ 13.407770] blkdev_close+0x24/0x27
[ 13.408747] __fput+0xf3/0x1ac
[ 13.409630] task_work_run+0x79/0xa0
[ 13.410577] exit_to_usermode_loop+0x5e/0x8d
[ 13.411568] syscall_return_slowpath+0x102/0x115
[ 13.412618] entry_SYSCALL_64_fastpath+0x94/0x96
[ 13.413711] RIP: 0033:0x7f3e95c56f00
[ 13.414663] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 13.416522] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 13.417961] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 13.419558] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 13.420940] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 13.422328] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
[ 13.423767] BUG: Bad page state in process udevd pfn:13778
[ 13.425822] page:ffffe3cb004dde00 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x3ffff80
[ 13.427986] flags: 0x10000000000000c(referenced|uptodate)
[ 13.429219] raw: 010000000000000c ffff94bbde00e9b8 0000000003ffff80 00000000ffffffff
[ 13.431148] raw: ffffe3cb005b3560 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 13.433070] page dumped because: non-NULL mapping
[ 13.434184] Modules linked in: snd_pcsp
[ 13.435222] CPU: 0 PID: 2176 Comm: udevd Tainted: G B
4.15.0-rc6-00058-g24424242 #137
[ 13.437326] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 13.439238] Call Trace:
[ 13.440074] dump_stack+0x85/0xbc
[ 13.441033] bad_page+0xf2/0x10c
[ 13.441994] free_unref_page_prepare+0x19b/0x1f2
[ 13.443095] free_unref_page_list+0x4d/0x274
[ 13.444180] release_pages+0x2cb/0x2da
[ 13.445183] __pagevec_release+0x23/0x2c
[ 13.446185] truncate_inode_pages_range+0x1f1/0x582
[ 13.447323] __blkdev_put+0x62/0x194
[ 13.448290] blkdev_close+0x24/0x27
[ 13.449239] __fput+0xf3/0x1ac
[ 13.450131] task_work_run+0x79/0xa0
[ 13.451088] exit_to_usermode_loop+0x5e/0x8d
[ 13.452164] syscall_return_slowpath+0x102/0x115
[ 13.453296] entry_SYSCALL_64_fastpath+0x94/0x96
[ 13.454401] RIP: 0033:0x7f3e95c56f00
[ 13.455356] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 13.457247] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 13.458678] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 13.460138] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 13.461581] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 13.462964] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
[ 13.464441] BUG: Bad page state in process udevd pfn:16cd5
[ 13.465740] page:ffffe3cb005b3540 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x3fffe7e
[ 13.467762] flags: 0x10000000000000c(referenced|uptodate)
[ 13.468974] raw: 010000000000000c ffff94bbde00e9b8 0000000003fffe7e 00000000ffffffff
[ 13.470903] raw: ffffe3cb004dcc20 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 13.472882] page dumped because: non-NULL mapping
[ 13.474017] Modules linked in: snd_pcsp
[ 13.475028] CPU: 0 PID: 2176 Comm: udevd Tainted: G B
4.15.0-rc6-00058-g24424242 #137
[ 13.477189] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 13.479205] Call Trace:
[ 13.480028] dump_stack+0x85/0xbc
[ 13.480956] bad_page+0xf2/0x10c
[ 13.481887] free_unref_page_prepare+0x19b/0x1f2
[ 13.483017] free_unref_page_list+0x4d/0x274
[ 13.484070] release_pages+0x2cb/0x2da
[ 13.485052] __pagevec_release+0x23/0x2c
[ 13.486086] truncate_inode_pages_range+0x1f1/0x582
[ 13.487272] __blkdev_put+0x62/0x194
[ 13.488235] blkdev_close+0x24/0x27
[ 13.489183] __fput+0xf3/0x1ac
[ 13.490078] task_work_run+0x79/0xa0
[ 13.491040] exit_to_usermode_loop+0x5e/0x8d
[ 13.492118] syscall_return_slowpath+0x102/0x115
[ 13.493248] entry_SYSCALL_64_fastpath+0x94/0x96
[ 13.494363] RIP: 0033:0x7f3e95c56f00
[ 13.495322] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 13.497204] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 13.498668] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 13.500126] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 13.501537] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 13.502989] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
[ 13.504470] BUG: Bad page state in process udevd pfn:13730
[ 13.505707] page:ffffe3cb004dcc00 count:0 mapcount:0 mapping:ffff94bbde00e9b8
index:0x200
[ 13.507728] flags: 0x10000000000000c(referenced|uptodate)
[ 13.508974] raw: 010000000000000c ffff94bbde00e9b8 0000000000000200 00000000ffffffff
[ 13.510933] raw: ffffe3cb005b35a0 ffffbdc04032fc48 0000000000000000 0000000000000000
[ 13.512850] page dumped because: non-NULL mapping
[ 13.513988] Modules linked in: snd_pcsp
[ 13.515032] CPU: 0 PID: 2176 Comm: udevd Tainted: G B
4.15.0-rc6-00058-g24424242 #137
[ 13.517152] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 13.519173] Call Trace:
[ 13.520031] dump_stack+0x85/0xbc
[ 13.520976] bad_page+0xf2/0x10c
[ 13.521888] free_unref_page_prepare+0x19b/0x1f2
[ 13.522982] free_unref_page_list+0x4d/0x274
[ 13.524053] release_pages+0x2cb/0x2da
[ 13.525067] __pagevec_release+0x23/0x2c
[ 13.526083] truncate_inode_pages_range+0x1f1/0x582
[ 13.527221] __blkdev_put+0x62/0x194
[ 13.528210] blkdev_close+0x24/0x27
[ 13.529188] __fput+0xf3/0x1ac
[ 13.530116] task_work_run+0x79/0xa0
[ 13.531076] exit_to_usermode_loop+0x5e/0x8d
[ 13.532125] syscall_return_slowpath+0x102/0x115
[ 13.533219] entry_SYSCALL_64_fastpath+0x94/0x96
[ 13.534341] RIP: 0033:0x7f3e95c56f00
[ 13.535336] RSP: 002b:00007ffc154835f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 13.537215] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3e95c56f00
[ 13.538630] RDX: 00007f3e95f17b78 RSI: 00007ffc15482df0 RDI: 0000000000000007
[ 13.540099] RBP: 00007f3e9658a6e0 R08: 00007f3e9658a780 R09: 000000000000000b
[ 13.541545] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
[ 13.542996] R13: 0000000000647010 R14: 0000000000000007 R15: 0000000000651900
Elapsed time: 20
#!/bin/bash
# To reproduce,
# 1) save job-script and this script (both are attached in 0day report email)
# 2) run this script with your compiled kernel and optional env $INSTALL_MOD_PATH
kernel=$1
initrds=(
/osimage/yocto/yocto-minimal-x86_64-2016-04-22.cgz
/lkp/lkp/lkp-x86_64.cgz
)
HTTP_PREFIX=https://github.com/0day-ci/lkp-qemu/raw/master
wget --timestamping "${initrds[@]/#/$HTTP_PREFIX}"
{
cat "${initrds[@]//*\//}"
[[ $INSTALL_MOD_PATH ]] && (
cd "$INSTALL_MOD_PATH"
find lib | cpio -o -H newc --quiet | gzip
)
echo job-script | cpio -o -H newc --quiet | gzip
} > initrd.img
qemu-img create -f qcow2 disk-vm-lkp-hsw01-yocto-x86_64-28-0 256G
kvm=(
qemu-system-x86_64
-enable-kvm
-kernel $kernel
-initrd initrd.img
-m 512
-smp 1
-device e1000,netdev=net0
-netdev user,id=net0
-boot order=nc
-no-reboot
-watchdog i6300esb
-watchdog-action debug
-rtc base=localtime
-drive file=disk-vm-lkp-hsw01-yocto-x86_64-28-0,media=disk,if=virtio
-serial stdio
-display none
-monitor null
)
append=(
ip=::::vm-lkp-hsw01-yocto-x86_64-28::dhcp
root=/dev/ram0
user=lkp
job=/job-script
ARCH=x86_64
kconfig=x86_64-nfsroot
branch=dax/xarray-2017-12-11
commit=2442424275f104e5c479d5d8ea92c79546dd48a0
BOOT_IMAGE=/pkg/linux/x86_64-nfsroot/gcc-7/2442424275f104e5c479d5d8ea92c79546dd48a0/vmlinuz-4.15.0-rc6-00058-g24424242
max_uptime=600
RESULT_ROOT=/result/boot/1/vm-lkp-hsw01-yocto-x86_64/yocto-minimal-x86_64-2016-04-22.cgz/x86_64-nfsroot/gcc-7/2442424275f104e5c479d5d8ea92c79546dd48a0/0
result_service=tmpfs
debug
apic=debug
sysrq_always_enabled
rcupdate.rcu_cpu_stall_timeout=100
net.ifnames=0
printk.devkmsg=on
panic=-1
To reproduce:
git clone
https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this
email
Thanks,
lkp