Hi Marco, Facing another issue, please can you check. While installing package vpp-dpdk-dkms I am getting error as below. I already have module igb_uio.ko running (built as part of dpdk) on my machine. Can I neglect this error ?
root@vnf:~# apt-get install -y vpp vpp-dpdk-dkms vpp-lib vpp-dbg vpp-plugins vpp-dev -------- ------- Setting up vpp-dpdk-dkms (18.02.1-vpp1) ... Loading new vpp-dpdk-dkms-18.02.1-vpp1 DKMS files... First Installation: checking all kernels... Building only for 4.4.0-139-generic Building initial module for 4.4.0-139-generic *ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/vpp-dpdk-dkms.0.crash'Error! Bad return status for module build on kernel: 4.4.0-139-generic (x86_64)Consult /var/lib/dkms/vpp-dpdk-dkms/18.02.1-vpp1/build/make.log for more information.* Setting up vpp-plugins (18.04-rc2~26-gac2b736~b45) ... Processing triggers for libc-bin (2.23-0ubuntu10) ... Processing triggers for ureadahead (0.100.0-19) ... As per log entry : igb_uio.c file is missing. DKMS make.log for vpp-dpdk-dkms-18.02.1-vpp1 for kernel 4.4.0-139-generic (x86_64) Mon Dec 3 15:10:50 UTC 2018 make: Entering directory '/usr/src/linux-headers-4.4.0-139-generic' LD /var/lib/dkms/vpp-dpdk-dkms/18.02.1-vpp1/build/built-in.o make[1]: *** No rule to make target '/var/lib/dkms/vpp-dpdk-dkms/18.02.1-vpp1/build/igb_uio.c', needed by '/$ Makefile:1439: recipe for target '_module_/var/lib/dkms/vpp-dpdk-dkms/18.02.1-vpp1/build' failed make: *** [_module_/var/lib/dkms/vpp-dpdk-dkms/18.02.1-vpp1/build] Error 2 make: Leaving directory '/usr/src/linux-headers-4.4.0-139-generic' Regards Amit Surana On Mon, Dec 3, 2018 at 4:00 PM Marco Varlese <mvarl...@suse.de> wrote: > On Sat, 2018-12-01 at 22:51 +0530, Amit Surana wrote: > > Hi Marcos, > > Many thanks for your help, I have got it working now. > > My pleasure; that's great to hear!!! > > > Regards > Amit Surana > > On Sat, 1 Dec 2018, 11:09 Amit Surana <suranaa...@gmail.com wrote: > > Thanks Marco. yes that seems to be the issue as vpp crash file too > indicates same. > Please find /cat/proc for Guest CPU, it does not have support for SSE4. > > processor : 1 > vendor_id : AuthenticAMD > cpu family : 6 > model : 6 > model name : QEMU Virtual CPU version 2.5+ > stepping : 3 > cpu MHz : 2299.923 > cache size : 512 KB > physical id : 1 > siblings : 1 > core id : 0 > cpu cores : 1 > apicid : 1 > initial apicid : 1 > fpu : yes > fpu_exception : yes > cpuid level : 13 > wp : yes > flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm nopl cpuid pni cx16 > hypervisor lahf_lm svm 3dnowprefetch vmmcall > bugs : fxsave_leak sysret_ss_attrs spectre_v1 spectre_v2 > spec_store_bypass > bogomips : 0.22 > TLB size : 1024 4K pages > clflush size : 64 > cache_alignment : 64 > address sizes : 40 bits physical, 48 bits virtual > > VPP crash output- > Program terminated with signal SIGILL, Illegal instruction. > #0 0x00007f157f37215c in _mm_set_epi8 (__q00=<optimized out>, > __q01=<optimized out>, __q02=<optimized out>, __q03=<optimized out>, > __q04=<optimized out>, __q05=<optimized out>, __q06=<optimized out>, > __q07=<optimized out>, __q08=<optimized out>, __q09=<optimized out>, > __q10=<optimized out>, __q11=<optimized out>, __q12=<optimized out>, > __q13=<optimized out>, __q14=<optimized out>, __q15=<optimized out>) > at /usr/lib/gcc/x86_64-linux-gnu/7/include/emmintrin.h:620 > > My Host does have SSE4 support, its not reflecting in Guest due to Nova > setting. > I'm using devstack, so need to check best way to change it. > > Regards > Amit Surana > > > On Fri, Nov 30, 2018 at 6:54 PM Marco Varlese <mvarl...@suse.de> wrote: > > I think you're CPU doesn't support SSE4/AVX instructions... > > Can you try to paste here the content of the "flags" parameters in the > output of "cat /proc/cpuinfo" > > > - Marco > > On Fri, 2018-11-30 at 16:00 +0530, Amit Surana wrote: > > Hi Team, > > Please can you help me with following issue. > > I'm trying to run VPP on Ubuntu Xenial VM (2 vCPU, 4 GB) in Openstack/KVM. > > After installation vppctl fails with following: > $vppctl > *ERROR:* > clib_socket_init: connect (fd 3, '/run/vpp/cli.sock'): No such file or > directory > > *Thread for Similar issue-* > I checked following > > https://lists.fd.io/g/vpp-dev/topic/running_vpp_failed/16298572?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,20,16298572 > > *But Resolution is not applicable for my settings.* > > *Journalctl has following :* > > Nov 29 11:52:14 ubuntuxenial vpp[26827]: vlib_plugin_early_init:359: > > plugin path /usr/lib/vpp_plugins > > Nov 29 11:52:14 ubuntuxenial kernel: traps: vpp[26827] trap invalid opcode > ip:7f62ce450b9e sp:7ffe696c3c20 error:0 in > libvppinfra.so.0.0.0[7f62ce3f0000+7c000] > > Nov 29 11:52:18 ubuntuxenial systemd[1]: vpp.service: Main process exited, > code=dumped, status=4/ILL > > Nov 29 11:52:18 ubuntuxenial systemd[1]: vpp.service: Unit entered failed > state. > > Nov 29 11:52:18 ubuntuxenial systemd[1]: vpp.service: Failed with result > 'core-dump'. > > > Please note I've used instruction as per > > https://github.com/cncf/cnfs/tree/master/comparison/box-by-box-kvm-docker > - > > > export UBUNTU="xenial" > export RELEASE=".stable.1804" > rm /etc/apt/sources.list.d/99fd.io.list > echo "deb [trusted=yes] > https://nexus.fd.io/content/repositories/fd.io.ubuntu.$UBUNTU.main/ ./" | > tee -a /etc/apt/sources.list.d/99fd.io.list > sudo apt-get update > apt-get install vpp vpp-lib vpp-plugins vpp-dbg vpp-dev vpp-api-java > vpp-api-python vpp-api-lua > > > I've tried to run it on Ubuntu Bionic cloud image but facing same issue. > > > *Regards* > > *Amit Surana* > > > -=-=-=-=-=-=-=-=-=-=-=- > > Links: You receive all messages sent to this group. > > > View/Reply Online (#11468): > > https://lists.fd.io/g/vpp-dev/message/11468 > > > Mute This Topic: > > https://lists.fd.io/mt/28508443/675056 > > > Group Owner: > > vpp-dev+ow...@lists.fd.io > > > Unsubscribe: > > https://lists.fd.io/g/vpp-dev/unsub > > [ > > mvarl...@suse.de > > ] > > -=-=-=-=-=-=-=-=-=-=-=- > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11483): https://lists.fd.io/g/vpp-dev/message/11483 Mute This Topic: https://lists.fd.io/mt/28508443/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-