Why does lscpu reports "Device or Resource busy" when smt is turned off in RHEL8.8?

Solution Verified - Updated -

Issue

  • Why does lscpu reports "Device or Resource busy" when smt is turned off in RHEL8.8?
# echo off > /sys/devices/system/cpu/smt/control

# lscpu
lscpu: cannot read /sys/devices/system/cpu/cpu32/cpufreq/cpuinfo_max_freq: Device or resource busy
  • Why lscpu reports Device or Resource busy when any cpu is disabled?
# chcpu -d 1
CPU 1 disabled

# lscpu
lscpu: cannot read /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq: Device or resource busy

Environment

  • Red Hat Enterprise Linux 8.8

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