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: beta   
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 ***