I8k gone crazy

Hi all,
Since recent update, I have a problem with i8k on my Dell Inspiron 6000 laptop.
Fans are running full speed whatever wat inside temperature is. No recent change to i8k conf was made.
Here is i8kctl command output:
1.0 (null) H31N12J 127 -1 163 20250 20250 0 -1
Here is acpi -t command output:
Thermal 0: ok, 28.5 degrees C
And now i8kmon output:
i8kmon v1.27 17/06/2005 - Copyright (C) 2001 Massimo Dal Zotto <[email protected]>
config(0) = {-1 0} -1 50 -1 55
config(1) = {-1 1} 45 60 45 70
config(2) = {-1 2} 55 80 65 85
config(3) = {-1 2} 70 128 75 128
config(auto) = 1
config(daemon) = 1
config(geometry) =
config(i8kfan) = /usr/bin/i8kfan
config(min_speed) = 2000
config(proc_ac24) = /proc/acpi/ac_adapter/0/status
config(proc_ac26) = /proc/acpi/ac_adapter/AC/state
config(proc_apm) = /proc/apm
config(proc_i8k) = /proc/i8k
config(sysconfig) = /etc/i8kutils/i8kmon.conf.conf
config(t_high) = 80
config(timeout) = 1
config(unit) = C
config(use_conf) = 1
config(userconfig) = ~/.i8kmon
config(verbose) = 1
1272729060 opening /proc/i8k
1272729060 opening /proc/acpi/ac_adapter/AC/state
1272729060 acpi: state: on-line
1272729060 1.0 A09 H31N12J 127 -22 163 675 675 1 -22
# (127>=-1), state=1, low=45, high=60
# (127>=60), state=2, low=55, high=80
# (127>=80), state=3, low=70, high=128
# exec /usr/bin/i8kfan -1 2
1272729061 1.0 A09 H31N12J 127 -22 163 675 675 1 -22
It seems that i8k "thinks" the temperature of my laptop is 127°C so this is why, with the existing config, fans are running full speed.
Any idea why i8k goes wrong like this ?
Thanks in advance.

i8k still works fine for me, so I wrote up a (terrible) bash script as a substitute for i8kmon until this gets fixed (if ever). It controls the fans based on your settings and the ACPI temperature readout, and it outputs a nice status message too.
EDIT: you must force the i8k kernel module to load.
The only requirements are bash (obviously), i8kutils, and acpi (pacman -S acpi). Here's how it works: you define the variables level1, level2, and level3. WARNING: you must alter these variables from my default values. Most systems should never be allowed to reach 50C, but that is how I run mine (and it's been running nicely for many years). Even if I keep the fans on full blast, my temperature would never dip below 38C. These represent three temperatures, each in celcius. What does this mean?
If your fans are running at `i8kfan 0 0` (off), they will not be turned on until you reach level2.
If your fans are running at `i8kfan 1 1` (slow), they will not be turned off until temperature reaches level1. They will not be turned to `i8kfan 2 2` until temperature reaches level3.
If your fans are running at `i8kfan 2 2` (full blast), they will not be turned off until you reach level2.
By default, temperatures and fan speeds update every three seconds.
And my disclaimer - you NEED to change the values of level1, level2, and level3 to a known safe value for you. Also, it is extremely stupid to use a bash script to monitor and control something as important to system stability as the cooling fans (but I am going to do it anyway ). If your system overheats, you could at best lose some unsaved files and at worst cause some hardware damage - and none of that is my fault.
Without further ado, the script:
#!/bin/bash
## these are the temperatures
level1=50
level2=60
level3=70
fanstate=2
while [ true ]
do
temp=`acpi -t | sed -e 's/\(\.[0-9]\+ \)\?degrees C$//' -e 's/^Thermal 0: ok, //'`
if [ "$temp" -lt "$level1" ]; then
fanstate=0
elif [ "$temp" -ge "$level1" ] && [ "$temp" -lt "$level2" ]; then
if [ "$fanstate" -le 1 ]; then
false
elif [ "$fanstate" -gt 1 ]; then
fanstate=1
fi
elif [ "$temp" -ge "$level2" ] && [ "$temp" -lt "$level3" ]; then
if [ "$fanstate" -le 1 ]; then
fanstate=1
elif [ "$fanstate" -gt 1 ]; then
false
fi
elif [ "$temp" -ge "$level3" ]; then
fanstate=2
fi
i8kfan $fanstate $fanstate | false
echo "Fan state: $fanstate, Temp: $temp C"
sleep 3
done
Good luck and enjoy! I'd appreciate any feedback - this is pretty much my first bash script ever, but I do know that a lot of that is awful programming practice - and if you find it useful, a "thank you" post would be nice .
Thanks for reading!
Last edited by yumigator (2010-05-30 07:46:41)

Similar Messages

  • Has Anyone Found a Solution for G5 Fans Gone Crazy?

    First of all, let me say that I am a long time Mac user going back to the Mac Plus days so I think I am fairly experienced in the ways of the Macintosh.
    I have a G5 Dual 2.0 ghz (Original Version) that is two years old and until last month has worked fine. Then I started getting Kernel Panic every day and the fans have gone crazy, revving up and down until I want to scream.
    My local Apple authorized dealer does not seem to be able to fix this problem. They have installed a new Logic Board and 600 watt Power Supply and over $700 in labor in this machine. Nothing has helped and they seem to suggest that I have a software problem. I do not agree with their assessment. I could have bought a new computer for what I have spent so far. As I type this, the fans are screaming full blast.
    On the internet, I have found lots of similiar G5 fan problems but nobody seems to indicate if they were able to get the fans to stop racing and act normal again.
    I have tried the normal suggestions, Engery Setting to Highest, reset the PRAM, erased my hard drive and reinstalled OS 10.4.6 several times, logged on as a new user. Nothing seems to help. Fans just will not settle down.
    I bought this computer as a DEMO model and did not receive the Apple Hardware Monitoring CD. Does anyone know how I can get this disk? Perhaps, it could tell me what is wrong.
    Looking for any help with this problem.
    G5 Dual 2.0 ghz, PowerMac w ATI x800 video card, 3 gb RAM   Mac OS X (10.4.6)  

    Sorry to hear about your problem Robert.
    Since you have already started a hardware process with Apple, it's best to just deal with them. We users really can't do much.
    I'm sure software has been eliminated by now in your repair process.
    The verison of Apple Hardware Test on your install disks is no longer compatible with your firmware and OS version. Only Apple Store folks and techs would have a recent copy. I'm sure they ran it several times by now.
    Take your machine back and say it's not fixed, remove your boot drive so they would have to use their own. Try another boot drive and remove the first.
    All we can really do.

  • Gps gone crazy after 7.1 update

    Hi everyone.
    I ran my daily routine on a standart route. But after last ios update (7.1) my iphone 5's gps receiver gone crazy. I'm using Runkeeper for keeping data. But I've tried runtastic and moves too. Its all same. I attached a screenshot, so you can understand what I mean. I hope you can solve this problem quickly, because I'm losing money each day that I miss my commitment on the app "gympact".
    Thanks

    (A) Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.
    (B) Try reset all settings
    Settings>General>Reset>Reset All Settings
    Note: Data will not be affected but settings for Wi-Fi, FaceTime, Message, Home Sharing will be reset

  • Photoshop CS5 Shortcuts Gone Crazy

    The CS5 shortcuts were working fine for the past 2 weeks but now have gone crazy. When I hit Shift + F6, it flips my slection horizontally when it should bring up the Select > Modify > Feather. When I hit Shift + F5, it should bring up the Edit > Fill dialog box but instead it does a Select > Modify > Grow.
    I deleted the PS Prefs file but that did not work. Anyone else have this issue? Any suggestions on how to fix it?
    Thanks & Regards, Murray

    Zeno, no,I did not reprogram any and  I checked Edit>Keyboard Shortcuts the list is as it should be - Shift+F5 still shows as Fill; Shift+F6 still shows as Feather;
    Other wrong shorts:
    Shift+F7  now functions as  Transform>Flip Vertical
    Shift+F8 now functions as Transform> Rotate 90 deg CW
    Shift+F9 now functions as Transform> Rotate 90 deg CCW
    None of these incorrect shortcuts shows up in the Keyboard Shortcuts table. There are no other keyboard shortcut configurations other than the PS default table.
    As mentioned earlier I have has CS5 installed for 2 weeks now and used the Shift + F5 for Edit>Fill about 50 times a day. I used Shift + F6 to feather a few times as well.
    Thanks and regards, Murray

  • IdeaCentre A310: Screen's gone crazy

    I've been using my A310 for 7 months without any problems but suddenly the screen's gone crazy.  The touch controls (on the bottom right hand side of the screen) don't respond to touch any more, but the on-screen menu for managing the display keeps popping up and making random changes to the screen settings.  I've downloaded and installed the video driver on the Lenovo support site but it doesn't help.  Any suggestions?? It's making the machine entirely unusable (not least because it occasionally chooses to switch the display off for periods of up to an hour!!).
    Any help or suggestions gratefully received, before I send it back under warranty.......

    hey Benj11,
    try uninstalling the video drivers, let Windows install its generic drivers and update the bios.
    if these does not resolve it send it to the service center
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • HT1277 Mail has gone crazy. Header's and messages are mixed up. New Mac Book Pro. Migrated files from Time machine running snow leopard. Reinstall or new computer needed?

    Mail has gone crazy. Header's and messages are mixed up. New Mac Book Pro. Migrated files from Time machine running snow leopard. Reinstall or new computer needed?

    Ok; I'm not sure what you're doing.    36 hours is rather long.  Seems like a new migration.  Not what I intended.
    Here's what I intended: from the newly-migrated and apparently-corrupt environment, create a new user, not related to any existing user, nor any migration-created user, or any other user for that matter.  That is, use  > System Preferences > Users and Groups, authenticate yourself by clicking on the padlock, and then click the + and create a wholly new user.  Then log in under that user and establish the mail access.
    36 hours?  I'm wondering if there's an error or an exceedingly slow network here?  Or a really, really slow disk?  Or a sick backup?  (WiFi isn't the path I'd usually choose, either.)
    Failing the attempted second migration, I'd try a different tactic.  Does your existing (old) system work?   If so, I'd bypass the backup and connect an external (scratch) USB disk drive to the (old) sstem and then boot and use Disk Utility booted from the installer DVD disk or boot and use Disk Utility from the recovery partition or booted from a recovery partition created on some other external storage (details here vary by the OS X version and what hardware you have), and perform a full-disk backup of your original internal disk to (scratch) external storage.  (Make sure you get the source and target disks chosen correctly here; copying the wrong way — from the scratch disk to your existing disk — will clobber your data!)  In esssence, this will clone your existing boot disk.  Then dismount the (formerly-scratch) external disk, transfer it over to the new system, and use it as the source of the migration, by performing a fresh OS X installation on the new system.
    Target Disk Mode is also sometimes an option for accessing the disk for a migration, but that requires the right cable, and requires systems that have the same external connection; newer MacBook Pro systems use Thunderbolt for this, and older systems tend to use FireWire.  And I'm guessing you don't have compatible hardware.
    The details here can and do vary by your OS X versions and your particular Mac systems — if you'll identify the specific models and hardware, somebody might be able to better tailor the above (fairly generic) sequence to your particular configuration.

  • Memory gone CRAZY PLEASE help

    All,
    This another question regarding my app, which has a main frame that contains Tabbedpane and have desktopPane attached inside. Within desktopPane I have multiple JInternalFrame. In each internalframe a textarea is attached for taking user input and displaying server feedback (the textarea has private classes that telnet to the server to do the input and output stuff).
    I was testing my app last night and found out following problems:
    1.) Memory just gone crazy! I opened several internal frames and did "cat *" on each of them just to test it out. I noticed the memory just gone crazy and the app become really slow responding. after I close the internal frames speed start getting better but memory is still not being released.
    2.) I use InputStream.read() to read single byte from input stream. the return is an "int", I first convert it to a "char" and then cast it to a "string" then use the JTextArea.append("string") to append it to the textarea but it displays a little square after I press enter each time.
    I appreciate your time and advise, thank you.

    You can allocate extra memory to a Java program by putting something like
    java -Xmx256m Myclass
    That should tell you if running out of memory is really your problem.
    Memory from abandoned items isn't recovered until the JVM decides to do a "garbage collection" which it doesn't usually bother with until it finds memory a bit tight.
    You shouldn't cast byte input to char. In Java a character is a 16 bit UNICODE code value, and it's relationship with bytes depends on the "character encoding", by default the one native to your operating system.
    If you want to read character input from a file etc. then use a Reader not an InputStream. If necessary you can "wrap" an input stream in an InputStreamReader object.
    If you want to read it from the user in a Swing program then use an input field of some sort.

  • Colours in one catalogue gone crazy!!

    Just recently, my main catalogue I regularly work in has gone crazy with it's colours.  Peoples lips are a very over saturated pink, as if the have lip stick on.  Anything pink is completely blown out.  I fixed it last night by changing to a different catalogue, then changing back, but tonight it seems to be stuck on crazy colour mode. 
    Any idea's, and it's not my system colour management, as everything else is displaying perfectly.  Only problems with this one catalogue.

    Just recently, my main catalogue I regularly work in has gone crazy with it's colours.  Peoples lips are a very over saturated pink, as if the have lip stick on.  Anything pink is completely blown out.  I fixed it last night by changing to a different catalogue, then changing back, but tonight it seems to be stuck on crazy colour mode. 
    Any idea's, and it's not my system colour management, as everything else is displaying perfectly.  Only problems with this one catalogue.

  • Display gone crazy

    I've got a HP2605dn and it works great up to today.  The display has gone crazy.  Is there a hard reset for the printer to resent it's memory?

    Looks as if you've a graphics card and/or screen problem - I would lean more towards the GPU.
    You should take the machine into your local Apple Store or an AASP and have them evaluate the problem. This diagnosis should be free as should an estimate for repair (if you're not still under warranty).
    Good luck,
    Clinton
    MacBook Pro (15-inch Late 2011), OS X 10.??, 16GB Crucial RAM, Crucial M500 960GB SSD, 27” Apple Thunderbolt Display

  • Play Counts have gone crazy

    I am not sure what has happened but sometime over the past few weeks my play counts have gone crazy. I have songs that are reporting a play count of between 265 and 769. Obviously these are not even close to correct (especially since the next closest number is like 20). Is there any reason this might have happened? Is there any way to correct this information without resetting the play count for those tracks completely?
    Thanks!

    Many thanks again.  I do not understand the concept of 'using the script' on the page you refer me to: I am not terribly technical!  Basically, I don't understand the comment 'Save the text of this file and add the extension .js and put it in your script folder and run the script in Window > Utilites > Scripts >'  How do I save the 'text of this file', and does this refer to everthing that is in the box, beginning '//blind Open' and ending '}'?  What is my 'script folder' and how do I find it?  Is this a folder in InDesign, or Windows (I'm running Windows 7, 64bit).
    I did try to open the 124 byte file (sorry, I said 124 KB by mistake), and got an error message that it could not be opened.  Also, as a check I exported a much smaller file (1244 KB, as opposed to the 'problem' file, which is 5668 KB), and the resulting file was 48 KB.
    Thank you again for trying to help!

  • My iphone 5 has gone crazy...

    Well, i bought my iphone about 3 months ago and i activated it about 1 and a half month ago, because i bought it in the usa and the activated it in another country, anyways since the first day i activated my iphone it has gone crazy ican't unlock it when i have to slide it at the beginning sometimes it opens apps alone, it types alone sometimes my iphone is completly good but then it goes crazy. Then i was going crazy with my iphone so i dicided to reset it, after i did such thing the iphone was still crazy, Then an update (IOS 6.01) came and i thought that the update will save my iphone by fixing this problem but it was exactly the same. please help me because my country doesn't provides an apple store where i can have apple support.
    here is a video that i found that had kind of the same problem as my iphone: http://www.youtube.com/watch?v=pgnkWjGvkYo
         HELP HELP HELP PLEASE I REALLY NEED MY IPHONE.

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.
    If basic troubleshooting does not resolve, take the device to Apple for evaluation and possible replacement.
    Be aware that the iPhone warranty is NOT International.  You will need to either return to the US with the device and take it to Apple or ship it to someone you know in the US to take it to Apple.

  • Help, my system has gone crazy!

    My imac G5 running Leopard, 10.58 Processor 18 GHz, Memory 2GB has gone crazy.  I cannot open ITunes.  If I try to download a small file it says my memory is nearly full and I need to clear disk space.  Okay I have a few songs on iTunes and 7,900 photos on iPhoto, but that is all.  I try to open a document in Word and it says 'you are working without a Word work file and your memory is nearly full'. I am not receiving e-mails when I know they have been sent. What is happening?

    Don't worry about Filevault, likely you're not using it if you don't know what it is, but...
    http://en.wikipedia.org/wiki/FileVault
    Less than 2GB free is very dangerous, you could loose everything as it's not really free space for our use.
    An 80GB drive is really too small for later versions of OSX, you need to free up at the very least another 10 to 20GB.

  • My 3GS has gone crazy

    I have a 3Gs that has gone crazy. Out of a sudden, voice control starts, plays music and even makes calls sometimes, the phone starts switching between applications (closes and opens them) and I can't do anything to stop it even when I touch the cancel button. It does this over and over again. At the same time this problem happened, the home button stopped working. Well it works sometimes when I restart the phone but not always. I don't think it's a matter of pressing the button hard because when it works, it's always the same press I use as before.
    I upgraded to iOS4 but the problem still exists. I hope someone out there can give a hand.
    Thanks

    I did restore the device couple of times and I still have the same problem .. And on more thing, everytime I restored it, I get a msg on iTunes that the device is in recovery mode and that I had to restore the device!!

  • My playbook has gone crazy(screen and control)

    My playbook one day suddenly has gone crazy . It has life on its own .It opens tabs and applications by itself . I have security wiped everything and yet its not getting normal and functional . Its NOT when i charge ... It happens all time ... somebody please help me .. The screen is driving me crazy .. its useless now .

    might have a bad power board, its not a software issue

  • My iMac has gone crazy

    Does anyone familiar with this error:
    4M0T/1/40000003: HDD-1379
    4M0T/1/40000003: HDD-1343
    or something like that?
    My iMac has gone crazy, it is still working but cant stop the Voice System
    HELP PLEASE!

    HI,
    If Command + F5 doesn't work, go to System Preferences/UniversalAccess. Click the Seeing tab and make sure Voice Over is turned OFF.
    Carolyn

Maybe you are looking for

  • 1-to-1 Relationship Between UI and subVI Data Cluster

    Discussion continued from here. In summary: JackDunaway wrote: Yes, I can see clear benefits in implementing this Idea - that is, if your underlying datatype elements have a 1:1 relationship with the UI elements. I will illustrate this point by showi

  • XSLT  Mapping  scenario

    Hi      we have graphical mapping in Xi.. but most of them going for XSLT mapping.. i did't understood  in what situation we need to go for  XSLT mapping... is there any  special features  which are not possible in Graphical Mapping.. can you please

  • How to split messages without using Message split (BPM)

    In file to file scenario how to split messages coming from file without using Message split (BPM)

  • Idoc is recieved as  xml format instead of text format

    hi i am new to XI , I am right now i am trying with Idoc to file scenario i am sending idoc from an R/3 system and i am receiving it as file in another R/3 system. In accordance to that i have designed & configured all settings, But when i am sending

  • Help with left outer join

    Hi, I Have this database structure: Artist(IDA,Name,Year_b) Work(IDW,Title,IDA,IDL) City(IDL,IName,Nation) I Want to do a query that retrieve for one Artist all Works availables on database and,if present,the City where each work was realized. This S