186c6 can I live without ACPI or don't? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > General

General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere.

Reply
 
Thread Tools Display Modes
  #1  
Old November 30th, 2008, 04:39
klabacita klabacita is offline
Member
 
Join Date: Nov 2008
Location: Aztec Land
Posts: 109
Thanks: 19
Thanked 1 Time in 1 Post
Question can I live without ACPI or don't?

Hi people

Hope to be the right place to ask this, I was using FreeBSD 6.1-px for more than a year, everything was good, my ACPI was working, "shutdown -p now" work for me, etc, etc.

Them I decide to migrate my server to 7.0 Release, my computer is old Foxconn KM400 Duron 1.6Ghz, here I run my backup server with bacula Raid-1 with gmirror. I migrate because I will run a app with mysql 5.1, before I was using mysql 4.1.

I prefer to migrate to 7.0 because everything point to this branch.

Everything is working, but I start getting this annoying messages:

kernel: acpi_tz0: _TMP value is absurd, ignored (-247.7C)

Them start googling, but a lot of threads without a solution, maybe my BIOS is old, foxconn doesn't have any update for my motherboard:

acpi0: <KM400 AWRDACPI> on motherboard

Well I just disable ACPI inside my BIOS or went freebsd boots, but I prefer to leave my ACPI disable in the BIOS.

I know that I will cannot shutdown my server without my intervention, but those message really put nervous.

Doing this, affect the performance of my OS(FreeBSD) or is just a feature that we can live without

Is all my doubts, thanks for you time.

FreeBSD 7.0-RELEASE-p5
Motherboard Foxconn KM400 i386 512RAM.
Custom Kernel but using almost the settings as before FreeBSD 6.1-px.
Reply With Quote
  #2  
Old November 30th, 2008, 09:30
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,522
Thanks: 422
Thanked 607 Times in 475 Posts
Default

can you try some linux live cd to see if your kernel message is being shown on linux as well?
maybe it's your bios problem, maybe it's FreeBSD bug.


I believe you can disable acpi (there shouldn't be any problems with that)
btw, when you boot FreeBSD you should pick 2nd option (you might want to edit loader config files, so that you don't have to select 2nd option every time)

I suggest you make sure you don't have acpi in kernel config. I'm not sure if FreeBSD won't use acpi if you disabled in BIOS, but still run FreeBSD with acpi.

TZ is Thermal zone, which is heat related. Make sure your ventilation is good (just make sure, we don't want smoke, don't we)
Reply With Quote
  #3  
Old November 30th, 2008, 10:20
Mel_Flynn Mel_Flynn is offline
Member
 
Join Date: Nov 2008
Location: Drachten, Netherlands
Posts: 379
Thanks: 7
Thanked 74 Times in 57 Posts
Default

I've seen some regressions in ACPI in 7.0, which gradually got fixed towards where we are now.
It is worth investigating whether 7.1-BETA2 has these problems as well and report it if so. Be sure to mention that 6.3 on the same machine has a correct thermal zone.
A verbose boot and pciconf -lv output are the basics to post with ACPI problems. And of course, sysctl hw.acpi output.
Reply With Quote
  #4  
Old November 30th, 2008, 11:08
Djn Djn is offline
Member
 
Join Date: Nov 2008
Location: Horten, Norway
Posts: 392
Thanks: 3
Thanked 62 Times in 53 Posts
Default

If that message is the only message you get, it's not really a problem - it just means one of the temperature sensors are giving wonky data.
Reply With Quote
  #5  
Old November 30th, 2008, 12:44
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,522
Thanks: 422
Thanked 607 Times in 475 Posts
Default

Quote:
Originally Posted by Djn View Post
If that message is the only message you get, it's not really a problem - it just means one of the temperature sensors are giving wonky data.
Or sensors data are interpreted wrong
Reply With Quote
  #6  
Old November 30th, 2008, 12:47
Djn Djn is offline
Member
 
Join Date: Nov 2008
Location: Horten, Norway
Posts: 392
Thanks: 3
Thanked 62 Times in 53 Posts
Default

Myeah, that's probably more likely.
(In my defense, if you define "temperature sensor" as the sysctl and not the hardware, it's right either way. )
Reply With Quote
  #7  
Old November 30th, 2008, 13:24
Mel_Flynn Mel_Flynn is offline
Member
 
Join Date: Nov 2008
Location: Drachten, Netherlands
Posts: 379
Thanks: 7
Thanked 74 Times in 57 Posts
Default

Unless a major version OS upgrade changes hardware, there's no reason to suspect it's a faulty sensor.
Reply With Quote
  #8  
Old November 30th, 2008, 14:05
MartijnAtLico MartijnAtLico is offline
Junior Member
 
Join Date: Nov 2008
Posts: 20
Thanks: 0
Thanked 3 Times in 2 Posts
Default

Quote:
Originally Posted by Mel_Flynn View Post
Unless a major version OS upgrade changes hardware, there's no reason to suspect it's a faulty sensor.
There's also no reason to suspect that there is a temperature of -247.7 degrees celcius inside this computer

It could be a faulty sensor, or a problem with interpretation.. but the latter only seems sensible if the problems started after a OS upgrade.

@klabacita: I wouldn't worry too much about these messages. As the message shows, the measured temperature is absurd so it's ignored. It'd be wise to check the temperatures inside of your computer though (just check for uncomfortably hot heatsinks etc.).
Reply With Quote
  #9  
Old December 1st, 2008, 08:13
klabacita klabacita is offline
Member
 
Join Date: Nov 2008
Location: Aztec Land
Posts: 109
Thanks: 19
Thanked 1 Time in 1 Post
Smile

Thanks all of u for your great amount of information.

I will try to debug this week, my main say maybe from 6.1 to 7.0 something change, but I won't say anything until I run some test.

Right now I disable my ACPI inside my BIOS and FreeBSD stop sending this messages.

I still have the disk with 6.1-px running I will check my kernel config file and compare with my current system.

This machine like I say before run 6.1-px without any issues with the ACPI.

"richardpl"
Message probably means that such sensor as defined in BIOS is not present.

Maybe u are right

I will let u know people my result as soon as I receive this info.

Thanks again!!!
Reply With Quote
  #10  
Old November 30th, 2008, 13:54
Djn Djn is offline
Member
 
Join Date: Nov 2008
Location: Horten, Norway
Posts: 392
Thanks: 3
Thanked 62 Times in 53 Posts
Default

My first assumption was on the form "buggy ACPI code/BIOS gives weird values, but it's been ignored up to now", which is neither here nor there. I guess I could have formulated it better.
Reply With Quote
  #11  
Old November 30th, 2008, 13:58
richardpl richardpl is offline
Member
 
Join Date: Nov 2008
Location: Croatia
Posts: 841
Thanks: 6
Thanked 68 Times in 67 Posts
Default

It can be faulty BIOS.
Post output of:
Code:
# sysctl hw.acpi.thermal.
Message probably means that such sensor as defined in BIOS is not present.

I had similar problem.*I fixed it dumping ACPI asl and changing it, I found few typos After that I recompiled it and use that one instead of BIOS one.

Read 11.16 Using and Debugging FreeBSD ACPI inside FreeBSD Handbook.
Reply With Quote
  #12  
Old December 3rd, 2008, 16:57
trasz@ trasz@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Location: Warszawa, Poland
Posts: 178
Thanks: 7
Thanked 37 Times in 29 Posts
Default

You can selectively disable parts of ACPI. In this case, it would be 'debug.acpi.disabled="thermal"' in your /boot/loader.conf.
Reply With Quote
  #13  
Old December 3rd, 2008, 20:22
richardpl richardpl is offline
Member
 
Join Date: Nov 2008
Location: Croatia
Posts: 841
Thanks: 6
Thanked 68 Times in 67 Posts
Default

But could that make it risky from overheating not being noticed early?

_CRT is just for that - FreeBSD ACPI will shutdown system when that temperature is reached.
Reply With Quote
  #14  
Old December 3rd, 2008, 22:03
trasz@ trasz@ is offline
FreeBSD Developer
 
Join Date: Feb 2008
Location: Warszawa, Poland
Posts: 178
Thanks: 7
Thanked 37 Times in 29 Posts
Default

Well, in this case the thermal sensor - or the ACPI interface to that sensor - is obviously malfunctioning, so I don't think FreeBSD is gonna make much use of it.
Reply With Quote
  #15  
Old December 4th, 2008, 10:25
Mel_Flynn Mel_Flynn is offline
Member
 
Join Date: Nov 2008
Location: Drachten, Netherlands
Posts: 379
Thanks: 7
Thanked 74 Times in 57 Posts
Default

I actually have a machine with the same problem under 7.1-BETA2. Via chipset with AMD i386 processor. Can't debug right now, as it's replacing a machine out for repair, but after that it's my new playmate.
Reply With Quote
  #16  
Old December 14th, 2008, 03:21
klabacita klabacita is offline
Member
 
Join Date: Nov 2008
Location: Aztec Land
Posts: 109
Thanks: 19
Thanked 1 Time in 1 Post
Thumbs up

Hi people.

After some test I still cannot confirm is this warning message, is something new that appear in FBSD 7 or my BIOS is crapy. But with FBSD 6.1 was working.

I can confirm that my thermal zone is good and my server room is cold as a beer, because my BIOS screen give me the right info of my CPU temp.

I cannot test to much because this machine need to work.

What I did was to disable the thermal module as @trasz suggest and those message dissapear.

Hope latter to have a litle more time to test this and see If i could find out the problem.

Thanks all for your great support and tips, my messages are gone �e.

Thanks again.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Acer Aspire 3680 ACPI problem legoprog Mobile Computing 19 July 10th, 2009 13:45
How do I make my power button do nothing with ACPI disabled? GullibleJones General 9 April 9th, 2009 21:45
acpi/amd64 power saving kamikaze Mobile Computing 14 March 14th, 2009 03:44


All times are GMT +1. The time now is 06:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0