LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-15-2016, 11:31 AM   #1
aaazen
Member
 
Registered: Dec 2009
Location: California
Distribution: Slackware
Posts: 302

Rep: Reputation: 135Reputation: 135
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:
Code:
#! /bin/sh
set -x
set -e

LIB=/lib/firmware/amd-ucode/
TDIR=kernel/x86/microcode
CPIO=/boot/amd-ucode.cpio

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

exit

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
exit
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:
Code:
# 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 Slackbuilds.org:

https://slackbuilds.org/repository/1...m/iucode_tool/

https://slackbuilds.org/repository/1...tel-microcode/
 
Old 08-22-2016, 08:33 AM   #2
aaazen
Member
 
Registered: Dec 2009
Location: California
Distribution: Slackware
Posts: 302

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

Thanks to all the kernel developers!

Update 14:59 UTC:

Kernel patch: https://lkml.org/lkml/2016/8/17/131

Kernel announcement: https://lkml.org/lkml/2016/8/21/378

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:58 PM.

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