All of lore.kernel.org
 help / color / mirror / Atom feed
* lm_sensors
@ 2005-05-19  6:23 Pam Huntley
  2005-05-19  6:23 ` lm_sensors Mark D. Studebaker
                   ` (26 more replies)
  0 siblings, 27 replies; 31+ messages in thread
From: Pam Huntley @ 2005-05-19  6:23 UTC (permalink / raw)
  To: lm-sensors


Hi Phil,

I have heard from the hardware engineers in Japan.  They wanted me to
clarify some things with you, particularly the optimal solution you would
like, and what is tolerable.

First I'd like to make sure I actually understand the problem, since I'm
not really a hardware person, and our ThinkPad hardware guys only speak
passable English.  Below is what I understand, put together from your
emails and the hardware team's comments:
1.  lm_sensors is a software package for Linux that does health montoring
of hardware, soon to be added to the Linux kernel.  It uses a wide variety
of sensors, including temperature, battery life, fan speed, voltages,
memory detection, etc.  The typical PC has a chipset on the motherboard
which is usually accessed via the ISA bus or the SMBus, which is what
lm_sensors is coded to use.
2.  The sensor (the thermal sensor) in ThinkPad is not connected to SMBUS,
instead IBM normally uses an embedded controller to monitor thermal sensors
(sometimes using multiple sensors). However, the H/W implementation varies
depending on model. IBM does not disclose the interface to access to those
sensors.
3.   lm_sensors uses SMBUS  to connect several different devices, and one
of them is ATMEL EEPROM, which contains machine serial or other
device/system vital information. lm_sensors accesses the EEPROM in a way
that causes it to be corrupt. To quote your recent email:
"We got some samples of the Atmel AT24RF08 chip, and we
were able to reproduce the corruption!  In a nut-shell, this
particular chip has a broken I2C bus state-machine which can interpret
certain sequences of bus communications (including communications with
other unrelated chips) as being 'data write' commands which corrupt
the eeprom."
Then BIOS detects the error condition and posts the error code and the
machine needs to repair.


As far as solutions you'd like, my understanding is this:
1.  Optimal solution:  you have the hardware specs, you know what chipsets
are involved, and you can access the information without blowing away the
eeprom.
2.  Minimal solution:  you know how to detect IBM hardware, and disable lm
sensors on it.

The hardware guys are suggesting you detect IBM ThinkPads specifically, and
are preparing a document for public release that would tell you how to do
this.  Knowing how IBM works (legal reviews, etc), this may take a little
time, but at least it could allow lm_sensors to still run on the server
hardware that isn't broken.

It seems to me that for lm_sensors to work flawlessly on all ThinkPads, you
would need to know all the different ways that the hardware engineers
implement their sensors, and how to access this information safely.  Is
this correct?  As far as I can tell, the ThinkPad hardware engineers are
very reluctant to release this information.  The reason that was given to
me is that whenever they released the specs for their BIOS and related
hardware in the past, they got locked down to a particular implementation,
and were unable to change things without upsetting the people that were
relying on that particular design.    However, they have been willing to
release some limited information recently, so if you do need this
information, we could at least ask.

Please let me know your thoughts on all this.  I'll tell the hardware guys
to proceed with the documentation on how to detect IBM ThinkPads.  Whether
or not I persue more information with depends on your response.

Thanks,
Pam


======================
Pamela Huntley, IBM PCD Software Development
Phone: (919) 543-3598   Email: phuntley@us.ibm.com



                                                                                                            
                      phil@netroedge.co                                                                     
                      m                        To:       Pam Huntley/Raleigh/IBM@IBMUS,                     
                                                sensors@Stimpy.netroedge.com                                
                      08/30/2002 07:22         cc:                                                          
                      PM                       Subject:  Re: lm sensors                                     
                                                                                                            
                                                                                                            
                                                                                                            




On Fri, Aug 30, 2002 at 05:20:50PM -0400, Pam Huntley wrote:
>[...]
> I gave them your contact information (email).  I haven't heard if they'll
> contact you directly or not, as they are in Japan, they might just send
me
> stuff and let me pass it on to you. I should know more next week when
they
> respond to my email.

OK, sounds good.

> As far as detecting IBM, I think you are on the right track.  My
> understanding is that both the vendor flag "IBM" and the MTM (machine
type
> and model) are located in the BIOS, and that you can access this using
> SMAPI calls.  We used to use DMI on our older machines, I'm not sure if
it
> will work on the newer ones.  Again, I write mostly GUI software, so I'm
a
> little fuzzy on things like BIOS, but I can probably get more specifics
if
> this is something you need to know more about.  I believe you can
actually
> get the MTM and just test the type to make sure it's a ThinkPad, and that
> way you won't have to disable it for ALL IBM machines.  Hopefully we can
> get the specs to you and you won't have to disable it at all.

I'm hoping we can identify the chip and work around the problem so we
don't have to blacklist anything.  That would be ideal.

> I'm hoping that we can get you what you need, I'll keep you posted as to
> what I know.

Thanks!! We really appreciate your help. :')


Phil

--
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
   phil@netroedge.com -- http://www.netroedge.com/~phil
 PGP F16: 01 D2 FD 01 B5 46 F4 F0  3A 8B 9D 7E 14 7F FB 7A





^ permalink raw reply	[flat|nested] 31+ messages in thread
* lm_sensors
@ 2013-04-23  6:46 Satya Swaroop Damarla
  0 siblings, 0 replies; 31+ messages in thread
From: Satya Swaroop Damarla @ 2013-04-23  6:46 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 11967 bytes --]

Hey Guys,

I have some issues installing lm_sensors... I copied the package from from
meta-oe/recipes-support into meta/recipes-support...

The normal "bitbake lmsensors" worked perfectly without any errors but then
when I wanted to add it to the rootfs then I get the following error.... I
tried to analyse the error but with not much success

damarla@linuxbuildsrv:~/yocto/poky/buildSkidataHarmony$ bitbake
core-image-skidata
Loading cache: 100%
|###########################################################################################################################################################################|
ETA:  00:00:00
Loaded 1138 entries from dependency cache.
Parsing recipes: 100%
|#########################################################################################################################################################################|
Time: 00:00:00
Parsing of 829 .bb files complete (824 cached, 5 parsed). 1140 targets, 36
skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION        = "1.17.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "skidata-harmony"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3+snapshot-20130423"
TUNE_FEATURES     = "armv7a vfp thumb vfpv3d16 cortexa9"
TARGET_FPU        = "vfp-vfpv3d16"
meta
meta-yocto
meta-yocto-bsp    = "master:a317cc911abe33d0f513d48e7bc4afd319c7e040"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_rootfs (see
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_rootfs.24440
for further information)
ERROR: Logfile of failure stored in:
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_rootfs.24440
Log data follows:
| DEBUG: Executing shell function do_rootfs
| dpkg-scanpackages.real: info: Wrote 46 entries to output Packages file.
| dpkg-scanpackages.real: info: Wrote 5679 entries to output Packages file.
| dpkg-scanpackages.real: info: Wrote 159 entries to output Packages file.
| dpkg-scanpackages.real: info: Wrote 46 entries to output Packages file.
| Ign file: ./ InRelease
| Ign file: ./ InRelease
| Ign file: ./ InRelease
| Ign file: ./ Release.gpg
| Ign file: ./ Release.gpg
| Ign file: ./ Release.gpg
| Get:1 file: ./ Release [23 B]
| Get:2 file: ./ Release [29 B]
| Get:3 file: ./ Release [11 B]
| Ign file: ./ Translation-en
| Ign file: ./ Translation-en
| Ign file: ./ Translation-en
| Reading package lists...
| Reading package lists...
| Building dependency tree...
| Reading state information...
| The following extra packages will be installed:
|   eglibc-localedata-iso14651-t1 eglibc-localedata-iso14651-t1-common
|   eglibc-localedata-translit-circle eglibc-localedata-translit-cjk-compat
|   eglibc-localedata-translit-compat eglibc-localedata-translit-font
|   eglibc-localedata-translit-fraction eglibc-localedata-translit-narrow
|   eglibc-localedata-translit-neutral eglibc-localedata-translit-small
|   eglibc-localedata-translit-wide
| The following NEW packages will be installed:
|   eglibc-localedata-i18n eglibc-localedata-iso14651-t1
|   eglibc-localedata-iso14651-t1-common eglibc-localedata-translit-circle
|   eglibc-localedata-translit-cjk-compat eglibc-localedata-translit-compat
|   eglibc-localedata-translit-font eglibc-localedata-translit-fraction
|   eglibc-localedata-translit-narrow eglibc-localedata-translit-neutral
|   eglibc-localedata-translit-small eglibc-localedata-translit-wide
| 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
| Need to get 0 B/131 kB of archives.
| After this operation, 0 B of additional disk space will be used.
| WARNING: The following packages cannot be authenticated!
|   eglibc-localedata-translit-circle eglibc-localedata-translit-cjk-compat
|   eglibc-localedata-translit-small eglibc-localedata-translit-compat
|   eglibc-localedata-translit-narrow eglibc-localedata-translit-wide
|   eglibc-localedata-translit-font eglibc-localedata-translit-fraction
|   eglibc-localedata-translit-neutral eglibc-localedata-iso14651-t1-common
|   eglibc-localedata-iso14651-t1 eglibc-localedata-i18n
| Authentication warning overridden.
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-localedata-translit-circle.
| (Reading database ... 0 files and directories currently installed.)
| Unpacking eglibc-localedata-translit-circle (from
.../eglibc-localedata-translit-circle_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package
eglibc-localedata-translit-cjk-compat.
| Unpacking eglibc-localedata-translit-cjk-compat (from
.../eglibc-localedata-translit-cjk-compat_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-localedata-translit-small.
| Unpacking eglibc-localedata-translit-small (from
.../eglibc-localedata-translit-small_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-localedata-translit-compat.
| Unpacking eglibc-localedata-translit-compat (from
.../eglibc-localedata-translit-compat_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-localedata-translit-narrow.
| Unpacking eglibc-localedata-translit-narrow (from
.../eglibc-localedata-translit-narrow_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-localedata-translit-wide.
| Unpacking eglibc-localedata-translit-wide (from
.../eglibc-localedata-translit-wide_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-localedata-translit-font.
| Unpacking eglibc-localedata-translit-font (from
.../eglibc-localedata-translit-font_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package
eglibc-localedata-translit-fraction.
| Unpacking eglibc-localedata-translit-fraction (from
.../eglibc-localedata-translit-fraction_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package
eglibc-localedata-translit-neutral.
| Unpacking eglibc-localedata-translit-neutral (from
.../eglibc-localedata-translit-neutral_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package
eglibc-localedata-iso14651-t1-common.
| Unpacking eglibc-localedata-iso14651-t1-common (from
.../eglibc-localedata-iso14651-t1-common_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-localedata-iso14651-t1.
| Unpacking eglibc-localedata-iso14651-t1 (from
.../eglibc-localedata-iso14651-t1_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-localedata-i18n.
| Unpacking eglibc-localedata-i18n (from
.../eglibc-localedata-i18n_2.17-r0_armel.deb) ...
| Reading package lists...
| Building dependency tree...
| Reading state information...
| The following extra packages will be installed:
|   eglibc-binary-localedata-en-us
| The following NEW packages will be installed:
|   eglibc-binary-localedata-en-us locale-base-en-us
| 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
| 12 not fully installed or removed.
| Need to get 0 B/327 kB of archives.
| After this operation, 0 B of additional disk space will be used.
| WARNING: The following packages cannot be authenticated!
|   eglibc-binary-localedata-en-us locale-base-en-us
| Authentication warning overridden.
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-binary-localedata-en-us.
| (Reading database ... 17 files and directories currently installed.)
| Unpacking eglibc-binary-localedata-en-us (from
.../eglibc-binary-localedata-en-us_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package locale-base-en-us.
| Unpacking locale-base-en-us (from
.../locale-base-en-us_2.17-r0_armel.deb) ...
| Reading package lists...
| Building dependency tree...
| Reading state information...
| The following extra packages will be installed:
|   eglibc-binary-localedata-en-gb
| The following NEW packages will be installed:
|   eglibc-binary-localedata-en-gb locale-base-en-gb
| 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
| 14 not fully installed or removed.
| Need to get 0 B/327 kB of archives.
| After this operation, 0 B of additional disk space will be used.
| WARNING: The following packages cannot be authenticated!
|   eglibc-binary-localedata-en-gb locale-base-en-gb
| Authentication warning overridden.
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package eglibc-binary-localedata-en-gb.
| (Reading database ... 33 files and directories currently installed.)
| Unpacking eglibc-binary-localedata-en-gb (from
.../eglibc-binary-localedata-en-gb_2.17-r0_armel.deb) ...
| dpkg: warning: overriding problem because --force enabled:
|  package architecture (armel) does not match system (amd64)
| Selecting previously unselected package locale-base-en-gb.
| Unpacking locale-base-en-gb (from
.../locale-base-en-gb_2.17-r0_armel.deb) ...
| Reading package lists...
| Building dependency tree...
| Reading state information...
| Package lmsensors is not available, but is referred to by another package.
| This may mean that the package is missing, has been obsoleted, or
| is only available from another source
|
| E: Package 'lmsensors' has no installation candidate
| ERROR: Function failed: do_rootfs (see
/home/damarla/yocto/poky/buildSkidataHarmony/tmp/work/skidata_harmony-poky-linux-gnueabi/core-image-skidata/1.0-r0/temp/log.do_rootfs.24440
for further information)
ERROR: Task 7 (/home/damarla/yocto/poky/meta/recipes-graphics/images/
core-image-skidata.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5548 tasks of which 5545 didn't need to be
rerun and 1 failed.
No currently running tasks (5547 of 5549)

Summary: 1 task failed:
  /home/damarla/yocto/poky/meta/recipes-graphics/images/
core-image-skidata.bb, do_rootfs
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


Cheers,
Satya

[-- Attachment #2: Type: text/html, Size: 14117 bytes --]

^ permalink raw reply	[flat|nested] 31+ messages in thread
* [ltp] lm sensors
@ 2005-05-19  6:23 Dean L. Hedin
  2005-05-19  6:23 ` Pam Huntley
  2005-05-19  6:23 ` phil
  0 siblings, 2 replies; 31+ messages in thread
From: Dean L. Hedin @ 2005-05-19  6:23 UTC (permalink / raw)
  To: lm-sensors

On Sunday 25 August 2002 07:41 pm, phil@netroedge.com wrote:
> No problem, I appreciate you taking the time to double-check.  Facts
> are still a little sketchy regarding this issue.
>
> BTW-Is this a mobo which was corrupted by Lm-sensors?

No,   It somehow died when I changed the harddrive (to load linux).
I had set the passord and some point and then I disabled
it when I swaped drives.   But the drive I put in was not IBM brand.
I then tried my old password and it did not work.
So I ended getting a used motherboard on ebay for about $150.
This was a 2 years ago and at that time I guess I saw the bad
info regarding the 24C01A on the web somewhere.

In any case it does'nt matter now as the company I work for has now given
me a brand new Toshiba 2400 series laptop.   Whole 'nother set of Linux
issues with it, including sound APM, MMC, etc..   It's fast, but the quality 
& feel does not compare to the 600e.  

I have now relegated the 600e to cross-compiling ARM apps for my YOPY
PDA.   Which I am struggling with right now....



^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2013-04-23  6:46 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  6:23 lm_sensors Pam Huntley
2005-05-19  6:23 ` lm_sensors Mark D. Studebaker
2005-05-19  6:23 ` lm_sensors Mark D. Studebaker
2005-05-19  6:23 ` lm_sensors Mark Studebaker
2005-05-19  6:23 ` lm_sensors Mark D. Studebaker
2005-05-19  6:23 ` lm_sensors phil
2005-05-19  6:23 ` lm_sensors phil
2005-05-19  6:23 ` lm_sensors Kyösti Mälkki
2005-05-19  6:23 ` lm_sensors phil
2005-05-19  6:23 ` lm_sensors phil
2005-05-19  6:23 ` lm_sensors Kyösti Mälkki
2005-05-19  6:23 ` lm_sensors DB Troll
2005-05-19  6:23 ` lm_sensors Albert Kaan
2005-05-19  6:23 ` lm_sensors Jani Partanen
2005-05-19  6:24 ` lm_sensors Jean Delvare
2005-05-19  6:24 ` lm_sensors Dimitri Kouznetsov
2005-05-19  6:24 ` lm_sensors Jean Delvare
2005-05-19  6:24 ` Lm_sensors Axel Thimm
2005-05-19  6:24 ` Lm_sensors Jean Delvare
2005-05-19  6:25 ` lm_sensors Jean Delvare
2005-05-19  6:25 ` lm_sensors Jean Delvare
2005-05-19  6:25 ` lm_sensors Jean Delvare
2005-05-19  6:25 ` lm_sensors Shue David R Contr AFRL/IFTC
2005-05-19  6:25 ` lm_sensors Jean Delvare
2005-05-19  6:25 ` lm_sensors Jean Delvare
2005-05-19  6:25 ` lm_sensors Jean Delvare
2005-05-21 19:26 ` [lm-sensors] lm_sensors Jean Delvare
2005-05-23 15:14 ` [lm-sensors] lm_sensors Jean Delvare
  -- strict thread matches above, loose matches on Subject: below --
2013-04-23  6:46 lm_sensors Satya Swaroop Damarla
2005-05-19  6:23 [ltp] lm sensors Dean L. Hedin
2005-05-19  6:23 ` Pam Huntley
2005-05-19  6:23 ` phil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.