Skip to content

Fix installation issues on ppc64le

Ismael Luceno grub-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 2 repliesSuperseded

Changes in v3 from the cover letter

* Removed point of no return for i386
* Check for update_nvram before opening /dev/nvarm Changes since v1:
* Check /dev/nvram early
* Removed loading of the nvram module
* Added points of no return

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2grub-install: Ensure a functional /dev/nvramutil/grub-install.c+24 -00 replies
2/2grub-install: Add point of no return for IEEE1275 on powerpcutil/grub-install.c+1 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDaniel Kiper
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] Fix installation issues on ppc64le

If the nvram device is non-functional, e.g. because the nvram module isn't loaded and it's file been removed from the filesystem, thus can't be loaded, the installation will be attempted but the system will be left in an unbootable state.

The boot process shows:

Welcome to GRUB!

error: ../../grub-core/kern/dl.c:380:symbol `grub_disk_get_size' not found. Entering rescue mode...
grub rescue>

Introduce a point of no return after embedding grub in the PReP partition, and make sure /dev/nvram is functional or fail early.

Ismael Luceno (2):
grub-install: Ensure a functional /dev/nvram
grub-install: Add point of no return for IEEE1275 on powerpc

 util/grub-install.c | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Changes since v2:
* Removed point of no return for i386
* Check for update_nvram before opening /dev/nvarm Changes since v1:
* Check /dev/nvram early
* Removed loading of the nvram module
* Added points of no return

Signature · 1 line
2.37.3