-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-02-12 at 18:58 -0900, John Andersen wrote: # Specifies the string to use when sending a message with no to or cc. ^^... new bug to investigate? I dunno where that string comes from... something in Pine.
On Monday 12 February 2007, Carlos E. R. wrote:
Obviously, the service has not been restarted, but it was left in memory, thus the error on wake up. Why? How to force it to be stopped and restarted with suspend/wakeup?
My original problem is now moot. My 10.1 system was almost fully hosed (I blame (80% probability) a faulty 80 wire IDE cable). My root partition (ext3) was badly trashed. Most of my reiserfs and XFS recovered well (manually and with much care), and another ext3 partition was also fine. What matters is that now I'm using 10.2 (upgraded from my previous full backup, which was made of 9.3), so I can not check my original problem. I have new problems, obviously.
You might be able to force a restart by replicating one of the scripts in /etc/pm/hooks/
Simply having a script there that knows how to do what you do manually seems to do the trick. You can copy one of the existing scripts, change the names to protect the guilty and file it with a leading number to indicate a rough order.
In 10.1 there were two settings that usually worked. In the file "/etc/sysconfig/powersave/sleep" I had: POWERSAVE_UNLOAD_MODULES_BEFORE_SUSPEND2DISK="usb_storage sbp2 uhci_hcd stir4200 rt2500 prism54" POWERSAVE_SUSPEND2DISK_RESTART_SERVICES="autofs slmodemd irda xntpd" You see, I did have 'xntpd' there, but it appears it didn't work. Now, in 10.2 -- hold on... I read something in my previous 10.2 test install that I can't find now... Ah: /test_a/etc/sysconfig/powersave/sleep: # DEPRECATED! Configuration for suspend is done in /etc/pm/config # # The settings made in this file are ignored. The new method of doing # suspend is pm-utils. All related code will be removed from powersaved # very soon. For more information have a look at # http://en.opensuse.org/Pm-utils Curiously enough, my upgraded 10.2 install doesn't contain that warning. Another bug, I assume. Ah! I found it. The upgrade process has appended text to the configuration files, so that I have duplicated settings... POWERSAVE_UNLOAD_MODULES_BEFORE_SUSPEND2DISK="usb_storage sbp2 uhci_hcd stir4200 rt2500 prism54" POWERSAVE_UNLOAD_MODULES_BEFORE_SUSPEND2RAM="usb_storage sbp2 uhci_hcd stir4200 rt2500 prism54 POWERSAVE_UNLOAD_MODULES_BEFORE_STANDBY="" ... ... # DEPRECATED! Configuration for suspend is done in /etc/pm/config # # These modules will be unloaded before entering suspend to disk # See README.unload-modules for more information. # "NONE" means don't unload any modules. UNLOAD_MODULES_BEFORE_SUSPEND2DISK="" Yeap. Good job... :-(
I was having problems with sound not working upon resume and this little script seems to have fixed it for me. I suspect something similar might work for you. This one has no shutdown logic, only resume logic.
Sample script: Remember to chmod 755 /etc/pm/hooks/##YourScriptName
Ah, that's the new method. I will have to investigate it. I will also have to find how to disable suspend from altering grub, because it fucks it completely - I use the strong word because it made my system unbootable: stayed waiting after stage 1.5. I used the rescue dvd to boot the installed system (it ignored the suspended system), rewrite grub 18 sectors, reboot, then it tried to recover the suspended system, with a hosed filesystem after the previous boot. :-(
Script starts below #!/bin/bash # # Hack by John Andersen jsa@pen.homeip.net # mostly taken from the powersave project # Probably way more brute force than is needed.
I will save this for later study and maybe use, thanks :-) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFF18nwtTMYHG2NR9URAlqSAKCC5gbOvIBOzJg1YkRw/vJxmaVgmgCfe4lA 8JlPUrM2/y4RcnFVhOr353g= =/CiN -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org