I am trying to install openvswitch in the BPI-R2(image ubuntu-18.04-bpi-r2-preview with kernel 4.14.48-bpi-r2-main) but I get some errors.
When I execute ./configure --with-linux=/lib/modules/4.14.48-bpi-r2-main/build, shows an error that says build does not exist.
I execute ln -s /root/openvswitch-2.10.1/datapath/linux/openvswitch.ko /lib/modules/4.14.48-bpi-r2-main and then depmod -a and it returns too many levels of symbolic links.
I guess you need kernelsources for your current kernel
To get it you can checkout 1e4a88f6cab247b73acf427493567bbbafcd3ad3 (merge of 4.14.48) or 4bfb0a99da80be0a1ee711e435c6577893fae20a (merge of hdmi)
from my github-repo
these 2 links defaulting to my directory where i have built the kernel. download source for your kernelversion, unpack it (maybe to /usr/src/kernel_4.14.48) and change symlink of build and source to this directory…maybe you have to rebuild kernel
I had the same issue and I did the above operation. However, OvS is not supported for the Bnana Pi kernel and OvS cannot be started.
please tell me. Do you have a track record of OvS operation on BPI-R2? Also, do you know how to change the kernel of BPI-R2 to something other than Banana Pi?
i have not tested it as i don’t use it just try to add needed config options…but you will have more luck using last LTS kernel instead of 4.14/4.19 or older