I'm not convinced anything went wrong in the build of DPDK.  The build
didn't indicate any problems.  But I wouldn't be surprised to find out that
things aren't being installed where they are expected.

In any case, I realized a mistake in my original post which accounts for
the discrepancy in the location of the library file mentioned in the
error.  I had been fooling with the uhd.conf setting for "dkdk_driver"
which I had changed on one system but not the other.

And most recently, I accidentally commented out this setting completely and
things seem to be better.  The new error is the following.  Not sure why
I'm getting this error message.  Suggestions welcome.

EAL: Detected 8 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
[ERROR] [DPDK] No available DPDK devices (ports) found!
EAL: FATAL: already called initialization.
EAL: already called initialization.


On Mon, Feb 1, 2021 at 6:23 PM Marcus D. Leech via USRP-users <
[email protected]> wrote:

> On 02/01/2021 06:15 PM, Rob Kossler via USRP-users wrote:
>
> Hi,
> I have 2 systems (each with host PC and N310) for which I'm having similar
> issues in trying to get DPDK up and running.  After going through the UHD
> Manual DPDK instructions and DPDK app note, I am past the point at which
> the "dpdk-devbind" seems to work fine, but I get the following error when I
> run benchmark_rate.
>
> I am running Ubuntu 20.04.LTS and installed DPDK 18.11.11 by
> downloading/building from source. I built UHD (latest 4.0) from source and
> it seemed happy finding DPDK and building with DPDK support. It seems like
> a compatibility issue, but I can't figure it out. Any suggestions?
> Rob
>
> // *** this is the error on System 1
> EAL: /usr/local/lib/libdpdk.so: invalid ELF header
> EAL: FATAL: Cannot init plugins
> EAL: Cannot init plugins
>
> // this is the error on System 2 (nearly the same but different library)
> EAL:
> /usr/local/share/dpdk/x86_64-native-linuxapp-gcc/lib//librte_pmd_ark.a:
> invalid ELF header
> EAL: FATAL: Cannot init plugins
> EAL: Cannot init plugins
>
>
> This would seem to indicate that something very horrible went wrong in the
> build or DPDK--creating ELF headers that aren't correct for the
>  type of hardware they're being used on.
>
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to