FYI, we noticed the below changes on
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit ceba84a8eac816c92d1f1789b1273f812ac9af80 ("page-flags: define PG_reserved
behavior on compound pages")
+------------------------------------------+------------+------------+
| | fcd079cce0 | ceba84a8ea |
+------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 11 | 18 |
| kernel_BUG_at_drivers/base/driver.c | 11 | |
| invalid_opcode | 11 | |
| RIP:driver_register | 11 | |
| Kernel_panic-not_syncing:Fatal_exception | 11 | 18 |
| backtrace:visornic_init | 11 | |
| backtrace:kernel_init_freeable | 11 | |
| BUG:unable_to_handle_kernel | 0 | 18 |
| Oops | 0 | 18 |
| RIP:dump_page_badflags | 0 | 18 |
| backtrace:free_all_bootmem | 0 | 18 |
| backtrace:mem_init | 0 | 18 |
+------------------------------------------+------------+------------+
[ 0.000000] sysrq: sysrq always enabled.
[ 0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.000000] BUG: unable to handle kernel NULL pointer dereference at 000000000000000c
[ 0.000000] IP: [<ffffffff811819f6>] dump_page_badflags+0x26/0xc0
[ 0.000000] PGD 0
[ 0.000000] Oops: 0000 [#1] SMP
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.3.0-rc1-00178-gceba84a #1
[ 0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.7.5-20140531_083030-gandalf 04/01/2014
[ 0.000000] task: ffffffff82e10580 ti: ffffffff82e00000 task.ti: ffffffff82e00000
[ 0.000000] RIP: 0010:[<ffffffff811819f6>] [<ffffffff811819f6>]
dump_page_badflags+0x26/0xc0
[ 0.000000] RSP: 0000:ffffffff82e03ea8 EFLAGS: 00010002
[ 0.000000] RAX: 000000000000000c RBX: ffff8800132cb740 RCX: 0000000000000100
[ 0.000000] RDX: 0000000000000001 RSI: ffffffff82a06e40 RDI: ffff8800132cb740
[ 0.000000] RBP: ffffffff82e03ec0 R08: 0000000000000000 R09: 0000000000000000
[ 0.000000] R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
[ 0.000000] R13: ffff8800132cb740 R14: 000000000045f740 R15: 0000000000014560
[ 0.000000] FS: 0000000000000000(0000) GS:ffff880013800000(0000)
knlGS:0000000000000000
[ 0.000000] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 0.000000] CR2: 000000000000000c CR3: 0000000002e0b000 CR4: 00000000000006b0
[ 0.000000] Stack:
[ 0.000000] 0000000000013fd8 0000000000013fd9 ffff8800132cb740 ffffffff82e03ed0
[ 0.000000] ffffffff811819cb ffffffff82e03f00 ffffffff82368cc7 ffffffff82e03f18
[ 0.000000] 0000000000000040 ffffffff833549c0 ffffffff8335b2c0 ffffffff82e03f38
[ 0.000000] Call Trace:
[ 0.000000] [<ffffffff811819cb>] dump_page+0xb/0x10
[ 0.000000] [<ffffffff82368cc7>] reserve_bootmem_region+0x103/0x10e
[ 0.000000] [<ffffffff832c6bd3>] free_all_bootmem+0x4b/0x11a
[ 0.000000] [<ffffffff832b9ca2>] mem_init+0x6a/0x80
[ 0.000000] [<ffffffff832a6cc5>] start_kernel+0x20c/0x527
[ 0.000000] [<ffffffff832a6120>] ? early_idt_handler_array+0x120/0x120
[ 0.000000] [<ffffffff832a64b3>] x86_64_start_reservations+0x2a/0x2c
[ 0.000000] [<ffffffff832a65a0>] x86_64_start_kernel+0xeb/0xf8
[ 0.000000] Code: 5d c3 0f 1f 00 55 48 89 e5 41 55 41 54 49 89 d4 53 48 8b 57 20 48 89
fb 4c 8b 4f 10 4c 8b 47 08 48 8d 42 ff 83 e2 01 48 0f 44 c7 <48> 8b 00 a8 80 75 42
8b 4f 18 8b 57 1c 49 89 f5 31 c0 48 89 fe
[ 0.000000] RIP [<ffffffff811819f6>] dump_page_badflags+0x26/0xc0
[ 0.000000] RSP <ffffffff82e03ea8>
[ 0.000000] CR2: 000000000000000c
[ 0.000000] ---[ end trace 89b55b7f7bc1c9ea ]---
[ 0.000000] Kernel panic - not syncing: Fatal exception
Thanks,
Ying Huang