LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-18-2017, 09:07 PM   #1
bilbod
Member
 
Registered: Mar 2003
Posts: 134

Rep: Reputation: 33
Module it87.ko Won't Load


Slackware64 14.2.

My CPU needs the kernel module it87.ko to read the CPU temp correctly.

Code:
grep SENSORS_IT87 /usr/src/linux/.config 
CONFIG_SENSORS_IT87=m

locate it87.ko
/lib/modules/4.4.38/kernel/drivers/hwmon/it87.ko

modprobe it87
modprobe: ERROR: could not insert 'it87': Device or resource busy
it87 is compiled into the kernel as a module, the module is where it should be but I cannot load it.

Anybody know a solution?
 
Old 06-18-2017, 10:26 PM   #2
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,098
Blog Entries: 4

Rep: Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456
Maybe you need to add 'acpi_enforce_resources=lax' to your kernel command line in lilo.conf or grub.

But some people warn against that, for example http://hansdegoede.livejournal.com/7932.html
 
Old 06-18-2017, 10:30 PM   #3
1337_powerslacker
Member
 
Registered: Nov 2009
Distribution: Slackware64-current
Posts: 519
Blog Entries: 1

Rep: Reputation: 215Reputation: 215Reputation: 215
Quote:
Originally Posted by bilbod View Post
Slackware64 14.2.

My CPU needs the kernel module it87.ko to read the CPU temp correctly.

Code:
grep SENSORS_IT87 /usr/src/linux/.config 
CONFIG_SENSORS_IT87=m

locate it87.ko
/lib/modules/4.4.38/kernel/drivers/hwmon/it87.ko

modprobe it87
modprobe: ERROR: could not insert 'it87': Device or resource busy
it87 is compiled into the kernel as a module, the module is where it should be but I cannot load it.

Anybody know a solution?
I Googled your error message and got the following: https://bbs.archlinux.org/viewtopic.php?id=81925


Hope this helps. Happy Slacking!

EDIT: 55020 beat me to it.
 
Old 06-19-2017, 11:21 AM   #4
bilbod
Member
 
Registered: Mar 2003
Posts: 134

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by 55020 View Post
Maybe you need to add 'acpi_enforce_resources=lax' to your kernel command line in lilo.conf or grub.

But some people warn against that, for example http://hansdegoede.livejournal.com/7932.html
I already Googled this extensively. All the info related to it is old (6-8 years) and related to 2.6 kernel.

I felt uncomfortable using acpi_enforce_resources=lax because of the potential hardware damage it might cause. I did try it for a short time and it87 loaded and sensors gave me 2 additional temp readings 25C and 31C. It is not clear what they are the temperature of?

I also tried disabling acpi in the kernel (acpi=off in lilo append). The system booted but the X server did not work.

Hardware:

BIOSTAR TA970XE mobo
AMD FX(tm)-4100 Quad-Core CPU

BIOS Temp readings:
CPU 41C
SYS 31C

This is a quote from from an article on Tom's Hardware:

"...the CPU temps shown in the BIOS are high because the CPU in the BIOS runs at its full clock speed

On my PC, I'm seeing ~50 degrees celsius in the BIOS / UEFI, and just 25 degrees celsius while idling on Windows as shown by Real Temp.

Here is why: In the BIOS, the CPU is running at its full clock speed [so ~4GHz on my i7 6700K]. When idling on Windows however, the CPU clock goes all the way down to just 800MHz. At this reduced frequency, the CPU consumes much less power, and also generates much less heat.

Then, running a CPU stress test automatically gets the CPU to increase its clock back to the ~4GHz, and I'm then getting temperatures of about 50 to 55 degrees celsius at 100% load.

So, don't panic because you're seeing high temps in the BIOS."

ACPI temp shows 27C on taskbar monitor.
Note: Started at 31C but in a few seconds dropped to 28C

Code:
acpi -t
Thermal 0: ok, 27.0 degrees C

cat /sys/class/thermal/thermal_zone0/temp
28000
Code:
sensors:
k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +13.9C  (high = +70.0C)
                       (crit = +90.0C, hyst = +87.0C)

cat /sys/class/hwmon/hwmon0/temp1_input
14000
Code:
sensors:
nouveau-pci-0100
Adapter: PCI adapter
temp1:        +45.0C  (high = +95.0C, hyst =  +3.0C)
                       (crit = +105.0C, hyst =  +5.0C)
                       (emerg = +135.0C, hyst =  +5.0C)

cat /sys/class/hwmon/hwmon2/temp1_input 
44000
According to the AMD docs, the k10temp is a relative temperature. It is the difference between the CPU temp and the temp at which the CPU turns the cooler fan on.

I grouped the sensor temps with the /sys/class temps they seem to be associated with.

Note: The acpi program has not been updated for 4 years. The homepage no longer exists and the project might be orphaned.
 
Old 06-19-2017, 11:41 AM   #5
upnort
Member
 
Registered: Oct 2014
Distribution: Slackware, CentOS, Ubuntu MATE
Posts: 337

Rep: Reputation: Disabled
To offer some nominal consolation, I have been using the acpi_enforce_resources=lax boot parameter for years. The motherboard is an Asus M3N78-EM with a dual core AMD Athlon 5050e and 8GB RAM. I currently run 14.2 64-bit and started using the boot parameter when first introduced with the 2.6 kernel. To my observation and knowledge, I have suffered no consquences from using the boot parameter. The standard disclaimer applies: YMMV.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when trying to load it87 kernel module husarz Linux - Hardware 2 04-05-2017 07:28 AM
lm_sensors - it87 module errors BashTin Slackware 4 12-30-2009 05:57 AM
X won't load i810 module for 915GM video card "module requirement mismatch" yougene Slackware 10 03-18-2006 10:02 AM
why won't this module load? shanenin Linux - Software 1 10-16-2003 09:23 AM
module won't load at boot joeey21 Linux - Networking 9 09-15-2001 11:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration