2.6.1内核的sensors问题
fedora core 1kernel 2.6.1-mm4
Lm_sensors 2.8.3
卸载了老版本的Lm_sensors。
make user;make user_install安装了2.8.3。
# sensors
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs!
For older kernels, make sure you have done 'modprobe i2c-proc'!
config文件
#
# I2C support
#
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y
#
# I2C Algorithms
#
# CONFIG_I2C_ALGOBIT is not set
# CONFIG_I2C_ALGOPCF is not set
#
# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
CONFIG_I2C_I801=y
CONFIG_I2C_ISA=y
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIAPRO is not set
#
# I2C Hardware Sensors Chip support
#
CONFIG_I2C_SENSOR=y
# CONFIG_SENSORS_ADM1021 is not set
CONFIG_SENSORS_EEPROM=m
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_VIA686A is not set
CONFIG_SENSORS_W83781D=y
呵呵,不好意思。2.6的sensors在也解决不了了 呵呵,回来了啊
看看文件系统里是否有关于sysfs的支持选项,如果有,选上试试 呵呵,回来了啊
看看文件系统里是否有关于sysfs的支持选项,如果有,选上试试
呵呵,说来真是惭愧阿
#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
# CONFIG_DEVFS_FS is not set
CONFIG_DEVPTS_FS=y
CONFIG_DEVPTS_FS_XATTR=y
CONFIG_DEVPTS_FS_SECURITY=y
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y 还不行吗?
看提示信息似乎sysfs需要mount上,但以前的版本好像都没这样做过,不知道如何mount呢 不知道。sysfs已经编译进内核了 :? LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devptsgid=5,mode=6200 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdd5 swap swap defaults 0 0
none /sys sysfs defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,user,kudzu,ro 0 0
/dev/sda1 /mnt/usb vfat noauto,user,exec,iocharset=gb2312 0 0
/dev/fd0 /mnt/floppy auto noauto,user,kudzu 0 0
这是我的fstab的内容,sysfs就写进这里边就行了 多谢,解决了
不过,
none /sys sysfs defaults 0 0
提示
mount: mount point /sys does not exist
none /proc/sys sysfs defaults 0 0
就能使sensors正常使用了。
不过现在又有问题了,gkrellm 2.1.21,还是无法认出sensors mkdir /sys
mount -t sysfs /sys sys 多谢各位,成功了。
mkdir /sys
none /sys sysfs defaults 0 0写入fstab
gkrellm 2.1.24
sensors和gkrellm都可以了
页:
[1]