Hi,
Thanks for the steps we were now able to install to 2.10 version but when we
try to start VM we are getting below error,
pls check and let us know if you faced the same or need any other change .
ubuntu@vasily:~$ sudo virt-install --name dut3 --ram 4096 --disk
path=dut3.img,size=30 --vcpus 2 --os-type linux --os-variant generic --cdrom
'./ubuntu-16.04.3-server-arm64.iso' --network default
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-install", line 27, in <module>
import libvirt
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 28, in <module>
raise lib_e
ImportError: /usr/lib/aarch64-linux-gnu/libxenlight-4.9.so: symbol
fdt_first_subnode, version LIBFDT_1.2 not defined in file libfdt.so.1 with link
time reference
ubuntu@vasily:~$
On Monday 19 February 2018, 6:12:48 PM IST, Christophe Fontaine
<[email protected]> wrote:
#yiv7431552402 #yiv7431552402 -- _filtered #yiv7431552402
{font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv7431552402
{panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv7431552402
{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv7431552402
#yiv7431552402 p.yiv7431552402MsoNormal, #yiv7431552402
li.yiv7431552402MsoNormal, #yiv7431552402 div.yiv7431552402MsoNormal
{margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv7431552402 a:link,
#yiv7431552402 span.yiv7431552402MsoHyperlink
{color:blue;text-decoration:underline;}#yiv7431552402 a:visited, #yiv7431552402
span.yiv7431552402MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}#yiv7431552402 p
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv7431552402
p.yiv7431552402msonormal0, #yiv7431552402 li.yiv7431552402msonormal0,
#yiv7431552402 div.yiv7431552402msonormal0
{margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv7431552402
span.yiv7431552402EmailStyle19 {color:#1F497D;}#yiv7431552402
.yiv7431552402MsoChpDefault {font-size:10.0pt;} _filtered #yiv7431552402
{margin:1.0in 1.0in 1.0in 1.0in;}#yiv7431552402 div.yiv7431552402WordSection1
{}#yiv7431552402
Hi,
Which version of qemu do you use ?
I had this kind of issue when using an old version of qemu: upgrading qemu to
2.10 resolved my issue.
In qemu 2.5 (the default version with Ubuntu 16.04 in my case), the IO region
is not mapped, which ends to this kind of error (the ressource0 is the IO
region in the PCI bar).
Christophe
From: [email protected] [mailto:[email protected]]On Behalf Of via
Lists.Fd.Io
Sent: Friday, February 16, 2018 3:46 PM
To: [email protected]
Cc: [email protected]
Subject: [vpp-dev] Unable to add interface to VPP on ARM64.
Hi,
Pls check not able to add interface to VPP on ARM64 VM
csit@dut1:~$ lshw -class network -businfo
WARNING: you should run this program as super-user.
Bus info Device Class Description
====================================================
pci@0000:02:01.0 network Virtio network device
pci@0000:03:01.0 network Virtio network device
pci@0000:04:01.0 network Virtio network device
pci@0000:05:01.0 network Virtio network device
eth0 network Ethernet interface
WARNING: output may be incomplete or inaccurate, you should run this program as
super-user.
csit@dut1:~$
cd vpp/build-root/build-vpp-native/dpdk/dpdk-17.11/usertools/
csit@dut1:~/vpp/build-root/build-vpp-native/dpdk/dpdk-17.11/usertools$ sudo
./dpdk-devbind.py --status
Network devices using DPDK-compatible driver
============================================
0000:02:01.0 'Virtio network device 1000' drv=uio_pci_generic unused=
0000:03:01.0 'Virtio network device 1000' drv=uio_pci_generic unused=
0000:04:01.0 'Virtio network device 1000' drv=uio_pci_generic unused=
0000:05:01.0 'Virtio network device 1000' drv=uio_pci_generic unused=
Network devices using kernel driver
===================================
<none>
Other Network devices
=====================
<none>
Crypto devices using DPDK-compatible driver
===========================================
<none>
Crypto devices using kernel driver
==================================
<none>
Other Crypto devices
====================
<none>
Eventdev devices using DPDK-compatible driver
=============================================
<none>
Eventdev devices using kernel driver
====================================
<none>
Other Eventdev devices
======================
<none>
Mempool devices using DPDK-compatible driver
============================================
<none>
Mempool devices using kernel driver
===================================
<none>
Other Mempool devices
=====================
<none>
csit@dut1:~/vpp/build-root/build-vpp-nativ
● vpp.service - vector packet processing engine
Loaded: loaded (/lib/systemd/system/vpp.service; enabled; vendor preset:
enabled)
Active: active (running) since Fri 2018-02-16 17:47:17 CST; 4h 45min ago
Process: 19822 ExecStartPre=/sbin/modprobe uio_pci_generic (code=exited,
status=0/SUCCESS)
Process: 19818 ExecStartPre=/bin/rm -f /dev/shm/db /dev/shm/global_vm
/dev/shm/vpe-api (code=exited, status=0/SUCCESS)
Main PID: 19827 (vpp_main)
Tasks: 4
Memory: 73.1M
CPU: 59.726s
CGroup: /system.slice/vpp.service
└─19827 /usr/bin/vpp -c /etc/vpp/startup.conf
Feb 16 17:47:17 dut1 vnet[19827]: EAL: Cannot open
/sys/bus/pci/devices/0000:04:01.0/resource0: No such file or directory
Feb 16 17:47:17 dut1 vnet[19827]: EAL: Requested device 0000:04:01.0 cannot be
used
Feb 16 17:47:17 dut1 vnet[19827]: EAL: Invalid NUMA socket, default to 0
Feb 16 17:47:17 dut1 vpp[19827]: EAL: Cannot open
/sys/bus/pci/devices/0000:05:01.0/resource0: No such file or directory
Feb 16 17:47:17 dut1 vpp[19827]: EAL: Requested device 0000:05:01.0 cannot be
used
Feb 16 17:47:17 dut1 vnet[19827]: EAL: Cannot open
/sys/bus/pci/devices/0000:05:01.0/resource0: No such file or directory
Feb 16 17:47:17 dut1 vnet[19827]: EAL: Requested device 0000:05:01.0 cannot be
used
Feb 16 17:47:17 dut1 vnet[19827]: unix_physmem_region_iommu_register: ioctl
(VFIO_IOMMU_MAP_DMA): Invalid argument
Feb 16 17:47:17 dut1 vnet[19827]: dpdk_ipsec_process:1007: not enough DPDK
crypto resources, default to OpenSSL
Feb 16 17:47:17 dut1 vnet[19827]: dpdk_lib_init:221: DPDK drivers found no
ports...
csit@dut1:~$
csit@dut1:~$