Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
ISO generated by mkksiso fails to boot in KVM on ppc64le:
[root@ibm-p9b-11 ~]# echo vnc > sample.ks
[root@ibm-p9b-11 ~]# mkksiso sample.ks boot.iso /var/lib/libvirt/images/ks_boot.iso
Failed to set locale, defaulting to C.UTF-8
INFO:Running... mount -o loop /root/boot.iso /tmp/lorax.imgutils.h53ab49d
INFO:mount: /tmp/lorax.imgutils.h53ab49d: WARNING: device write-protected, mounted read-only.
INFO:Running... isoinfo -d -i /root/boot.iso
INFO:CD-ROM is in ISO 9660 format
INFO:System id: PPC
INFO:Volume id: RHEL-8-6-0-BaseOS-ppc64le
INFO:Volume set id: 8.6
INFO:Publisher id:
INFO:Data preparer id:
INFO:Application id: Red Hat Enterprise Linux 8.6
INFO:Copyright File id:
INFO:Abstract File id:
INFO:Bibliographic File id:
INFO:Volume set size is: 1
INFO:Volume set sequence number is: 1
INFO:Logical block size is: 2048
INFO:Volume size is: 399255
INFO:Joliet with UCS level 3 found
INFO:Rock Ridge signatures version 1 found
INFO:Volume Id = RHEL-8-6-0-BaseOS-ppc64le
INFO:Using mkisofs to create the new iso
WARNING:No isolinux/isolinux.cfg file found
WARNING:No EFI directory file found
WARNING:No images/generic.prm file found
INFO:grafts = [('/tmp/mkksiso-8z4gmahm/boot', 'boot'), ('/tmp/mkksiso-8z4gmahm/images', 'images'), ('/tmp/mkksiso-8z4gmahm/ppc', 'ppc'), ('/root/sample.ks', 'sample.ks')]
Warning: creating filesystem that does not conform to ISO-9660.
CHRP boot partition 1
1.26% done, estimate finish Tue Feb 1 12:41:44 2022
2.51% done, estimate finish Tue Feb 1 12:41:44 2022
...
96.43% done, estimate finish Tue Feb 1 12:41:45 2022
97.68% done, estimate finish Tue Feb 1 12:41:45 2022
Total extents actually written (inc HFS) = 399126
(Size of ISO volume = 392938, HFS extra = 6188)
Total translation table size: 51786
Total rockridge attributes bytes: 21075
Total directory bytes: 40960
Path table size(bytes): 98
Max brk space used 60000
399276 extents written (779 MB)
INFO:Running... umount /tmp/lorax.imgutils.h53ab49d
[root@ibm-p9b-11 ~]#
[root@ibm-p9b-11 ~]# virt-install --cdrom /var/lib/libvirt/images/ks_boot.iso --name test --memory 2048 --disk size=10 --graphics none
WARNING CDROM media does not print to the text console by default, so you likely will not see text install output. You might want to use --location. See the man page for examples of using --location with CDROM media
Starting install...
Allocating 'test-2.qcow2' | 10 GB 00:00:00
Running text console command: virsh --connect qemu:///system console test
setlocale: No such file or directory
Connected to domain 'test'
Escape character is ^] (Ctrl + ])
No NVRAM common partition, re-initializing...
Scanning USB
XHCI: Initializing
Using default console: /vdevice/vty@30000000
Welcome to Open Firmware
Copyright (c) 2004, 2017 IBM Corporation All rights reserved.
This program and the accompanying materials are made available
under the terms of the BSD License available at
http://www.opensource.org/licenses/bsd-license.php
Trying to load: from: /pci@800000020000000/scsi@3/disk@100000000000000 ... failed to load CHRP boot loader.failed to load CHRP boot loader.
E3404: Not a bootable device!
Trying to load: from: /pci@800000020000000/scsi@5 ...
E3404: Not a bootable device!
E3407: Load failed
Type 'boot' and press return to continue booting the system.
Type 'reset-all' and press return to reboot the system.
Ready!
0 >
Version-Release number of selected component (if applicable):
lorax-28.14.64-1.el8
How reproducible:
Always on ppc64le
Steps to Reproduce:
1. see above
Actual results:
VM fails to boot from the generated ISO
Expected results:
VM starts successfully from the generated ISO, installation starts according to the included kickstart file.
This fixes it (tested on a ppc64le system running RHEL 8.6):
https://github.com/weldr/lorax/pull/1211
Note that if xorrisofs is installed it works just fine, so if you want to delay this there is a workaround.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (lorax bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2022:1785
Description of problem: ISO generated by mkksiso fails to boot in KVM on ppc64le: [root@ibm-p9b-11 ~]# echo vnc > sample.ks [root@ibm-p9b-11 ~]# mkksiso sample.ks boot.iso /var/lib/libvirt/images/ks_boot.iso Failed to set locale, defaulting to C.UTF-8 INFO:Running... mount -o loop /root/boot.iso /tmp/lorax.imgutils.h53ab49d INFO:mount: /tmp/lorax.imgutils.h53ab49d: WARNING: device write-protected, mounted read-only. INFO:Running... isoinfo -d -i /root/boot.iso INFO:CD-ROM is in ISO 9660 format INFO:System id: PPC INFO:Volume id: RHEL-8-6-0-BaseOS-ppc64le INFO:Volume set id: 8.6 INFO:Publisher id: INFO:Data preparer id: INFO:Application id: Red Hat Enterprise Linux 8.6 INFO:Copyright File id: INFO:Abstract File id: INFO:Bibliographic File id: INFO:Volume set size is: 1 INFO:Volume set sequence number is: 1 INFO:Logical block size is: 2048 INFO:Volume size is: 399255 INFO:Joliet with UCS level 3 found INFO:Rock Ridge signatures version 1 found INFO:Volume Id = RHEL-8-6-0-BaseOS-ppc64le INFO:Using mkisofs to create the new iso WARNING:No isolinux/isolinux.cfg file found WARNING:No EFI directory file found WARNING:No images/generic.prm file found INFO:grafts = [('/tmp/mkksiso-8z4gmahm/boot', 'boot'), ('/tmp/mkksiso-8z4gmahm/images', 'images'), ('/tmp/mkksiso-8z4gmahm/ppc', 'ppc'), ('/root/sample.ks', 'sample.ks')] Warning: creating filesystem that does not conform to ISO-9660. CHRP boot partition 1 1.26% done, estimate finish Tue Feb 1 12:41:44 2022 2.51% done, estimate finish Tue Feb 1 12:41:44 2022 ... 96.43% done, estimate finish Tue Feb 1 12:41:45 2022 97.68% done, estimate finish Tue Feb 1 12:41:45 2022 Total extents actually written (inc HFS) = 399126 (Size of ISO volume = 392938, HFS extra = 6188) Total translation table size: 51786 Total rockridge attributes bytes: 21075 Total directory bytes: 40960 Path table size(bytes): 98 Max brk space used 60000 399276 extents written (779 MB) INFO:Running... umount /tmp/lorax.imgutils.h53ab49d [root@ibm-p9b-11 ~]# [root@ibm-p9b-11 ~]# virt-install --cdrom /var/lib/libvirt/images/ks_boot.iso --name test --memory 2048 --disk size=10 --graphics none WARNING CDROM media does not print to the text console by default, so you likely will not see text install output. You might want to use --location. See the man page for examples of using --location with CDROM media Starting install... Allocating 'test-2.qcow2' | 10 GB 00:00:00 Running text console command: virsh --connect qemu:///system console test setlocale: No such file or directory Connected to domain 'test' Escape character is ^] (Ctrl + ]) No NVRAM common partition, re-initializing... Scanning USB XHCI: Initializing Using default console: /vdevice/vty@30000000 Welcome to Open Firmware Copyright (c) 2004, 2017 IBM Corporation All rights reserved. This program and the accompanying materials are made available under the terms of the BSD License available at http://www.opensource.org/licenses/bsd-license.php Trying to load: from: /pci@800000020000000/scsi@3/disk@100000000000000 ... failed to load CHRP boot loader.failed to load CHRP boot loader. E3404: Not a bootable device! Trying to load: from: /pci@800000020000000/scsi@5 ... E3404: Not a bootable device! E3407: Load failed Type 'boot' and press return to continue booting the system. Type 'reset-all' and press return to reboot the system. Ready! 0 > Version-Release number of selected component (if applicable): lorax-28.14.64-1.el8 How reproducible: Always on ppc64le Steps to Reproduce: 1. see above Actual results: VM fails to boot from the generated ISO Expected results: VM starts successfully from the generated ISO, installation starts according to the included kickstart file.