LANケーブル2本、PCIバス1本またはその逆接続

LANケーブル2本、PCIバス1本またはその逆接続

マイコンピュータに2つのLANケーブルを接続すると、1つのインターフェイスのみが登録されます。

03:00.0および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

1つのケーブルでサーバーを起動すると、両方のインターフェースが検出され、2番目のケーブルを接続して使用できます。

$ 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

追加のデバッグのためにどのような手順を実行できますか?

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

編集1:2つのdmesgログを比較しましたが、いくつかの興味深い点があります。

ケーブル1本を接続した場合:

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

ただし、2本のケーブルを接続すると、次のラインが減ります。

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

その後、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]

残りは事実上同じです。

この問題を詳しく調べると、ハードウェアの問題だと思う方が大きくなります。それとも、私が知らず、LAN機能と直接関係のないBIOSのオプションかもしれません。ただし、1つのケーブルを使用するか、起動後に追加のケーブルを接続すると、両方のポートが正常に機能します。

編集2: https://www.neoseeeker.com/Articles/Hardware/Reviews/asus_p5wdh/3.html

BIOSスクリーンショットを含む外部リンクを追加しました。すべてを読もうとしましたが、以下を除いてLANについては何も見つかりませんでした。

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

私は結果なしでこの設定を使用しました。

ベストアンサー1

おすすめ記事