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.
Created attachment 1842343[details]
Screenshot showing the crash
Description of problem:
Trying to automatically install a QEMU/KVM over the network (PXE+HTTP) with RHEL8.5, I see that 60% of the time the switchroot to stage2 fails due to not having the /dev/root device.
In the rd.debug log (see attached), I can see that /dev/loop2 which is the "dmsetup overlay" has EXT4 errors:
[ 28.178773] loop: Write error at byte offset 29511680, length 4096.
[ 28.179856] loop: Write error at byte offset 29515776, length 4096.
[ 28.181013] loop: Write error at byte offset 29519872, length 4096.
[ 28.182207] loop: Write error at byte offset 29523968, length 4096.
[ 28.184361] blk_update_request: I/O error, dev loop2, sector 57640 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[ 28.185819] blk_update_request: I/O error, dev loop2, sector 57648 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[ 28.187940] blk_update_request: I/O error, dev loop2, sector 57656 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
[ 28.189591] blk_update_request: I/O error, dev loop2, sector 57664 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0
...
Switchroot to /dev/loop2 then fails and we get the emergency prompt:
Warning: /dev/root does not exist
Entering emergency mode. Exit the shell to continue.
...
This is new with RHEL8.5.
I started 20 times the installation of the same system with RHEL8.4 and this was always a success.
With RHEL8.5, the failure happened ~60% of the time (runs 1, 2, 3, 4 and 7 were a success, all other failed similarly).
Version-Release number of selected component (if applicable):
RHEL8.5 DVD
How reproducible:
Very easily on my QEMU/KVM (BIOS mode)
Steps to Reproduce:
1. Boot over PXE
Actual results:
Crash as Switch Root to stage2
Expected results:
No crash
Indeed, my bad, I wasn't aware so much memory was needed, and it seems to inflate with minor RHEL8 releases.
I executed 20 runs with 3GB and all seems fine.
Created attachment 1842343 [details] Screenshot showing the crash Description of problem: Trying to automatically install a QEMU/KVM over the network (PXE+HTTP) with RHEL8.5, I see that 60% of the time the switchroot to stage2 fails due to not having the /dev/root device. In the rd.debug log (see attached), I can see that /dev/loop2 which is the "dmsetup overlay" has EXT4 errors: [ 28.178773] loop: Write error at byte offset 29511680, length 4096. [ 28.179856] loop: Write error at byte offset 29515776, length 4096. [ 28.181013] loop: Write error at byte offset 29519872, length 4096. [ 28.182207] loop: Write error at byte offset 29523968, length 4096. [ 28.184361] blk_update_request: I/O error, dev loop2, sector 57640 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0 [ 28.185819] blk_update_request: I/O error, dev loop2, sector 57648 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0 [ 28.187940] blk_update_request: I/O error, dev loop2, sector 57656 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0 [ 28.189591] blk_update_request: I/O error, dev loop2, sector 57664 op 0x1:(WRITE) flags 0x800 phys_seg 1 prio class 0 ... Switchroot to /dev/loop2 then fails and we get the emergency prompt: Warning: /dev/root does not exist Entering emergency mode. Exit the shell to continue. ... This is new with RHEL8.5. I started 20 times the installation of the same system with RHEL8.4 and this was always a success. With RHEL8.5, the failure happened ~60% of the time (runs 1, 2, 3, 4 and 7 were a success, all other failed similarly). Version-Release number of selected component (if applicable): RHEL8.5 DVD How reproducible: Very easily on my QEMU/KVM (BIOS mode) Steps to Reproduce: 1. Boot over PXE Actual results: Crash as Switch Root to stage2 Expected results: No crash