Jump to content
Калькуляторы

igb 5.3.5.7 kernel 4.12

Пробую посвежее ядра для тазика, например 4.12.5, но не могу собрать там драйвер под igb.

 

Вываливается на не объявленной функции, гугление толком ничего не дало, рассылки есть но не совсем то.

 

rpmbuild -tb igb-5.3.5.7.tar.gz
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SMZrt9
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf igb-5.3.5.7
+ /usr/bin/gzip -dc /usr/local/src/igb/igb-5.3.5.7.tar.gz
+ /usr/bin/tar -xvvf -
drwxr-xr-x root/root         0 2016-12-15 09:33 igb-5.3.5.7/
-rw-r--r-- root/root      9792 2016-12-15 09:33 igb-5.3.5.7/igb.spec
-rw-r--r-- root/root      1128 2016-12-15 09:33 igb-5.3.5.7/SUMS
-rw-r--r-- root/root     18693 2016-12-15 09:33 igb-5.3.5.7/COPYING
-rw-r--r-- root/root     10917 2016-12-15 09:33 igb-5.3.5.7/igb.7
drwxr-xr-x root/root         0 2016-12-15 09:33 igb-5.3.5.7/src/
-rw-r--r-- root/root     28270 2016-12-15 09:33 igb-5.3.5.7/src/e1000_i210.c
-rw-r--r-- root/root     10945 2016-12-15 09:33 igb-5.3.5.7/src/e1000_phy.h
-rw-r--r-- root/root     50628 2016-12-15 09:33 igb-5.3.5.7/src/kcompat.c
-rw-r--r-- root/root     35282 2016-12-15 09:33 igb-5.3.5.7/src/e1000_regs.h
-rw-r--r-- root/root     14052 2016-12-15 09:33 igb-5.3.5.7/src/Makefile
-rw-r--r-- root/root      2520 2016-12-15 09:33 igb-5.3.5.7/src/e1000_nvm.h
-rw-r--r-- root/root    158512 2016-12-15 09:33 igb-5.3.5.7/src/kcompat.h
-rw-r--r-- root/root      9130 2016-12-15 09:33 igb-5.3.5.7/src/igb_procfs.c
-rw-r--r-- root/root      6680 2016-12-15 09:33 igb-5.3.5.7/src/e1000_api.h
-rw-r--r-- root/root      3759 2016-12-15 09:33 igb-5.3.5.7/src/e1000_i210.h
-rw-r--r-- root/root      3848 2016-12-15 09:33 igb-5.3.5.7/src/e1000_mac.h
-rw-r--r-- root/root     13077 2016-12-15 09:33 igb-5.3.5.7/src/igb_vmdq.c
-rw-r--r-- root/root     13706 2016-12-15 09:33 igb-5.3.5.7/src/e1000_mbx.c
-rw-r--r-- root/root     31896 2016-12-15 09:33 igb-5.3.5.7/src/e1000_api.c
-rw-r--r-- root/root     22104 2016-12-15 09:33 igb-5.3.5.7/src/igb_param.c
-rw-r--r-- root/root     29592 2016-12-15 09:33 igb-5.3.5.7/src/kcompat_ethtool.c
-rw-r--r-- root/root     93920 2016-12-15 09:33 igb-5.3.5.7/src/e1000_phy.c
-rw-r--r-- root/root     30787 2016-12-15 09:33 igb-5.3.5.7/src/igb_ptp.c
-rw-r--r-- root/root      3851 2016-12-15 09:33 igb-5.3.5.7/src/e1000_mbx.h
-rw-r--r-- root/root     12479 2016-12-15 09:33 igb-5.3.5.7/src/igb_regtest.h
-rw-r--r-- root/root    107141 2016-12-15 09:33 igb-5.3.5.7/src/e1000_82575.c
-rw-r--r-- root/root     24708 2016-12-15 09:33 igb-5.3.5.7/src/igb.h
-rw-r--r-- root/root      7234 2016-12-15 09:33 igb-5.3.5.7/src/igb_hwmon.c
-rw-r--r-- root/root     65594 2016-12-15 09:33 igb-5.3.5.7/src/e1000_mac.c
-rw-r--r-- root/root     61705 2016-12-15 09:33 igb-5.3.5.7/src/e1000_defines.h
-rw-r--r-- root/root     25912 2016-12-15 09:33 igb-5.3.5.7/src/e1000_nvm.c
-rw-r--r-- root/root     20496 2016-12-15 09:33 igb-5.3.5.7/src/e1000_82575.h
-rw-r--r-- root/root      3388 2016-12-15 09:33 igb-5.3.5.7/src/e1000_manage.h
-rw-r--r-- root/root        16 2016-12-15 09:33 igb-5.3.5.7/src/Module.supported
-rw-r--r-- root/root     88182 2016-12-15 09:33 igb-5.3.5.7/src/igb_ethtool.c
-rw-r--r-- root/root      4240 2016-12-15 09:33 igb-5.3.5.7/src/e1000_osdep.h
-rw-r--r-- root/root    272022 2016-12-15 09:33 igb-5.3.5.7/src/igb_main.c
-rw-r--r-- root/root      1877 2016-12-15 09:33 igb-5.3.5.7/src/igb_vmdq.h
-rw-r--r-- root/root     15541 2016-12-15 09:33 igb-5.3.5.7/src/e1000_manage.c
-rw-r--r-- root/root      1011 2016-12-15 09:33 igb-5.3.5.7/src/igb_debugfs.c
-rw-r--r-- root/root     19064 2016-12-15 09:33 igb-5.3.5.7/src/e1000_hw.h
-rw-r--r-- root/root      4556 2016-12-15 09:33 igb-5.3.5.7/pci.updates
-rw-r--r-- root/root     35923 2016-12-15 09:33 igb-5.3.5.7/README
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd igb-5.3.5.7
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2A2Sn4
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd igb-5.3.5.7
+ make -C src clean
make: Entering directory `/root/rpmbuild/BUILD/igb-5.3.5.7/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.5.7/src'
+ make -C src
make: Entering directory `/root/rpmbuild/BUILD/igb-5.3.5.7/src'
make -C /lib/modules/4.12.5/build SUBDIRS=/root/rpmbuild/BUILD/igb-5.3.5.7/src modules
make[1]: Entering directory `/usr/src/kernels/4.12.5'
 CC [M]  /root/rpmbuild/BUILD/igb-5.3.5.7/src/igb_main.o
/root/rpmbuild/BUILD/igb-5.3.5.7/src/igb_main.c: In function 'igb_set_interrupt_capability':
/root/rpmbuild/BUILD/igb-5.3.5.7/src/igb_main.c:1051:4: error: implicit declaration of function 'pci_enable_msix' [-Werror=implicit-function-declaration]
   err = pci_enable_msix(pdev,
   ^
/root/rpmbuild/BUILD/igb-5.3.5.7/src/igb_main.c: At top level:
/root/rpmbuild/BUILD/igb-5.3.5.7/src/igb_main.c:2354:2: warning: initialization from incompatible pointer type [enabled by default]
 .ndo_set_vf_vlan = igb_ndo_set_vf_vlan,
 ^
/root/rpmbuild/BUILD/igb-5.3.5.7/src/igb_main.c:2354:2: warning: (near initialization for 'igb_netdev_ops.ndo_set_vf_vlan') [enabled by default]
cc1: some warnings being treated as errors
make[2]: *** [/root/rpmbuild/BUILD/igb-5.3.5.7/src/igb_main.o] Error 1
make[1]: *** [_module_/root/rpmbuild/BUILD/igb-5.3.5.7/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/4.12.5'
make: *** [default] Error 2
make: Leaving directory `/root/rpmbuild/BUILD/igb-5.3.5.7/src'
error: Bad exit status from /var/tmp/rpm-tmp.2A2Sn4 (%build)


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

 

На 5.3.5.4 тоже самое.

 

Убрали похоже pci_enable_msix() https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=aff171641d18

 

А в исходниках интел не поправил, 4.12.5 предлагает использовать igb 5.4.0-k практически без параметров RSS IntMode и прочего.

Edited by hsvt

Share this post


Link to post
Share on other sites

Если кому интересно, написал на e1000-devel@lists.sf.net и вроде как поправили.

 

https://downloadmirror.intel.com/13663/eng/READMEFIRST.txt

 

Но accel-ppp к примеру всё равно не собирается на 4.12.X http://accel-ppp.org/forum/viewtopic.php?f=20&t=866

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.