On Tue, Sep 6, 2016 at 3:19 AM, Silvia Fichera <fichera....@gmail.com> wrote: > Hi all, > I want to install ovs 2.5.0 on ubuntu server 14.04. Since the original > kernel was 4.4.0-31-generic I have manually downgraded the linux kernel > > uname -r > 4.3.0-040300-generic > > > But when I do > ./configure --with-linux=/lib/modules/`uname -r`/build > > it seems that some files are missing and some files don't match the > requirements > (e.g., > checking whether openvswitch_handle_frame_hook matches in > /lib/modules/4.3.0-040300-generic/build/include/linux/openvswitch.h... no > checking whether el6 matches in > /lib/modules/4.3.0-040300-generic/build/include/linux/utsrelease.h... file > not found > )
This is fine. Things change over time and no kernel has all symbols. > When I do > make modules_install > > I have few errors related to SSL: > > make[1]: Entering directory `/home/c1/openvswitch-2.5.0/datapath/linux' > make -C /lib/modules/4.3.0-040300-generic/build > M=/home/c1/openvswitch-2.5.0/datapath/linux modules_install > make[2]: Entering directory `/usr/src/linux-headers-4.3.0-040300-generic' > INSTALL /home/c1/openvswitch-2.5.0/datapath/linux/openvswitch.ko > At main.c:222: > - SSL error:02001002:system library:fopen:No such file or directory: > bss_file.c:169 > - SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:172 > sign-file: certs/signing_key.pem: No such file or directory > INSTALL /home/c1/openvswitch-2.5.0/datapath/linux/vport-geneve.ko > At main.c:222: > - SSL error:02001002:system library:fopen:No such file or directory: > bss_file.c:169 > - SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:172 > sign-file: certs/signing_key.pem: No such file or directory > INSTALL /home/c1/openvswitch-2.5.0/datapath/linux/vport-gre.ko > At main.c:222: > - SSL error:02001002:system library:fopen:No such file or directory: > bss_file.c:169 > - SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:172 > sign-file: certs/signing_key.pem: No such file or directory > INSTALL /home/c1/openvswitch-2.5.0/datapath/linux/vport-lisp.ko > At main.c:222: > - SSL error:02001002:system library:fopen:No such file or directory: > bss_file.c:169 > - SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:172 > sign-file: certs/signing_key.pem: No such file or directory > INSTALL /home/c1/openvswitch-2.5.0/datapath/linux/vport-stt.ko > At main.c:222: > - SSL error:02001002:system library:fopen:No such file or directory: > bss_file.c:169 > - SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:172 > sign-file: certs/signing_key.pem: No such file or directory > INSTALL /home/c1/openvswitch-2.5.0/datapath/linux/vport-vxlan.ko > At main.c:222: > - SSL error:02001002:system library:fopen:No such file or directory: > bss_file.c:169 > - SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:172 > sign-file: certs/signing_key.pem: No such file or directory > DEPMOD 4.3.0-040300-generic > make[2]: Leaving directory `/usr/src/linux-headers-4.3.0-040300-generic' > depmod `sed -n 's/#define UTS_RELEASE "\([^"]*\)"/\1/p' > /lib/modules/4.3.0-040300-generic/build/include/generated/utsrelease.h` > make[1]: Leaving directory `/home/c1/openvswitch-2.5.0/datapath/linux' Most likely when you downgraded the kernel CONFIG_MODULE_SIG was turned on but userspace is not set up properly to do module signing. I would use the original kernel that came with your distribution and either use the OVS module that comes packaged with that (simply build OVS userspace without --with-linux) or use the kernel module from branch-2.6 in the OVS git repository which supports kernels up to 4.7. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss