LM-Sensors unable to load driver module
Fix - sort of - for LM-Sensors unable to load driver module
In short:
In /etc/default/grub set
GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_enforce_resources=lax"
then do
# update-grub; reboot
And be prepared for some ACPI trouble.
On many of my systems with recent kernels sensord does no more provide full information:
# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +50.5 C (crit = +80.0 C)
This is due to buggy ACPI BIOSses which never will get fixed as those are long term out of any support.
The symptoms are:
# sensors-detect
[..]
Driver `w83627hf':
* ISA bus, address 0x290
Chip `Winbond W83697HF/F/HG Super IO Sensors' (confidence: 9)
To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
w83627hf
#----cut here----
but
# modprobe w83627hf
FATAL: Error inserting w83627hf (/lib/modules/2.6.32-5-686/kernel/drivers/hwmon/w83627hf.ko): Device or resource busy
Usually the power resources and other thermal information should show up in /proc/acpi, but often you just get the CPU information, nothing else. This is because the ACPI part of the BIOS claims the resource, but does not provide appropriate information.
This is a BIOS bug, not a kernel bug. The kernel does the right thing: Protect the ACPI regions against other drivers accessing them, as this can lead to serious problems.
If you know what you are doing - and faulty ACPI BIOSses apparently do not - you can add a commandline option to the Linux kernel to relax this ACPI check:
vi /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet acpi_enforce_resources=lax"
Note that you must add "acpi_enforce_resources=lax" to the DEFAULT commandline. Other settings present there should still be kept. Then do:
update-grub
However you are living in danger then. Having said that you must know, that this was the previous behavior of Linux until this problem was noted and fixed. So there always was ACPI present and you lived in danger, the kernel just did not protect you.
The trick is, to only load this on the DEFAULT commandline, such that it is not present in recovery mode. Hence you still can boot into recovery in case there is some driver conflict with ACPI.
Before
# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +50.5 C (crit = +80.0 C)
After
# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +48.0 C (crit = +80.0 C)
w83697hf-isa-0290
Adapter: ISA adapter
in0: +1.71 V (min = +0.13 V, max = +0.00 V) ALARM
in2: +3.20 V (min = +0.00 V, max = +1.15 V) ALARM
in3: +3.02 V (min = +0.03 V, max = +2.06 V) ALARM
in4: +3.01 V (min = +0.00 V, max = +1.54 V) ALARM
in5: +0.67 V (min = +0.06 V, max = +2.05 V)
in6: +0.91 V (min = +1.04 V, max = +1.02 V) ALARM
in7: +3.30 V (min = +2.18 V, max = +0.00 V) ALARM
in8: +3.34 V (min = +0.19 V, max = +1.06 V) ALARM
fan1: 2163 RPM (min = -1 RPM, div = 8) ALARM
fan2: 3013 RPM (min = 1155 RPM, div = 8)
temp1: +35.0 C (high = +16.0 C, hyst = +22.0 C) ALARM sensor = thermistor
temp2: +48.0 C (high = +80.0 C, hyst = +75.0 C) sensor = diode
beep_enable:enabled
However as you can see, something still is wrong now. Most limits are really wrong, hence they alarm.
Before they were (however on a different mainboard):
Oct 13 16:41:24 hydra sensord: Chip: w83697hf-isa-0290
Oct 13 16:41:24 hydra sensord: Adapter: ISA adapter
Oct 13 16:41:24 hydra sensord: in0: +1.74 V (min = +1.57 V, max = +1.73 V) [ALARM]
Oct 13 16:41:24 hydra sensord: in2: +3.23 V (min = +3.14 V, max = +3.47 V)
Oct 13 16:41:24 hydra sensord: in3: +3.04 V (min = +2.83 V, max = +3.12 V)
Oct 13 16:41:24 hydra sensord: in4: +3.04 V (min = +2.85 V, max = +3.47 V)
Oct 13 16:41:24 hydra sensord: in5: +0.66 V (min = +0.34 V, max = +0.80 V)
Oct 13 16:41:24 hydra sensord: in6: +0.86 V (min = +0.78 V, max = +0.94 V)
Oct 13 16:41:24 hydra sensord: in7: +3.28 V (min = +2.83 V, max = +3.12 V) [ALARM]
Oct 13 16:41:24 hydra sensord: in8: +3.31 V (min = +2.40 V, max = +3.60 V)
Oct 13 16:41:24 hydra sensord: fan1: 3924 RPM (min = 2343 RPM, div = 8)
Oct 13 16:41:24 hydra sensord: fan2: 4218 RPM (min = 1155 RPM, div = 8)
Oct 13 16:41:24 hydra sensord: temp1: 30.0 C (limit = 75.0 C, hysteresis = 55.0 C)
Oct 13 16:41:24 hydra sensord: temp2: 44.5 C (limit = 80.0 C, hysteresis = 75.0 C)
Oct 13 16:41:24 hydra sensord: beep_enable: Sound alarm enabled
So apparently at my side the readings seem correct, but the limits not. That is not a problem for me. I need the readings, the rest I can do/fix myself.
LM-Sensors unable to load driver module的更多相关文章
- Unable to load R3 module D:\Program Files\Oracle\VirtualBox/VBoxDD.DLL (VBoxDD): GetLastError=1790 (VERR_UNRESOLVED_ERROR).
Unable to load R3 module D:\Program Files\Oracle\VirtualBox/VBoxDD.DLL (VBoxDD): GetLastError=1790 ( ...
- 解决Unable to load R3 module ...VBoxDD.dll (VBoxDD):GetLastError=1790
解决Unable to load R3 module ...VBoxDD.dll (VBoxDD):GetLastError=1790 参考文章:http://blog.sina.com.cn/s/b ...
- 运行Virtualbox去安装系统时出错:Failed to open a session for the virtual machine,Unable to load R3 module xxxx/VBoxDD.DLL(VBoxDD)
貌似看到不少人(1,2,3),在使用Virtualbox去安装系统时,都遇到这个错误: 比如这里遇到的: 截图: 和另外这里的截图: 加文字描述: Failed to open a session f ...
- 在Windows中安装Boot2Docker 遇到 Unable to load R3 module 的解决方案
引言 这个几乎是所有64位win7用户在virtual box上安装64位的linux都会遇到的问题(如果你用的是买机器的时候自带的win7 64位而且你没有重装过系统的除外). 解决办法 可参考以下 ...
- Unable to load EJB module
http://stackoverflow.com/questions/12414526/unable-to-load-ejb-module
- 关于报malformed or corrupted AST file: 'Unable to load module 的错~
今天早上 一运行程序 居然报错,我都惊呆了,昨天明明好好的-但是百度是强大的- 报错内容: malformed or corrupted AST file: 'Unable to load modul ...
- iOS 使用XCode6打开项目以后再用XCode5出现的问题fatal error: malformed or corrupted AST file: 'Unable to load module
使用不同版本的XCode出现的问题: fatal error: malformed or corrupted AST file: 'Unable to load module "/Users ...
- fatal error: malformed or corrupted AST file: 'Unable to load module "/Users/apple/Library/Developer
在同一时候安装使用Xcode5, Xcode6之后, 常常遇到这个问题. fatal error: malformed or corrupted AST file: 'Unable to load m ...
- System.DllNotFoundException: Unable to load DLL 'libgdiplus': The specified module could not be found.
netcore 使用System.Drawing 出现如下错误: Unhandled Exception: System.TypeInitializationException: The type i ...
随机推荐
- sessionFactory
SessionFactory接口:SessionFactory接口负责初始化Hibernate.它充当数据存储源的代理,并负责创建Session对象.这里用到了工厂模式.需要注意的是SessionFa ...
- 用sql从一张表更新数据到另外一张表(多表数据迁移)
update TBL_1 A, TBL_2 B, TBL_3 Cset a.email=c.email_addrwhere a.user_id=b.user_id and b.un_id=c.un_i ...
- update select
update中加入select 最常用的update语法是:UPDATE <table_name>SET <column_name1> = <value>, SET ...
- [VS2013]如何闪开安装VS2013必须要有安装IE10的限制
来源:http://blog.163.com/qimo601@126/blog/static/1582209320143354446462/ 已阻止安装程序,此版本的Visual Studio需要 ...
- Struts2中请求参数的接收方式和ModelDriven机制及其运用
odelDriven 为什么需要ModelDriven 所谓ModelDriven,意思是直接把实体类当成页面数据的收集对象.比如,有实体类User如下: package cn.com.leadfar ...
- Gerrit的使用
为什么要使用Gerrit? 最先接触Gerrit时是Android开发过程中,提交代码给负责人审核时,用到的一款软件.它就是一款代码审核的工具.(向Git代码库推送push代码时,必须要经过Gerri ...
- 取得ascii的例子
取得ascii的例子: String abc = "hello world"; int m = abc.c_str()[0]; ShowMessage(m); i ...
- ubuntu 命令的快捷启动
目前我知道的有三种方式 第一种,在配置文件 .bashrc 中 配置alias ,追加到文件末尾就行 如下: alias tmout='tail -f /usr/local/oakcloud/tomc ...
- 6.3 Android Framework
Android的四层架构分别为Linux2.6内核层,核心库层,应用框架层,应用层.Framework层为我们开发应用程序提供了非常多的API,满足我们业务上的需求.(Android是基于Linux内 ...
- Hyper-V初涉_早期Windows安装虚拟硬件驱动
虽然微软已经一再强调将要对Windows XP停止提供服务,但是难免在一些特殊场合需要早期的系统进行测试.为了测试需要,我在Hyper-V中安装了Windows XP. 按照之前的方法,对Hyper- ...