FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 6b44d910ae7de5316fcf1fc828ff4a8d48cac5e2 ("mtd: core: set some defaults when dev.parent is set") +------------------------------------------------------+------------+------------+ | | 99f44f5e3f | 6b44d910ae | +------------------------------------------------------+------------+------------+ | boot_successes | 0 | 0 | | boot_failures | 19 | 19 | | WARNING:at_kernel/locking/lockdep.c:#check_flags() | 19 | 19 | | WARNING:at_lib/debugobjects.c:#__debug_object_init() | 19 | 19 | | page_allocation_failure:order:#,mode | 19 | | | backtrace:cpu_startup_entry | 19 | 17 | | backtrace:__debug_object_init | 19 | 19 | | backtrace:warn_slowpath_null | 19 | 19 | | backtrace:debug_object_init | 19 | 19 | | backtrace:__init_work | 19 | 19 | | backtrace:rhashtable_init | 19 | 19 | | backtrace:test_rht_init | 19 | 19 | | backtrace:kernel_init_freeable | 19 | 19 | | backtrace:btrfs_test_extent_io | 19 | | | backtrace:init_btrfs_fs | 19 | | | IP-Config:Auto-configuration_of_network_failed | 7 | | | BUG:unable_to_handle_kernel | 0 | 19 | | Oops | 0 | 19 | | EIP_is_at_add_mtd_device | 0 | 19 | | Kernel_panic-not_syncing:Fatal_exception | 0 | 19 | | backtrace:mtd_device_parse_register | 0 | 19 | | backtrace:ns_init_module | 0 | 19 | | backtrace:smpboot_thread_fn | 0 | 2 | +------------------------------------------------------+------------+------------+ [ 5.612150] Creating 1 MTD partitions on "NAND 128MiB 1,8V 8-bit": [ 5.612150] Creating 1 MTD partitions on "NAND 128MiB 1,8V 8-bit": [ 5.613131] 0x000000000000-0x000008000000 : "NAND simulator partition 0" [ 5.613131] 0x000000000000-0x000008000000 : "NAND simulator partition 0" [ 5.614496] BUG: unable to handle kernel [ 5.614496] BUG: unable to handle kernel NULL pointer dereferenceNULL pointer dereference at 00000008 at 00000008 [ 5.615637] IP: [ 5.615637] IP: [<818c8620>] add_mtd_device+0x194/0x313 [<818c8620>] add_mtd_device+0x194/0x313 [ 5.616041] *pde = 00000000 [ 5.616041] *pde = 00000000 [ 5.616041] Oops: 0000 [#1] [ 5.616041] Oops: 0000 [#1] DEBUG_PAGEALLOC DEBUG_PAGEALLOC [ 5.616041] CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.0.0-08945-gcb973ec #3 [ 5.616041] CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.0.0-08945-gcb973ec #3 [ 5.616041] task: 94680000 ti: 94688000 task.ti: 94688000 [ 5.616041] task: 94680000 ti: 94688000 task.ti: 94688000 [ 5.616041] EIP: 0060:[<818c8620>] EFLAGS: 00010202 CPU: 0 [ 5.616041] EIP: 0060:[<818c8620>] EFLAGS: 00010202 CPU: 0 [ 5.616041] EIP is at add_mtd_device+0x194/0x313 [ 5.616041] EIP is at add_mtd_device+0x194/0x313 [ 5.616041] EAX: 8bc100f0 EBX: 00000001 ECX: 00000001 EDX: 00000000 [ 5.616041] EAX: 8bc100f0 EBX: 00000001 ECX: 00000001 EDX: 00000000 [ 5.616041] ESI: 8caf9c20 EDI: 00000001 EBP: 94689ea8 ESP: 94689e98 [ 5.616041] ESI: 8caf9c20 EDI: 00000001 EBP: 94689ea8 ESP: 94689e98 [ 5.616041] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 5.616041] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 5.616041] CR0: 80050033 CR2: 00000008 CR3: 027cf000 CR4: 00040690 [ 5.616041] CR0: 80050033 CR2: 00000008 CR3: 027cf000 CR4: 00040690 [ 5.616041] Stack: [ 5.616041] Stack: [ 5.616041] 00000000 [ 5.616041] 00000000 00000000 00000000 8caf9c20 8caf9c20 00000000 00000000 94689ecc 94689ecc 818cc564 818cc564 00cabab3 00cabab3 00000001 00000001 [ 5.616041] 8bc10000 [ 5.616041] 8bc10000 8c3eb820 8c3eb820 00000001 00000001 8bc10000 8bc10000 8c3eb820 8c3eb820 94689ee4 94689ee4 818c888c 818c888c 8c3eb820 8c3eb820 [ 5.616041] 00000000 [ 5.616041] 00000000 8bc10000 8bc10000 8bc10000 8bc10000 94689f24 94689f24 82772ced 82772ced 8bc1066c 8bc1066c 00000001 00000001 00000000 00000000 [ 5.616041] Call Trace: [ 5.616041] Call Trace: [ 5.616041] [<818cc564>] add_mtd_partitions+0xc2/0xef [ 5.616041] [<818cc564>] add_mtd_partitions+0xc2/0xef [ 5.616041] [<818c888c>] mtd_device_parse_register+0xed/0x16f [ 5.616041] [<818c888c>] mtd_device_parse_register+0xed/0x16f [ 5.616041] [<82772ced>] ns_init_module+0x1384/0x13fc [ 5.616041] [<82772ced>] ns_init_module+0x1384/0x13fc [ 5.616041] [<82771969>] ? probe_docg4+0x626/0x626 [ 5.616041] [<82771969>] ? probe_docg4+0x626/0x626 [ 5.616041] [<8271411c>] do_one_initcall+0x128/0x278 [ 5.616041] [<8271411c>] do_one_initcall+0x128/0x278 [ 5.616041] [<816610d6>] ? strlen+0x9/0x1c [ 5.616041] [<816610d6>] ? strlen+0x9/0x1c [ 5.616041] [<82713500>] ? do_early_param+0x92/0xac [ 5.616041] [<82713500>] ? do_early_param+0x92/0xac [ 5.616041] [<8105f0be>] ? parse_args+0x367/0x45f [ 5.616041] [<8105f0be>] ? parse_args+0x367/0x45f [ 5.616041] [<827144e4>] kernel_init_freeable+0x278/0x33d [ 5.616041] [<827144e4>] kernel_init_freeable+0x278/0x33d [ 5.616041] [<81c98a6e>] kernel_init+0xe/0x139 [ 5.616041] [<81c98a6e>] kernel_init+0xe/0x139 [ 5.616041] [<81cb0240>] ret_from_kernel_thread+0x20/0x30 [ 5.616041] [<81cb0240>] ret_from_kernel_thread+0x20/0x30 [ 5.616041] [<81c98a60>] ? rest_init+0x131/0x131 [ 5.616041] [<81c98a60>] ? rest_init+0x131/0x131 [ 5.616041] Code: [ 5.616041] Code: d8 d8 74 74 62 62 82 82 84 84 c9 c9 74 74 65 65 83 83 be be ec ec 00 00 00 00 00 00 00 00 0f 0f 94 94 c1 c1 0f 0f b6 b6 f9 f9 8b 8b 14 14 bd bd c4 c4 74 74 62 62 82 82 42 42 89 89 14 14 bd bd c4 c4 74 74 62 62 82 82 84 84 c9 c9 74 74 0c 0c 8b 8b 50 50 7c 7c <8b> <8b> 52 52 08 08 89 89 96 96 ec ec 00 00 00 00 00 00 83 83 7e 7e 38 38 00 00 0f 0f 94 94 c1 c1 0f 0f b6 b6 f9 f9 8b 8b 14 14 [ 5.616041] EIP: [<818c8620>] [ 5.616041] EIP: [<818c8620>] add_mtd_device+0x194/0x313add_mtd_device+0x194/0x313 SS:ESP 0068:94689e98 SS:ESP 0068:94689e98 [ 5.616041] CR2: 0000000000000008 [ 5.616041] CR2: 0000000000000008 [ 5.616041] ---[ end trace 1ca0c76386d57ae6 ]--- [ 5.616041] ---[ end trace 1ca0c76386d57ae6 ]--- [ 5.616041] Kernel panic - not syncing: Fatal exception [ 5.616041] Kernel panic - not syncing: Fatal exception [ 5.616041] Kernel Offset: disabled [ 5.616041] Kernel Offset: disabled Thanks, Ying Huang