Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 08-15-2016, 11:31 AM   #1
Registered: Dec 2009
Posts: 357

Rep: Reputation: Disabled
Linux-4.8-rc2 fails reading AMD microcode, /boot/amd-ucode.cpio

On Slackware-current, I run this script to create a /boot/amd-ucode.cpio file:
#! /bin/sh
set -x
set -e


echo "Create the $CPIO file from the $LIB directory of files"
rm -rf   /tmp/amd-ucode-cpio
mkdir -p /tmp/amd-ucode-cpio
cd       /tmp/amd-ucode-cpio
mkdir -p  $TDIR
find $LIB -type f -name \*bin | sort | xargs cat > $TDIR/AuthenticAMD.bin
find . | cpio --no-absolute-filenames -H newc -o -F $CPIO


echo "Concatenate $CPIO and /boot/initrd-4.4.15.gz creating /boot/initrd.gz"
cat $CPIO /boot/initrd-4.4.15.gz > /boot/initrd.gz
When I use the /boot/amd-ucode.cpio with the Linux-4.8-rc2 kernel the system immediately reboots with no error messages.

The /boot/amd-ucode.cpio file works fine with other kernels version 4.7 and older.

Here is my lilo entry for 4.8-rc2:
# Linux bootable partition config begins
image = /boot/vmlinuz-huge-4.8-rc2
  initrd = /boot/amd-ucode.cpio
  root = /dev/sda8
  label = linux-huge-4.8
  read-only  # Partitions should be mounted read-only for checking
#  addappend="console=ttyS0,38400"
# Linux bootable partition config ends
Version 4.8-rc1 fails too in the same way.

I tested 4.8-rc2 with the Intel microcode, /boot/intel-ucode.cpio and it boots fine.

The intel microcode can be created by installing the iucode-tool and intel-microcode packages from
Old 08-22-2016, 08:33 AM   #2
Registered: Dec 2009
Posts: 357

Original Poster
Rep: Reputation: Disabled
This is now fixed in linux 4.8-rc3

Thanks to all the kernel developers!

Update 14:59 UTC:

Kernel patch:

Kernel announcement:

Last edited by aaazen; 08-22-2016 at 09:58 AM. Reason: link to kernel patch


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: SteamOS 2.83 Beta Brings AMD Radeon GPU-PRO RC2 and Nvidia 367.27 Video Drivers LXer Syndicated Linux News 0 06-29-2016 10:42 AM
[SOLVED] AMD Microcode 3rensho Linux - Software 12 03-28-2014 06:46 PM
[SOLVED] No internet/USB 2 on Linux X86_64 on AMD FX-6300/Realtek GbE/AMD SB950 gabi_at_mia Linux - Hardware 0 10-27-2013 10:45 PM
OpenSuse 12.2. Error failed to load file amd-ucode/microcode_amd.bin Felipe Linux - Software 1 04-10-2013 07:18 AM
Partition copy from SATA to IDE fails to boot (debian amd-64 rc2) siggma Linux - Server 2 03-01-2008 01:08 PM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration