View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001353 | channel: elrepo/el8 | kmod-nvidia | public | 2023-05-18 13:16 | 2023-05-19 15:21 |
Reporter | giacomob | Assigned To | pperry | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Summary | 0001353: kmod-nvidia for RHEL 8.8 | ||||
Description | Dracut fails buiding initramfs for RHEL 8.8 kernel 4.18.0-477.10.1: Running transaction Preparing : 1/1 Running scriptlet: kernel-core-4.18.0-477.10.1.el8_8.x86_64 1/1 Reinstalling : kernel-core-4.18.0-477.10.1.el8_8.x86_64 1/14 Running scriptlet: kernel-core-4.18.0-477.10.1.el8_8.x86_64 1/14 Reinstalling : kernel-modules-4.18.0-477.10.1.el8_8.x86_64 2/14 Running scriptlet: kernel-modules-4.18.0-477.10.1.el8_8.x86_64 2/14 Reinstalling : kernel-tools-libs-4.18.0-477.10.1.el8_8.x86_64 3/14 Running scriptlet: kernel-tools-libs-4.18.0-477.10.1.el8_8.x86_64 3/14 Reinstalling : kernel-tools-4.18.0-477.10.1.el8_8.x86_64 4/14 Running scriptlet: kernel-tools-4.18.0-477.10.1.el8_8.x86_64 4/14 Reinstalling : kernel-4.18.0-477.10.1.el8_8.x86_64 5/14 Reinstalling : kernel-headers-4.18.0-477.10.1.el8_8.x86_64 6/14 Reinstalling : kernel-devel-4.18.0-477.10.1.el8_8.x86_64 7/14 Running scriptlet: kernel-devel-4.18.0-477.10.1.el8_8.x86_64 7/14 Cleanup : kernel-4.18.0-477.10.1.el8_8.x86_64 8/14 Running scriptlet: kernel-4.18.0-477.10.1.el8_8.x86_64 8/14 Cleanup : kernel-headers-4.18.0-477.10.1.el8_8.x86_64 9/14 Cleanup : kernel-devel-4.18.0-477.10.1.el8_8.x86_64 10/14 Running scriptlet: kernel-tools-4.18.0-477.10.1.el8_8.x86_64 11/14 Cleanup : kernel-tools-4.18.0-477.10.1.el8_8.x86_64 11/14 Running scriptlet: kernel-tools-4.18.0-477.10.1.el8_8.x86_64 11/14 Cleanup : kernel-modules-4.18.0-477.10.1.el8_8.x86_64 12/14 Running scriptlet: kernel-modules-4.18.0-477.10.1.el8_8.x86_64 12/14 Running scriptlet: kernel-core-4.18.0-477.10.1.el8_8.x86_64 13/14 Cleanup : kernel-core-4.18.0-477.10.1.el8_8.x86_64 13/14 Running scriptlet: kernel-core-4.18.0-477.10.1.el8_8.x86_64 13/14 Cleanup : kernel-tools-libs-4.18.0-477.10.1.el8_8.x86_64 14/14 Running scriptlet: kernel-tools-libs-4.18.0-477.10.1.el8_8.x86_64 14/14 Running scriptlet: kernel-core-4.18.0-477.10.1.el8_8.x86_64 14/14 dracut-install: Failed to find module 'nvidia' dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.rDvnw4/initramfs -N nouveau --kerneldir /lib/modules/4.18.0-477.10.1.el8_8.x86_64/ -m nvidia Running scriptlet: kernel-modules-4.18.0-477.10.1.el8_8.x86_64 14/14 Running scriptlet: kernel-tools-libs-4.18.0-477.10.1.el8_8.x86_64 14/14 Verifying : kernel-devel-4.18.0-477.10.1.el8_8.x86_64 1/14 Verifying : kernel-devel-4.18.0-477.10.1.el8_8.x86_64 2/14 Verifying : kernel-tools-4.18.0-477.10.1.el8_8.x86_64 3/14 Verifying : kernel-tools-4.18.0-477.10.1.el8_8.x86_64 4/14 Verifying : kernel-core-4.18.0-477.10.1.el8_8.x86_64 5/14 Verifying : kernel-core-4.18.0-477.10.1.el8_8.x86_64 6/14 Verifying : kernel-4.18.0-477.10.1.el8_8.x86_64 7/14 Verifying : kernel-4.18.0-477.10.1.el8_8.x86_64 8/14 Verifying : kernel-headers-4.18.0-477.10.1.el8_8.x86_64 9/14 Verifying : kernel-headers-4.18.0-477.10.1.el8_8.x86_64 10/14 Verifying : kernel-tools-libs-4.18.0-477.10.1.el8_8.x86_64 11/14 Verifying : kernel-tools-libs-4.18.0-477.10.1.el8_8.x86_64 12/14 Verifying : kernel-modules-4.18.0-477.10.1.el8_8.x86_64 13/14 Verifying : kernel-modules-4.18.0-477.10.1.el8_8.x86_64 14/14 Installed products updated. | ||||
Steps To Reproduce | Update to RHEL 8.8 with kmod-nvidia 525.116.04-1 installed. | ||||
Tags | No tags attached. | ||||
|
@giacomob All packages built for el 8.8 are in the elrepo-testing repository. You can install them by: dnf --enablerepo=elrepo-testing install <package name> They will be moved to the main repository soon. |
|
I have installed the test packages. The kernel module seems to build fine. The initramfs seems to be 5x the size of previous versions. If that expected? I've not rebooted because I am working on a remote system. Thank you. |
|
There's no noticeable increase in size of the nvidia kernel module package, so don't know why your initramfs would be larger. You will need to examine it for changes over previous images. You can use lsinitrd for each kernel, which will show the size of the components and should allow you to determine what has caused the size increase. I don't have an el8 system here, but looking at our RHEL build system, there is no difference in image sizes from el8.7 to el8.8: $ ll /boot/initramfs* -rw-------. 1 root root 111996751 Nov 23 2021 /boot/initramfs-0-rescue-9e267e0e6599424694816852036212d2.img -rw-------. 1 root root 52377649 May 16 09:46 /boot/initramfs-4.18.0-425.13.1.el8_7.x86_64.img -rw-------. 1 root root 52376039 May 16 09:47 /boot/initramfs-4.18.0-425.19.2.el8_7.x86_64.img -rw-------. 1 root root 52382064 May 16 09:46 /boot/initramfs-4.18.0-477.10.1.el8_8.x86_64.img |
|
-rw-------. 1 root root 72469547 Apr 17 16:27 /boot/initramfs-0-rescue-d4b4c80301bf4cd68222ed74071a1d3b.img -rw-------. 1 root root 27809398 May 18 14:00 /boot/initramfs-4.18.0-425.19.2.el8_7.x86_64.img -rw-------. 1 root root 27808490 May 18 14:01 /boot/initramfs-4.18.0-425.3.1.el8.x86_64.img -rw-------. 1 root root 119831466 May 18 14:02 /boot/initramfs-4.18.0-477.10.1.el8_8.x86_64.im Dracut fails to build the initramfs for the older kernel: # dracut -f /boot/initramfs-4.18.0-425.3.1.el8.x86_64.img 4.18.0-425.3.1.el8.x86_64 dracut-install: Failed to find module 'nvidia' dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.J16zKQ/initramfs -N nouveau --kerneldir /lib/modules/4.18.0-425.3.1.el8.x86_64/ -m nvidia # |
|
Yes, the nvidia module is not backward compatible, so the latest release built against the 9.2 kernel is not backward compatible with 9.1 kernels hence the dracut failure you observe. As I mentioned above, you will need to examine the initranfs images you have with lsinitrd to see what is accounting for the increased size. Run the following for each of your initramfs images: lsinitrd -k $(uname -r) and look for what has caused the change in size. |
|
I did not know the new NVidia module was not backward compatible. The driver version seems to be the same. The dracut failure explains the difference in sizes because dracut does not remove the failed attempts to making initramfs for the previous kernels. The kmod package versions are kmod-nvidia-525.116.04-1.el8_7.elrepo.x86_64 and kmod-nvidia-525.116.04-2.el8_8.elrepo.x86_64, so I would speculate there is some build difference. It sounds like it would be possible to use the previous method to build the kernel modules for older kernels, and the new method for the latest kernel; dracut then would not fail building the initramfs and render the previous kernel unusable. I can't say if that is possible or easy, just that it would be nice. I've tested the packages in the elrepo-testing repository and they work as intended I guess. Thank you. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-05-18 13:16 | giacomob | New Issue | |
2023-05-18 13:16 | giacomob | Status | new => assigned |
2023-05-18 13:16 | giacomob | Assigned To | => pperry |
2023-05-18 13:20 | toracat | Note Added: 0009199 | |
2023-05-18 14:30 | giacomob | Note Added: 0009200 | |
2023-05-18 15:22 | pperry | Note Added: 0009201 | |
2023-05-18 16:11 | giacomob | Note Added: 0009202 | |
2023-05-19 03:35 | pperry | Note Added: 0009203 | |
2023-05-19 03:36 | pperry | Note Edited: 0009203 | |
2023-05-19 12:20 | giacomob | Note Added: 0009205 | |
2023-05-19 15:21 | pperry | Status | assigned => resolved |
2023-05-19 15:21 | pperry | Resolution | open => no change required |