Bug 2209760
Summary: | Cannot boot Fedora installed to a GPT-labeled disk on ppc64le qemu (with SLOF) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> | ||||
Component: | SLOF | Assignee: | Fedora Virtualization Maintainers <virt-maint> | ||||
Status: | ASSIGNED --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 42 | CC: | bugzilla, crobinso, dan, efintzel, orion, pbonzini, rjones, thuth, virt-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | ppc64le | ||||||
OS: | Linux | ||||||
Whiteboard: | openqa | ||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | Type: | --- | |||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1071880 | ||||||
Attachments: |
|
Description
Adam Williamson
2023-05-24 16:46:06 UTC
Additional note here: the change that resulted in us using GPT labels on ppc64le installs, arguably, should not have done so, since it's titled "Install Using GPT on x86_64 BIOS by Default". I added some notes on what exactly went on there in https://bugzilla.redhat.com/show_bug.cgi?id=2092091#c6 . Created attachment 1966649 [details]
screenshot of the boot failure
Sorry, forgot to note: the reason some tests that install to a pre-created disk image work is that those pre-created disk images happen to use msdos disk labels, not GPT ones. I haven't tested, but I bet if I tweaked createhdds (the tool that creates the images) to use GPT disk labels and re-generated the images, those tests would start failing too. https://github.com/storaged-project/blivet/pull/1132 and https://github.com/rhinstaller/anaconda/pull/4795 would avoid this by going back to MBR labels on ppc64le installs. Arguably this would still be a bug/missing feature in SLOF, but it'd be much less important. FWIW, SLOF should have support for GPT since 2013: https://github.com/aik/SLOF/commit/a51e46c2384deb95c41b0ff6c3025724d5d6cc08 ... but it's likely not tested very well, so I'd expect a bug in SLOF here. Just to let you know an install on a GPT disk on a P9 or P10 LPAR is working as expected, and the system is functional. Here is an example of the today Rawhide ppc64le Server image on a P9 LPAR. Information from fdisk ---------------------- Disk /dev/sda: 20 GiB, 21474836480 bytes, 5242880 sectors Disk model: VDASD Units: sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical): 4096 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: CA078465-8FB7-4BA2-82B7-4D479CB71CDE Device Start End Sectors Size Type /dev/sda1 256 2815 2560 10M PowerPC PReP boot /dev/sda2 2816 264959 262144 1G Linux filesystem /dev/sda3 264960 5242622 4977663 19G Linux filesystem Disk layout from lsblk ---------------------- NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS PARTTYPE FSTYPE sda 8:0 0 20G 0 disk ├─sda1 │ 8:1 0 10M 0 part 9e1a2d38-c612-4316-aa26-8b49521e5a8b ├─sda2 │ 8:2 0 1G 0 part /boot 0fc63daf-8483-4772-8e79-3d69d8477de4 ext2 └─sda3 8:3 0 19G 0 part / 0fc63daf-8483-4772-8e79-3d69d8477de4 ext4 thuth: yeah, there's definitely *some* support there - I linked to some later commits that add some stuff missing from that original implementation - but I couldn't find any clear indication of how full the implementation is, what kinda disk layouts it's intended to work with, what it was tested on etc. Good news: we now have newer anaconda with the changes tagged in Rawhide, and this is confirmed worked around - we're now getting MBR labels on ppc64le installs by default, so the openQA tests don't all fail any more! https://openqa.stg.fedoraproject.org/tests/overview?distri=fedora&version=Rawhide&build=Fedora-Rawhide-20230616.n.0&groupid=3 the underlying bug still exists and should ideally be addressed, though, so keeping this open but dropping the severity. This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39. This message is a reminder that Fedora Linux 39 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '39'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 39 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. SLOF has barely changed since this bug was filed and the changes don't look relevant, so this is likely still valid. This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42. |