Skip to content

dracut: handle kernel panic after poweroff

Filip Pokryvka requested to merge fp/dracut_poweroff_panic into main

On CentOS 9-stream (and RHEL9.3), VM gets kernel panic after poweroff and process hangs.

Ignore such failure, as we got all results already.

https://bugzilla.redhat.com/show_bug.cgi?id=2234390

[   98.240166] ACPI: PM: Preparing to enter system sleep state S5
[   98.241293] reboot: Power down
[  128.483401] ata1: lost interrupt (Status 0x50)
[  128.485054] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  128.485750] ata1.00: failed command: WRITE DMA
[  128.486152] ata1.00: cmd ca/00:08:02:48:04/00:00:00:00:00/e0 tag 0 dma 4096 out
[  128.486152]          res 40/00:01:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[  128.487351] ata1.00: status: { DRDY }
[  128.488007] ata1: soft resetting link
[  128.496858] systemd[1]: testsuite.service: Consumed 19.402s CPU time.
[  128.650746] ata1.00: configured for MWDMA2
[  128.652798] ata1.01: configured for MWDMA2
[  128.655043] ata1: EH complete
[  158.690679] ata1: lost interrupt (Status 0x50)
[  158.691134] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  158.691766] ata1.00: failed command: WRITE DMA
[  158.692103] ata1.00: cmd ca/00:08:02:48:04/00:00:00:00:00/e0 tag 0 dma 4096 out
[  158.692103]          res 40/00:01:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[  158.693140] ata1.00: status: { DRDY }
[  158.693755] ata1: soft resetting link
[  158.848255] ata1.00: configured for MWDMA2
[  158.849280] ata1.01: configured for MWDMA2
[  158.849835] ata1: EH complete
[  159.765717] systemd[1]: systemd-hostnamed.service: Consumed 1.266s CPU time.
[  188.902637] ata1: lost interrupt (Status 0x50)
[  188.903132] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  188.903466] ata1.00: failed command: WRITE DMA
[  188.904212] ata1.00: cmd ca/00:08:02:48:04/00:00:00:00:00/e0 tag 0 dma 4096 out
[  188.904212]          res 40/00:01:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[  188.905326] ata1.00: status: { DRDY }
[  188.906006] ata1: soft resetting link
[  189.064243] ata1.00: configured for MWDMA2
[  189.065273] ata1.01: configured for MWDMA2
[  189.065831] ata1: EH complete
[  219.106722] ata1: lost interrupt (Status 0x50)
[  219.107858] ata1.00: limiting speed to MWDMA1:PIO4
[  219.108327] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  219.108916] ata1.00: failed command: WRITE DMA
[  219.109377] ata1.00: cmd ca/00:08:02:48:04/00:00:00:00:00/e0 tag 0 dma 4096 out
[  219.109377]          res 40/00:01:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[  219.110399] ata1.00: status: { DRDY }
[  219.111036] ata1: soft resetting link
[  219.264440] ata1.00: configured for MWDMA1
[  219.265421] ata1.01: configured for MWDMA2
[  219.265923] ata1: EH complete
[  235.349040] systemd[1]: systemd-journald.service: Watchdog timeout (limit 3min)!
[  235.361785] systemd[1]: systemd-journald.service: Killing process 792 (systemd-journal) with signal SIGABRT.
[  246.742880] INFO: task jbd2/sda-8:840 blocked for more than 122 seconds.
[  246.743437]       Not tainted 5.14.0-361.el9.x86_64 #1
[  246.744006] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  246.744833] task:jbd2/sda-8      state:D stack:0     pid:840   ppid:2      flags:0x00004000
[  246.745979] Call Trace:
[  246.746351]  <TASK>
[  246.746794]  __schedule+0x20a/0x550
[  246.747381]  ? __pfx_wbt_cleanup_cb+0x10/0x10
[  246.747832]  schedule+0x2d/0x70
[  246.748241]  io_schedule+0x42/0x70
[  246.748615]  rq_qos_wait+0xbb/0x130
[  246.749031]  ? __pfx_rq_qos_wake_function+0x10/0x10
[  246.749362]  ? __pfx_wbt_inflight_cb+0x10/0x10
[  246.749838]  wbt_wait+0x9c/0x100
[  246.750153]  __rq_qos_throttle+0x23/0x40
[  246.750417]  blk_mq_get_new_requests+0xcf/0x190
[  246.750879]  blk_mq_submit_bio+0x2a8/0x400
[  246.751184]  submit_bio_noacct_nocheck+0x19c/0x1f0
[  246.751674]  ? bio_add_page+0x60/0x90
[  246.752072]  submit_bh_wbc+0x11e/0x140
[  246.752381]  jbd2_journal_commit_transaction+0x59a/0x1900 [jbd2]
[  246.753209]  ? __try_to_del_timer_sync+0x62/0xa0
[  246.753654]  kjournald2+0xaf/0x280 [jbd2]
[  246.754046]  ? __pfx_autoremove_wake_function+0x10/0x10
[  246.754390]  ? __pfx_kjournald2+0x10/0x10 [jbd2]
[  246.754877]  kthread+0xe0/0x100
[  246.755164]  ? __pfx_kthread+0x10/0x10
[  246.755472]  ret_from_fork+0x2c/0x50
[  246.756030]  </TASK>
[  249.318631] ata1: lost interrupt (Status 0x50)

@RunFeatures:dracut

Edited by Filip Pokryvka

Merge request reports

Loading