Re: initramfs on F21 beta image is corrupt?

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

 



On Tue, Nov 11, 2014 at 12:17 PM, Lars Kellogg-Stedman <lars@xxxxxxxxxx> wrote:
> I just grabbed the F21 beta cloud image from:
>
>   http://download.fedoraproject.org/pub/fedora/linux/releases/test/21-Beta/Cloud/Images/x86_64/Fedora-Cloud-Base-20141029-21_Beta.x86_64.qcow2
>
> It looks like the initramfs on this image is corrupt; it appears to be
> an uncompressed CPIO archive with truncated content:
>
>   # zcat initramfs-3.17.1-302.fc21.x86_64.img | cpio -it
>   gzip: initramfs-3.17.1-302.fc21.x86_64.img: not in gzip format
>   cpio: premature end of archive
>
>   # cpio -it < initramfs-3.17.1-302.fc21.x86_64.img
>   .
>   kernel
>   kernel/x86
>   kernel/x86/microcode
>   kernel/x86/microcode/AuthenticAMD.bin
>   early_cpio
>   44 blocks

That's actually showing the early microcode payload that is used by
the kernel.  It's prepended to the normal initramfs.  What does
lsinitrd have for output?  It should look something like:

[jwboyer@lando linux]$ lsinitrd /boot/initramfs-3.17.2-300.fc21.x86_64.img
Image: /boot/initramfs-3.17.2-300.fc21.x86_64.img: 18M
========================================================================
Early CPIO image
========================================================================
drwxr-xr-x   3 root     root            0 Oct 30 14:26 .
-rw-r--r--   1 root     root            2 Oct 30 14:26 early_cpio
drwxr-xr-x   3 root     root            0 Oct 30 14:26 kernel
drwxr-xr-x   3 root     root            0 Oct 30 14:26 kernel/x86
drwxr-xr-x   2 root     root            0 Oct 30 14:26 kernel/x86/microcode
-rw-r--r--   1 root     root        19456 Oct 30 14:26
kernel/x86/microcode/GenuineIntel.bin
========================================================================
Version: dracut-038-30.git20140903.fc21

Arguments: -f

dracut modules:
bash
i18n
<lots of output after>

If it doesn't look like that, then something is indeed odd.

> If I generate a new image with 'dracut -f', I get something that looks
> a lot more sane...
>
>   # dracut -f
>   # zcat initramfs-3.17.1-302.fc21.x86_64.img | cpio -it
>   [...671 lines of output...]
>
> The image still boots correctly in my OpenStack environment but I
> suspect this will cause problems for someone.

Could you fpaste that output somewhere?  Dracut should still default
to creating an initramfs with the early ucode payload.

josh
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux