DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] "FATAL: Module uio not found" for dpdk usage on Amazon AWS
@ 2015-03-18 18:41 Naveen Gamini
  2015-03-18 21:45 ` Matthew Hall
  0 siblings, 1 reply; 2+ messages in thread
From: Naveen Gamini @ 2015-03-18 18:41 UTC (permalink / raw)
  To: dev

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# 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] "FATAL: Module uio not found" for dpdk usage on Amazon AWS
  2015-03-18 18:41 [dpdk-dev] "FATAL: Module uio not found" for dpdk usage on Amazon AWS Naveen Gamini
@ 2015-03-18 21:45 ` Matthew Hall
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Hall @ 2015-03-18 21:45 UTC (permalink / raw)
  To: Naveen Gamini; +Cc: dev

On Wed, Mar 18, 2015 at 06:41:05PM +0000, Naveen Gamini wrote:
> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-18 21:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-18 18:41 [dpdk-dev] "FATAL: Module uio not found" for dpdk usage on Amazon AWS Naveen Gamini
2015-03-18 21:45 ` Matthew Hall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).