Home / How to resolve error firmware.sh[8473]: Cannot find firmware file ‘intel-ucode/06-3f-02’

How to resolve error firmware.sh[8473]: Cannot find firmware file ‘intel-ucode/06-3f-02’

To resolve this error, upgrade the BIOS/Firmware software to the latest version available. These are just informational messages which are logged on the server. Whenever a new CPU is added, the firmware script checks for that CPU's firmware and requests for firmware. Hence the message is logged in the messages file.

# cat var/log/messages*|grep firmware
Oct 10 03:01:52 hostname kernel: platform microcode: firmware: requesting intel-ucode/06-3f-02
Oct 13 08:40:13 hostname kernel: platform microcode: firmware: requesting intel-ucode/06-3f-02
Oct 13 15:31:59 hostname kernel: platform microcode: firmware: requesting intel-ucode/06-3f-02
Oct 13 15:31:59 hostname firmware.sh[6111]: Cannot find firmware file 'intel-ucode/06-3f-02'
Oct 13 16:02:52 hostname kernel: platform microcode: firmware: requesting intel-ucode/06-3f-02

The firmware file firmware.sh is located in /lib/udev.

[root@seimaxim ~]# cat /lib/udev/firmware.sh

#!/bin/sh -e

FIRMWARE_DIRS="/lib/firmware/updates/$(uname -r) /lib/firmware/updates \

               /lib/firmware/$(uname -r) /lib/firmware"

err() {

    echo "$@" >&2

    logger -t "${0##*/}[$$]" "$@" 2>/dev/null || true

}




if [ ! -e /sys$DEVPATH/loading ]; then

    err "udev firmware loader misses sysfs directory"

    exit 1

fi

for DIR in $FIRMWARE_DIRS; do

    [ -e "$DIR/$FIRMWARE" ] || continue

    echo 1 > /sys$DEVPATH/loading

    cat "$DIR/$FIRMWARE" > /sys$DEVPATH/data

    echo 0 > /sys$DEVPATH/loading

    exit 0

done




echo -1 > /sys$DEVPATH/loading

err "Cannot find  firmware file '$FIRMWARE'"                          ------------> This is the line which we can see in logs

mkdir -p /dev/.udev/firmware-missing

file=$(echo "$FIRMWARE" | sed 's:/:\\x2f:g')

ln -s -f "$DEVPATH" /dev/.udev/firmware-missing/$file

exit 1
 # cat lib/udev/rules.d/50-firmware.rules

  # do not edit this file, it will be overwritten on update




  # firmware-class requests, copies files into the kernel

  SUBSYSTEM=="firmware", ACTION=="add", RUN+="firmware.sh"
# grep ucode sos_commands/kernel/dmesg 
platform microcode: firmware: requesting intel-ucode/06-3f-02
platform microcode: firmware: requesting intel-ucode/06-3f-02

Leave a Reply