Ethtool --dump-module-eeprom
Zur Navigation springen
Zur Suche springen
Via ethtool (alternativ -v oder --module-info) können unter Linux Informationen zu installierten Transceiver Modulen abgefragt werden.
Beispiel
Das folgende Beispiel zeigt eine Intel X710 Netzwerkkarte mit Flexoptix P.8596.02 Transceiver:
root@test:~# ethtool -m enp1s0f0 Identifier : 0x03 (SFP) Extended identifier : 0x04 (GBIC/SFP defined by 2-wire interface ID) Connector : 0x07 (LC) Transceiver codes : 0x10 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 Transceiver type : 10G Ethernet: 10G Base-SR Transceiver type : Ethernet: 1000BASE-SX Encoding : 0x06 (64B/66B) BR, Nominal : 10300MBd Rate identifier : 0x02 (8/4/2G Rx Rate_Select only) Length (SMF,km) : 0km Length (SMF) : 0m Length (50um) : 80m Length (62.5um) : 30m Length (Copper) : 0m Length (OM3) : 300m Laser wavelength : 850nm Vendor name : Intel Corp Vendor OUI : 00:1b:21 Vendor PN : P.8596.02 Vendor rev : A Option values : 0x00 0x3a Option : RX_LOS implemented Option : TX_FAULT implemented Option : TX_DISABLE implemented Option : RATE_SELECT implemented BR margin, max : 0% BR margin, min : 0% Vendor SN : F79BED0 Date code : 200108 Optical diagnostics support : Yes Laser bias current : 6.020 mA Laser output power : 0.4739 mW / -3.24 dBm Receiver signal average optical power : 0.6010 mW / -2.21 dBm Module temperature : 28.13 degrees C / 82.64 degrees F Module voltage : 3.3061 V Alarm/warning flags implemented : Yes Laser bias current high alarm : Off Laser bias current low alarm : Off Laser bias current high warning : Off Laser bias current low warning : Off Laser output power high alarm : Off Laser output power low alarm : Off Laser output power high warning : Off Laser output power low warning : Off Module temperature high alarm : Off Module temperature low alarm : Off Module temperature high warning : Off Module temperature low warning : Off Module voltage high alarm : Off Module voltage low alarm : Off Module voltage high warning : Off Module voltage low warning : Off Laser rx power high alarm : Off Laser rx power low alarm : Off Laser rx power high warning : Off Laser rx power low warning : Off Laser bias current high alarm threshold : 50.000 mA Laser bias current low alarm threshold : 1.000 mA Laser bias current high warning threshold : 40.000 mA Laser bias current low warning threshold : 2.000 mA Laser output power high alarm threshold : 1.2589 mW / 1.00 dBm Laser output power low alarm threshold : 0.1175 mW / -9.30 dBm Laser output power high warning threshold : 1.0000 mW / 0.00 dBm Laser output power low warning threshold : 0.1479 mW / -8.30 dBm Module temperature high alarm threshold : 90.00 degrees C / 194.00 degrees F Module temperature low alarm threshold : -25.00 degrees C / -13.00 degrees F Module temperature high warning threshold : 85.00 degrees C / 185.00 degrees F Module temperature low warning threshold : -20.00 degrees C / -4.00 degrees F Module voltage high alarm threshold : 3.6000 V Module voltage low alarm threshold : 3.0000 V Module voltage high warning threshold : 3.5000 V Module voltage low warning threshold : 3.0500 V Laser rx power high alarm threshold : 1.2589 mW / 1.00 dBm Laser rx power low alarm threshold : 0.0490 mW / -13.10 dBm Laser rx power high warning threshold : 1.0000 mW / 0.00 dBm Laser rx power low warning threshold : 0.0617 mW / -12.10 dBm
Detailinformationen zum Testsystem
root@test:~# uname -a Linux test 5.13.0-27-generic #29~20.04.1-Ubuntu SMP Fri Jan 14 00:32:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
root@test:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.4 LTS Release: 20.04 Codename: focal
root@test:~# ethtool --version ethtool version 5.4
root@test:~# ethtool -i enp1s0f0 driver: i40e version: 5.13.0-27-generic firmware-version: 6.01 0x800035cf 1.1747.0 expansion-rom-version: bus-info: 0000:01:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: yes
root@test:~# dmidecode -t bios # dmidecode 3.2 Getting SMBIOS data from sysfs. SMBIOS 3.2.0 present. Handle 0x0000, DMI type 0, 26 bytes BIOS Information Vendor: American Megatrends Inc. Version: 2.3 Release Date: 08/02/2021 Address: 0xF0000 Runtime Size: 64 kB ROM Size: 32 MB Characteristics: PCI is supported BIOS is upgradeable BIOS shadowing is allowed Boot from CD is supported Selectable boot is supported BIOS ROM is socketed EDD is supported 5.25"/1.2 MB floppy services are supported (int 13h) 3.5"/720 kB floppy services are supported (int 13h) 3.5"/2.88 MB floppy services are supported (int 13h) Print screen service is supported (int 5h) Serial services are supported (int 14h) Printer services are supported (int 17h) ACPI is supported USB legacy is supported BIOS boot specification is supported Targeted content distribution is supported UEFI is supported BIOS Revision: 5.14
Autor: Werner Fischer Werner Fischer arbeitet im Product Management Team von Thomas-Krenn. Er evaluiert dabei neueste Technologien und teilt sein Wissen in Fachartikeln, bei Konferenzen und im Thomas-Krenn Wiki. Bereits 2005 - ein Jahr nach seinem Abschluss des Studiums zu Computer- und Mediensicherheit an der FH Hagenberg - heuerte er beim bayerischen Server-Hersteller an. Als Öffi-Fan nutzt er gerne Bus & Bahn und genießt seinen morgendlichen Spaziergang ins Büro.
|
Das könnte Sie auch interessieren
Ethtool
Iptables Firewall Regeln dauerhaft speichern
Linux Netzwerk Analyse mit mtr