Leapp preupgrade getting "Inhibitor: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed."
Environment
- Red Hat Enterprise Linux 7 (RHEL 7)
- Red Hat Enterprise Linux 8 (RHEL 8)
- Leapp Upgrade Tool
Issue
-
Getting upgrade inhibitor when performing
leapp preupgrade --target 8.x:Inhibitor: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed. -
As per
/var/log/leapp/leapp-report.txtfile:Risk Factor: high (inhibitor) Title: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed. Summary: Support for the following RHEL 7 device drivers has been removed in RHEL 8: - floppy - pata_acpi
Resolution
Support for these device drivers has been removed in RHEL 8. Remove these drivers before proceeding with the upgrade:
$ sudo rmmod floppy pata_acpi
or
$ sudo modprobe -r floppy pata_acpi
Mostly, the Content from lore.kernel.org is not included.pata_acpi driver might not be in use even though the driver is loaded. However, if the hardware has a legacy PATA controller that works with the driver and drives attached to the controller, please consider migrating to modern hardware such as SATA or SCSI/SAS controllers.
Root Cause
- Support for a few device drivers has been removed in RHEL 8.
Check the official documentation to see the list of removed drivers. pata_acpidriver which is provided by the installedkernelpackage will be loaded in RHEL7 when any IDE controller is connected even if the controller cannot be controlled by the driver since its alias is any IDE class storage.
Diagnostic Steps
-
Verify the leapp report file
/var/log/leapp/leapp-report.txtand check the risk factor message:Risk Factor: high (inhibitor) Title: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed. Summary: Support for the following RHEL 7 device drivers has been removed in RHEL 8: - floppy - pata_acpi -
And check that the module is really not in use:
$ lsmod | grep floppy floppy 69432 0 $ lsmod | grep pata_acpi pata_acpi 13053 0
$ lspci -nnvv
[...]
00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01) (prog-if 8a [ISA Compatibility mode controller,
supports both channels switched to PCI native mode, supports bus mastering])
[...]
Kernel driver in use: ata_piix
Kernel modules: ata_piix, pata_acpi, ata_generic
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.