Halt/Reboot fails if triggered after Suspend and Resume

I'm using arch linux with gnome-shell and pm-utils. Halt/Reboot works alright normally, but when the sytem suspends and resumes, and then is halted/rebooted, the same fails.
The screen shows an indication (message on console) that it's halting/rebooting, but it gets stuck there. There aren't any indication of failures/errors.
Is there someone else facing the same problem? The cause? I'll be happy to give any relavant information required for this matter, in the form of system information or any logs,
but at this point i'm not sure what would be relavant.

Sorry this seems to be an existing issue in the forum: https://bbs.archlinux.org/viewtopic.php?id=113985
Will update if any of the suggestion in the above mentioned thread fixes the problem.

Similar Messages

  • Bit locker encryption requests key unless I suspend and resume the encryption

    I am rolling out new computers with Windows 7 Enterprise OS on them.  I am installing bit locker encryption on them.  For some reason with this group of computers, and I recently rolled out a different batch of computers without this problem,
    after encrypting, I must suspend and resume bit locker or upon restart of shutdown and start the user is prompted for the bit locker encryption key.

    Hi,
    Could you please tell some more details about the issue? What do you want to achieve here? To enable bitlocker without the prompt of the startup key? If it is , then please take a check if we have  Require
    additional authentication at startup  policy enabled.
    Besides, could you please have a share for how do you enable bitlocker?
    And here is a guide for bitlocker in Windows 7, just for reference:
    BitLocker Drive Encryption Step-by-Step Guide for Windows 7
    BitLocker Drive Encryption in Windows 7: Frequently Asked Questions
    Hope this may help
    Best regards
    Michael Shao
    TechNet Community Support

  • Suspend and resume hook help

    I'm writting a hook for suspend/resume, however I've run into some trouble.
    So basicly what I need is:
    a) A script to stop and start mpd [done] (That's easy. Just setup mpd.conf's RUNAS user to the desired username and regardless that the mpd command is run as root it will run as the desired user)
    b) A script to stop and start oss4 since it fucks up after suspend [DONE] (piece of cake...)
    c) A script to view my wlan0 essid, save it to file, killall dhcpcd (the dhcpcd part, at least, is easy) and on resume to enter it again and run dhcpcd. [Need help]
    (In order to start my wifi I use iwlist wlan0 scanning, I choose the desired network and then iwconfig wlan0 essid DESIREDESSID and dhcpcd wlan0, but after suspend wlan0 looses it's settings so I need to make a script to enter them back.)
    I was thinking about something like iwconfig wlan0 | grep ESSID, but it returns (as expected)
    [dheart@lightbringer ~]$ iwconfig wlan0 | grep ESSID
    wlan0 IEEE 802.11g ESSID:"ESSID_NAME"
    I'm quite new at bash scripting and I have no idea how to write something that complex.
    d) Also sonata, my desired mpd frontend looses connection to mpd if mpd is restarted while it is running. So I need something to stop sonata (that's easy - killall sonata) and after that to run it (but not as root)... So, my question is how to run a program as normal user from  /etc/pm/sleep.d/ hook [NEEDHELP].
    Here's what I've written so far
    #!/bin/bash
    case $1 in
    hibernate)
    echo "Killing mpd and stopping oss4"
    mpd --kill & /etc/rc.d/oss-linux-free stop
    suspend)
    echo "Killing mpd and stopping oss4"
    mpd --kill & /etc/rc.d/oss-linux-free stop
    thaw)
    echo "Starting oss4 and mpd"
    /etc/rc.d/oss-linux-free start & mpd
    resume)
    echo "Starting oss4 and mpd"
    /etc/rc.d/oss-linux-free start & mpd
    *) echo "Wrong call"

    you're probably better off starting network autodetection on resume, I know most people suspend to go between, for example, home and work, or home and the intarwebz cafe, and seldom suspend and resume in the same location reliably.

  • Suspend and resume only works with fallback image

    I get a black screen on suspend and resume with pm-utils after I boot with main kernel image.
    However, fallback image works fine.
    I'd like to figure out what's missing in the main kernel image.
    lsmod looks the same with both images.
    How should I proceed?

    you are my hero...before I read this post I could never resume my laptop running Arch no matter what quirks I tried. That's actually why I've been running Fedora - resume worked. In fact, resume works on every other distro I've tried.
    As far as an ACPI update being to blame, I've had problems resuming in Arch for over a year, although I can't go back in time to try the fallback and see if it works
    When I get some spare time, I'll copy the mkinitcpio config for fallback to the main config and start removing modules / hooks to see which one breaks it
    EDIT: /etc/mkinitcpio.d/kernel26.fallback no longer exists - it just uses autodetect. Also, the loaded modules are the same no matter which image was used to boot, so I'm stumped. Maybe somebody who knows more about that mkinitcpio does can shed some light
    Last edited by wizzard (2009-03-07 16:43:10)

  • Java Thread suspend and resume problem

    Hi,
    I am trying to write a program to implement thread suspend and resume using wait() and notify without using the deprecated methods like resume and suspend.
    I have written the following program which compiles but when I run it hangs without terminating. There seems to be some logic error but I am not able to catch it.
    Please help
    public class TestSuspendResume {
      public static void main(String[] args) {
        MyThread m1= new MyThread("--One-- ");
        MyThread m2= new MyThread("--Two-- ");
        m1.suspendMe();
        try {
          Thread.sleep(1500);
          m1.t.join();
          m2.t.join();
        } catch(InterruptedException e) {
          e.printStackTrace();
        m1.resumeMe();
        System.out.println("Now : end main thread");
    class MyThread implements Runnable {
      boolean suspend = false;
      Thread t;
      MyThread(String name) {
        t = new Thread(this,name);
        t.start();
      void resumeMe() {
        suspend = false;
        notify();
      void suspendMe() {
        suspend = true;
      public void run() {
        try {
          for(int i=0;i<20;i++) {
            System.out.println("Now : "+Thread.currentThread().getName()+i);
            Thread.sleep(200);
            synchronized(this) {
              while(suspend)
                wait();
        } catch(InterruptedException e) {
          e.printStackTrace();
    }

    Thanks for that response. I figured out that was the problem in the logic. I have modified the code to make it simpler but it is still hanging.
    public class TestSuspendResume {
      public static void main(String[] args) {
        MyThread m1= new MyThread("--One-- ");
        try {
          m1.suspendMe();
          Thread.sleep(1000);
        } catch(InterruptedException e) {
          e.printStackTrace();
        try {
          m1.resumeMe();
        } catch(Exception e) {
          System.out.println("ASASAS");
          e.printStackTrace();
        try {
          m1.t.join();
        } catch(InterruptedException e) {
          System.out.println("WOWOW");
          e.printStackTrace();
        System.out.println("Now : end main thread");
    class MyThread implements Runnable {
      boolean suspend = false;
      Thread t;
      MyThread(String name) {
        t = new Thread(this,name);
        t.start();
      void resumeMe() {
        if(suspend==true) {
          suspend = false;
          notify();
      void suspendMe() {
        suspend = true;
      public void run() {
        try {
          for(int i=0;i<20;i++) {
            System.out.println("Now : "+Thread.currentThread().getName()+i);
            Thread.sleep(200);
            synchronized(this) {
              while(suspend)
                wait();
        } catch(InterruptedException e) {
          System.out.println("-- E In run method -- "+e.getMessage());
    }

  • Suspend and resume of WD ABAP applicaiton support in the Portal

    Hello,
    I am implementing Suspend and resume feature in WD ABAP. It works fine in NWBC and also in stand alone. But in the portal it does not seem to work. I have done the following.
    1. Created a resume pulg (The applicaiton is suspended as I can see the state to suspend in the WDDOSTATECHANGED method.
    2. The navigation in the portal is in place and WD applicaiton is replaced by my target BSP
    3. I am NOT firing any plugs so there is no problem here
    Now what is not happening is the following.
    1. The sap-wd-resumeurl is not part of the url parameters so I am not sure when the WD applicaiton is suspended this parameter is really sent or not?
    2. Since I do not have the resume URL when I press the back in the portal window (right hand side top of the page) the resume plug is getting fired. But the parameters that I have set in the BSP are not part of the url parameters in the resume plug
    3. If I explicitly pass the sap-wd-resumeurl as a url paramter to the BSP (hard code the resume URL since I know the PCD path of my WD iview) and then use this URL to naivagate from the BSP then the WD applicaiton is started but the resume plug is not fired. In SM04 I can see a new session created now.
    4. Step 4 works fine (the suspend and resume) works fine when I repeat it the second time.
    A quick help will be really appriciated. I am on SP14 of NW 7.0
    Thanks and best regards,
    Harish.

    Hello,
    I am implementing Suspend and resume feature in WD ABAP. It works fine in NWBC and also in stand alone. But in the portal it does not seem to work. I have done the following.
    1. Created a resume pulg (The applicaiton is suspended as I can see the state to suspend in the WDDOSTATECHANGED method.
    2. The navigation in the portal is in place and WD applicaiton is replaced by my target BSP
    3. I am NOT firing any plugs so there is no problem here
    Now what is not happening is the following.
    1. The sap-wd-resumeurl is not part of the url parameters so I am not sure when the WD applicaiton is suspended this parameter is really sent or not?
    2. Since I do not have the resume URL when I press the back in the portal window (right hand side top of the page) the resume plug is getting fired. But the parameters that I have set in the BSP are not part of the url parameters in the resume plug
    3. If I explicitly pass the sap-wd-resumeurl as a url paramter to the BSP (hard code the resume URL since I know the PCD path of my WD iview) and then use this URL to naivagate from the BSP then the WD applicaiton is started but the resume plug is not fired. In SM04 I can see a new session created now.
    4. Step 4 works fine (the suspend and resume) works fine when I repeat it the second time.
    A quick help will be really appriciated. I am on SP14 of NW 7.0
    Thanks and best regards,
    Harish.

  • Suspend and resume

    hi
    can anybody tell me why suspend and resume methods have been deprecated in java 1.5. Can you explain with an exmaple
    thanks

    They were deprecated long before that. If you read their docs, there's a link that explains why.

  • Thread: suspend() and resume()

    Hi,
    Both suspend() and resume() methods are deprecated, but I've used it anyway. I've realised my code can get into a deadlock.
    Is there anything I could use other than suspend and resume, but providing the same functionality?
    Many Thanks

    You should use wait and notify. There is a good
    discussion of this at the bottom of the deprecation
    notes on stop, suspend and resume.Yes, I just saw that. Before, I was looking at an old API.

  • Suspend and Resume Plug

    Hi all,
    Here: <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/68/3aee42c4257176e10000000a1550b0/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/68/3aee42c4257176e10000000a1550b0/frameset.htm</a>
    is written about Suspend and Resume Plugs, and how to use them.
    I have one question about it:
    "<b><i>To be able to put a Web Dynpro application into the suspend state and resume it later on, you must set the Suspensibility (sap.suspendable.application) application property to true.</i></b>"
    Is this <b>SelfDefined</b> property for the webdynpro application? if- no, what have to be done, so to be set?
    Thank you in advance.
    BR

    Hi Diana,
    the only way to define a Web Dynpro application explicitly as suspendable is to define a specific application property named sap.suspendable.application. Possible values are true or false. Not defining this parameter means that the application is not suspendable.
    Check the document <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/102ed591-62a6-2910-94ac-e6038ef7b76e">How to realize suspendable Web Dynpro Java applications within the SAP NetWeaver Portal</a>. There you will find detailed instrcutions how to set the property.
    Best regards,
    Martin

  • No sound on flash videos on the internet after suspend and hibernate

    I have this:
    00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller
    Everytime I resume from suspend or hibernate with firefox open alongside with fully loaded flash videos, playing the videos doesn't produce any sound anymore.  I need to restart firefox in order to make it work again..:(
    Any ideas?
    Thanks for the help in advance

    I'm also having this problem.  Xfmedia plays audio just fine before and after suspend/resume, but pandora.com and hulu.com in firefox do not.  Also noticed that CPU usage skyrockets when trying to restart audio/video after resume in pandora/hulu.  In hulu, video restarts, but audio does not. 
    Interestingly, CPU usage also spikes if I restart audio in Xfmedia after resume, but the CPU hog is firefox not Xfmedia and Xfmedia audio plays just fine.  Have to close the hulu or pandora tab to get the CPU usage back to normal.  Wondering if it's just a bug in flash for linux.
    My hardware/software:
    MSI PR201 laptop
    Linux jims_laptop 2.6.30-ARCH #1 SMP PREEMPT Mon Jul 20 11:20:32 UTC 2009 i686 Intel(R) Core(TM)2 Duo CPU P7350 @ 2.00GHz GenuineIntel GNU/Linux
    00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
    local/alsa-lib 1.0.20-1
        An alternative implementation of Linux sound support
    local/alsa-oss 1.0.17-1
        OSS compatibility library
    local/alsa-utils 1.0.20-2
        An alternative implementation of Linux sound support
    local/gstreamer0.10-bad-plugins 0.10.12-1 (gstreamer0.10-plugins)
        GStreamer Multimedia Framework Bad Plugins (gst-plugins-bad)
    local/flashplugin 10.0.22.87-1
        Adobe Flash Player
    local/firefox 3.5.1-1
        Standalone web browser from mozilla.org

  • SOLVE strange problem with suspend and resume with gnome-power-manager

    I have pm-utils and gnome installed.
    Suspending and hibernation works well from the command line ($ pm-hibernate and $ pm-suspend).  Resuming works without any problems.
    Suspending from gnome "Shutdown dialog" works perfectly as well.
    However, if suspending is initiated by gnome-power-manager something strange happens:  After pressing the power button resuming switches to hibernation and my laptop turns off.  Resuming from disk works fine again.
    Now, suspending works fine again if I change and save any config file in /etc/pm/.
    Here comes the strange thing:  It doesn't really matter what I change as long as I save it.
    However, as soon as I reboot resuming fails again the way I described above.
    Anyone have a clue what's going on?
    I get no error messages and I've tried all sorts of boot entries.
    Last edited by mehldutt (2007-12-26 19:42:31)

    After some try and error my guess is that "HAL" is responsible for this problem:
    I deinstalled ACPID and 'pm-utils' and switched to 'uswsusp'.
    I made the appropriate changes to the appropriate hal-scrips
    usr/lib/hal/scripts/hal-system-power-suspend:
    #!/bin/sh
    /sbin/s2ram --force
    usr/lib/hal/scripts/hal-system-power-hibernate:
    #!/bin/sh
    /sbin/s2disk
    After these changes I still have the same problem:  immidiatly after resuming form suspend (via power-button) my laptop hibernates (s2disk).
    However, if I delete all entries in "usr/lib/hal/scripts/hal-system-power-hibernate" resuming from suspend works fine again, but hibernate doesn't of course.  So, some script must be calling "usr/lib/hal/scripts/hal-system-power-hibernate" emmediatly after resuming from suspend.
    A couple of weeks ago everything worked fine.  My guess is that one of the recent hal-updates is causing this.
    How can I figure what script is calling "usr/lib/hal/scripts/hal-system-power-hibernate" after resuming from suspend?

  • Toshiba Satellite R15 - Help! Pen calibration goes crazy after hibernating and resuming the PC.

    I have a Toshiba Satellite R15 laptop that I got off of ebay. This laptop is the kind with a flip-around screen so that you can use it in pen/tablet/stylus mode. When I got it, I installed a fresh copy of Windows XP SP3 on it, and installed all the necessary drivers from the Toshiba web site. Also I made sure to get the latest Wacom pen driver from the Wacom web site. Also, I got all the windows updates.
    I can normally calibrate the display and the pen just fine using the Wacom tool in the windows control panel. I have the computer configured so that, when I flip the screen into tablet mode, the screen goes into a portrait-aspect configuration (tall instead of wide). This works fine and I can also calibrate the screen fine in this mode.
    But if I hibernate and resume the machine (in "tablet" mode with the screen flipped around), after resume, everything has gone wonky with the pen. First of all, the pen moves as if the machine were in landscape mode still: An X motion of the pen produces a Y motion of the cursor, for example. If, then, I flip the screen back to regular-laptop mode, the X/Y direction is correct again, but, the calibration is way off, the cursor is two inches to the right of the pen. If I try to calibrate again when it's in this state, the pen is still off by two inches.
    I did a google search, but, the only results I see are for people encountering this problem under Linux. I don't see any solutions for Windows XP users.
    I emailed Wacom and they said to ask Toshiba. I can't email toshiba (no support email in their contact page), so I'm asking here. Can anyone help?

    I ended up fixing this, by formatting the computer from scratch and installing Windows 7 instead of Windows XP.  :-)
    This works but there is a limitation: There are no updated Win7 video drivers from Intel for the Toshiba Sattellite R15. So you have to hack the XP drivers to work. Here are the instructions on how to hack the XP drivers to work on the Toshiba Satellite R15 running Windows 7:
    http://www.groundstate.net/855GMWin7.html
    But after that, everything is fine on the tablet.

  • Dock fails to appear after start and computer jams?

    After power on the dock fails to appear. Soon after computer jams. Tried restart and shut down and restart. No success. Tried to use time machine back up. Cannot restore. Complete failure. How to reboot?

    Follow these documents. Especially Safe Mode. Disconnect TimeMachine and other devices/drives.
    http://support.apple.com/kb/TS2570
    http://support.apple.com/kb/TS1440
    http://support.apple.com/kb/HT1455
    http://support.apple.com/kb/ht3964
    Once your in
    Open the Terminal application in the Utilities folder and at the prompt enter:
    killall Dock
    Press RETURN.
    Look in your User/Library/Preferences folder for
    com.apple.dock.plist
    and move to your desktop, try the killall Dock again in Terminal.
    Once your Dock is fine, download the free OnyX and run all the cleaning and maintainence features and reboot
    http://www.titanium.free.fr/
    If at any time you got a functioning system, take this opportunity to backup your files to a external drive (not TimeMachine) via drag and drop methods.
    It might be a more serious problem, like a failing hard drive.
    Look into the free Carbon Copy Cloner as a hold option bootable external drive clone, it helps in problems like this as you can boot the computer from the external drive and repair or recover your latest files and even reverse clone.

  • Suspend and Resume a certain thread

    The question is quite simple.
    How do I suspend a thread, and then wake him up from another thread?
    I can't use wait and notify, because the idea is to have a list of suspended thread, and wake up
    only one of them from another running thread, using a certain policy.
    The idea would be to do something like
    Thread 1,2,3,4 etc...
    1.Save thread id, or thread object in the list
    2. Suspend the thread
    Thread N
    1.Pick up a thread to wake up using a certain policy
    2.Pop out the thread from the list
    3.wake him up.
    How do I do that in Java? If possible..
    Thanks,
    Salvo

    Basically the new object created is placed into a list, and then
    from another method, I call notify on one of the object stored in the list,
    so what I expect is to wake up the thread who initially call the wait on the very
    same object.
    By adding making display the stack track into the exception handler, I realized
    that the wait actually fails with the following.
    java.lang.IllegalMonitorStateException
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at SemaphoreFifo.Down(SemaphoreFifo.java:58)
            at Cliente.run(Cliente.java:29)I looked up for this exception and found
    Thrown to indicate that a thread has attempted to wait on an object's monitor or to notify other threads waiting on an object's monitor without owning the specified monitor.
    By owning, does it mean it has to be a member of the thread class?

  • No Audio On Win7 x64 or Linux until I suspend and resume (then it works)

    Okay...this problem is *very* strange.
    Basically, I bought this laptop, an L665D-S5076, all works fine so far. Except for sound.
    Right when I opened it up, I booted into windows and updated the BIOS, everything was working fine (not sound)...
    I rebooted to verify that the BIOS update worked (I updated because I saw before I purchased it..of the of interest changes that were made to it).
    I then wanted to install Linux (specifically ArchLinux), being that I only use Windows for gaming. For everything else, Linux is much better at it.
    I wiped the entire hard disk (the whole partition table), installed Windows 7 x64 bit from a disk I had lying around...Note that I removed the recovery partition, and all of the other junk partitions which took up more space than I had wanted (and the MS-DOS Master File Table only supports up to 4 primary partitions...and of course, Windows consumes nearly all of them.).
    So I installed Windows 7...installed Linux...all of it was clean, I installed drivers for Windows...and even in Linux, everything works properly(surprised - apparently the majority of the chipset seems to be very open-source/linux friendly..which is great).
    Anyways, I just happened to close my screen and forgot that Windows 7 defaults to sleeping when that is done. So I resumed it and suddenly heard my sound working...
    So I rebooted and the sound didn't work...but suspending to RAM and then resuming fixes it...
    The _strangest_ thing, is that not only does it do this in Windows, but it does it in Linux too. The Exact..same..issue..
    Didn't expect that...
    So basically now I want to get sound working without needing to suspend to "fix" it. Obviously ;-)
    And please don't even think about saying "remove that strange thing that you called Linux" just because it "isn't recommended" or something...especially since Linux cannot physically *touch* Windows, in the state I have it in.
    Thanks, I'd really love to listen to music in Linux & play games w/ sound in Win7 ;-)
    Also, was it 64-bit that this machine shipped with? I didn't pay attention to it/care. Just curious..although the drivers say they support both which is nice. I assume it did, since it can't allocate >3 gigs in the x86 arch.

    Called tech support and was told to ship it back to toshiba - appears to be a hardware issue. Would explain why the issue is present in both windows & linux. If their repair processing is as good as their support seemed, then it should all go smoothly....Hopefully it will get processed quickly and I will not have any future hardware issues - I really need to use this for school...But I guess that is with anything, when you get a dud you immediately think that all of them are going to be like that.

Maybe you are looking for

  • Problem in activation of communication structure.

    Hi frnds, I have a problem in activation of comm. structure. Am on Version 3.5. Its a master data mapping using flexible update. So i have mapped all the relevant object in the same order as that of csv source file. But for 1 field, I have a requirem

  • Trying to embed a webpage inside another webpage for 3 hours without success

    Hi, I am trying for 3 hours to embed this webpage  https://testmoz.com/149087/   inside my own webpage for 3 hours using dreamweaver but it does not work. I have tried 3 methods, namely "frameset", "iframe" and "object" under to embed this web page.

  • Jagged Edges

    Hello, First of all, forgive me but I am a complete newbie who's new to the world of Final Cut and video editing. Here's my problem: I captured a bunch of footage from a Sony consumer video camera. But when I look at it in quick time and on final cut

  • Error -50 while syncing photos on iPad ?

    While synchronizing iphotos with my ipad (old generation) . am getting Error -50 . what should i do ?

  • Transfer individual songs to a new computer

    My wife has an iTunes library on her mac.  Both kids have been purchasing and downloading songs to this library and then synching the ones they want to their iPods.  Now that they both have their own macs, time for them to start their own iTunes libr