[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <31f6f39b-f7f3-46cc-8c0d-1dbcc69c3254@ans.pl>
Date: Tue, 21 May 2024 00:02:47 -0700
From: Krzysztof Olędzki <ole@....pl>
To: Michal Kubecek <mkubecek@...e.cz>
Cc: Moshe Shemesh <moshe@...dia.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: "netlink error: Invalid argument" with ethtool-5.13+ on recent
kernels due to "ethtool: Add netlink handler for getmodule (-m)" -
25b64c66f58d3df0ad7272dda91c3ab06fe7a303, also no SFP-DOM support via
netlink?
-vladyslavt@...dia.com (User unknown).
Hi Michal,
On 20.05.2024 at 23:55, Michal Kubecek wrote:
> On Mon, May 20, 2024 at 11:26:56PM -0700, Krzysztof Olędzki wrote:
>> Hi,
>>
>> After upgrading from 5.4-stable to 6.6-stable I noticed that modern ethtool -m stopped working with ports where I have QSFP modules installed in my CX3 / CX3-Pro cards.
>>
>> Git bisect identified the following patch as being responsible for the issue:
>> https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/commit/?id=25b64c66f58d3df0ad7272dda91c3ab06fe7a303
>
> Sounds like the issue that was fixed by commit 1a1dcfca4d67 ("ethtool:
> Fix SFF-8472 transceiver module identification"). Can you try ethtool
> version 6.7?
Yes, forgot to mention - this problem also exists in ethtool-6.7:
# ./ethtool --version
ethtool version 6.7
# ./ethtool --debug 3 -m eth3
sending genetlink packet (32 bytes):
msg length 32 genl-ctrl
received genetlink packet (956 bytes):
msg length 956 genl-ctrl
received genetlink packet (36 bytes):
msg length 36 error errno=0
sending genetlink packet (76 bytes):
msg length 76 ethool ETHTOOL_MSG_MODULE_EEPROM_GET
received genetlink packet (52 bytes):
msg length 52 ethool ETHTOOL_MSG_MODULE_EEPROM_GET_REPLY
received genetlink packet (36 bytes):
msg length 36 error errno=0
sending genetlink packet (76 bytes):
msg length 76 ethool ETHTOOL_MSG_MODULE_EEPROM_GET
received genetlink packet (176 bytes):
msg length 176 ethool ETHTOOL_MSG_MODULE_EEPROM_GET_REPLY
received genetlink packet (36 bytes):
msg length 36 error errno=0
sending genetlink packet (76 bytes):
msg length 76 ethool ETHTOOL_MSG_MODULE_EEPROM_GET
received genetlink packet (176 bytes):
msg length 176 ethool ETHTOOL_MSG_MODULE_EEPROM_GET_REPLY
received genetlink packet (36 bytes):
msg length 36 error errno=0
sending genetlink packet (76 bytes):
msg length 76 ethool ETHTOOL_MSG_MODULE_EEPROM_GET
received genetlink packet (96 bytes):
msg length 96 error errno=-22
netlink error: Invalid argument
Thanks,
Krzysztof
Powered by blists - more mailing lists