All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 11866] New: iniramfs file system fails to boot using Grub on EFI x86_64
@ 2019-05-10 21:55 bugzilla at busybox.net
  2019-05-10 22:00 ` [Buildroot] [Bug 11866] " bugzilla at busybox.net
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2019-05-10 21:55 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11866

            Bug ID: 11866
           Summary: iniramfs file system fails to boot using Grub on EFI
                    x86_64
           Product: buildroot
           Version: 2019.02.2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: pmorici at dev295.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

I'm not 100% sure this is a bug and not my own oversight but I'm unable to
successfully boot the kernel produced by buildroot when the initramfs
filesystem option is selected using Grub on an x86_64 EFI system

To isolate to the bare minimum number of changes I started with
pc_x86_64_efi_defconfig, changed the file system selection from ext2 to
initramfs and modified the post image script to account for the differences. 
The result is that after Grub I see only a frozen cursor in the upper left of
an otherwise blank screen.

The config and modified post script needed to reproduce are attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [Bug 11866] iniramfs file system fails to boot using Grub on EFI x86_64
  2019-05-10 21:55 [Buildroot] [Bug 11866] New: iniramfs file system fails to boot using Grub on EFI x86_64 bugzilla at busybox.net
@ 2019-05-10 22:00 ` bugzilla at busybox.net
  2019-05-11 15:50 ` bugzilla at busybox.net
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2019-05-10 22:00 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11866

--- Comment #1 from Pete Morici <pmorici@dev295.com> ---
Created attachment 8031
  --> https://bugs.busybox.net/attachment.cgi?id=8031&action=edit
.config and post.sh

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [Bug 11866] iniramfs file system fails to boot using Grub on EFI x86_64
  2019-05-10 21:55 [Buildroot] [Bug 11866] New: iniramfs file system fails to boot using Grub on EFI x86_64 bugzilla at busybox.net
  2019-05-10 22:00 ` [Buildroot] [Bug 11866] " bugzilla at busybox.net
@ 2019-05-11 15:50 ` bugzilla at busybox.net
  2019-05-13 13:11 ` bugzilla at busybox.net
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2019-05-11 15:50 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11866

--- Comment #2 from Pete Morici <pmorici@dev295.com> ---
I enabled CONFIG_EFI_STUB support in the kernel and was able to boot the same
kernel with embedded initramfs directly with just using EFI and omitting GRUB. 
That makes me think this is a GRUB issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [Bug 11866] iniramfs file system fails to boot using Grub on EFI x86_64
  2019-05-10 21:55 [Buildroot] [Bug 11866] New: iniramfs file system fails to boot using Grub on EFI x86_64 bugzilla at busybox.net
  2019-05-10 22:00 ` [Buildroot] [Bug 11866] " bugzilla at busybox.net
  2019-05-11 15:50 ` bugzilla at busybox.net
@ 2019-05-13 13:11 ` bugzilla at busybox.net
  2020-03-05  8:02 ` bugzilla at busybox.net
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2019-05-13 13:11 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11866

--- Comment #3 from Pete Morici <pmorici@dev295.com> ---
Looked into this more and the source of the issue is setting the console
argument to certain values causes the boot process to lock up but only when the
initramfs file system is used.  I have been setting the console value to null
which causes the problem and when I changed it back to tty1 I made a typo and
wrote /dev/tty1 which also causes the problem.  None of these values cause a
boot hang when used with a file system other than initramfs.

This might have something to do with the /init script installed as part of the
cpio fs option that initramfs depends on but since there is no output I can't
tell what the exact problem is.

 #!/bin/sh
 # devtmpfs does not get automounted for initramfs
 /bin/mount -t devtmpfs devtmpfs /dev
 exec 0</dev/console
 exec 1>/dev/console
 exec 2>/dev/console
 exec /sbin/init "$@"

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [Bug 11866] iniramfs file system fails to boot using Grub on EFI x86_64
  2019-05-10 21:55 [Buildroot] [Bug 11866] New: iniramfs file system fails to boot using Grub on EFI x86_64 bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2019-05-13 13:11 ` bugzilla at busybox.net
@ 2020-03-05  8:02 ` bugzilla at busybox.net
  2020-04-24  6:33 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-03-05  8:02 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11866

Timo Ketola <timo.ketola@exertus.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timo.ketola at exertus.fi

--- Comment #4 from Timo Ketola <timo.ketola@exertus.fi> ---
This sounds very much like what I observed too. When I try to boot an ARM
system with U-Boot and with 'silent' flag set, /init fails, kernel panics and
the local display is left with a cursor alone (I watch the kernel messages from
the serial line). U-Boot's 'silent' flag makes it to adjust kernel command line
with 'console=<empty>'.

Here is a proposed patch:

https://patchwork.ozlabs.org/patch/1166017

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [Bug 11866] iniramfs file system fails to boot using Grub on EFI x86_64
  2019-05-10 21:55 [Buildroot] [Bug 11866] New: iniramfs file system fails to boot using Grub on EFI x86_64 bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2020-03-05  8:02 ` bugzilla at busybox.net
@ 2020-04-24  6:33 ` bugzilla at busybox.net
  2020-04-25  1:55 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-04-24  6:33 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11866

--- Comment #5 from Timo Ketola <timo.ketola@exertus.fi> ---
There is no entry for fs/cpio in the DEVELOPERS file. This bug and the patch
feels like orphaned.

What should we do?

Pete, would you be able to evaluate and test the patch?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [Bug 11866] iniramfs file system fails to boot using Grub on EFI x86_64
  2019-05-10 21:55 [Buildroot] [Bug 11866] New: iniramfs file system fails to boot using Grub on EFI x86_64 bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2020-04-24  6:33 ` bugzilla at busybox.net
@ 2020-04-25  1:55 ` bugzilla at busybox.net
  2020-04-25  7:40 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-04-25  1:55 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11866

--- Comment #6 from Pete Morici <pmorici@dev295.com> ---
(In reply to Timo Ketola from comment #5)
I tried this patch today with 2020.2.1 and can confirm it does fix this issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [Bug 11866] iniramfs file system fails to boot using Grub on EFI x86_64
  2019-05-10 21:55 [Buildroot] [Bug 11866] New: iniramfs file system fails to boot using Grub on EFI x86_64 bugzilla at busybox.net
                   ` (5 preceding siblings ...)
  2020-04-25  1:55 ` bugzilla at busybox.net
@ 2020-04-25  7:40 ` bugzilla at busybox.net
  2020-04-25 12:10 ` bugzilla at busybox.net
  2020-04-27  5:27 ` bugzilla at busybox.net
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-04-25  7:40 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11866

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |yann.morin.1998 at free.fr
           Assignee|unassigned at buildroot.uclibc |yann.morin.1998 at free.fr
                   |.org                        |

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [Bug 11866] iniramfs file system fails to boot using Grub on EFI x86_64
  2019-05-10 21:55 [Buildroot] [Bug 11866] New: iniramfs file system fails to boot using Grub on EFI x86_64 bugzilla at busybox.net
                   ` (6 preceding siblings ...)
  2020-04-25  7:40 ` bugzilla at busybox.net
@ 2020-04-25 12:10 ` bugzilla at busybox.net
  2020-04-27  5:27 ` bugzilla at busybox.net
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-04-25 12:10 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11866

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Pete, Timo, All,

Fixed with commit 98a6f1fc02e41ac30db24ac2b7262033faabacde.

Thanks for the patience while waiting for that fix.

Regards,
Yann E. MORIN.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Buildroot] [Bug 11866] iniramfs file system fails to boot using Grub on EFI x86_64
  2019-05-10 21:55 [Buildroot] [Bug 11866] New: iniramfs file system fails to boot using Grub on EFI x86_64 bugzilla at busybox.net
                   ` (7 preceding siblings ...)
  2020-04-25 12:10 ` bugzilla at busybox.net
@ 2020-04-27  5:27 ` bugzilla at busybox.net
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2020-04-27  5:27 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11866

--- Comment #8 from Timo Ketola <timo.ketola@exertus.fi> ---
Great, thanks all!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-04-27  5:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-10 21:55 [Buildroot] [Bug 11866] New: iniramfs file system fails to boot using Grub on EFI x86_64 bugzilla at busybox.net
2019-05-10 22:00 ` [Buildroot] [Bug 11866] " bugzilla at busybox.net
2019-05-11 15:50 ` bugzilla at busybox.net
2019-05-13 13:11 ` bugzilla at busybox.net
2020-03-05  8:02 ` bugzilla at busybox.net
2020-04-24  6:33 ` bugzilla at busybox.net
2020-04-25  1:55 ` bugzilla at busybox.net
2020-04-25  7:40 ` bugzilla at busybox.net
2020-04-25 12:10 ` bugzilla at busybox.net
2020-04-27  5:27 ` bugzilla at busybox.net

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.