Problem
The following lines are not fatal error but still needed to be solved
1 2 3 4 |
==> default: Unknown device: enp0s8. Please specify device in "bus:slot.func" format ==> default: Unknown device: enp0s9. Please specify device in "bus:slot.func" format ==> default: Unknown device: enp0s10. Please specify device in "bus:slot.func" format ==> default: Unknown device: enp0s16. Please specify device in "bus:slot.func" format |
Approach
1. The network adapter is incorrectly assigned and I will match the device accordingly in the provision.sh
Since we are able to ssh into the vagrant, we can check the interface mapping by
1 2 |
vagrant ssh cat lua/if_map.lua |
The content of interface mapping file
1 2 3 4 5 6 7 |
return { ["eth0"] = "0000:00:03.0", ["eth1"] = "0000:00:08.0", ["eth2"] = "0000:00:09.0", ["eth3"] = "0000:00:0a.0", ["eth4"] = "0000:00:10.0", } |
Which is different from the network adapter we are trying to assign in provision.sh, therefore, it should be corrected as
1 2 3 4 |
sudo dependencies/dpdk/tools/dpdk-devbind.py --bind=uio_pci_generic eth1 sudo dependencies/dpdk/tools/dpdk-devbind.py --bind=uio_pci_generic eth2 sudo dependencies/dpdk/tools/dpdk-devbind.py --bind=uio_pci_generic eth3 sudo dependencies/dpdk/tools/dpdk-devbind.py --bind=uio_pci_generic eth4 |
Result: The unknown devices error have been solved.
Conclusion
It is due to the incorrect matching between our vagrant vm and the provision.sh