Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

!!! ERROR: sys-apps/lm_sensors-2.10.0 failed.

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
E-TARD
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 100
Joined: Tue Feb 14, 2006 7:37 pm
Location: Silicon Valley California
Contact:
Contact E-TARD
Website

!!! ERROR: sys-apps/lm_sensors-2.10.0 failed.

  • Quote

Post by E-TARD » Mon May 22, 2006 3:25 am

i need some help with this????


im trying to install lm_sensors


Code: Select all

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-apps/lm_sensors-2.10.0  +sensord 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] yes
>>> emerge (1 of 1) sys-apps/lm_sensors-2.10.0 to /
>>> md5 files   ;-) lm_sensors-2.9.2.ebuild
>>> md5 files   ;-) lm_sensors-2.10.0.ebuild
>>> md5 files   ;-) files/lm_sensors-2.10.0-sensors-detect-gentoo.patch
>>> md5 files   ;-) files/lm_sensors-2.9.2-sensord-conf.d
>>> md5 files   ;-) files/lm_sensors-2.9.2-sensord-init.d
>>> md5 files   ;-) files/digest-lm_sensors-2.10.0
>>> md5 files   ;-) files/lm_sensors-2.10.0-fancontrol-init.d
>>> md5 files   ;-) files/digest-lm_sensors-2.9.2
>>> md5 files   ;-) files/lm_sensors-2.10.0-sensord-conf.d
>>> md5 files   ;-) files/lm_sensors-2.9.2-lm_sensors-init.d
>>> md5 files   ;-) files/lm_sensors-2.10.0-lm_sensors-init.d
>>> md5 files   ;-) files/lm_sensors-2.9.2-sensors-detect-gentoo.patch
>>> md5 files   ;-) files/lm_sensors-2.10.0-sensord-init.d
>>> md5 src_uri ;-) lm_sensors-2.10.0.tar.gz
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.15-gentoo-r1
 *
 * sensors-detect requires CONFIG_I2C_CHARDEV to be enabled for non-2.4.x kernel s.
 *
 *
 * lm_sensors-2.10.0 requires CONFIG_I2C to be enabled for non-2.4.x kernels.
 *

!!! ERROR: sys-apps/lm_sensors-2.10.0 failed.
!!! Function pkg_setup, Line 62, Exitcode 0
!!! CONFIG_I2C not detected
!!! If you need support, post the topmost build error, NOT this status message.
https://mastodon.online/@ETARD_The_LifeCaster
https://linktr.ee/Etard_The_Lifecaster
Top
steveb
Advocate
Advocate
User avatar
Posts: 4563
Joined: Wed Sep 18, 2002 8:19 pm

  • Quote

Post by steveb » Mon May 22, 2006 3:53 am

You need to enable I2C in your kernel. On my I have the following one active:

Code: Select all

gentoo / # grep "CONFIG_I2C" /usr/src/linux/.config
CONFIG_I2C=m
CONFIG_I2C_CHARDEV=m
CONFIG_I2C_ALGOBIT=m
CONFIG_I2C_ALGOPCF=m
CONFIG_I2C_ALGOPCA=m
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_ELEKTOR is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_I810 is not set
# CONFIG_I2C_PIIX4 is not set
CONFIG_I2C_ISA=m
CONFIG_I2C_NFORCE2=m
CONFIG_I2C_PARPORT=m
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_STUB is not set
CONFIG_I2C_VIA=m
CONFIG_I2C_VIAPRO=m
# CONFIG_I2C_VOODOO3 is not set
# CONFIG_I2C_PCA_ISA is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set
gentoo / #
Depending on your motherboard/sensors you need other modules to be active.


cheers

SteveB
Top
E-TARD
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 100
Joined: Tue Feb 14, 2006 7:37 pm
Location: Silicon Valley California
Contact:
Contact E-TARD
Website

  • Quote

Post by E-TARD » Mon May 22, 2006 4:08 am

ok this is what i got in there



Code: Select all

# grep "CONFIG_I2C" /usr/src/linux/.config
# CONFIG_I2C is not set
Odin e-tard #
so do i have to edit this or what im sry if what im asking is dumb or some thing but its the only way i will find out
https://mastodon.online/@ETARD_The_LifeCaster
https://linktr.ee/Etard_The_Lifecaster
Top
steveb
Advocate
Advocate
User avatar
Posts: 4563
Joined: Wed Sep 18, 2002 8:19 pm

  • Quote

Post by steveb » Mon May 22, 2006 4:24 am

E-TARD wrote:so do i have to edit this or what im sry if what im asking is dumb or some thing but its the only way i will find out
Do this:

Code: Select all

cd /usr/src/linux/
make menuconfig
Then select Device Drivers --->:

Code: Select all

Linux Kernel v2.6.16.16 Configuration
 ──────────────────────────────────────────────────────────────────────────────────────────────────────
  ┌────────────────────────────────── Linux Kernel Configuration ───────────────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.  Highlighted letters are         │
  │  hotkeys.  Pressing <Y> includes, <N> excludes, <M> modularizes features.  Press <Esc><Esc> to  │
  │  exit, <?> for Help, </> for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │
  │  module capable                                                                                 │
  │ ┌─^(-)────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │     Block layer  --->                                                                       │ │
  │ │     Processor type and features  --->                                                       │ │
  │ │     Power management options (ACPI, APM)  --->                                              │ │
  │ │     Bus options (PCI, PCMCIA, EISA, MCA, ISA)  --->                                         │ │
  │ │     Executable file formats  --->                                                           │ │
  │ │     Networking  --->                                                                        │ │
  │ │     Device Drivers  --->                                                                    │ │
  │ │     File systems  --->                                                                      │ │
  │ │     Instrumentation Support  --->                                                           │ │
  │ │     Kernel hacking  --->                                                                    │ │
  │ │     Security options  --->                                                                  │ │
  │ │     Cryptographic options  --->                                                             │ │
  │ │     Library routines  --->                                                                  │ │
  │ └─┴(+)────────────────────────────────────────────────────────────────────────────────────────┘ │
  ├─────────────────────────────────────────────────────────────────────────────────────────────────┤
  │                                <Select>    < Exit >    < Help >                                 │
  └─────────────────────────────────────────────────────────────────────────────────────────────────┘
Then select I2C support --->:

Code: Select all

 Linux Kernel v2.6.16.16 Configuration
 ──────────────────────────────────────────────────────────────────────────────────────────────────────
  ┌──────────────────────────────────────── Device Drivers ─────────────────────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.  Highlighted letters are         │
  │  hotkeys.  Pressing <Y> includes, <N> excludes, <M> modularizes features.  Press <Esc><Esc> to  │
  │  exit, <?> for Help, </> for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │
  │  module capable                                                                                 │
  │ ┌─^(-)────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │     I2O device support  --->                                                                │ │
  │ │     Network device support  --->                                                            │ │
  │ │     ISDN subsystem  --->                                                                    │ │
  │ │     Telephony Support  --->                                                                 │ │
  │ │     Input device support  --->                                                              │ │
  │ │     Character devices  --->                                                                 │ │
  │ │     I2C support  --->                                                                       │ │
  │ │     SPI support  --->                                                                       │ │
  │ │     Dallas's 1-wire bus  --->                                                               │ │
  │ │     Hardware Monitoring support  --->                                                       │ │
  │ │     Misc devices  --->                                                                      │ │
  │ │     Multimedia Capabilities Port drivers  --->                                              │ │
  │ │     Multimedia devices  --->                                                                │ │
  │ └─┴(+)────────────────────────────────────────────────────────────────────────────────────────┘ │
  ├─────────────────────────────────────────────────────────────────────────────────────────────────┤
  │                                <Select>    < Exit >    < Help >                                 │
  └─────────────────────────────────────────────────────────────────────────────────────────────────┘
And then select the modules you need (I have selected):

Code: Select all

 Linux Kernel v2.6.16.16 Configuration
 ──────────────────────────────────────────────────────────────────────────────────────────────────────
  ┌────────────────────────────────────────── I2C support ──────────────────────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.  Highlighted letters are         │
  │  hotkeys.  Pressing <Y> includes, <N> excludes, <M> modularizes features.  Press <Esc><Esc> to  │
  │  exit, <?> for Help, </> for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │
  │  module capable                                                                                 │
  │ ┌─────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │ <M> I2C support                                                                             │ │
  │ │ <M>   I2C device interface                                                                  │ │
  │ │       I2C Algorithms  --->                                                                  │ │
  │ │       I2C Hardware Bus support  --->                                                        │ │
  │ │       Miscellaneous I2C Chip support  --->                                                  │ │
  │ │ [ ]   I2C Core debugging messages                                                           │ │
  │ │ [ ]   I2C Algorithm debugging messages                                                      │ │
  │ │ [ ]   I2C Bus debugging messages                                                            │ │
  │ │ [ ]   I2C Chip debugging messages                                                           │ │
  │ │                                                                                             │ │
  │ │                                                                                             │ │
  │ │                                                                                             │ │
  │ │                                                                                             │ │
  │ └─────────────────────────────────────────────────────────────────────────────────────────────┘ │
  ├─────────────────────────────────────────────────────────────────────────────────────────────────┤
  │                                <Select>    < Exit >    < Help >                                 │
  └─────────────────────────────────────────────────────────────────────────────────────────────────┘
 Linux Kernel v2.6.16.16 Configuration
 ──────────────────────────────────────────────────────────────────────────────────────────────────────
  ┌──────────────────────────────────────── I2C Algorithms ─────────────────────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.  Highlighted letters are         │
  │  hotkeys.  Pressing <Y> includes, <N> excludes, <M> modularizes features.  Press <Esc><Esc> to  │
  │  exit, <?> for Help, </> for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │
  │  module capable                                                                                 │
  │ ┌─────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │ --- I2C bit-banging interfaces                                                              │ │
  │ │ <M> I2C PCF 8584 interfaces                                                                 │ │
  │ │ <M> I2C PCA 9564 interfaces                                                                 │ │
  │ │                                                                                             │ │
  │ │                                                                                             │ │
  │ │                                                                                             │ │
  │ │                                                                                             │ │
  │ │                                                                                             │ │
  │ │                                                                                             │ │
  │ │                                                                                             │ │
  │ │                                                                                             │ │
  │ │                                                                                             │ │
  │ │                                                                                             │ │
  │ └─────────────────────────────────────────────────────────────────────────────────────────────┘ │
  ├─────────────────────────────────────────────────────────────────────────────────────────────────┤
  │                                <Select>    < Exit >    < Help >                                 │
  └─────────────────────────────────────────────────────────────────────────────────────────────────┘
 Linux Kernel v2.6.16.16 Configuration
 ──────────────────────────────────────────────────────────────────────────────────────────────────────
  ┌─────────────────────────────────── I2C Hardware Bus support ────────────────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.  Highlighted letters are         │
  │  hotkeys.  Pressing <Y> includes, <N> excludes, <M> modularizes features.  Press <Esc><Esc> to  │
  │  exit, <?> for Help, </> for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │
  │  module capable                                                                                 │
  │ ┌─^(-)────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │ < > Intel PIIX4                                                                             │ │
  │ │ <M> Nvidia nForce2, nForce3 and nForce4                                                     │ │
  │ │ <M> Parallel port adapter                                                                   │ │
  │ │ < > Parallel port adapter (light)                                                           │ │
  │ │ < > S3/VIA (Pro)Savage                                                                      │ │
  │ │ < > S3 Savage 4                                                                             │ │
  │ │ < > NatSemi SCx200 ACCESS.bus                                                               │ │
  │ │ < > SiS 5595                                                                                │ │
  │ │ < > SiS 630/730                                                                             │ │
  │ │ < > SiS 96x                                                                                 │ │
  │ │ < > I2C/SMBus Test Stub                                                                     │ │
  │ │ <M> VIA 82C586B                                                                             │ │
  │ │ <M> VIA 82C596/82C686/823x                                                                  │ │
  │ └─┴(+)────────────────────────────────────────────────────────────────────────────────────────┘ │
  ├─────────────────────────────────────────────────────────────────────────────────────────────────┤
  │                                <Select>    < Exit >    < Help >                                 │
  └─────────────────────────────────────────────────────────────────────────────────────────────────┘
 Linux Kernel v2.6.16.16 Configuration
 ──────────────────────────────────────────────────────────────────────────────────────────────────────
  ┌──────────────────────────────── Miscellaneous I2C Chip support ─────────────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.  Highlighted letters are         │
  │  hotkeys.  Pressing <Y> includes, <N> excludes, <M> modularizes features.  Press <Esc><Esc> to  │
  │  exit, <?> for Help, </> for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │
  │  module capable                                                                                 │
  │ ┌─────────────────────────────────────────────────────────────────────────────────────────────┐ │
  │ │ < > Dallas Semiconductor DS1337 and DS1339 Real Time Clock                                  │ │
  │ │ < > Maxim/Dallas Semiconductor DS1374 Real Time Clock                                       │ │
  │ │ <M> EEPROM reader                                                                           │ │
  │ │ <M> Philips PCF8574 and PCF8574A                                                            │ │
  │ │ <M> Philips PCA9539 16-bit I/O port                                                         │ │
  │ │ <M> Philips PCF8591                                                                         │ │
  │ │ <M> Epson 8564 RTC chip                                                                     │ │
  │ │ < > Maxim MAX6875 Power supply supervisor                                                   │ │
  │ │ < > Xicor X1205 RTC chip                                                                    │ │
  │ │                                                                                             │ │
  │ │                                                                                             │ │
  │ │                                                                                             │ │
  │ │                                                                                             │ │
  │ └─────────────────────────────────────────────────────────────────────────────────────────────┘ │
  ├─────────────────────────────────────────────────────────────────────────────────────────────────┤
  │                                <Select>    < Exit >    < Help >                                 │
  └─────────────────────────────────────────────────────────────────────────────────────────────────┘

After that save your kernel configuration and build your new kernel and install it. After a reboot, you should be able to install lm_sensors.


cheers

SteveB
Top
E-TARD
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 100
Joined: Tue Feb 14, 2006 7:37 pm
Location: Silicon Valley California
Contact:
Contact E-TARD
Website

  • Quote

Post by E-TARD » Mon May 22, 2006 4:48 am

w8
so what your saying is i have to re-make my Kernel

i use genkernel

i dont know that much to make it by hand

is there any other way to get this lm_sensors shit to work


heres y im installing lm_sensors

so i can know the how hot my server is on the Command Prompt

are there any other progs out there that will do this
https://mastodon.online/@ETARD_The_LifeCaster
https://linktr.ee/Etard_The_Lifecaster
Top
funboy.ch
n00b
n00b
Posts: 26
Joined: Fri Oct 07, 2005 5:45 pm

  • Quote

Post by funboy.ch » Sat May 27, 2006 3:06 pm

I have the same prob. I assume what he means is just sync your kernel..?? I am completely new to linux... What is the command after you select I2C option to start the update?

EDIT:

would it be

emerge --update --deep --newuse world

???
Top
kerstman
n00b
n00b
Posts: 68
Joined: Sat Nov 27, 2004 8:29 am

  • Quote

Post by kerstman » Sat May 27, 2006 4:57 pm

Funbioy, ETARD..

If you've used genkernel then I find this the best way to generate new kernels. It's also good when you get a kernel upgrade in portage

As root, run

Code: Select all

mkdir /etc/kernels
cp /usr/src/linux/.config /etc/kernels/initial.config
This will back up your config file

then

Code: Select all

genkernel all --clean --mrproper --save-config --kernel-config=/etc/kernels/initial.config  --install --menuconfig
This will bring up the menu as shown in the screenshots from steveb. When you exit the menu then the kernel will compile itself (same as when you ran genkernel all as part of the initial install)

Now if you have kernel modules like nvidia, alsa-driver you have to re emerge them

Code: Select all

emerge -v --oneshot nvidia-kernel nvidia-glx alsa-driver
Then your new kernel should be ready.

The save-config option will save the new configuration in /etc/kernels

When you upgrade to a new version of a kernel you basically have to
  • change the symbolic link /usr/src/linux to point to the latest version in /usr/src

    Code: Select all

    ingrid src # ls -l
    total 8
    lrwxrwxrwx  1 root root   22 2006-05-27 18:17 linux -> linux-2.6.16-gentoo-r8
    drwxr-xr-x 20 root root 4096 2006-05-11 20:24 linux-2.6.16-gentoo-r7
    drwxr-xr-x 20 root root 4096 2006-05-27 18:17 linux-2.6.16-gentoo-r8
    ingrid src #
    run the above genkernel command, but change the --kernel-config entry to the correct one
    re emerge the kernel modules
    alter grub / LILO to the new kernel name
Hope this helps
Top
A.S. Pushkin
Guru
Guru
Posts: 418
Joined: Sat Nov 09, 2002 5:37 am
Location: dx/dt, dy/dt, dz/dt, t

lm_sensors and ksensors or gkrellm2

  • Quote

Post by A.S. Pushkin » Sat May 27, 2006 6:34 pm

I recently installed this. I've been using gkrellm2 and hddtemp. I've not calibrated things yet, but it is nice to monitor the system.
The only thing I have not been able to figure out is how to add my power supply fan speed, which would be nice.


HDD temps, CPU fan as well as various voltages are included right on the gKrellm device.

Other may have discovered this, but I forgot to mention that I, also, used some of the plugins located in: x11-plugins/gkrellm-sensors
Last edited by A.S. Pushkin on Sun Jun 18, 2006 5:09 am, edited 1 time in total.
ASPushkin

"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
Top
funboy.ch
n00b
n00b
Posts: 26
Joined: Fri Oct 07, 2005 5:45 pm

  • Quote

Post by funboy.ch » Sun May 28, 2006 10:56 am

wow thanks for the info kerstman. Greatly appreciated.
Top
E-TARD
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 100
Joined: Tue Feb 14, 2006 7:37 pm
Location: Silicon Valley California
Contact:
Contact E-TARD
Website

i love this board, there is soo much help ;)

  • Quote

Post by E-TARD » Tue May 30, 2006 1:20 am

oh ok i get it what your saying kerstman
thank you soo much for showing me what needed to do



& thank you to A.S. Pushkin & funboy.ch
for helping as well
https://mastodon.online/@ETARD_The_LifeCaster
https://linktr.ee/Etard_The_Lifecaster
Top
Kasumi_Ninja
Veteran
Veteran
User avatar
Posts: 1825
Joined: Sat Feb 18, 2006 7:22 am
Location: The Netherlands

  • Quote

Post by Kasumi_Ninja » Sat Jun 17, 2006 3:47 pm

Thanks for the info! This solved my problems with lm_sensors too.
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
Top
Post Reply

11 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic