System with AMD EPYC-Rome Processor fails to boot with FIPS mode enabled.

Solution Verified - Updated -

Issue

  • RHEL8.3.z (kernel-4.18.0-240.15.1.el8 or later) and RHEL9 system with AMD EPYC-Rome Processor hangs while booting or fail to boot when FIPS mode enabled.
[    1.901054] Run /init as init process
[    1.902229]   with arguments:
[    1.902231]     /init
[    1.902233]   with environment:
[    1.902234]     HOME=/
[    1.902235]     TERM=linux
[    1.902236]     BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-70.36.1.el9_0.x86_64
[    1.902237]     boot=UUID=d092171f-b317-4704-a066-d5201f2e6ba6
[..]
[  246.998750] INFO: task modprobe:205 blocked for more than 122 seconds.   <<<<<<<<<,,
[  247.000405]       Not tainted 5.14.0-239.el9.x86_64 #1
[  247.001670] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  247.003545] task:modprobe        state:D stack:    0 pid:  205 ppid:    11 flags:0x00000000
[  247.005521] Call Trace:
[  247.006230]  <TASK>
[  247.006883]  __schedule+0x248/0x620
[  247.007826]  schedule+0x5a/0xc0
[  247.008689]  schedule_preempt_disabled+0x11/0x20
[  247.009832]  __mutex_lock.constprop.0+0x2a1/0x430
[  247.010996]  crypto_devrandom_read.part.0+0x128/0x2e0
[  247.012236]  ? do_read_fault+0xd7/0x150
[  247.013222]  ? do_fault+0xa9/0x390
[  247.014127]  ? __handle_mm_fault+0x401/0x730
[  247.015205]  __x64_sys_getrandom+0x77/0xf0
[  247.016262]  do_syscall_64+0x5c/0x90
[  247.017211]  ? exc_page_fault+0x62/0x150
[  247.020120]  entry_SYSCALL_64_after_hwframe+0x63/0xcd
[  247.021364] RIP: 0033:0x7f8ea195ca97
[  247.022583] RSP: 002b:00007fffcd52b288 EFLAGS: 00000246 ORIG_RAX: 000000000000013e
[  247.024392] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8ea195ca97
[  247.026028] RDX: 0000000000000001 RSI: 0000000000000008 RDI: 00007f8ea1b00fd8
[  247.027693] RBP: 00007fffcd52b290 R08: 0000000000000001 R09: 00007fffcd52df93
[  247.029334] R10: 00000000078bfbff R11: 0000000000000246 R12: 0000000000000028
[  247.030968] R13: 0000000000000002 R14: 0000000000000010 R15: 0000000000000000

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • kernel-core
  • FIPS
  • AMD EPYC-Rome Processor
  • AMD EPYC 7F72 24-Core Processor
  • AMD EPYC 7262 8-Core Processor

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