From: "Bruno Prémont" <bonbons@linux-vserver.org>
To: P J P <ppandit@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org,
Matt Fleming <matt@console-pimps.org>
Subject: 3.12 to 3.13 boot regression bisected - still applies to 3.16
Date: Mon, 4 Aug 2014 11:34:35 +0200 [thread overview]
Message-ID: <20140804113435.34ed8c76@pluto> (raw)
Hi,
Since 3.13 kernels with built-in initrd fail to boot on Fujitsu hardware
in EFI mode (efi stub) though the exact same kernel binary does boot in
BIOS mode (grub).
Interestingly EFI kernels with different config do boot under VMWare.
Your patch "initramfs: read CONFIG_RD_ variables for initramfs
compression" is the trigger.
Is something missing in EFI stub or why do things behave differently?
Looking at compiled kernel with and without this patch the resulting
bzImage is similar in size but in build directory I get:
Vanilla 3.13, CONFIG_INITRAMFS_COMPRESSION_NONE=y:
-rw-r--r-- 1 kbuild kbuild 399 Aug 4 10:26 usr/built-in.mod.c
-rw-r--r-- 1 kbuild kbuild 7062309 Aug 4 10:26 usr/built-in.o
-rwxr-xr-x 1 kbuild kbuild 22670 Aug 4 10:26 usr/gen_init_cpio
-rw-r--r-- 1 kbuild kbuild 7061260 Aug 4 10:26 usr/initramfs_data.cpio.gz
-rw-r--r-- 1 kbuild kbuild 7062240 Aug 4 10:26 usr/initramfs_data.o
-rw-r--r-- 1 kbuild kbuild 0 Aug 4 10:26 usr/modules.builtin
-rw-r--r-- 1 kbuild kbuild 0 Aug 4 10:26 usr/modules.order
Does not boot, reboots after exiting EFI stub
Vanilla 3.13, CONFIG_INITRAMFS_COMPRESSION_GZIP=y:
-rw-r--r-- 1 kbuild kbuild 399 Aug 4 10:26 usr/built-in.mod.c
-rw-r--r-- 1 kbuild kbuild 7062309 Aug 4 10:26 usr/built-in.o
-rwxr-xr-x 1 kbuild kbuild 22670 Aug 4 10:26 usr/gen_init_cpio
-rw-r--r-- 1 kbuild kbuild 7061260 Aug 4 10:26 usr/initramfs_data.cpio.gz
-rw-r--r-- 1 kbuild kbuild 7062240 Aug 4 10:26 usr/initramfs_data.o
-rw-r--r-- 1 kbuild kbuild 0 Aug 4 10:37 usr/modules.builtin
-rw-r--r-- 1 kbuild kbuild 0 Aug 4 10:37 usr/modules.order
Does not boot, reboots after exiting EFI stub
3.13 with patch revered, CONFIG_INITRAMFS_COMPRESSION_NONE=y:
-rw-r--r-- 1 kbuild kbuild 399 Aug 4 10:16 usr/built-in.mod.c
-rw-r--r-- 1 kbuild kbuild 16931869 Aug 4 10:16 usr/built-in.o
-rwxr-xr-x 1 kbuild kbuild 22670 Aug 4 10:16 usr/gen_init_cpio
-rw-r--r-- 1 kbuild kbuild 16930816 Aug 4 10:16 usr/initramfs_data.cpio
-rw-r--r-- 1 kbuild kbuild 16931800 Aug 4 10:16 usr/initramfs_data.o
-rw-r--r-- 1 kbuild kbuild 0 Aug 4 10:16 usr/modules.builtin
-rw-r--r-- 1 kbuild kbuild 0 Aug 4 10:16 usr/modules.order
Boots successfully.
Related config options:
CONFIG_RD_GZIP=y
CONFIG_RD_BZIP2=y
CONFIG_RD_LZMA=y
CONFIG_RD_XZ=y
CONFIG_RD_LZO=y
CONFIG_RD_LZ4=y
CONFIG_INITRAMFS_SOURCE="/usr/src/initrd64-20131127.cpio"
CONFIG_INITRAMFS_ROOT_UID=0
CONFIG_INITRAMFS_ROOT_GID=0
CONFIG_INITRAMFS_COMPRESSION_NONE=y
# CONFIG_INITRAMFS_COMPRESSION_GZIP is not set
# CONFIG_INITRAMFS_COMPRESSION_BZIP2 is not set
# CONFIG_INITRAMFS_COMPRESSION_LZMA is not set
# CONFIG_INITRAMFS_COMPRESSION_XZ is not set
# CONFIG_INITRAMFS_COMPRESSION_LZO is not set
Bruno
next reply other threads:[~2014-08-04 9:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-04 9:34 Bruno Prémont [this message]
2014-08-04 12:27 ` 3.12 to 3.13 boot regression bisected - still applies to 3.16 Matt Fleming
2014-08-04 13:06 ` Bruno Prémont
2014-08-04 13:54 ` Matt Fleming
2014-08-05 8:02 ` Bruno Prémont
2014-08-05 8:45 ` Matt Fleming
2014-08-05 9:13 ` Bruno Prémont
2014-08-05 9:18 ` Matt Fleming
2014-08-05 11:51 ` Bruno Prémont
2014-08-05 12:11 ` Bruno Prémont
2014-08-05 12:55 ` Matt Fleming
2014-08-05 14:21 ` Bruno Prémont
2014-08-05 15:07 ` Matt Fleming
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140804113435.34ed8c76@pluto \
--to=bonbons@linux-vserver.org \
--cc=akpm@linux-foundation.org \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matt@console-pimps.org \
--cc=ppandit@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).