Comment 14 for bug 1814919

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Using 5.0 kernel from Mainline at [1] in containers of Bionic and Cosmic I re-installed the dkms module for rte-kni.

# apt install --reinstall dpdk-rte-kni-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 302 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-proposed/universe amd64 dpdk-rte-kni-dkms amd64 17.11.5-0~ubuntu18.04.1 [302 kB]
Fetched 302 kB in 0s (983 kB/s)
(Reading database ... 152174 files and directories currently installed.)
Preparing to unpack .../dpdk-rte-kni-dkms_17.11.5-0~ubuntu18.04.1_amd64.deb ...

-------- Uninstall Beginning --------
Module: dpdk-rte-kni
Version: 17.11.5
Kernel: 4.15.0-47-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

rte_kni.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.15.0-47-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.

-------- Uninstall Beginning --------
Module: dpdk-rte-kni
Version: 17.11.5
Kernel: 5.0.0-050000-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

rte_kni.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.0.0-050000-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.

------------------------------
Deleting module version: 17.11.5
completely from the DKMS tree.
------------------------------
Done.
Unpacking dpdk-rte-kni-dkms (17.11.5-0~ubuntu18.04.1) over (17.11.5-0~ubuntu18.04.1) ...
Setting up dpdk-rte-kni-dkms (17.11.5-0~ubuntu18.04.1) ...
Loading new dpdk-rte-kni-17.11.5 DKMS files...
It is likely that 4.18.0-15-generic belongs to a chroot's host
Building for 5.0.0-050000-generic
Building initial module for 5.0.0-050000-generic
Done.

rte_kni:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.0.0-050000-generic/updates/dkms/

depmod...

DKMS: install completed.

Thereby kernel 5.0.0-050000.201903032031 vs DPDK 17.11.5-0~ubuntu18.04.1/17.11.5-0~ubuntu18.10.1 working. No build error with kernel 5.0 anymore - setting verified

[1]: https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D