On 11/20/22 08:25, hw wrote:
On Sun, 2022-11-20 at 12:45 +0100, hw wrote:
[...]
I don't know, I'll try the Debian rescue and FreeBSD when the currently
running
backups are finished.
I booted the Debian rescue and the LEDs on the network cards don't light up and
the link remains down even when I replug the cable.
I rebooted into the installed Debian and the LEDs are back on and the link is up
and I can ping. After 53 pings, the address is unreachable again.
So I booted FreeBSD and went into the shell. Dmesg said link up and down from
my plugging and ifconfig kept saying 'no carrier'. After giving the interface
an IPv6 address with ifconfig it still said no carrier and after replugging the
cable, I could ping 127 times. Then ping stopped for a few seconds before it
pinged one more time, and now it's stuck. After a while, it pinged again, and
after another while, ping stopped again.
There are no further messages in dmesg and ifconfig keeps saying the interface
is active even when it doesn't ping.
FreeBSD ping times are about almost 100ms less the ones with Linux.
This is probably not a software issue. I'll switch cards around in a couple
days or so. That's gona suck but now I want to know. Stay tuned ...
Regarding the FreeBSD installer rescue shell/ live CD, I am wondering if
the device driver is loaded (?).
This is the FreeBSD installer I use:
https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.3/
FreeBSD-12.3-RELEASE-amd64-memstick.img
Booting and choosing "Welcome" -> "Shell":
# freebsd-version ; uname -a
12.3-RELEASE
FreeBSD 12.3-RELEASE FreeBSD 12.3-RELEASE r371126 GENERIC amd64
# ls -l /boot/kernel/*ixgbe*
ls: /boot/kernel/*ixgbe*: No such file or directory
Searching, I found:
# ls -l /boot/kernel/if_ix.ko
-r-xr-xr-x 1 root wheel 351112 Dec 2 2021 /boot/kernel/if_ix.ko
# md5sum /boot/kernel/if_ix.ko
dd37c6a5077ca77289be338566ab3ade /boot/kernel/if_ix.ko
If I try to load it:
# kldload if_ix
module_register: cannot register pci/ix from if_ix.ko; already loaded
from kernel
kldload: can't load if_ix: module already loaded or in kernel
Using a recently updated VM:
2022-11-20 09:36:10 toor@f3 ~
# freebsd-version ; uname -a
12.3-RELEASE-p7
FreeBSD f3.tracy.holgerdanske.com 12.3-RELEASE-p6 FreeBSD
12.3-RELEASE-p6 GENERIC amd64
2022-11-20 09:36:24 toor@f3 ~
# ll /boot/kernel/if_ix.ko
-r-xr-xr-x 2 root wheel 351112 2022/01/30 20:50:57 /boot/kernel/if_ix.ko
2022-11-20 09:44:00 toor@f3 ~
# md5sum /boot/kernel/if_ix.ko
dd37c6a5077ca77289be338566ab3ade /boot/kernel/if_ix.ko
2022-11-20 09:36:29 toor@f3 ~
# kldload if_ix
kldload: can't load if_ix: module already loaded or in kernel
So, it looks like the driver is loaded in
FreeBSD-12.3-RELEASE-amd64-memstick.img, and the driver has not been
updated on the 12.3-R branch.
Looking at the FreeBSD download page, the date on the installer is
2021-Dec-02 06:37.
Looking at the Intel driver page for FreeBSD:
https://www.intel.com/content/www/us/en/download/14303/intel-network-adapters-driver-for-pcie-10-gigabit-network-connections-under-freebsd.html
The tarball is:
ix-3.3.31.tar.gz
I assume the version number is 3.3.31.
STFW for FreeBSD-12.3-RELEASE source code, I see:
https://github.com/freebsd/freebsd-src/tree/releng/12.3/sys/dev/ixgbe
Looking at a few *.h and *.c files, I am unable to find a version number.
Looking at "Intel ® Ethernet Controller Products 27.7 Release Notes" ->
"2.0 Fixed Issues" -> "2.3 Intel ® Ethernet 500 Series Network
Adapters", I see:
None for this release.
I am unable to determine if Intel has fixed any device driver bugs for
the X540-AT2 adapter since FreeBSD-12.3-RELEASE-amd64-memstick.img was
released.
David