Skip to contentSkip to conversation

"FATAL: Module uio not found" for dpdk usage on Amazon AWS

DISCUSSION Naveen Gamini 2 participants 2 messages Mar 18, 2015 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

When I tried to install dpdk on Amazon AWS ubuntu based linux, I see uio module error. Can anyone help me to how to load uio module on ubuntu linux so that IGB UIO module.

ubuntu@ip-172-31-29-51:~$ uname --allLinux ip-172-31-29-51 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@ip-172-31-29-51:~$ uname -r3.13.0-44-genericubuntu@ip-172-31-29-51:~$ 
root@ip-172-31-29-51:/home/pfe/riot/dpdk# ./tools/setup.sh ------------------------------------------------------------------------------ RTE_SDK exported as /home/pfe/riot/dpdk---------------------------------------------------------------------------------------------------------------------------------------- Step 1: Select the DPDK environment to build----------------------------------------------------------[1] i686-native-linuxapp-gcc[2] i686-native-linuxapp-icc[3] x86_64-default-linuxapp-gcc[4] x86_64-ivshmem-linuxapp-gcc[5] x86_64-ivshmem-linuxapp-icc[6] x86_64-native-bsdapp-gcc[7] x86_64-native-linuxapp-gcc[8] x86_64-native-linuxapp-icc

---------------------------------------------------------- Step 2: Setup linuxapp environment----------------------------------------------------------[9] Insert IGB UIO module[10] Insert VFIO module[11] Insert KNI module[12] Setup hugepage mappings for non-NUMA systems[13] Setup hugepage mappings for NUMA systems[14] Display current Ethernet device settings[15] Bind Ethernet device to IGB UIO module[16] Bind Ethernet device to VFIO module[17] Setup VFIO permissions ---------------------------------------------------------- Step 3: Run test application for linuxapp environment----------------------------------------------------------[18] Run test application ($RTE_TARGET/app/test)[19] Run testpmd application in interactive mode ($RTE_TARGET/app/testpmd)
---------------------------------------------------------- Step 4: Other tools----------------------------------------------------------[20] List hugepage info from /proc/meminfo
---------------------------------------------------------- Step 5: Uninstall and system cleanup----------------------------------------------------------[21] Uninstall all targets[22] Unbind NICs from IGB UIO driver[23] Remove IGB UIO module[24] Remove VFIO module[25] Remove KNI module[26] Remove hugepage mappings
[27] Exit Script
Option: 9
Unloading any existing DPDK UIO moduleLoading uio modulemodprobe: FATAL: Module uio not found.Loading DPDK UIO moduleinsmod: ERROR: could not insert module /home/pfe/riot/dpdk/x86_64-default-linuxapp-gcc/kmod/igb_uio.ko: Unknown symbol in module## ERROR: Could not load kmod/igb_uio.ko.
Press enter to continue ...root@ip-172-31-29-51:/home/pfe/riot/dpdk# modinfo uiomodinfo: ERROR: Module uio not found.root@ip-172-31-29-51:/home/pfe/riot/dpdk# insmod uioinsmod: ERROR: could not load module uio: No such file or directoryroot@ip-172-31-29-51:/home/pfe/riot/dpdk# modprobe uiomodprobe: FATAL: Module uio not found.root@ip-172-31-29-51:/home/pfe/riot/dpdk#

A message that is not in the archive (sent off-list or not yet received): 283262964.1292586.1426704065775.JavaMail.yahoo-sAHhhX/[email protected]

#2 lore raw
Quoted 3 lines · Naveen Gamini

When I tried to install dpdk on Amazon AWS ubuntu based linux, I see uio module error. Can anyone help me to how to load uio module on ubuntu linux so that IGB UIO module.

Amazon Cloud Images usually include minimized kernel packages with Cloud drivers only. You usually have to fix it by reinstalling the server kernel which has the full driver set. On Ubuntu these two packages will usually fix it for me on minimal Ubuntu Cloud images / vagrant images / etc.

linux-generic linux-headers-generic

Matthew.