[Bug 1174166] New: Leap15.2 installed not detected by petitboot on PowerPC baremetal
http://bugzilla.opensuse.org/show_bug.cgi?id=1174166 Bug ID: 1174166 Summary: Leap15.2 installed not detected by petitboot on PowerPC baremetal Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: normand@linux.vnet.ibm.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- Created attachment 839724 --> http://bugzilla.opensuse.org/attachment.cgi?id=839724&action=edit pb-discover.log Leap15.2 installed not detected by petitboot on PowerPC baremetal I did a Leap15.2 install on a Habanero PowerPC machine after successful install and reboot, petitboot failed as per pb-discover.log === extract diag/petitboot/pb-discover.log [11:49:32] Snapshot successfully created for sda2 [11:49:32] mounting device /dev/sda2 read-only [11:49:32] trying parsers for sda2 [11:49:32] parse error: 241('{'): syntax error, unexpected '{', expecting elif or else or fi === I am adding in attachment the pb-discover.log and will do also the grub.cfg may be a grub2 error generating the grub.cfg -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174166 http://bugzilla.opensuse.org/show_bug.cgi?id=1174166#c1 --- Comment #1 from Michel Normand <normand@linux.vnet.ibm.com> --- Created attachment 839725 --> http://bugzilla.opensuse.org/attachment.cgi?id=839725&action=edit grub.cfg this grub.cfg is the one I retrieved from /var/petitboot/mnt/dev/sda2/boot/grub2/grub.cfg so the grub.cfg previously generated at install time. === extract of grub.cfg ### BEGIN /etc/grub.d/95_textmode ### if [ "${grub_platform}" = "efi" ]; then # On EFI systems we can only have graphics *or* serial, so allow the user # to switch between the two hiddenentry 'Text mode' --hotkey 't' { <== this is failing line 241 set textmode=true terminal_output console } fi ### END /etc/grub.d/95_textmode ### === -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174166 http://bugzilla.opensuse.org/show_bug.cgi?id=1174166#c3 --- Comment #3 from Michel Normand <normand@linux.vnet.ibm.com> --- Current firmware of my Habanero machine (8348-21C) do match what is provided as last version on support/fixcentral. === $lsmcode Version of System Firmware : Product Name : OpenPOWER Firmware Product Version : IBM-habanero-OP8_v1.12_2.96 Product Extra : op-build-v2.3-5-g98aa884 Product Extra : skiboot-v6.3.1 Product Extra : bmc-firmware-version-2.16 Product Extra : occ-p8-a2856b7 Product Extra : hostboot-p8-c893515-pd6f049d Product Extra : buildroot-2019.02.1-16-ge01dcd0 Product Extra : capp-ucode-p9-dd2-v4 Product Extra : machine-xml-c3998a5 Product Extra : hostboot-binaries-hw041519a.opv23 Product Extra : petitboot-v1.10.3 Product Extra : linux-5.0.7-openpower1-p8e31f00 === -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174166 http://bugzilla.opensuse.org/show_bug.cgi?id=1174166#c4 --- Comment #4 from Michel Normand <normand@linux.vnet.ibm.com> --- I assume problem source is correction of bug https://bugzilla.opensuse.org/show_bug.cgi?id=1164385 "RPi3: no grub menu on serial console" with pr https://build.opensuse.org/request/show/784300 that added runtime check. Rather than to make changes in petitboot firmware, I would suggest to modify grub2.spec to not install /etc/grub.d/95_textmode for PowerPC. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174166 Michel Normand <normand@linux.vnet.ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fvogt@suse.com Component|Installation |Bootloader Assignee|coolo@suse.com |mchang@suse.com QA Contact|jsrain@suse.com |qa-bugs@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174166 http://bugzilla.opensuse.org/show_bug.cgi?id=1174166#c5 --- Comment #5 from Fabian Vogt <fvogt@suse.com> --- (In reply to Michel Normand from comment #4)
It appears hiddenentry is a downstream feature only, sigh: https://build.opensuse.org/package/view_file/openSUSE:Factory/grub2/grub2-Ad... It is still a bug in the petitboot parser though, as grub2 accepts {} for everything, even "true {true}" is valid. It's treated like quotes, it continues until the end is found and just treats it as arguments. I agree that not installing 95_textmode on PowerPC is a good workaround for the time being. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174166 http://bugzilla.opensuse.org/show_bug.cgi?id=1174166#c6 Michel Normand <normand@linux.vnet.ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lubos.kocman@suse.com, | |mchang@suse.com Flags| |needinfo?(mchang@suse.com) --- Comment #6 from Michel Normand <normand@linux.vnet.ibm.com> --- The bypass in bootloader has been accepted for TW with https://build.opensuse.org/request/show/821317 * I need same correction in Leap15.2 and Jump. * Is this bug sufficient to track correction for those two releases ? or do I need to create another bug ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174166 Michel Normand <normand@linux.vnet.ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174166 Michel Normand <normand@linux.vnet.ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|Leap 15.2 |Leap 15.3 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174166 http://bugzilla.opensuse.org/show_bug.cgi?id=1174166#c7 --- Comment #7 from Michel Normand <normand@linux.vnet.ibm.com> --- (In reply to Michel Normand from comment #6)
new sr SLE15-SP2:Upate: https://build.opensuse.org/request/show/834842 pending review. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174166 Oliver Kurz <okurz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |okurz@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174166 http://bugzilla.opensuse.org/show_bug.cgi?id=1174166#c8 --- Comment #8 from Oliver Kurz <okurz@suse.com> --- This bug seems to affect the openQA infrastructure for both openSUSE as well as SUSE internal development, see https://progress.opensuse.org/issues/68053 for details. We have a applied a temporary workaround. I see the request https://build.opensuse.org/request/show/834842 pending for 2 months. I hope someone can address that before we run into further problems. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174166 http://bugzilla.opensuse.org/show_bug.cgi?id=1174166#c13 Michel Normand <normand@linux.vnet.ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #13 from Michel Normand <normand@linux.vnet.ibm.com> --- I am closing this bug as requested change now available in Leap15.3 source code https://build.opensuse.org/package/view_file/openSUSE:Leap:15.3/grub2/grub2.... Seems no strong request to have it solved for already GA Leap 15.2 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1174166 http://bugzilla.opensuse.org/show_bug.cgi?id=1174166#c14 --- Comment #14 from Oliver Kurz <okurz@suse.com> --- @mnormand as commented in https://bugzilla.opensuse.org/show_bug.cgi?id=1174166#c8 this is also affecting us, e.g. our openSUSE Leap 15.2 PowerPC openQA worker machines. The patch in grub seems to be simple enough so that we could apply that as maintenance update for SLE and/or Leap as well. Trying my luck with https://build.opensuse.org/request/show/882581 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com