LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 814|回复: 3

[求助]emerge cpufreqd 错误。[已解决]

[复制链接]
发表于 2008-3-14 16:46:00 | 显示全部楼层 |阅读模式
按照官方power-management-guide安装到cpufreqd时产生错误
emerge cpufreqd时安装到第二个文件sys-apps/lm_sensors-2.10.4时产生错误

  1. The die message:
  2.         CONFIG_HWMON not detected
复制代码


以下为详细错误描述:
详细错误信息:/var/temp/portage/sys-apps/lm_sensors-2.10.4/temp/build.log

  1. [32;01m*[0m Determining the location of the kernel source code
  2. [32;01m*[0m Found kernel source directory:
  3. [32;01m*[0m     /usr/src/linux
  4. [32;01m*[0m Found kernel object directory:
  5. [32;01m*[0m     /lib/modules/2.6.23-gentoo-r9/build
  6. [32;01m*[0m Found sources for kernel version:
  7. [32;01m*[0m     2.6.23-gentoo-r9
  8. [31;01m*[0m
  9. [31;01m*[0m lm_sensors-2.10.4 requires CONFIG_HWMON to be enabled for 2.6.14+ kernels.
  10. [31;01m*[0m
  11. [31;01m*[0m
  12. [31;01m*[0m ERROR: sys-apps/lm_sensors-2.10.4 failed.
  13. [31;01m*[0m Call stack:
  14. [31;01m*[0m                  ebuild.sh, line   49:  Called pkg_setup
  15. [31;01m*[0m   lm_sensors-2.10.4.ebuild, line   56:  Called die
  16. [31;01m*[0m The specific snippet of code:
  17. [31;01m*[0m                           die "CONFIG_HWMON not detected"
  18. [31;01m*[0m  The die message:
  19. [31;01m*[0m   CONFIG_HWMON not detected
  20. [31;01m*[0m
  21. [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
  22. [31;01m*[0m A complete build log is located at '/var/tmp/portage/sys-apps/lm_sensors-2.10.4/temp/build.log'.
  23. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-apps/lm_sensors-2.10.4/temp/die.env'.
  24. [31;01m*[0m
复制代码


本来以为是内核源码缺少文件,从装了内核源码还是一样。
从google安关键字搜索,只有很少的信息。
发表于 2008-3-14 17:43:40 | 显示全部楼层
错误已经给得很明显了。
cat /usr/src/linux/.config | grep  CONFIG_HWMON

看看结果是不是#CONFIG_HWMON  is not set

重新编译内核,加入支持吧。
回复 支持 反对

使用道具 举报

发表于 2008-3-14 18:26:42 | 显示全部楼层
理论上应该在i2c里面
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-14 22:22:20 | 显示全部楼层
用二楼方法。用/搜一下就可以了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表