From mboxrd@z Thu Jan 1 00:00:00 1970 From: Naveen Gamini Subject: "FATAL: Module uio not found" for dpdk usage on Amazon AWS Date: Wed, 18 Mar 2015 18:41:05 +0000 (UTC) Message-ID: <283262964.1292586.1426704065775.JavaMail.yahoo@mail.yahoo.com> Reply-To: Naveen Gamini Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable To: "dev-VfR2kkLFssw@public.gmane.org" Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" When I tried to install dpdk on Amazon AWS ubuntu based linux, I see uio mo= dule 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-generi= c #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linu= x ubuntu@ip-172-31-29-51:~$ uname -r3.13.0-44-genericubuntu@ip-172-31-29-51:~= $=C2=A0 root@ip-172-31-29-51:/home/pfe/riot/dpdk# ./tools/setup.sh=C2=A0-----------= -------------------------------------------------------------------=C2=A0RT= E_SDK exported as /home/pfe/riot/dpdk--------------------------------------= ---------------------------------------------------------------------------= -----------------------=C2=A0Step 1: Select the DPDK environment to build--= --------------------------------------------------------[1] i686-native-lin= uxapp-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-bs= dapp-gcc[7] x86_64-native-linuxapp-gcc[8] x86_64-native-linuxapp-icc ----------------------------------------------------------=C2=A0Step 2: Set= up linuxapp environment----------------------------------------------------= ------[9] Insert IGB UIO module[10] Insert VFIO module[11] Insert KNI modul= e[12] Setup hugepage mappings for non-NUMA systems[13] Setup hugepage mappi= ngs for NUMA systems[14] Display current Ethernet device settings[15] Bind = Ethernet device to IGB UIO module[16] Bind Ethernet device to VFIO module[1= 7] Setup VFIO permissions ----------------------------------------------------------=C2=A0Step 3: Run= test application for linuxapp environment---------------------------------= -------------------------[18] Run test application ($RTE_TARGET/app/test)[1= 9] Run testpmd application in interactive mode ($RTE_TARGET/app/testpmd) ----------------------------------------------------------=C2=A0Step 4: Oth= er tools----------------------------------------------------------[20] List= hugepage info from /proc/meminfo ----------------------------------------------------------=C2=A0Step 5: Uni= nstall 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] Remo= ve hugepage mappings [27] Exit Script Option: 9 Unloading any existing DPDK UIO moduleLoading uio modulemodprobe: FATAL: Mo= dule uio not found.Loading DPDK UIO moduleinsmod: ERROR: could not insert m= odule /home/pfe/riot/dpdk/x86_64-default-linuxapp-gcc/kmod/igb_uio.ko: Unkn= own 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# modinf= o uiomodinfo: ERROR: Module uio not found.root@ip-172-31-29-51:/home/pfe/ri= ot/dpdk# insmod uioinsmod: ERROR: could not load module uio: No such file o= r 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#=C2=A0