Logs shows "SysRq : Power Off" prior to an unexpected system shutdown.

Solution Verified - Updated -

Issue

  • Messages logs, Serial console logs or pstore logs shows SysRq : Power Off events post which system gets shutdown unexpectedly.
[2214373.333104] sysrq: SysRq : Power Off
[2214373.337218] sysrq: SysRq : Power Off
[2214373.725432] ACPI: PM: Preparing to enter system sleep state S5
[2214373.729672] reboot: Power down
[2214373.734568] WARNING: CPU: 0 PID: 3613808 at arch/x86/kernel/cpu/mce/intel.c:122 lmce_supported+0x51/0x60
[2214373.741834] Modules linked in: mptcp_diag xsk_diag raw_diag unix_diag af_packet_diag netlink_diag udp_diag overlay tcp_diag inet_diag nfsd nfs_acl softdog sg binfmt_misc rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache loop intel_rapl_msr intel_rapl_common intel_uncore_frequency_common isst_if_common nfit libnvdimm ppdev rapl parport_pc pcspkr i2c_piix4 parport xfs libcrc32c crct10dif_pclmul crc32_pclmul crc32c_intel nvme nvme_core ena ghash_clmulni_intel serio_raw t10_pi dm_multipath sunrpc dm_mirror dm_region_hash dm_log dm_mod be2iscsi bnx2i cnic uio cxgb4i cxgb4 tls libcxgbi libcxgb qla4xxx iscsi_boot_sysfs iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi fuse
[2214373.780897] Red Hat flags: eBPF/event
[2214373.784163] CPU: 0 PID: 3613808 Comm: kworker/0:0 Not tainted 4.18.0-477.74.1.el8_8.x86_64 #1
[2214373.790905] Hardware name: Amazon EC2 c5.xlarge/, BIOS 1.0 10/16/2017
[2214373.795342] Workqueue: events do_poweroff
[2214373.798814] RIP: 0010:lmce_supported+0x51/0x60
[2214373.802425] Code: 08 31 c0 5b c3 cc cc cc cc bf 3a 00 00 00 e8 56 e8 02 00 66 90 49 89 c0 48 89 c3 49 c1 e8 14 44 89 c0 83 e0 01 83 e3 01 75 d9 <0f> 0b 31 c0 eb d3 31 c0 c3 cc cc cc cc 66 90 0f 1f 44 00 00 41 56
[2214373.815050] RSP: 0018:ffffa49043687e50 EFLAGS: 00010046
[2214373.818988] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000003a
[2214373.825247] RDX: 0000000000000000 RSI: 00000000000000ff RDI: 000000000000003a
[2214373.831543] RBP: 00000000000f4240 R08: 0000000000000000 R09: 0000000000000029
[2214373.837855] R10: 0000000000000001 R11: ffffa49043687cb8 R12: ffff936961c38900
[2214373.844187] R13: 0000000000000000 R14: ffff936849837780 R15: ffffffffb52631a8
[2214373.850473] FS:  0000000000000000(0000) GS:ffff936961c00000(0000) knlGS:0000000000000000
[2214373.857128] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[2214373.861290] CR2: 00001518ac7e2080 CR3: 000000021e810006 CR4: 00000000007706f0
[2214373.867611] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[2214373.873898] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[2214373.880249] PKRU: 55555554
[2214373.883129] Call Trace:
[2214373.885947]  mce_intel_feature_clear+0xb/0x50
[2214373.889524]  native_stop_other_cpus+0xcc/0x160
[2214373.893126]  native_machine_shutdown+0x22/0x40
[2214373.896770]  native_machine_power_off+0x36/0x40
[2214373.900429]  process_one_work+0x1a7/0x360
[2214373.903843]  ? create_worker+0x1a0/0x1a0
[2214373.907265]  worker_thread+0x30/0x390
[2214373.910551]  ? create_worker+0x1a0/0x1a0
[2214373.913945]  kthread+0x134/0x150
[2214373.917083]  ? set_kthread_struct+0x50/0x50
[2214373.920584]  ret_from_fork+0x35/0x40
[2214373.923802] ---[ end trace b02c2010d2bf144e ]---

Environment

Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content