dpdk 17.11.6-0~ubuntu18.04.1 ADT test failure with linux-hwe-edge 5.3.0-19.20~18.04.2

Bug #1849571 reported by Khaled El Mously
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpdk (Ubuntu)
Invalid
Medium
Unassigned
Bionic
In Progress
Medium
Marcelo Cerri
tags: added: kernel-adt-failure
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Using https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3.7/ I found the error to be:
make[1]: Entering directory '/usr/src/linux-headers-5.3.7-050307-generic'
  CC [M] /var/lib/dkms/dpdk-rte-kni/17.11.6/build/kni_misc.o
  CC [M] /var/lib/dkms/dpdk-rte-kni/17.11.6/build/kni_net.o
/var/lib/dkms/dpdk-rte-kni/17.11.6/build/kni_net.c:40:10: fatal error: kni_fifo.h: No such file or directory
 #include <kni_fifo.h>
          ^~~~~~~~~~~~
compilation terminated.
scripts/Makefile.build:280: recipe for target '/var/lib/dkms/dpdk-rte-kni/17.11.6/build/kni_net.o' failed
make[2]: *** [/var/lib/dkms/dpdk-rte-kni/17.11.6/build/kni_net.o] Error 1
Makefile:1626: recipe for target '_module_/var/lib/dkms/dpdk-rte-kni/17.11.6/build' failed
make[1]: *** [_module_/var/lib/dkms/dpdk-rte-kni/17.11.6/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.3.7-050307-generic'
/usr/share/dpdk//mk/rte.module.mk:78: recipe for target 'rte_kni.ko' failed
make: *** [rte_kni.ko] Error 2

Note: 4.15.0-67-generic and 5.0.0-32-generic work.

Changed in dpdk (Ubuntu):
status: New → Confirmed
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

There are no fixes ustream that I'd have found, but they dropped rte_kni support.
No fixes int he stable series either it seems.

Changed in dpdk (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

This is odd, as the including file and the include are both from kni and they are there:

root@b:~/5.3# vim /var/lib/dkms/dpdk-rte-kni/17.11.6/build/kni_net.c
root@b:~/5.3# vim /var/lib/dkms/dpdk-rte-kni/17.11.6/build/kni_fifo.h

This is either super trivial (paths) or weird (build system changes)

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

As expected it was just a path.
Submitted upstream for ack there (on the stable series).

=> http://mails.dpdk.org/archives/stable/2019-October/018040.html
=> http://mails.dpdk.org/archives/stable/2019-October/018041.html

Interesting is that I don't see any different in DPDK 18.11.x code but that works with 5.3.7-050307.201910180652 despit the kni_netc doing the same include and no diff in the makefile - might even be differences in DKMS.

Anyway - we only need a fix for 17.11.x in Ubuntu it seems.
Waiting on upstreams comment on this thou.

Changed in dpdk (Ubuntu Bionic):
status: New → Triaged
importance: Undecided → Medium
Changed in dpdk (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

My changed got accepted into 17.11.7, but we need to wait until that releases for an MRE.

Marcelo Cerri (mhcerri)
description: updated
Changed in dpdk (Ubuntu Bionic):
status: Triaged → In Progress
assignee: nobody → Marcelo Cerri (mhcerri)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.