Today I compiled with your fork and everything seemed fine at first.
After flashing to a TP-Link WDR3600 Router I can see the ovsdb-server running
and reveals the usual String ID.
When I try to add a bridge with the command does not
return
to the input prompt. After pressing ctrl+c and checking it
seems like
the bridge was created. The same happens when adding ports or changing any
settings on the bridge.
Additionally, the switch does not connect to the controller. I'm not sure how
to debug
this further, but if you have an idea I will test it on the device.
Am 07.08.2015 um 16:14 schrieb Alexandru Ardelean:
> @Florian
> So, I took some time today to patch a bit of support for OVS to compile on
> OpenWRT with kernel 4.1
>
> Can you pull this from my fork and test it out a bit ?
> Branch is here: https://github.com/commodo/packages/tree/ovs-kernel-4.1
> Commit is this one:
> https://github.com/commodo/packages/commit/de519aac8c751cd8744d839efd071cdf02891db1
>
> If you need a tarball, send me a message and I can prepare one, or maybe
> Github has a download zip/tar button per branches somewhere not sure.
>
> Anyway, I'd appreciate if you took the time to test it out a bit.
> I'm a bit swamped and don't have time to do proper testing ; to be honest I
> just made it build, and I haven't managed to get hold of a device with
> which to actually test it.
> If all is good I'll add a PR into the official OpenWRT packages.
>
> Thanks
>
> On Wed, Aug 5, 2015 at 5:18 PM, Alexandru Ardelean
> wrote:
>
>> I will admit I only tested with x86.
>> I ASSumed that it's on kernel 4.1.
>>
>> Will check again and try to spin up a patch for kernel 4.1.
>>
>> On Wed, Aug 5, 2015 at 3:53 PM, Florian Siebertz <
>> florian.siebe...@inf.h-brs.de> wrote:
>>
>>> Thank you for your work, i really appreciate it.
>>> Now the package is back, but at compilation it fails when
>>> checking against the kernel version:
>>>
>>> (cd
>>> /home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/openvswitch-2.4.0/./;
>>> if [ -x ./configure ]; then find
>>> /home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/openvswitch-2.4.0/
>>> -name config.guess | xargs -r chmod u+w; find
>>> /home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/openvswitch-2.4.0/
>>> -name config.guess | xargs -r -n1 cp --remove-destination
>>> /home/administrator/openwrt/scripts/config.guess; find
>>> /home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/openvswitch-2.4.0/
>>> -name config.sub | xargs -r chmod u+w; find
>>> /home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/openvswitch-2.4.0/
>>> -name config.sub | xargs -r -n1 cp --remove-destination
>>> /home/administrator/openwrt/scripts/config.sub;
>>> AR="mips-openwrt-linux-musl-gcc-ar" AS="mips-openwrt-linux-musl-gcc -c -Os
>>> -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves
>>> -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat !
>>> -Werror=fo
>>> rmat-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now
>>> -Wl,-z,relro -mno-mips16 -mno-interlink-mips16 -flto -std=gnu99"
>>> LD=mips-openwrt-linux-musl-ld NM="mips-openwrt-linux-musl-gcc-nm"
>>> CC="mips-openwrt-linux-musl-gcc" GCC="mips-openwrt-linux-musl-gcc"
>>> CXX="mips-openwrt-linux-musl-g++"
>>> RANLIB="mips-openwrt-linux-musl-gcc-ranlib"
>>> STRIP=mips-openwrt-linux-musl-strip OBJCOPY=mips-openwrt-linux-musl-objcopy
>>> OBJDUMP=mips-openwrt-linux-musl-objdump SIZE=mips-openwrt-linux-musl-size
>>> CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc
>>> -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable
>>> -msoft-float -Wformat -Werror=format-security -fstack-protector
>>> -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -mno-mips16
>>> -mno-interlink-mips16 -flto -std=gnu99 " CXXFLAGS="-Os -pipe
>>> -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fhonour-copts
>>> -Wno-error=unused-but-set-variable -msoft-float -Wformat
>>> -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1!
>>> -Wl,-z,no
>>> w -Wl,-z,relro -mno-mips16 -mno-interlink-mips16 -flto -std=gnu99 "
>>> CPPFLAGS="-I/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/usr/include
>>> -I/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/include
>>> -I/home/administrator/openwrt/s