LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-08-2023, 04:16 AM   #1
CocoQuestions
LQ Newbie
 
Registered: Aug 2023
Posts: 2

Rep: Reputation: 0
Post An error occurred while loading xdp files on xilinx development board


root@ControlBox:/usr/xxdp# uname -a
Linux ControlBox 5.10.0-xilinx-v2021.1 #1 SMP IRQPIPE Thu Jun 15 08:25:55 UTC 2023 aarch64 GNU/Linux

root@ControlBox:/usr/xxdp# ip -V
ip utility, iproute2-5.8.0

root@ControlBox:/sys/fs# ls -la
total 0
drwxr-xr-x 7 root root 0 Aug 8 04:19 .
dr-xr-xr-x 13 root root 0 Aug 8 06:23 ..
drwxr-xr-x 3 root root 0 Aug 8 05:21 btrfs
dr-xr-xr-x 2 root root 0 Aug 8 05:21 cgroup
drwxr-xr-x 2 root root 0 Aug 8 05:21 ecryptfs
drwxr-xr-x 4 root root 0 Aug 8 05:21 ext4
drwxr-xr-x 3 root root 0 Aug 8 05:21 nfs

when i use iproute2 loading xdp programmer:

error message:

root@ControlBox:/usr/xxdp# ip link set dev eth0 xdp obj xdp_test.o sec xdp verbose

mkdir /sys/fs/bpf failed: Operation not permitted
Continuing without mounted eBPF fs. Too old kernel?

Prog section 'xdp' rejected: Function not implemented (38)!
- Type: 6
- Instructions: 2 (0 over limit)
- License: GPL

Verifier analysis:

Error fetching program/map!
 
Old 08-08-2023, 04:18 AM   #2
CocoQuestions
LQ Newbie
 
Registered: Aug 2023
Posts: 2

Original Poster
Rep: Reputation: 0
Could it be a kernel configuration issue?
 
Old 08-08-2023, 07:21 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,420

Rep: Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339Reputation: 2339
I can't imagine your setup at all.
  • Is some pc involved, as you're seeing output?
  • Does the Xilinx board have the Aarch64 cpu?
  • What are you trying to run xdp on, and why? Can't you use another protocol?
  • What are you trying to achieve here?
  • Is this your university project?
  • Which system (xilinx board or supervisory pc) has the offending network card?
  • Does the kernel even support xdp?

Last edited by business_kid; 08-08-2023 at 07:25 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rufus error: An error occurred while loading the archive. bestdeals Linux - Software 3 07-18-2020 12:24 AM
Gnome error: An error occurred while loading... Red_Hat Linux - Software 4 05-15-2013 03:31 AM
Loading Linux Image from U-Boot for Xilinx ML507 Board manikumar086 Linux - Newbie 0 10-12-2011 08:55 AM
An error occurred while loading or saving configuration information fo, Empty menu up Dunhill Linux - Software 1 07-27-2006 08:31 AM
An error occurred while loading... Timeout on server t3gah LQ Suggestions & Feedback 8 04-17-2005 01:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration