[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [Pkg-xen-devel] Bug#785187: xen-hypervisor-4.5-amd64: Option ucode=scan is not working



On Fri, May 15, 2015 at 08:26:42AM +0100, Ian Campbell wrote:
Here's an idea. First extract the real initrd from the back half of the
initrd:
       ijc@dagon:tmp$ cat /boot/initrd.img | ( cpio -t >&2 ; cat ) > initrd.real
       kernel
       kernel/x86
       kernel/x86/microcode
       kernel/x86/microcode/GenuineIntel.bin
       16 blocks
       ijc@dagon:tmp$ file initrd.real
       initrd.real: gzip compressed data, last modified: Sun Apr 19 16:31:17 
2015, from Unix
       ijc@dagon:tmp$ zcat initrd.real | cpio -t | head -n 5
       .
       etc
       etc/ld.so.conf.d
       etc/ld.so.conf.d/fakeroot-x86_64-linux-gnu.conf
       etc/ld.so.conf.d/x86_64-linux-gnu.conf

Now you can experiment with regenerating the ucode bit with whatever
commands are recommended and reconcatenating the two. If that works then
we know there is some incompatibility between iucode-tools's output and
Xen's cpio reader (could be a bug in either or both I think).

All right. Can you please provide some commands how to create and reconcatenate the two initrds? I donât have any experience with cpio.

Shade and sweet water!

        Stephan

--
| Stephan Seitz          E-Mail: stse@xxxxxxxxxxxxxxxxxxx |
| Public Keys: http://fsing.rootsland.net/~stse/keys.html |

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.