[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0904291028060.20858@tyr.diku.dk>
Date: Wed, 29 Apr 2009 10:52:51 +0200 (CEST)
From: Jesper Dangaard Brouer <hawk@...u.dk>
To: Ben Hutchings <bhutchings@...arflare.com>
Cc: Jesper Dangaard Brouer <hawk@...x.dk>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Robert Olsson <Robert.Olsson@...a.slu.se>
Subject: Re: Driver SFC: Possible bug in LM87 temperature XFP detection code
On Tue, 28 Apr 2009, Ben Hutchings wrote:
> I wrote:
>> However, I
>> think your time might be better spent in fixing the air flow in the
>> computer before the board is permanently damaged.
>
> 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...
> 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.
>
> The "external" temperature sensor (temp2_input) is in the SFC4000.
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)
Cheers,
Jesper Brouer
--
-------------------------------------------------------------------
MSc. Master of Computer Science
Dept. of Computer Science, University of Copenhagen
Author of http://www.adsl-optimizer.dk
-------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists