есть инструкция -
https://downloadmirror.intel.com/14688/eng/readme.txt, в которой есть раздел
Building and Installation
=========================
NOTE: This driver package is to be used only as a standalone archive and the
user should not attempt to incorporate it into the kernel source tree.
In the instructions below, x.x.x is the driver version as indicated in the name
of the driver tar file.
1. Move the base driver tar file to the directory of your choice. For
example, use /home/username/ixgbe or /usr/local/src/ixgbe.
2. Untar/unzip the archive:
tar xzf ixgbe-x.x.x.tar.gz
This will create the ixgbe-x.x.x directory.
3. To install man page:
cd ixgbe-x.x.x
gzip -c ixgbe.4 > /usr/share/man/man4/ixgbe.4.gz
4. To load the driver onto a running system:
cd ixgbe-x.x.x/src
make load
5. To assign an IP address to the interface, enter the following:
ifconfig ixgbe<interface_num> <IP_address>
6. Verify that the interface works. Enter the following, where <IP_address>
is the IP address for another machine on the same subnet as the interface
that is being tested:
ping <IP_address>
7. If you want the driver to load automatically when the system is booted:
cd ixgbe-x.x.x/src
make
make install
Edit /boot/loader.conf, and add the following line:
if_ixgbe_load="YES"
Edit /etc/rc.conf, and create the appropriate ifconfig_ixgbe<interface_num>
entry:
ifconfig_ixgbe<interface_num>="<ifconfig_settings>"
Example usage:
ifconfig_ixgbe0="inet 192.168.10.1 netmask 255.255.255.0"
NOTE: For assistance, see the ifconfig man page.
обновление и установка в моем понимании это одно и тоже, ведь чтобы что-то обновить нужно установить
Код: Выделить всё
# dmesg | grep ix
acpi0: Power Button (fixed)
ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 3.2.12-k> port 0xecc0-0xecdf mem 0xdf300000-0xdf3fffff,0xdf2f8000-0xdf2fbfff irq 50 at device 0.0 on pci7
ix0: Using MSI-X interrupts with 9 vectors
ix0: Ethernet address: 14:02:ec:95:a9:24
ix0: PCI Express Bus: Speed 5.0GT/s Width x8
ix0: netmap queues/slots: TX 8/2048, RX 8/2048
ix1: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 3.2.12-k> port 0xece0-0xecff mem 0xdf400000-0xdf4fffff,0xdf2fc000-0xdf2fffff irq 40 at device 0.1 on pci7
ix1: Using MSI-X interrupts with 9 vectors
ix1: Ethernet address: 14:02:ec:95:a9:25
ix1: PCI Express Bus: Speed 5.0GT/s Width x8
ix1: netmap queues/slots: TX 8/2048, RX 8/2048
ix0: link state changed to UP
ix1: link state changed to UP
ix0: link state changed to DOWN
ix1: link state changed to DOWN
ix0: link state changed to UP
ix1: link state changed to UP
ix0: link state changed to DOWN
ix1: link state changed to DOWN
ix0: link state changed to UP
ix1: link state changed to UP
ix0: link state changed to DOWN
ix1: link state changed to DOWN
ix0: link state changed to UP
ix1: link state changed to UP
ix0: link state changed to DOWN
ix1: link state changed to DOWN
ix0: link state changed to UP
ix1: link state changed to UP
ix0: link state changed to DOWN
ix1: link state changed to DOWN
ix0: link state changed to UP
ix1: link state changed to UP
ix0: link state changed to DOWN
ix1: link state changed to DOWN
ix0: link state changed to UP
ix1: link state changed to UP
ix0: link state changed to DOWN
ix1: link state changed to DOWN
ix0: link state changed to UP
ix1: link state changed to UP
1. Move the base driver tar file to the directory of your choice. For
example, use /home/username/ixgbe or /usr/local/src/ixgbe.
2. Untar/unzip the archive:
tar xzf ixgbe-x.x.x.tar.gz
This will create the ixgbe-x.x.x directory.
Код: Выделить всё
# cd /root/
wget --no-check-certificate https://downloadmirror.intel.com/14688/eng/ix-3.3.10.tar.gz
tar xzf ix-3.3.10.tar.gz
# ls -la
total 316
drwxr-xr-x 6 root wheel 512 Mar 26 08:59 .
drwxr-xr-x 19 root wheel 1024 Mar 26 09:02 ..
drwx------ 3 root wheel 512 Mar 23 11:11 .cache
drwx------ 3 root wheel 512 Mar 23 11:11 .config
-rw-r--r-- 2 root wheel 957 Jul 5 2019 .cshrc
-rw------- 1 root wheel 4255 Mar 26 08:59 .history
-rw-r--r-- 1 root wheel 149 Jul 5 2019 .k5login
drwx------ 3 root wheel 512 Mar 23 11:11 .local
-rw-r--r-- 1 root wheel 395 Jul 5 2019 .login
-rw-r--r-- 2 root wheel 474 Jul 5 2019 .profile
drwxr-xr-x 3 root 1003 512 May 17 2019 ix-3.3.10
-rw-r--r-- 1 root wheel 272974 Jul 2 2019 ix-3.3.10.tar.gz
3. To install man page:
cd ixgbe-x.x.x
gzip -c ixgbe.4 > /usr/share/man/man4/ixgbe.4.gz
4. To load the driver onto a running system:
cd ixgbe-x.x.x/src
make load
третий пункт так понимаю установка мануала, только тогда ошибочка в переходе по папкам, надо не
cd ixgbe-x.x.x
а
cd ixgbe-x.x.x/src
так как там находится ixgbe.4, ладно сделали
Код: Выделить всё
# cd ix-3.3.10/src/
# gzip -c ixgbe.4 > /usr/share/man/man4/ixgbe.4.gz
а далее 4 пункт, как бы пишет что нужно загрузить драйвер, но ведь он есть в ядре
Код: Выделить всё
# make load
/sbin/kldload -v /root/ix-3.3.10/src/if_ix.ko
kldload: can't load /root/ix-3.3.10/src/if_ix.ko: module already loaded or in kernel
*** Error code 1
Stop.
make: stopped in /root/ix-3.3.10/src
кусок с GENERIC
Код: Выделить всё
# PCI Ethernet NICs.
device bxe # Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE
device de # DEC/Intel DC21x4x (``Tulip'')
device em # Intel PRO/1000 Gigabit Ethernet Family
device igb # Intel PRO/1000 PCIE Server Gigabit Family
device ix # Intel PRO/10GbE PCIE PF Ethernet
device ixv # Intel PRO/10GbE PCIE VF Ethernet
device ixl # Intel XL710 40Gbe PCIE Ethernet
device ixlv # Intel XL710 40Gbe VF PCIE Ethernet
device le # AMD Am7900 LANCE and Am79C9xx PCnet
device ti # Alteon Networks Tigon I/II gigabit Ethernet
device txp # 3Com 3cR990 (``Typhoon'')
device vx # 3Com 3c590, 3c595 (``Vortex'')
пятый и шестой пункт пропускаем, так как ип есть и все пингуется, а седьмой пункт и есть установка
7. If you want the driver to load automatically when the system is booted:
cd ixgbe-x.x.x/src
make
make install
Edit /boot/loader.conf, and add the following line:
if_ixgbe_load="YES"
Edit /etc/rc.conf, and create the appropriate ifconfig_ixgbe<interface_num>
entry:
ifconfig_ixgbe<interface_num>="<ifconfig_settings>"
Example usage:
ifconfig_ixgbe0="inet 192.168.10.1 netmask 255.255.255.0"
NOTE: For assistance, see the ifconfig man page.
Код: Выделить всё
# make
Warning: Object directory not changed from original /root/ix-3.3.10/src
здесь не понял о чем речь, каталог не изменился относительно оригинального.... не знаю на что рассчитывал но продолжил
Код: Выделить всё
# make install
install -T release -o root -g wheel -m 555 if_ix.ko /boot/kernel/
kldxref /boot/kernel
сделал уже запись и в лоадер
Edit /boot/loader.conf, and add the following line:
if_ixgbe_load="YES"
Код: Выделить всё
# mcedit /etc/rc.conf
.....
ifconfig_ixgbe="up"
.....
reboot
Код: Выделить всё
# dmesg | grep ix
acpi0: Power Button (fixed)
ix0: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 3.2.12-k> port 0xecc0-0xecdf mem 0xdf300000-0xdf3fffff,0xdf2f8000-0xdf2fbfff irq 50 at device 0.0 on pci7
ix0: Using MSI-X interrupts with 9 vectors
ix0: Ethernet address: 14:02:ec:95:a9:24
ix0: PCI Express Bus: Speed 5.0GT/s Width x8
ix0: netmap queues/slots: TX 8/2048, RX 8/2048
ix1: <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 3.2.12-k> port 0xece0-0xecff mem 0xdf400000-0xdf4fffff,0xdf2fc000-0xdf2fffff irq 40 at device 0.1 on pci7
ix1: Using MSI-X interrupts with 9 vectors
ix1: Ethernet address: 14:02:ec:95:a9:25
ix1: PCI Express Bus: Speed 5.0GT/s Width x8
ix1: netmap queues/slots: TX 8/2048, RX 8/2048
ix0: link state changed to UP
ix1: link state changed to UP
результат очевиден был