[elrepo] More 7.4 incompatible drivers

Nick Howitt nick at howitts.co.uk
Sun Oct 1 12:04:56 EDT 2017


Hi Phil,

I've been through all the kmod drivers I've compiled for 7.3 and tried 
compiling them against ClearOS 7.4. Four of them have failed to compile:
ath10k
ne2k-pci
r8169
rtl8723be

Of these I am most concerned about the r8169 as it is needed to remove 
compatibility with r8168 cards. Without it, the stock r8169 driver can 
still be loaded in preference to the r8168 driver for RTL8111/8168 
NIC's. I would really appreciate a fix for it and possibly the others.

The error logs are below:

*_r8169_*
+ cd r8169-6.020.00
+ KSRC=/usr/src/kernels/3.10.0-693.2.2.v7.x86_64
+ /usr/bin/make -C /usr/src/kernels/3.10.0-693.2.2.v7.x86_64 modules 
M=/home/build/rpmbuild/BUILD/r8169-6.020.00/src
make: Entering directory `/usr/src/kernels/3.10.0-693.2.2.v7.x86_64'
   CC [M]  /home/build/rpmbuild/BUILD/r8169-6.020.00/src/r8169_n.o
/home/build/rpmbuild/BUILD/r8169-6.020.00/src/r8169_n.c: In function 
'rtl8169_start_xmit':
/home/build/rpmbuild/BUILD/r8169-6.020.00/src/r8169_n.c:3767:12: error: 
'struct net_device' has no member named 'trans_start'
          dev->trans_start = jiffies;
             ^
make[1]: *** [/home/build/rpmbuild/BUILD/r8169-6.020.00/src/r8169_n.o] 
Error 1
make: *** [_module_/home/build/rpmbuild/BUILD/r8169-6.020.00/src] Error 2
make: Leaving directory `/usr/src/kernels/3.10.0-693.2.2.v7.x86_64'
error: Bad exit status from /var/tmp/rpm-tmp.dc2V8t (%build)

*_Ath10k_*
make: Entering directory `/usr/src/kernels/3.10.0-693.2.2.v7.x86_64'
   CC [M]  /home/build/rpmbuild/BUILD/ath10k-0.0/main.o
In file included from /home/build/rpmbuild/BUILD/ath10k-0.0/main.c:22:0:
/home/build/rpmbuild/BUILD/ath10k-0.0/ath.h:188:41: error: 
'IEEE80211_NUM_BANDS' undeclared here (not in a function)
   struct ieee80211_supported_band sbands[IEEE80211_NUM_BANDS];
                                          ^
make[1]: *** [/home/build/rpmbuild/BUILD/ath10k-0.0/main.o] Error 1
make: *** [_module_/home/build/rpmbuild/BUILD/ath10k-0.0] Error 2
make: Leaving directory `/usr/src/kernels/3.10.0-693.2.2.v7.x86_64'
error: Bad exit status from /var/tmp/rpm-tmp.p8A24n (%build)

*_ne2k-pci_*
+ cd ne2k-pci-1.03
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'override ne2k-pci * weak-updates/ne2k-pci'
+ echo 'override 8390 * weak-updates/ne2k-pci'
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.q5cYVI
+ umask 022
+ cd /home/build/rpmbuild/BUILD
+ cd ne2k-pci-1.03
+ KSRC=/usr/src/kernels/3.10.0-693.2.2.v7.x86_64
+ /usr/bin/make -C /usr/src/kernels/3.10.0-693.2.2.v7.x86_64 modules 
M=/home/build/rpmbuild/BUILD/ne2k-pci-1.03
make: Entering directory `/usr/src/kernels/3.10.0-693.2.2.v7.x86_64'
   CC [M]  /home/build/rpmbuild/BUILD/ne2k-pci-1.03/ne2k-pci.o
   CC [M]  /home/build/rpmbuild/BUILD/ne2k-pci-1.03/8390.o
In file included from /home/build/rpmbuild/BUILD/ne2k-pci-1.03/8390.c:6:0:
/home/build/rpmbuild/BUILD/ne2k-pci-1.03/lib8390.c: In function 
'ei_tx_intr':
/home/build/rpmbuild/BUILD/ne2k-pci-1.03/lib8390.c:596:7: error: 'struct 
net_device' has no member named 'trans_start'
     dev->trans_start = jiffies;
        ^
/home/build/rpmbuild/BUILD/ne2k-pci-1.03/lib8390.c:609:7: error: 'struct 
net_device' has no member named 'trans_start'
     dev->trans_start = jiffies;
        ^
make[1]: *** [/home/build/rpmbuild/BUILD/ne2k-pci-1.03/8390.o] Error 1
make: *** [_module_/home/build/rpmbuild/BUILD/ne2k-pci-1.03] Error 2
make: Leaving directory `/usr/src/kernels/3.10.0-693.2.2.v7.x86_64'
error: Bad exit status from /var/tmp/rpm-tmp.q5cYVI (%build)

*_rtl8723be_*
+ cd rtl8723be-0.0
+ KSRC=/usr/src/kernels/3.10.0-693.2.2.v7.x86_64
+ /usr/bin/make -C /usr/src/kernels/3.10.0-693.2.2.v7.x86_64 modules 
M=/home/build/rpmbuild/BUILD/rtl8723be-0.0
make: Entering directory `/usr/src/kernels/3.10.0-693.2.2.v7.x86_64'
   CC [M]  /home/build/rpmbuild/BUILD/rtl8723be-0.0/pci.o
In file included from /home/build/rpmbuild/BUILD/rtl8723be-0.0/pci.c:30:0:
/home/build/rpmbuild/BUILD/rtl8723be-0.0/wifi.h:1349:40: error: 
'IEEE80211_NUM_BANDS' undeclared here (not in a function)
   struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS];
                                         ^
make[1]: *** [/home/build/rpmbuild/BUILD/rtl8723be-0.0/pci.o] Error 1
make: *** [_module_/home/build/rpmbuild/BUILD/rtl8723be-0.0] Error 2
make: Leaving directory `/usr/src/kernels/3.10.0-693.2.2.v7.x86_64'
error: Bad exit status from /var/tmp/rpm-tmp.kAtiW5 (%build)

For completeness, the ones which compiled OK were:
aic7xxx
ax88179
cciss (not a NIC)
sis190

Regards,

Nick

Regards,

Nick


More information about the elrepo mailing list