kdump kernel fails to boot due to "kernel panic - not syncing: No init found. Try passing init= option to kernel"
Issue
-
kdump kernel fails to boot and displays the below messages:
[ 599.044382] SysRq : Trigger a crash [ 599.047995] BUG: unable to handle kernel NULL pointer dereference at (null) [ 599.055880] IP: [<ffffffff813f65c6>] sysrq_handle_crash+0x16/0x20 [ 599.062013] PGD 800000086067a067 PUD 8678fd067 PMD 0 [ 599.067140] Oops: 0002 [#1] SMP [ 599.070416] Modules linked in: bonding iTCO_wdt iTCO_vendor_support vfat dcdbas fat intel_powerclamp coretemp intel_rapl iosf_mbi kvm_intel kvm irqbypass crc32_pclmul ipmi_ssif ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd pcspkr sg i2c_i801 lpc_ich shpchp wmi ipmi_si ipmi_msghandler nfit libnvdimm acpi_pad nfsd auth_rpcgss nfs_acl lockd grace sunrpc ip_tables xfs libcrc32c sd_mod sr_mod cdrom crc32c_intel mgag200 lpfc(OE) drm_kms_helper crc_t10dif syscopyarea crct10dif_generic sysfillrect crct10dif_pclmul sysimgblt fb_sys_fops scsi_transport_fc ttm igb(OE) scsi_tgt crct10dif_common dca ahci drm ptp libahci pps_core i2c_algo_bit megaraid_sas(OE) i2c_core libata fjes dm_mirror dm_region_hash dm_log dm_mod [ 599.137118] CPU: 7 PID: 2789 Comm: bash Tainted: G OE ------------ 3.10.0-514.44.1.el7.x86_64 #1 [ 599.147017] Hardware name: Dell Inc. PowerEdge R740/01YM03, BIOS 2.2.11 06/13/2019 [ 599.154580] task: ffff88046855ce70 ti: ffff880463638000 task.ti: ffff880463638000 [ 599.162057] RIP: 0010:[<ffffffff813f65c6>] [<ffffffff813f65c6>] sysrq_handle_crash+0x16/0x20 [ 599.170595] RSP: 0018:ffff88046363be58 EFLAGS: 00010246 [ 599.175903] RAX: ffffffff813f65b0 RBX: ffffffff81a91280 RCX: 0000000000000000 [ 599.183031] RDX: 0000000000000000 RSI: ffff88086bed3838 RDI: 0000000000000063 [ 599.190164] RBP: ffff88046363be58 R08: 0000000000000096 R09: 000000000000099f [ 599.197289] R10: 000000000000099e R11: 0000000000000003 R12: 0000000000000063 [ 599.204420] R13: 0000000000000000 R14: 0000000000000004 R15: 0000000000000000 [ 599.211544] FS: 00007f8c48342740(0000) GS:ffff88086bec0000(0000) knlGS:0000000000000000 [ 599.219621] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 599.225364] CR2: 0000000000000000 CR3: 000000085ee26000 CR4: 00000000003607e0 [ 599.232492] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 599.239616] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 599.246741] Call Trace: [ 599.249189] [<ffffffff813f6ded>] __handle_sysrq+0x10d/0x170 [ 599.254849] [<ffffffff813f725f>] write_sysrq_trigger+0x2f/0x40 [ 599.260764] [<ffffffff81271580>] proc_reg_write+0x40/0x80 [ 599.266252] [<ffffffff81203490>] vfs_write+0xc0/0x1f0 [ 599.271386] [<ffffffff81203fbf>] SyS_write+0x7f/0xe0 [ 599.276438] [<ffffffff816a4215>] system_call_fastpath+0x1c/0x21 [ 599.282437] Code: eb 9b 45 01 f4 45 39 65 34 75 e5 4c 89 ef e8 e2 f7 ff ff eb db 0f 1f 44 00 00 55 48 89 e5 c7 05 91 a4 60 00 01 00 00 00 0f ae f8 <c6> 04 25 00 00 00 00 01 5d c3 0f 1f 44 00 00 55 31 c0 c7 05 0e [ 599.303521] RIP [<ffffffff813f65c6>] sysrq_handle_crash+0x16/0x20 [ 599.310298] RSP <ffff88046363be58> [ 599.314358] CR2: 0000000000000000 [ 0.091992] [Firmware Bug]: the BIOS has corrupted hw-PMU resources (MSR 38d is b0) [ 1.749060] i8042: No controller found [ 1.786331] mce: Unable to init device /dev/mcelog (rc: -5) [ 1.796477] Failed to execute /init [ 1.799987] Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance. [ 1.812373] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-514.44.1.el7.x86_64 #1 [ 1.820004] Hardware name: Dell Inc. PowerEdge R740/01YM03, BIOS 2.2.11 06/13/2019 [ 1.827553] Call Trace: [ 1.830003] [<ffffffff81693260>] dump_stack+0x19/0x1b [ 1.835129] [<ffffffff8168c5a2>] panic+0xe3/0x204 [ 1.839911] [<ffffffff8121424d>] ? putname+0x3d/0x60 [ 1.844947] [<ffffffff81681520>] ? rest_init+0x80/0x80 [ 1.850161] [<ffffffff81681602>] kernel_init+0xe2/0xf0 [ 1.855374] [<ffffffff816a405d>] ret_from_fork+0x5d/0xb0 [ 1.860759] [<ffffffff81681520>] ? rest_init+0x80/0x80 [ 1.905040] Rebooting in 10 seconds..
Environment
- Red Hat Enterprise Linux 7
- Third party modules
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.