Pepe , Was the DPDK library compiled on a different machine and the used in the VM? It looks like it has been compiled for native AVX (hence the vzeroupper). Could you dump cpuinfo in the VM and see what instruction set the VM supports?
-Venky Sent from my iPhone > On Jan 3, 2014, at 2:32 AM, "Jose Gavine Cueto" <pepedocs at gmail.com> wrote: > > I haven't added it yet, because as of the moment I do not have an access to > the built DPDK library I was using. I was just linking it with my DPDK > application. > > I tried to debug it with GDB and disassembled it, the invalid instruction > was "vzeroupper" which occurs at rte_eal_init, somewhere when initializing > pthreads. > > Ok, I'll to debug more and get more information. > > Thanks again, > Pepe > > > On Fri, Jan 3, 2014 at 6:26 PM, Thomas Monjalon > <thomas.monjalon at 6wind.com>wrote: > >> 03/01/2014 11:09, Jose Gavine Cueto : >>> I am running a DPDK application in a guest VM which uses one VF. This VM >>> runs on top of the host that has an x540-at2 NIC and uses the ixgbe >> driver. >>> The issue was that every time I run the DPDK application in the VM it >>> errors an invalid instruction and stops there. >> >> First, have you added x540-at2 in ixgbe_type.h, ixgbe_api.c and >> rte_pci_dev_ids.h ? >> What is the invalid instruction ? Have you tried to debug it ? >> >> I don't know this NIC so I'm afraid you should debug it by yourself. >> >> Please, keep us informed if you make it working. >> -- >> Thomas > > > > -- > To stop learning is like to stop loving.