Intel I350 driver upgrade failed

General support questions
lefloch91
Posts: 2
Joined: 2018/01/16 18:24:53

Intel I350 driver upgrade failed

Postby lefloch91 » 2018/01/16 18:36:22

Hello,

We're using CentOS Linux release 7.1.1503
It's running on a CISCO server.

As requested by CISCO we're trying to upgrade Intel I350 network card driver from 2.1.1.67 version to 5.2.13-k
We got the errors below. CISCO Tech Support is not able to help us even if the server hardware configuration if fully supported.

The package is coming from an ISO file provided by CISCO.
Could you help us to troubleshoot that?

rpmbuild -tb igb-5.3.2.tar.gz
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.c2b9wR
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf igb-5.3.2
+ /usr/bin/gzip -dc /usr/local/src/igb-5.3.2.tar.gz
+ /usr/bin/tar -xvvf -
drwxr-xr-x root/root 0 2015-05-26 23:59 igb-5.3.2/
-rw-r--r-- root/root 9510 2015-05-26 23:59 igb-5.3.2/igb.spec
-rw-r--r-- root/root 1128 2015-05-26 23:59 igb-5.3.2/SUMS
-rw-r--r-- root/root 18693 2015-05-26 23:59 igb-5.3.2/COPYING
-rwxr-xr-x root/root 11004 2015-05-26 23:59 igb-5.3.2/igb.7
drwxr-xr-x root/root 0 2015-05-26 23:59 igb-5.3.2/src/
-rw-r--r-- root/root 27387 2015-05-26 23:59 igb-5.3.2/src/e1000_i210.c
-rw-r--r-- root/root 10945 2015-05-26 23:59 igb-5.3.2/src/e1000_phy.h
-rw-r--r-- root/root 46630 2015-05-26 23:59 igb-5.3.2/src/kcompat.c
-rw-r--r-- root/root 35210 2015-05-26 23:59 igb-5.3.2/src/e1000_regs.h
-rw-r--r-- root/root 13098 2015-05-26 23:59 igb-5.3.2/src/Makefile
-rw-r--r-- root/root 2520 2015-05-26 23:59 igb-5.3.2/src/e1000_nvm.h
-rw-r--r-- root/root 136037 2015-05-26 23:59 igb-5.3.2/src/kcompat.h
-rw-r--r-- root/root 9130 2015-05-26 23:59 igb-5.3.2/src/igb_procfs.c
-rw-r--r-- root/root 6680 2015-05-26 23:59 igb-5.3.2/src/e1000_api.h
-rw-r--r-- root/root 3759 2015-05-26 23:59 igb-5.3.2/src/e1000_i210.h
-rw-r--r-- root/root 3848 2015-05-26 23:59 igb-5.3.2/src/e1000_mac.h
-rw-r--r-- root/root 13077 2015-05-26 23:59 igb-5.3.2/src/igb_vmdq.c
-rw-r--r-- root/root 13612 2015-05-26 23:59 igb-5.3.2/src/e1000_mbx.c
-rw-r--r-- root/root 31896 2015-05-26 23:59 igb-5.3.2/src/e1000_api.c
-rw-r--r-- root/root 22104 2015-05-26 23:59 igb-5.3.2/src/igb_param.c
-rw-r--r-- root/root 29592 2015-05-26 23:59 igb-5.3.2/src/kcompat_ethtool.c
-rw-r--r-- root/root 93927 2015-05-26 23:59 igb-5.3.2/src/e1000_phy.c
-rw-r--r-- root/root 30901 2015-05-26 23:59 igb-5.3.2/src/igb_ptp.c
-rw-r--r-- root/root 3851 2015-05-26 23:59 igb-5.3.2/src/e1000_mbx.h
-rw-r--r-- root/root 12479 2015-05-26 23:59 igb-5.3.2/src/igb_regtest.h
-rw-r--r-- root/root 104726 2015-05-26 23:59 igb-5.3.2/src/e1000_82575.c
-rw-r--r-- root/root 24522 2015-05-26 23:59 igb-5.3.2/src/igb.h
-rw-r--r-- root/root 7234 2015-05-26 23:59 igb-5.3.2/src/igb_hwmon.c
-rw-r--r-- root/root 65594 2015-05-26 23:59 igb-5.3.2/src/e1000_mac.c
-rw-r--r-- root/root 61472 2015-05-26 23:59 igb-5.3.2/src/e1000_defines.h
-rw-r--r-- root/root 25894 2015-05-26 23:59 igb-5.3.2/src/e1000_nvm.c
-rw-r--r-- root/root 20368 2015-05-26 23:59 igb-5.3.2/src/e1000_82575.h
-rw-r--r-- root/root 3388 2015-05-26 23:59 igb-5.3.2/src/e1000_manage.h
-rw-r--r-- root/root 16 2015-05-26 23:59 igb-5.3.2/src/Module.supported
-rw-r--r-- root/root 88183 2015-05-26 23:59 igb-5.3.2/src/igb_ethtool.c
-rw-r--r-- root/root 4240 2015-05-26 23:59 igb-5.3.2/src/e1000_osdep.h
-rw-r--r-- root/root 268554 2015-05-26 23:59 igb-5.3.2/src/igb_main.c
-rw-r--r-- root/root 1877 2015-05-26 23:59 igb-5.3.2/src/igb_vmdq.h
-rw-r--r-- root/root 15542 2015-05-26 23:59 igb-5.3.2/src/e1000_manage.c
-rw-r--r-- root/root 1011 2015-05-26 23:59 igb-5.3.2/src/igb_debugfs.c
-rw-r--r-- root/root 19064 2015-05-26 23:59 igb-5.3.2/src/e1000_hw.h
-rw-r--r-- root/root 4381 2015-05-26 23:59 igb-5.3.2/pci.updates
-rwxr-xr-x root/root 35635 2015-05-26 23:59 igb-5.3.2/README
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd igb-5.3.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oZBBdU
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd igb-5.3.2
+ make -C src clean
make: Entering directory `/root/rpmbuild/BUILD/igb-5.3.2/src'
rm -rf igb.ko igb.o igb.mod.c igb.mod.o igb_main.o e1000_82575.o e1000_i210.o e1000_mac.o e1000_nvm.o e1000_phy.o e1000_manage.o igb_param.o igb_ethtool.o kcompat.o e1000_api.o e1000_mbx.o igb_vmdq.o igb_procfs.o igb_hwmon.o igb_debugfs.o igb_ptp.o \
igb.7.gz .*cmd .tmp_versions Module.markers Module.symvers modules.order
make: Leaving directory `/root/rpmbuild/BUILD/igb-5.3.2/src'
+ make -C src
make: Entering directory `/root/rpmbuild/BUILD/igb-5.3.2/src'
make -C /lib/modules/3.10.0-693.11.1.el7.x86_64/build SUBDIRS=/root/rpmbuild/BUILD/igb-5.3.2/src modules
make[1]: Entering directory `/usr/src/kernels/3.10.0-693.11.1.el7.x86_64'
CC [M] /root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.o
In file included from /root/rpmbuild/BUILD/igb-5.3.2/src/igb.h:53:0,
from /root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:51:
/root/rpmbuild/BUILD/igb-5.3.2/src/kcompat.h:4347:33: error: redefinition of 'timespec_to_timespec64'
static inline struct timespec64 timespec_to_timespec64(const struct timespec ts)
^
In file included from include/linux/time.h:7:0,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:25:
include/linux/time64.h:42:33: note: previous definition of 'timespec_to_timespec64' was here
static inline struct timespec64 timespec_to_timespec64(const struct timespec ts)
^
In file included from /root/rpmbuild/BUILD/igb-5.3.2/src/igb.h:53:0,
from /root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:51:
/root/rpmbuild/BUILD/igb-5.3.2/src/kcompat.h:4351:31: error: redefinition of 'timespec64_to_timespec'
static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64)
^
In file included from include/linux/time.h:7:0,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:25:
include/linux/time64.h:37:31: note: previous definition of 'timespec64_to_timespec' was here
static inline struct timespec timespec64_to_timespec(const struct timespec64 ts64)
^
In file included from /root/rpmbuild/BUILD/igb-5.3.2/src/igb.h:53:0,
from /root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:51:
/root/rpmbuild/BUILD/igb-5.3.2/src/kcompat.h:4433:19: error: redefinition of 'skb_put_padto'
static inline int skb_put_padto(struct sk_buff *skb, unsigned int len)
^
In file included from include/linux/if_ether.h:23:0,
from include/uapi/linux/ethtool.h:18,
from include/linux/ethtool.h:17,
from include/linux/netdevice.h:43,
from /root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:30:
include/linux/skbuff.h:2780:19: note: previous definition of 'skb_put_padto' was here
static inline int skb_put_padto(struct sk_buff *skb, unsigned int len)
^
In file included from /root/rpmbuild/BUILD/igb-5.3.2/src/igb.h:53:0,
from /root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:51:
/root/rpmbuild/BUILD/igb-5.3.2/src/kcompat.h:4445:19: error: redefinition of 'eth_skb_pad'
static inline int eth_skb_pad(struct sk_buff *skb)
^
In file included from include/linux/if_vlan.h:16:0,
from /root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:45:
include/linux/etherdevice.h:421:19: note: previous definition of 'eth_skb_pad' was here
static inline int eth_skb_pad(struct sk_buff *skb)
^
In file included from /root/rpmbuild/BUILD/igb-5.3.2/src/igb.h:53:0,
from /root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:51:
/root/rpmbuild/BUILD/igb-5.3.2/src/kcompat.h:4466:0: warning: "skb_vlan_tag_get" redefined [enabled by default]
#define skb_vlan_tag_get vlan_tx_tag_get
^
In file included from /root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:45:0:
include/linux/if_vlan.h:82:0: note: this is the location of the previous definition
#define skb_vlan_tag_get(__skb) ((__skb)->vlan_tci & ~VLAN_TAG_PRESENT)
^
In file included from /root/rpmbuild/BUILD/igb-5.3.2/src/igb.h:53:0,
from /root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:51:
/root/rpmbuild/BUILD/igb-5.3.2/src/kcompat.h:4467:0: warning: "skb_vlan_tag_present" redefined [enabled by default]
#define skb_vlan_tag_present vlan_tx_tag_present
^
In file included from /root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:45:0:
include/linux/if_vlan.h:81:0: note: this is the location of the previous definition
#define skb_vlan_tag_present(__skb) ((__skb)->vlan_tci & VLAN_TAG_PRESENT)
^
In file included from /root/rpmbuild/BUILD/igb-5.3.2/src/igb.h:53:0,
from /root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:51:
/root/rpmbuild/BUILD/igb-5.3.2/src/kcompat.h:4480:52: warning: 'struct timecounter' declared inside parameter list [enabled by default]
static inline void __kc_timecounter_adjtime(struct timecounter *tc, s64 delta)
^
/root/rpmbuild/BUILD/igb-5.3.2/src/kcompat.h:4480:52: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/root/rpmbuild/BUILD/igb-5.3.2/src/kcompat.h: In function '__kc_timecounter_adjtime':
/root/rpmbuild/BUILD/igb-5.3.2/src/kcompat.h:4482:4: error: dereferencing pointer to incomplete type
tc->nsec += delta;
^
In file included from /root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:51:0:
/root/rpmbuild/BUILD/igb-5.3.2/src/igb.h: At top level:
/root/rpmbuild/BUILD/igb-5.3.2/src/igb.h:647:22: error: field 'cc' has incomplete type
struct cyclecounter cc;
^
/root/rpmbuild/BUILD/igb-5.3.2/src/igb.h:648:21: error: field 'tc' has incomplete type
struct timecounter tc;
^
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c: In function 'igb_ndo_bridge_getlink':
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:2298:2: error: too few arguments to function 'ndo_dflt_bridge_getlink'
return ndo_dflt_bridge_getlink(skb, pid, seq, dev, mode);
^
In file included from include/net/dst.h:13:0,
from include/net/sock.h:72,
from include/linux/tcp.h:23,
from /root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:31:
include/linux/rtnetlink.h:115:12: note: declared here
extern int ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq,
^
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c: At top level:
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:2321:2: error: unknown field 'ndo_set_vf_vlan' specified in initializer
.ndo_set_vf_vlan = igb_ndo_set_vf_vlan,
^
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:2343:2: warning: initialization from incompatible pointer type [enabled by default]
.ndo_fdb_add = igb_ndo_fdb_add,
^
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:2343:2: warning: (near initialization for 'igb_netdev_ops.<anonymous>.ndo_fdb_add') [enabled by default]
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:2349:2: warning: initialization from incompatible pointer type [enabled by default]
.ndo_bridge_setlink = igb_ndo_bridge_setlink,
^
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:2349:2: warning: (near initialization for 'igb_netdev_ops.<anonymous>.ndo_bridge_setlink') [enabled by default]
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:2350:2: warning: initialization from incompatible pointer type [enabled by default]
.ndo_bridge_getlink = igb_ndo_bridge_getlink,
^
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:2350:2: warning: (near initialization for 'igb_netdev_ops.<anonymous>.ndo_bridge_getlink') [enabled by default]
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c: In function 'igb_xmit_frame_ring':
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:5580:2: error: implicit declaration of function 'vlan_tx_tag_present' [-Werror=implicit-function-declaration]
if (skb_vlan_tag_present(skb)) {
^
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:5582:3: error: implicit declaration of function 'vlan_tx_tag_get' [-Werror=implicit-function-declaration]
tx_flags |= (skb_vlan_tag_get(skb) << IGB_TX_FLAGS_VLAN_SHIFT);
^
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c: In function 'igb_ndo_get_vf_config':
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:9484:5: error: 'struct ifla_vf_info' has no member named 'tx_rate'
ivi->tx_rate = adapter->vf_data[vf].tx_rate;
^
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c: In function 'igb_ndo_bridge_getlink':
/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.c:2300:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cc1: some warnings being treated as errors
make[2]: *** [/root/rpmbuild/BUILD/igb-5.3.2/src/igb_main.o] Error 1
make[1]: *** [_module_/root/rpmbuild/BUILD/igb-5.3.2/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.0-693.11.1.el7.x86_64'
make: *** [default] Error 2
make: Leaving directory `/root/rpmbuild/BUILD/igb-5.3.2/src'
error: Bad exit status from /var/tmp/rpm-tmp.oZBBdU (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.oZBBdU (%build)


Thank you for your help

User avatar
TrevorH
Forum Moderator
Posts: 21715
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Intel I350 driver upgrade failed

Postby TrevorH » 2018/01/17 02:37:24

That's completely unsupported. And so is 7.1 come to that. The correct thing to do is to run yum update and get to 7.4 which is the current and only supported version. That already includes igb 5.4.0-k as part of the kernel.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

lefloch91
Posts: 2
Joined: 2018/01/16 18:24:53

Re: Intel I350 driver upgrade failed

Postby lefloch91 » 2018/01/19 09:25:45

Thank you Trevor.