• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Linux OS Service ‘microcode_ctl’

by admin

Service Name

microcode_ctl

Description

microcode_ctl updates a microcode in IA32 CPU. The microcode is prepared as a file /etc/firmware/microcode.dat. As this service can fix microcode bugs by updating CPU microcode this should be available.m however only for Intel IA32.

Basically, running “service microcode_ctl start” doesn’t start up a daemon, it first checks if the processor is suitable for updating firmware, if it is, then “microcode_ctl” service will insert the module “microcode” into the kernel and creates a device file /dev/cpu/microcode, calls “/sbin/microcode_ctl” to upload the microcode with default data file /etc/firmware/microcode.dat, Then “microcode_ctl” will remove the module “microcode” and device file /dev/cpu/microcode and finally it will report if upload is successful.

The corresponding rpm package is:
microcode_ctl

This is a service not to run any daemon. It uploads microcode to Intel IA32 processor.

Service Control

The microcode update is volatile and needs to be uploaded on each system startup. To control the microcode_ctl service after the next system boot, use the chkconfig utility:

# chkconfig microcode_ctl on
# chkconfig --list microcode_ctl
microcode_ctl 0:off  1:off  2:on   3:on   4:on   5:on   6:off
# chkconfig microcode_ctl off

To control the microcode_ctl service immediately, use the service utility:

# service microcode_ctl
Usage: /etc/init.d/microcode_ctl {start|stop|restart}

The table below describes each of the available commands:

Command Description
start Upload the microcode in /etc/firmware/microcode.data to CPU
restart Same as start
stop It removes the lock file /var/lock/subsys/microcode_ctl which is created by command “start”

Filed Under: Linux, Linux Services

Some more articles you might also be interested in …

  1. How to change the default IP address of docker bridge
  2. Examples of using tcpdump command for network troubleshooting
  3. Replacing a Failed Mirror Disk in a Software RAID Array (mdadm)
  4. Beginners Guide to Samba (Installation and Configuration)
  5. df Command Examples in Linux
  6. Error: Can’t open display: hostname:x.y when running xclock
  7. How to recover GRUB (Corrupted boot partition) in CentOS/RHEL 5,6
  8. How to allow or deny telnet login to specific users only in CentOS/RHEL
  9. How to monitor the Mounting/Umounting of Mount Points Using Auditd on CentOS/RHEL 6,7
  10. How to extend ASM disk from OS level in CentOS/RHEL

You May Also Like

Primary Sidebar

Recent Posts

  • What are /dev/zero and /dev/null files in Linux
  • grpck command – Remove corrupt or duplicate entries in the /etc/group and /etc/gshadow files.
  • xxd command – Expressed in hexadecimal form
  • sesearch: command not found

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright