Re: [OpenWrt-Devel] Openvswitch package not available in trunk

2015-08-19 Thread Alexandru Ardelean
OVS seems to work fine if I compile it with uClibc instead of musl
On x86 (kernel 4.1 added manually) + uClibc + OVS 2.4 it works fine
On x86 (kernel 4.1 added manually) + musl + OVS 2.4 it seems to segfault

Will keep looking.


On Tue, Aug 11, 2015 at 12:05 PM, Alexandru Ardelean ardeleana...@gmail.com
 wrote:

 Will make some more time to try this.

 Thanks for testing

 On Mon, Aug 10, 2015 at 5:50 PM, Florian Siebertz 
 florian.siebe...@inf.h-brs.de wrote:

 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 ovs-vsctl show reveals the usual String ID.

 When I try to add a bridge with ovs-vsctl add-br br0 the command does
 not return
 to the input prompt. After pressing ctrl+c and checking ovs-vsctl show
 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 
 ardeleana...@gmail.com
  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/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/usr/include
 
 -I/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/include/fortify
 
 

Re: [OpenWrt-Devel] Openvswitch package not available in trunk

2015-08-11 Thread Alexandru Ardelean
Will make some more time to try this.

Thanks for testing

On Mon, Aug 10, 2015 at 5:50 PM, Florian Siebertz 
florian.siebe...@inf.h-brs.de wrote:

 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 ovs-vsctl show reveals the usual String ID.

 When I try to add a bridge with ovs-vsctl add-br br0 the command does
 not return
 to the input prompt. After pressing ctrl+c and checking ovs-vsctl show
 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 
 ardeleana...@gmail.com
  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/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/usr/include
 
 -I/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/include/fortify
 
 -I/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/include
  
 
 LDFLAGS=-L/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/usr/lib
 
 -L/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/lib
 
 

Re: [OpenWrt-Devel] Openvswitch package not available in trunk

2015-08-10 Thread Florian Siebertz
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 ovs-vsctl show reveals the usual String ID.

When I try to add a bridge with ovs-vsctl add-br br0 the command does not 
return
to the input prompt. After pressing ctrl+c and checking ovs-vsctl show 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 ardeleana...@gmail.com
 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/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/usr/include
 -I/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/include/fortify
 -I/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/include
 
 LDFLAGS=-L/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/usr/lib
 -L/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/lib
 -L/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/usr/lib
 -L/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/lib
 -znow -zrelro./configure --target=mips-openwrt-linux
 --host=mips-openwrt-linux --build!
  =x86_64-li
 nux-gnu 

Re: [OpenWrt-Devel] Openvswitch package not available in trunk

2015-08-07 Thread 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 ardeleana...@gmail.com
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/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/usr/include
 -I/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/include/fortify
 -I/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/include
 
 LDFLAGS=-L/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/usr/lib
 -L/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/lib
 -L/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/usr/lib
 -L/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/lib
 -znow -zrelro./configure --target=mips-openwrt-linux
 --host=mips-openwrt-linux --build!
  =x86_64-li
 nux-gnu --program-prefix= --program-suffix= --prefix=/usr
 --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
 --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share
 --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls
  
 _python_sysroot=/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10
 _python_prefix=/usr _python_exec_prefix=/usr
 --with-linux=/home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-ar71xx_generic/linux-4.1.3
 --with-rundir=/var/run --enable-ndebug --disable-ssl --enable-shared ; fi; )

 [...] (a bunch of checks)

 checking for kernel version... 4.1.3
 configure: error: Linux kernel in
 

Re: [OpenWrt-Devel] Openvswitch package not available in trunk

2015-08-05 Thread Alexandru Ardelean
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/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/usr/include
 -I/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/include/fortify
 -I/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/include
 
 LDFLAGS=-L/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/usr/lib
 -L/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/lib
 -L/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/usr/lib
 -L/home/administrator/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/lib
 -znow -zrelro./configure --target=mips-openwrt-linux
 --host=mips-openwrt-linux --build!
  =x86_64-li
 nux-gnu --program-prefix= --program-suffix= --prefix=/usr
 --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
 --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share
 --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls
  
 _python_sysroot=/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10
 _python_prefix=/usr _python_exec_prefix=/usr
 --with-linux=/home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-ar71xx_generic/linux-4.1.3
 --with-rundir=/var/run --enable-ndebug --disable-ssl --enable-shared ; fi; )

 [...] (a bunch of checks)

 checking for kernel version... 4.1.3
 configure: error: Linux kernel in
 /home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/linux-ar71xx_generic/linux-4.1.3
 is version 4.1.3, but version newer than 4.0.x is not supported (please
 refer to the FAQ for advice)
 make[3]: ***
 [/home/administrator/openwrt/build_dir/target-mips_34kc_musl-1.1.10/openvswitch-2.4.0/.configured_]
 Error 1
 make[3]: Leaving directory
 `/home/administrator/openwrt/feeds/packages/net/openvswitch'
 make[2]: *** [package/feeds/packages/openvswitch/compile] Error 2
 make[2]: Leaving directory `/home/administrator/openwrt'
 make[1]: ***
 [/home/administrator/openwrt/staging_dir/target-mips_34kc_musl-1.1.10/stamp/.package_compile]
 Error 2
 make[1]: Leaving directory `/home/administrator/openwrt'
 make: *** [world] Error 2



 Am 04.08.2015 um 16:08 schrieb Alexandru Ardelean:
  Took some 20-30 minutes to upgrade OVS and test it (with kernel 4.1).
  Seems to work fine so far.
 

Re: [OpenWrt-Devel] Openvswitch package not available in trunk

2015-08-04 Thread Alexandru Ardelean
Well, OpenVSwitch is a bit behind on kernel support.
It's at 3.18 currently.
OpenWRT is at 4.1

We'd need to do an upgrade of OVS to get it up to speed.




On Tue, Aug 4, 2015 at 12:43 PM, Florian Siebertz 
florian.siebe...@inf.h-brs.de wrote:

 Hi,

 i noticed that the openvswitch package is not available in trunk at the
 moment. It is not in the precompiled snapshots, neither can it be
 choosen in 'make menuconfig'. (Yes, i did ./scripts/feeds
 [update|install] -a).

 Does anyone know why and when it will be back?

 Thanks!

 Florian Siebertz
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Openvswitch package not available in trunk

2015-08-04 Thread Alexandru Ardelean
Took some 20-30 minutes to upgrade OVS and test it (with kernel 4.1).
Seems to work fine so far.

Please monitor this PR; after it's merged it should appear.

On Tue, Aug 4, 2015 at 1:37 PM, Alexandru Ardelean ardeleana...@gmail.com
wrote:

 Well, OpenVSwitch is a bit behind on kernel support.
 It's at 3.18 currently.
 OpenWRT is at 4.1

 We'd need to do an upgrade of OVS to get it up to speed.




 On Tue, Aug 4, 2015 at 12:43 PM, Florian Siebertz 
 florian.siebe...@inf.h-brs.de wrote:

 Hi,

 i noticed that the openvswitch package is not available in trunk at the
 moment. It is not in the precompiled snapshots, neither can it be
 choosen in 'make menuconfig'. (Yes, i did ./scripts/feeds
 [update|install] -a).

 Does anyone know why and when it will be back?

 Thanks!

 Florian Siebertz
 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel