Laptop automatic shutdown when Arch startup

My laptop automatic shutdown while in arch linux startup but i already enable phc_cpufreq undervolt and its voltage and also i added cpufreq_ondemand modules
but when the time the system boot black background with text  the startup suddenly said temperature max reach 70C and it post shutdown after a 5 second the laptop shutdown...eventhough my pentium -m can reach 100C
when after waiting about 10 minutes and i turn on the laptop back it go smoothly startup and i can log in to DE.It never shutdown after that even i was using the laptop 100% load but if i restart the pc it will go to startup and post the msg reach temperature max and auto shutdown
anyone here can help me to disable archlinux kernel or whatever startup process that automatically shutdown the laptop
phc vids show my correct vids so i got a feeling it only activate if  the system manage go to DE kde and loggin but not when on boot Startup archlinux

I had this problem on my ThinkPad r51p which would suddenly say critical temperature reached and shut down. It was the same with different linux distros and FreeBSD as well.
I found no other solution to the problem but writing a small script that I always had running in the background:
#!/usr/local/bin/php
<?php
$slow = FALSE;
while(1) {
$temperatur = `cat /proc/acpi/thermal_zone/THM0/temperature | grep temperature | awk ' { print $2 } ' `;
if((int)$temperatur > 85 && !$slow) {
// print "Slowing down".$temperatur." C";
system("echo -n 600000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"); $slow = TRUE;
} elseif((int)$temperatur < 80 && $slow) {
// print "Speeding up".$temperatur." C";
system("echo -n 1700000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"); $slow = FALSE;
sleep(3);
?>
But most likely there is a more elegant solution to it than this.
And, btw, Do NOT try this script unless you know exactly what your doing and the settings are right for your CPU
Last edited by dr_relling (2009-02-24 23:48:09)

Similar Messages

  • How to insmod modules when Arch startups.

    Hello everyone , I'm new in Arch, can you help me?
    I want to know how to insmod modules when Arch startups.

    Foucault wrote:
    I believe this wiki entry is what you need
    https://wiki.archlinux.org/index.php/Sy … ad_at_boot
    Touch a new file under /etc/modules-load.d/ (it must end with .conf) and add your modules there.
    Thank you for answer , i will read it seriously

  • Oracle database automatically shutdown when i restart computer

    Hi all!
    i have some problems, so i want your help
    i have the database which name is ORCL but i don't understand why when i restart my computer, my database automatically shutdown, so i alway have to execute this command after restarting my computer
    connect / as sysdba
    startup
    could you show me how to fix that error
    help me!

    Hi,
    Refer this thread for a full explaination...
    Oracle service failed to start in a timely manner
    Regards.

  • When I startup, the sound is automatically mute, When I startup, the sound is automatically mute

    I have the latest version of OS X, but since I upgraded, when I start-up my computer, the sound is automatically muted and I don’t know why.  Any ideas? Thank you.

    Restart the computer holding down the command - option/alt - P - R keys before the gray screen appears. Continue to hold until you hear the startup chime for the second time.
    Reset NVRAM/PRAM

  • Automatic shutdown when i use fb

    everytime i use fb and i received a calls. it always automaticaly shutdown. then when i recharged and open it, "java caugth error" appeared. first things i tought thers a problem in my batery then i bought a new one, but it always happen again even if i use the new batery. what will i do?

    Hi and Welcome to the Community!!
    There's pretty much no diagnosing those -- they are the equivalent of the random errors in Windows for which tracing the root cause is fruitless. Basically, these are the last out in the programming code -- some event occurred for which there is no handler in the code. The fix is a code update that handles the event...but, again, knowing what the event is is pretty much impossible. So, there are a few things to try:
    Sometimes, the code simply becomes corrupt and needs to be refreshed -- just like a reboot:
    Anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    If it won't boot up cleanly, then you may need to try Safe Mode:
    KB17877 How to start a BlackBerry smartphone in safe mode
    There might be an updated code set from the carrier -- check them via this portal:
     http://na.blackberry.com/eng/support/downloads/download_sites.jsp
    The toughest possible cause is a badly behaving app. To find it, there are a couple of options. One is to see if you can read the log file:
    Go to the home screen. Hold down the "alt" key and type 'lglg'. (You will not see anything while you type).This will bring up the log file. Scroll down (probably many pages) untill you see a line that says 'uncaught execption'. Click on this line. The name of the app will be in the info. Alternative methods for bringing up the logs are in this KB:
    KB05349How to enable, access, and extract the event logs on a BlackBerry smartphone
    The other method is to remove apps one at a time, waiting a while in between (I usually recommend a week), until the problem ceases...thereby discovering the offending app. Still another method is to reload the BB OS cleanly, leaving some time between adding other apps onto the BB so as to be able to determine exactly which one is the cause.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Automatic shutdown when connnecting to store

    Using Windows 8 for I-tunes and when I try to get into the Apple Store, it tries to load and then stops working.  Anyone else get this error?  How do I fix this?  I tried "Repairing" and then I "Removed and Reinstalled" the software with no success.  HELP! 

    Yes, I have the same problem and cannot find a fix!  Very frustrating!!!

  • OSX 10.6 .8 -- Firefox automatically starts when I boot up (MacBook Pro Intel). It is not in the Startup Items in System Preferences, and automatic startup is not checked in Firefox Options. Don't know where else to look.

    How do I keep Firefox automatically starts when I boot up (OSX 10.6 .8 -- MacBook Pro Intel). It is not in the Startup Items in System Preferences, and automatic startup is not checked in Firefox Options.

    Hi fullrun-
    Once Firefox is open, you should be able to open the Right click context menu on the icon. From there you select 'Options' and then de-select 'Open at Login'. Hope that helps.

  • System startup Problem grey screen is going regularly and automatically shutdown

    Hi
       kindly resolve us this problem urgently
              error msg. :- System startup Problem grey screen is going regularly and automatically shutdown
    thanks
    Dhaval Oza

    Use RECOVERY MODE.
    Boot from another drive with a copy of OS X too is always good.
    A Safe Boot at a minimum.

  • Run servlet automatically when tomcat startup

    Dear all
    I need help to run servlet automatically when tomcat startup without starting even the application containing the servlet
    thanks in advance

    lol
    i've the same problem with my car,I want it to go ahead but without starting the engine and using all this gasoline...
    Seriously... the servlet IS almost your application
    when you start the server, the application starts to
    check the init() method of the servlet Interface
    and the "load-on-startup" parameter of the servlet in the deployment descriptor

  • Automatic unmount when putting laptop to sleep?

    Is there any way I can make my laptop automatically unmount the external harddisk when I put the laptop to sleep?
    That external HD is used as a backup volume with time machine.
    But often times, I forget to unmount it (eject it) before I put the computer to sleep; then I unplug the HD (connected via firewire). Consequently, when I wake the laptop, it complains about an external disk having been disconnected in an unorderly fashion.
    So, any ideas (pointers, applescripts, etc.) that would solve this will be highly appreciated.
    Regards,
    Gabriel.

    Does nobody else have the same problem?
    I.e., do all other people always remember to unmount the external hard disk? or do they just not care about the warning afterwards?
    Regards,
    Gabriel.

  • X220 screen automatically reorients when I carry laptop around

    Hi, I pressed some strange keys on my keyboard (something like a shift+alt+function) the other day when I was in Excel and I unintentionally turned on some feature that causes my Thinkpad X220's display to automatically reorient when I physically change the orientation of my screen.  For example, if I flip my laptop sideways, the screen orientation changes as well.  As cool as this is, it's driving me crazy.  Any idea how to turn this feature off?
    Thank you!
    Solved!
    Go to Solution.

    Hi beariebird, and welcome to the Lenovo User Community!
    Ctrl-Alt-R toggles the Lenovo Screen Reading Optimizer on and off. Handy for reading documents and tall pages, mouse buttons for backwards and forwards.
    Tell us if this helps!
    I don't work for Lenovo. I'm a crazy volunteer!

  • I have a MBP 13 EArly 2011 in my laptop problem is when i shutdown my laptop and again start it its very slow and when i put my laptop on sleep and after five minutes everythings fine.Some body know about this problem???????

    I have a MBP 13 EArly 2011 in my laptop problem is when i shutdown my laptop and again start it its very slow and when i put my laptop on sleep and after five minutes everythings fine.Some body know about this problem???????

    You may find this user tip article helpful:
    https://discussions.apple.com/docs/DOC-3521
    Ciao.

  • Automatic shutdown/startup EBS DB script on R12.1??

    Our EBS R12.1 system going to production soon. I wonder anyone have automatic shutdown/start database scripts (only DB, application on seperate server) which we can reference.
    Thanks.

    Hi ef;
    We are using cold backup sh and sometimes we faced same thing as you mention. But i can tell you its not soo fruquently. How we notice this error? After cold backup we send email about cold backup logs. If we see error on log files (after apps side down(and wait 240 sec),then closind db)
    we have this error in log:
    Shutting down database ZZZ
    SQL*Plus: Release xxx -Production on
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected.
    ORA-01013: user requested cancel of current operation Disconnected from Oraclex Enterprise Edition Release xxx- 64bit Production With the Partitioning, OLAP and Oracle Data Mining options JServer Release xxx Production
    so we find related process id from log file and kill it as Hussein Sawwan mention
    Hope it helps
    Regard
    Helios

  • How can I disable Firefox from automatically opening on system startup on my Mac - unchecking the "open at login" does not work?

    We have Firefox 10.o on our Macbook Pro OS X 10.5.8. I prefer using Firefox as my browser but my husband prefers Safari for now because of a long history of bookmarks and saved information he doesn't have time to re-do. He is tired of Firefox automatically opening when we start up the laptop, and even when we uncheck the "open at login" it still opens at login every time. He is about to uninstall it because of this. How can we disable? It does NOT show up in our account on the Mac OS as an application that starts at login, so we can't disable it there.

    For those of you running Windows, I found this on another site. (Unfortunately, not before getting totally disgusted and switching to chrome.)
    1. click start (or the windows flag button at the bottom left) 2. in the "search programs and files" or the RUN dialog box, enter "msconfig.exe" or "msconfig". 3. That should open the system configuration program. 4. click the "Startup" tab at the top of the opened program. 5. Under the "startup item" column, look for Mozilla firefox. 6. uncheck that one. 7. Click OK or apply. 8. click "exit without restart". 9. you're good to go.

  • Macbook froze while online. hard shutdown. when it restarted, an error message appeared saying finder shut down unexpectedly containing a message box with a long list of technical jibberish.  after clicking OK that it would send an error report to Apple,

    macbook froze while online. hard shutdown. when it restarted, an error message appeared saying finder shut down unexpectedly containing a message box with a long list of technical jibberish.  after clicking OK that it would send an error report to Apple, the same error message box appeared again and again every time OK was clicked.  Now the macbook will not turn on at all

    If you're able to boot, launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post "shutdownStall" or "hang" reports.
    If you can't boot in the usual way, try a safe boot. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    During startup, you’ll see a progress bar, and then the login screen, which appears even if you normally log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Safe mode is slower than normal, and some things won’t work at all.
    Note: If FileVault is enabled under Mac OS X 10.7 or later, you can’t boot in safe mode.

Maybe you are looking for

  • Custom column in a list view web part for a multilingual site does not take on custom language labels. Stays in default language.

    Hello all, I have what so far appears to be a fairly unique problem.  We are running a multilingual SharePoint 2010 environment with English as the default language and French as the secondary.  We have setup the sites in a variance relationship, but

  • Lightroom command edit merge to panorama in photoshop no longer working

    Photoshop CS 6, 13.0.6. Lightroom 6 version 5.0 Camera raw 8.1 On an iMac, OS 10.8.5 Working in LR, I select several images. Photoshop is already open. I'm trying to merge the images. I've used the pull down under Photo edit in..merge to panorama in

  • Itunes encountered a problem and needs to close

    Can't launch itunes. Get message "iTunes has encountered a problem and needs to close". Bought ipod for Xmas. Had old laptop that didn't have adequate USB. Finally bought new Dell and installed (Disc was version 5). Downloaded version 6 and haven't b

  • Did I synch my iPhone to my PC?

    I tried to synch my iPhone to my PC using iTunes. I got a bar showing it was loading in 4 steps but how do I confirm everything was loaded? Were my 6,000 photos successfully loaded or must I load these separately? How can I find my photos on my PC? T

  • Regarding fm 'HR_GET_PAYROLL_RESULTS'

    HI EXPERTS, earlier i was using thif FM:'PYXX_READ_PAYROLL_RESULT' to get the payroll results now i want to use something new so now  i m using this FM "HR_GET_PAYROLL_RESULTS" to get monthly payroll results, but ven ever i m executing this fm it is