Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #67097
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Bjørn Mork <bjorn@mork.no> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#960702: ethtool -m values change when output is redirected |
| Date | Fri, 15 May 2020 19:00:01 +0200 |
| Message-ID | <A6LQJ-4WH-5@gated-at.bofh.it> (permalink) |
| References | <A6LQJ-4WH-7@gated-at.bofh.it> <A6KrD-4d1-3@gated-at.bofh.it> <A6LQJ-4WH-7@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Fri May 15 16:54:13 2020 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | -0.25 |
| Reply-To | Bjørn Mork <bjorn@mork.no>, 960702@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | Debian Kernel Team <debian-kernel@lists.debian.org> |
| X-Debian-Pr-Message | followup 960702 |
| X-Debian-Pr-Package | ethtool |
| X-Debian-Pr-Source | ethtool |
| X-Spam-Bayes | score:0.0000 Tokens: new, 21; hammy, 150; neutral, 97; spammy, 0. spammytokens: hammytokens:0.000-+--H*u:Gnus, 0.000-+--H*u:linux, 0.000-+--H*UA:linux, 0.000-+--H*u:gnu, 0.000-+--H*UA:gnu |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=mork.no; s=b; t=1589560835; bh=LFrX2KDhPjP/w3FbTUSMjl5PUTaS6nbTTPhBaQJCyqs=; h=From:To:Cc:Subject:References:Date:Message-ID:From; b=R2l0SXNSG6pDdBdlkzQ5bwPCCHmvs6S4ADvVPrLXJOSnujy0tzZK0WmRa2+ZT+q1L Ov8CFUL3OrZC8GBAJJn8cV23XvOALt07fe7y+J+sC1iSGjKaN88fgOw1J/0/GbqOum LhVKMBFJrUsv3h/K1HKUE7Fq0pnFgHX5QqHgJ8nE= |
| Organization | m |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Virus-Status | Clean |
| X-Greylist | delayed 726 seconds by postgrey-1.36 at buxtehude; Fri, 15 May 2020 16:52:46 UTC |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1603304 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 71 |
| Sender | robomod@news.nic.it |
| X-Original-Cc | 960702@bugs.debian.org |
| X-Original-Date | Fri, 15 May 2020 18:40:34 +0200 |
| X-Original-Message-ID | <87blmprw1p.fsf@miraculix.mork.no> |
| X-Original-References | <55adca23e66022801c156cdad9aece90__30555.0910228462$1589556093$gmane$org@rcube.hebserv.net> <55adca23e66022801c156cdad9aece90@rcube.hebserv.net> <55adca23e66022801c156cdad9aece90__30555.0910228462$1589556093$gmane$org@rcube.hebserv.net> |
| Xref | csiph.com linux.debian.bugs.dist:1009842 linux.debian.kernel:67097 |
Cross-posted to 2 groups.
Show key headers only | View raw
"Yannis Aribaud" <bugs@d6bell.net> writes: > Package: ethtool > Version: 1:4.19-1 > Severity: important > I'm facing a very strange behavior. The command ethtool -m report the transceiver DOM values correctly, but when the command output is redirected to an other program, values change to somthing else. AFAICS, your SFP+ is reporting strange values in either case. I do not think any of these are correct. Looking at the non-redirected one: > Laser output power : 3.0768 mW / 4.88 dBm This is insanely high. > Receiver signal average optical power : 1.2298 mW / 0.90 dBm > Module temperature : 48.47 degrees C / 119.24 degrees F > Module voltage : 1.2336 V Should be 3.3 V > Laser bias current high alarm threshold : 4.744 mA > Laser bias current low alarm threshold : 49.896 mA Right... > Laser output power high alarm threshold : 2.5701 mW / 4.10 dBm I don't think this can be trusted either, but I do note that it is lower than your current output. > Laser output power low alarm threshold : 0.8224 mW / -0.85 dBm > Laser output power high warning threshold : 0.8224 mW / -0.85 dBm > Laser output power low warning threshold : 0.8224 mW / -0.85 dBm Strange limits. There are too many -0.85 dBm values here. > Module temperature high alarm threshold : 0.00 degrees C / 32.00 degrees F > Module temperature low alarm threshold : 0.00 degrees C / 32.00 degrees F > Module temperature high warning threshold : 0.00 degrees C / 32.00 degrees F > Module temperature low warning threshold : 0.00 degrees C / 32.00 degrees F Makes no sense at all. > Module voltage high alarm threshold : 0.4356 V > Module voltage low alarm threshold : 0.0000 V > Module voltage high warning threshold : 0.0000 V > Module voltage low warning threshold : 0.0000 V Makes even less sense. > Laser rx power high alarm threshold : 0.8224 mW / -0.85 dBm > Laser rx power low alarm threshold : 0.8224 mW / -0.85 dBm > Laser rx power high warning threshold : 0.8224 mW / -0.85 dBm > Laser rx power low warning threshold : 0.8224 mW / -0.85 dBm ... To me it looks like you are just reading arbitrary numbers from the SFP+. Try replacing it and see if the results are more reliable. Bjørn
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#960702: ethtool -m values change when output is redirected "Yannis Aribaud" <bugs@d6bell.net> - 2020-05-15 17:30 +0200
Bug#960702: ethtool -m values change when output is redirected Bjørn Mork <bjorn@mork.no> - 2020-05-15 19:00 +0200
Bug#960702: ethtool -m values change when output is redirected "Yannis Aribaud" <bugs@d6bell.net> - 2020-05-15 19:40 +0200
Bug#960702: ethtool -m values change when output is redirected Ben Hutchings <ben@decadent.org.uk> - 2020-05-16 01:40 +0200
Bug#960702: ethtool -m values change when output is redirected "Yannis Aribaud" <bugs@d6bell.net> - 2020-05-17 17:00 +0200
Bug#960702: ethtool -m values change when output is redirected Ben Hutchings <ben@decadent.org.uk> - 2020-05-17 18:10 +0200
Bug#960702: ethtool -m values change when output is redirected "Yannis Aribaud" <bugs@d6bell.net> - 2020-05-18 12:10 +0200
Processed: Re: Bug#960702: ethtool -m values change when output is redirected "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-05-16 01:40 +0200
Processed: Re: Bug#960702: ethtool -m values change when output is redirected "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-05-17 18:10 +0200
Bug#960702: [PATCH net] mlx4: Fix information leak on failure to read module EEPROM Ben Hutchings <ben@decadent.org.uk> - 2020-05-17 19:30 +0200
Bug#960702: [PATCH net] mlx4: Fix information leak on failure to read module EEPROM Ben Hutchings <ben@decadent.org.uk> - 2020-05-18 20:30 +0200
csiph-web