netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jesper Dangaard Brouer <hawk@comx.dk>
To: Jesper Dangaard Brouer <hawk@diku.dk>
Cc: Ben Hutchings <bhutchings@solarflare.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	Robert Olsson <Robert.Olsson@data.slu.se>
Subject: Re: Driver SFC: Possible bug in LM87 temperature XFP detection code
Date: Wed, 29 Apr 2009 14:11:52 +0200	[thread overview]
Message-ID: <1241007112.8115.9.camel@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.64.0904291028060.20858@tyr.diku.dk>

On Wed, 2009-04-29 at 10:52 +0200, Jesper Dangaard Brouer wrote:
> On Tue, 28 Apr 2009, Ben Hutchings wrote:

> > It may also be worth checking that the sensors are actually reading
> > correctly.  You can read them using the "sensors" command from the
> > lm_sensors package or by running:
> >
> >    grep . /sys/class/net/eth88/device/i2c-adapter:*/*-002e/temp*_input
> >
> > Divide the numbers by 1000 to get temperatures in degrees celsius.
> 
> /sys/class/net/eth88/device/i2c-adapter:i2c-1/1-002e/temp1_input:61000
> /sys/class/net/eth88/device/i2c-adapter:i2c-1/1-002e/temp2_input:70000
> 
> Guess the temperature is fairly high... I can touch it with a finger 
> without getting burned.  

> I also have a 10GbE Sun Neptune (niu) in the 
> machine, if I touch the heatsink on that I burn my finger, so that is even 
> hotter...

I got my hands on a InfraRed Thermometer.
The Sun NIC was 98 degrees celsius!!!


> > The "internal" temperature sensor (temp1_input) is in the LM87, which is
> > placed at the corner of the board away from the bracket and the edge
> > connector.

Measuring that point gives the correct measurement using the external
infrared thermometer.

> > The "external" temperature sensor (temp2_input) is in the SFC4000.

It was harder to measure the temperature on the NIC CPU because of its
blank surface.  I can get a reading of 66 Celcius where the sensor says
68-69 Celcius.

The XFP it self of "only" 55 Celcius.  Measured by quickly pulling it
out and measuring (and taking care of measuring on a non blank surface
point).

> I though this was read from the XFP.  I was hoping the NIC supported 
> reading i2c stuff from the XFP.  Does it support that? (Robert Olsson 
> wanted to play with this stuff)

-- 
Med venlig hilsen / Best regards
  Jesper Brouer
  ComX Networks A/S
  Linux Network developer
  Cand. Scient Datalog / MSc.
  Author of http://adsl-optimizer.dk
  LinkedIn: http://www.linkedin.com/in/brouer


  reply	other threads:[~2009-04-29 12:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-28  9:36 Driver SFC: Possible bug in LM87 temperature XFP detection code Jesper Dangaard Brouer
2009-04-28 13:36 ` Ben Hutchings
2009-04-28 14:44   ` Jesper Dangaard Brouer
2009-04-28 14:48     ` [PATCH] sfc: Make temperature warnings/alarms more explicit Jesper Dangaard Brouer
2009-04-30  0:50       ` David Miller
2009-04-30  1:25       ` Ben Hutchings
2009-04-30  8:44         ` Jesper Dangaard Brouer
2009-04-28 17:04   ` Driver SFC: Possible bug in LM87 temperature XFP detection code Ben Hutchings
2009-04-29  8:52     ` Jesper Dangaard Brouer
2009-04-29 12:11       ` Jesper Dangaard Brouer [this message]
2009-04-29 12:47       ` Ben Hutchings

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1241007112.8115.9.camel@localhost.localdomain \
    --to=hawk@comx.dk \
    --cc=Robert.Olsson@data.slu.se \
    --cc=bhutchings@solarflare.com \
    --cc=hawk@diku.dk \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).