[ovs-discuss] CentOS 7.3 + OVS 2.8.1 - make rpm-fedora-kmod not producing openvswitch-kmod-debuginfo

Jeffrey Helt jmhelt13 at gmail.com
Wed Oct 4 23:43:45 UTC 2017


I am looking to install the debug symbols for the openvswitch kernel module on CentOS 7.3. I included my install step below. I also included some output from the make files where there were warnings and/or errors. However, I am not sure if they are related to this issue. Does anyone more familiar with the build process have an idea why this package is missing?

Steps for installation:

sudo yum install -y gcc rpm-build autoconf automake libtool systemd-units \
    openssl openssl-devel python34-devel python34-six python-devel python \
    python-twisted-core python-zope-interface python-six desktop-file-utils \
    groff graphviz procps-ng checkpolicy selinux-policy-devel libcap-ng \
    libcap-ng-devel wget python-sphinx

export OVS_VERSION=2.8.1

wget http://openvswitch.org/releases/openvswitch-$OVS_VERSION.tar.gz
tar xfz openvswitch-$OVS_VERSION.tar.gz
cd openvswitch-$OVS_VERSION

./configure CFLAGS="-g -O2 -march=native" --with-linux=/lib/modules/$(uname -r)/build

make rpm-fedora
make rpm-fedora-kmod

Partial log:

…
make[2]: Entering directory `/usr/src/kernels/3.10.0-514.16.1.el7.x86_64'
  INSTALL /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILD/openvswitch-2.8.1/datapath/linux/openvswitch.ko
Can't read private key
  INSTALL /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILD/openvswitch-2.8.1/datapath/linux/vport-geneve.ko
Can't read private key
  INSTALL /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILD/openvswitch-2.8.1/datapath/linux/vport-gre.ko
Can't read private key
  INSTALL /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILD/openvswitch-2.8.1/datapath/linux/vport-lisp.ko
Can't read private key
  INSTALL /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILD/openvswitch-2.8.1/datapath/linux/vport-stt.ko
Can't read private key
  INSTALL /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILD/openvswitch-2.8.1/datapath/linux/vport-vxlan.ko
Can't read private key
  DEPMOD  3.10.0-514.16.1.el7.x86_64
depmod: WARNING: could not open /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/modules.order: No such file or directory
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/vport-vxlan.ko needs unknown symbol vxlan_dev_create
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/vport-gre.ko needs unknown symbol gretap_fb_dev_create
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol __nf_ct_l4proto_find
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_conntrack_find_get
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_nat_alloc_null_binding
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol udp_sock_create4
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol __nf_ct_try_assign_helper
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_ct_get_tuple
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_ct_helper_ext_add
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_connlabels_put
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_nat_packet
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_ct_seq_adjust
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_ct_l3protos
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_connlabels_get
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_nat_setup_info
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol __nf_ct_expect_find
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_nat_icmp_reply_translation
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol __nf_conntrack_confirm
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_ct_invert_tuple
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol __nf_ct_ext_add_length
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol udp_tunnel_sock_release
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_nat_icmpv6_reply_translation
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_ct_delete
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol setup_udp_tunnel_sock
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_ct_deliver_cached_events
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol crc32c
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol udp_tun_rx_dst
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_conntrack_helper_try_module_get
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol udp_tunnel_xmit_skb
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_defrag_ipv6_enable
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_ct_get_tuplepr
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_ct_nat_ext_add
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_ct_tmpl_free
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_conntrack_l3proto_generic
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_conntrack_in
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/openvswitch.ko needs unknown symbol nf_ct_tmpl_alloc
depmod: WARNING: /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/extra/vport-geneve.ko needs unknown symbol geneve_dev_create_fb
depmod: WARNING: could not open /users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILDROOT/openvswitch-kmod-2.8.1-1.el7.centos.x86_64/lib/modules/3.10.0-514.16.1.el7.x86_64/modules.builtin: No such file or directory
make[2]: Leaving directory `/usr/src/kernels/3.10.0-514.16.1.el7.x86_64'
depmod `sed -n 's/#define UTS_RELEASE "\([^"]*\)"/\1/p' /lib/modules/3.10.0-514.16.1.el7.x86_64/build/include/generated/utsrelease.h`
depmod: ERROR: openat(/lib/modules/3.10.0-514.16.1.el7.x86_64, modules.dep.tmp, 1101, 644): Permission denied
depmod: ERROR: openat(/lib/modules/3.10.0-514.16.1.el7.x86_64, modules.dep.bin.tmp, 1101, 644): Permission denied
depmod: ERROR: openat(/lib/modules/3.10.0-514.16.1.el7.x86_64, modules.alias.tmp, 1101, 644): Permission denied
depmod: ERROR: openat(/lib/modules/3.10.0-514.16.1.el7.x86_64, modules.alias.bin.tmp, 1101, 644): Permission denied
depmod: ERROR: openat(/lib/modules/3.10.0-514.16.1.el7.x86_64, modules.softdep.tmp, 1101, 644): Permission denied
depmod: ERROR: openat(/lib/modules/3.10.0-514.16.1.el7.x86_64, modules.symbols.tmp, 1101, 644): Permission denied
depmod: ERROR: openat(/lib/modules/3.10.0-514.16.1.el7.x86_64, modules.symbols.bin.tmp, 1101, 644): Permission denied
depmod: ERROR: openat(/lib/modules/3.10.0-514.16.1.el7.x86_64, modules.builtin.bin.tmp, 1101, 644): Permission denied
depmod: ERROR: openat(/lib/modules/3.10.0-514.16.1.el7.x86_64, modules.devname.tmp, 1101, 644): Permission denied
make[1]: Leaving directory `/users/jhelt/rpmbuild/SOURCES/openvswitch-2.8.1/rpm/rpmbuild/BUILD/openvswitch-2.8.1/datapath/linux’
…




More information about the discuss mailing list