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.

Bug 1979241

Summary: ERROR: installing 'vmcp'
Product: Red Hat Enterprise Linux 9 Reporter: Thomas Huth <thuth>
Component: s390utilsAssignee: Dan Horák <dhorak>
Status: CLOSED DUPLICATE QA Contact: Vilém Maršík <vmarsik>
Severity: low Docs Contact:
Priority: medium    
Version: 9.0CC: dhorak, dracut-maint-list, dtardon, jwiedman, rvr, smitterl
Target Milestone: betaFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-05 08:12:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thomas Huth 2021-07-05 10:45:45 UTC
Description of problem:
When running dracut on a freshly installed KVM guest on s390x, I've ran into this error message:

# dracut -f --add-drivers "virtio-scsi"  /boot/initramfs-5.13.0-0.rc7.51.el9.s390x.img 5.13.0-0.rc7.51.el9.s390x
cat: /sys/power/resume: No such file or directory
dracut-install: ERROR: installing 'vmcp'
dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.6upyOI/initramfs -a chzdev lszdev vmcp

Version-Release number of selected component (if applicable):
dracut-055-1.el9.s390x

How reproducible:
100%

Steps to Reproduce:
dracut -f --add-drivers "virtio-scsi"  /boot/initramfs-5.13.0-0.rc7.51.el9.s390x.img 5.13.0-0.rc7.51.el9.s390x

Actual results:
dracut-install: ERROR: installing 'vmcp'

Expected results:
No error message

Additional info:
The error about the missing vmcp goes away after installing the "s390utils-base" package which contains the "vmcp" program. But since that seems to be optional (it was not installed by default here), I think dracut should check for the availability of "vmcp" before trying to install it.

Comment 1 Dan Horák 2021-07-07 10:13:13 UTC
The error is coming from the 95zdev module, which is part of s390utils, switching ...

https://github.com/ibm-s390-linux/s390-tools/blob/master/zdev/dracut/95zdev/module-setup.sh#L43

Comment 2 Dan Horák 2021-11-05 08:12:39 UTC

*** This bug has been marked as a duplicate of bug 1931287 ***