lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DA0926BD-F48B-4A1E-9C88-E56F9F1FEBC7@insidepacket.com>
Date: Tue, 25 Mar 2025 23:38:36 +0200
From: Eliyah Havemann <eliyah@...idepacket.com>
To: Andrew Lunn <andrew@...n.ch>,
 Russell King <rmk+kernel@...linux.org.uk>
Cc: Michal Kubecek <mkubecek@...e.cz>,
 netdev@...r.kernel.org
Subject: Re: ethtool read EEPROM

Andrew, thanks a lot!
Russell, do you have such a collection or even a version of ethtool that can read EEPROM dumps and report their content?

Thanks all!
Eliyah

> On 25 Mar 2025, at 20:00, Andrew Lunn <andrew@...n.ch> wrote:
> 
> On Tue, Mar 25, 2025 at 06:03:42PM +0100, Michal Kubecek wrote:
>> On Tue, Mar 25, 2025 at 05:16:52PM +0200, Eliyah Havemann wrote:
>>> Hi Michael,
>>> 
>>> You seem to be the current maintainer and top contributor to the
>>> ethtool project. First of all: Thank you for your contribution to OSS!
>>> 
>>> I ran into an issue with a whitebox switch with 100G and 400G QSFP
>>> slots, that I was hoping ethtool could solve and I want to ask you for
>>> assistance. It’s pretty simple: I need to read EEPROM binary data from
>>> these QSFP transceivers, but they are not associated with any linux
>>> interface. This is because vpp is controlling them directly. The
>>> ethtool has a function to output the EEPROM of an interface, but I
>>> can’t feed it the file back to it to read it. The file it outputs has
>>> the exact same format of the file the whitebox switch provides. I
>>> created a small python script to read the file and it gives reasonable
>>> output, but I don’t have a way to test this against a big collection
>>> of SFPs and I know that this work was already done in ethtool.
>>> 
>>> My questions:
>>> 1. Do you know of a tool that can read these files that ethtool
>>> outputs? Maybe it exists, and I just didn’t find it…
> 
> Russell King has a collection of SFP dumps from various devices. You
> could ask him for his collection. He might also have an extended
> version of ethtool which can read from a file.
> 
> 	Andrew


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ