2 cabos LAN conectados, 1 barramento PCI e vice-versa

1

Ao inicializar meu pc com 2 cabos LAN conectados, apenas uma interface é registrada.

03: 00.0 e 04: 00.0

$ dmesg | grep -P '0(3|4):00.0'
[    0.180140] pci 0000:04:00.0: [11ab:4362] type 00 class 0x020000
[    0.180181] pci 0000:04:00.0: reg 0x10: [mem 0xfa8fc000-0xfa8fffff 64bit]
[    0.180193] pci 0000:04:00.0: reg 0x18: [io  0xb800-0xb8ff]
[    0.180233] pci 0000:04:00.0: reg 0x30: [mem 0xfa8c0000-0xfa8dffff pref]
[    0.180277] pci 0000:04:00.0: supports D1 D2
[    0.180279] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.180337] pci 0000:04:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    2.077454] sky2 0000:04:00.0: Yukon-2 EC chip revision 2
[    2.080310] sky2 0000:04:00.0 eth0: addr 00:00:00:00:66:b6
[    2.147949] sky2 0000:04:00.0 enp4s0: renamed from eth0
[   18.815400] sky2 0000:04:00.0 enp4s0: enabling interface
[   21.829377] sky2 0000:04:00.0 enp4s0: Link is up at 1000 Mbps, full duplex, flow control both

Quando inicializo o servidor com um cabo, ambas as interfaces são encontradas e podem ser usadas conectando-se o segundo cabo.

$ dmesg | grep -P '0(3|4):00.0'
[    0.180140] pci 0000:04:00.0: [11ab:4362] type 00 class 0x020000
[    0.180182] pci 0000:04:00.0: reg 0x10: [mem 0xfa8fc000-0xfa8fffff 64bit]
[    0.180193] pci 0000:04:00.0: reg 0x18: [io  0xb800-0xb8ff]
[    0.180233] pci 0000:04:00.0: reg 0x30: [mem 0xfa8c0000-0xfa8dffff pref]
[    0.180277] pci 0000:04:00.0: supports D1 D2
[    0.180280] pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.180338] pci 0000:04:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    0.180424] pci 0000:03:00.0: [11ab:4362] type 00 class 0x020000
[    0.180465] pci 0000:03:00.0: reg 0x10: [mem 0xfa7fc000-0xfa7fffff 64bit]
[    0.180476] pci 0000:03:00.0: reg 0x18: [io  0xa800-0xa8ff]
[    0.180516] pci 0000:03:00.0: reg 0x30: [mem 0xfa7c0000-0xfa7dffff pref]
[    0.180559] pci 0000:03:00.0: supports D1 D2
[    0.180562] pci 0000:03:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.180620] pci 0000:03:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    2.062437] sky2 0000:04:00.0: Yukon-2 EC chip revision 2
[    2.064723] sky2 0000:04:00.0 eth0: addr 00:00:00:00:66:b6
[    2.068332] sky2 0000:03:00.0: Yukon-2 EC chip revision 2
[    2.070348] sky2 0000:03:00.0 eth1: addr 00:00:00:00:62:84
[    2.140054] sky2 0000:04:00.0 enp4s0: renamed from eth0
[    2.256554] sky2 0000:03:00.0 enp3s0: renamed from eth1
[   19.799013] sky2 0000:04:00.0 enp4s0: enabling interface
[   19.801113] sky2 0000:03:00.0 enp3s0: enabling interface
[   22.727625] sky2 0000:04:00.0 enp4s0: Link is up at 1000 Mbps, full duplex, flow control both
[  412.644094] sky2 0000:03:00.0 enp3s0: Link is up at 1000 Mbps, full duplex, flow control both

Quais etapas eu posso seguir para depurar isso ainda mais?

Extra info:
Motherboard: Asus P5W
Chipset: marvell Yukon 88E8053 
Drivers used(auto): sky2

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"
Kernel: 4.4.0-138-generic

Editar 1: Eu comparei os dois logs do dmesg e existem algumas coisas interessantes:

Quando 1 cabo é inserido:

Base memory trampoline at [        (ptrval)] 99000 size 24576
BRK [0x1a3d3f000, 0x1a3d3ffff] PGTABLE
BRK [0x1a3d40000, 0x1a3d40fff] PGTABLE
BRK [0x1a3d41000, 0x1a3d41fff] PGTABLE
BRK [0x1a3d42000, 0x1a3d42fff] PGTABLE
BRK [0x1a3d43000, 0x1a3d43fff] PGTABLE
BRK [0x1a3d44000, 0x1a3d44fff] PGTABLE
BRK [0x1a3d45000, 0x1a3d45fff] PGTABLE
BRK [0x1a3d46000, 0x1a3d46fff] PGTABLE
BRK [0x1a3d47000, 0x1a3d47fff] PGTABLE
BRK [0x1a3d48000, 0x1a3d48fff] PGTABLE

Mas quando 2 cabos estão conectados, há menos destas linhas:

Base memory trampoline at [        (ptrval)] 99000 size 24576
BRK [0x0bd3f000, 0x0bd3ffff] PGTABLE
BRK [0x0bd40000, 0x0bd40fff] PGTABLE
BRK [0x0bd41000, 0x0bd41fff] PGTABLE
BRK [0x0bd42000, 0x0bd42fff] PGTABLE
BRK [0x0bd43000, 0x0bd43fff] PGTABLE
BRK [0x0bd44000, 0x0bd44fff] PGTABLE
BRK [0x0bd45000, 0x0bd45fff] PGTABLE

Depois disso, a única diferença ocorre quando iniciamos os barramentos PCI:

pci 0000:03:00.0: [11ab:4362] type 00 class 0x020000
pci 0000:03:00.0: reg 0x10: [mem 0xfa7fc000-0xfa7fffff 64bit]
pci 0000:03:00.0: reg 0x18: [io  0xa800-0xa8ff]
pci 0000:03:00.0: reg 0x30: [mem 0xfa7c0000-0xfa7dffff pref]
pci 0000:03:00.0: supports D1 D2
pci 0000:03:00.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:03:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
pci 0000:00:1c.4: PCI bridge to [bus 03]

O resto é literalmente o mesmo.

Quanto mais eu estou olhando para isso, mais eu acho que é um problema de hardware. Ou talvez uma opção no BIOS que eu não conheço e não esteja diretamente vinculada aos recursos da LAN. As duas portas, no entanto, funcionam normalmente quando usadas com um cabo, ou duas quando um extra é inserido após a inicialização.

Editar 2: link

Eu adicionei um link externo com capturas de tela ao BIOS. Eu tentei ler em todos eles, mas consegui encontrar qualquer coisa sobre LAN, exceto:

Onboard PCIE GbE LAN_1   **ENABLED**/DISABLED
Onboard PCIE GbE LAN_2   **ENABLED**/DISABLED
  LAN Option ROM         ENABLED/**DISABLED**
POST Check LAN Cable     **ENABLED**/DISABLED

Eu toquei com essas configurações sem resultado.

    
por Keuvie 26.10.2018 / 21:59

0 respostas