Artix Linux Forum

Artix Linux => System => Topic started by: tony26102 on 26 June 2023, 12:17:15

Title: Intel X540-AT2 not working
Post by: tony26102 on 26 June 2023, 12:17:15
Hi, i gave my best but still not working, need help.

Here my Hardware by Linux-Hardware.org (https://linux-hardware.org/?probe=b9bef208f1)
Ethernet hardware:
Code: [Select]
lspci | grep Ethernet
08:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
41:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)
41:00.1 Ethernet controller: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 01)
Drivers apparently installed and running:
Code: [Select]
~% sudo modprobe ixgbe && sudo dmesg | grep ixgbe
[    5.113705] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver
[    5.113709] ixgbe: Copyright (c) 1999-2016 Intel Corporation.
[    5.388865] ixgbe 0000:41:00.0: Multiqueue Enabled: Rx Queue count = 16, Tx Queue count = 16 XDP Queue count = 0
[    5.470120] ixgbe 0000:41:00.0: 32.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x8 link)
[    5.565047] ixgbe 0000:41:00.0: MAC: 3, PHY: 0, PBA No: G50137-002
[    5.565049] ixgbe 0000:41:00.0: a0:36:9f:2d:13:d0
[    5.708187] ixgbe 0000:41:00.0: Intel(R) 10 Gigabit Network Connection
[    5.976163] ixgbe 0000:41:00.1: Multiqueue Enabled: Rx Queue count = 16, Tx Queue count = 16 XDP Queue count = 0
[    6.058223] ixgbe 0000:41:00.1: 32.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x8 link)
[    6.151326] ixgbe 0000:41:00.1: MAC: 3, PHY: 0, PBA No: G50137-002
[    6.151329] ixgbe 0000:41:00.1: a0:36:9f:2d:13:d2
[    6.293453] ixgbe 0000:41:00.1: Intel(R) 10 Gigabit Network Connection
[   27.831860] ixgbe 0000:41:00.0: registered PHC device on eth1
[   28.042146] ixgbe 0000:41:00.1: registered PHC device on eth2
[   46.145312] ixgbe 0000:41:00.1 eth2: NIC Link is Up 1 Gbps, Flow Control: RX/TX
[   46.321441] ixgbe 0000:41:00.1 eth2: NIC Link is Down
Apparently before 3 weeks is a new kernel-driver (https://github.com/torvalds/linux/blob/master/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c) for it.
 i not yet found a step-by-step guide to install and/or upgrade drivers and test functionality.

Symptoms:
Questions:

Thanks you all in advance for any help.

Title: Re: Intel X540-AT2 not working
Post by: Hitman on 26 June 2023, 23:17:51
Is that a dedicated board or integrated in motherboard, i can't find details about it.
Quote
Apparently before 3 weeks is a new kernel-driver for it.
That's the thing, because it will need to be merged in the kernel, which takes weeks, you can of course hurry that up by making your own kernel with it as a patch.
Quote
Can i disable PXE of 540-AT2 even if my motherboard have UEFI? and how to, possibly step-by-step?
Heavily proprietary, but shouldn't be causing your issue anyway.
Quote
If i don't have a second device to test the 10G, can i connect the two ports each-other to check it? How is the command for that?
If it has 2.5g compatibility there is cheap hardware you can buy already nope, it's 10g only and a server card. i'm afraid you'll be better off asking somewhere else about support for this, it was made for servers and they play by different rules.
Title: Re: Intel X540-AT2 not working
Post by: tony26102 on 05 July 2023, 20:15:59
Thanks @Hitman for you answer,

well, I research the whole inet to find how to switch-off PXE but without results because Intel push to much this PXE.
The "problem" is NVidia has bought Mellanox and Intel with the intention to keep the market shares or even to win some... push as much as possible this PXE.

Many Intel-customer like e.g. HP integrate a BIOS-function to enable or disable PXE in their server-motherboards, laptops, practically anywhere. My bad luck is, I have an AMD CPU and even though the MSI-X399 can very well also be used as a server board... does not have this feature in BIOS.

The solution for PXE on AMD-motherboard is:
So, I can live with these settings of the PXE and consider this to be done.

What is still open is the loss or obtaining or generating of complete fantasy ip addresses on the part of the "new" NIC only.
Code: [Select]
eth1:
169.254.138.49
eth2
169.254.197.223
Looking in the inet to set in the OS a fix ip-adresse, found some threads (and Arch-Wiki) talking about `/etc/dhcpcd.conf`, well, at this point I got curious and I have searched a `dhcp` in the "OpenRC" and there I have the service `dhcpcd` which was stopped.

After all this, I put the RJ-45 cable in the "new" NIC and switch immediately to the in the router assigned fix-ip.

I have now a little questions:

Thanks all the people in advance helping me to solve the topic.
Title: Re: Intel X540-AT2 not working
Post by: Hitman on 05 July 2023, 20:51:57
Quote
Disable WOL (Wake on LAN).
Hehe, that always works to turn off the network related stuff. But probably no. 2 solved it as it boots first from disk and thus doesn't get to call the pxe.

I assume you connected the card in only the 1gbit mode.

Quote
Who switch the `hcpcd`-service off? The installation of `connman connman-openrc cmst`?
A service that requires another service will of course switch it on, even if disabled, but to switch off you have to do it manually (only if it conflicts, otherwise it's ok regardless).
Quote
Now that I set the service to default, will remain like this or will be switsched again off?
Should remain like this.
Quote
Could someone propose a script to check if this service is started by default or to start it later or to set a "variable" in `/etc/environment` for that?
You can easily 'grep' for it in command 'rc-update', but i don't think you will need to.

If your connection is normal just use dhcpcd for now.
Title: Re: Intel X540-AT2 not working
Post by: tony26102 on 06 July 2023, 09:02:51
Thanks again,

I think, I found the error, the internal DHCP-client of  ConnMan is not working (see here in the Arch-Linux-Wiki (https://wiki.archlinux.org/title/Network_configuration#Network_managers)).

Now, I installed `connman` without to disable any other NetworkManager and maybe was worng but I also don't read the wiki bevore, because:
If I disable one networkmanager before install the other, I cannot have a networkconnection and by the way, the wiki instruction are not clear at all.