Sponsored Content
Operating Systems Linux TuxOnIce stalls 3 times before resuming Post 302729575 by lockheed on Saturday 10th of November 2012 07:54:05 AM
Old 11-10-2012
Question TuxOnIce stalls 3 times before resuming

I am having trouble resuming from hibernation using TuxOnIce method.
The thing works, but in a very strange manner. Here's how it looks:

1. Computer boots and finds resume image and starts resume. It reads image from disk (takes ~10 seconds)
Reading kernel & process data...
Atomic restore.
Doing atomic copy/restore.


2. Resume pauses for about ~30 seconds displaying above message. There is NO disk or any other activity visible.

3. Screen goes blank, it beeps. and pauses for another ~30 seconds. There is NO disk or any other activity visible.

4. It beeps and pauses for another ~30 seconds. There is NO disk or any other activity visible. The screen is blank.

5. Screen blinks once, then it beeps and pauses for another ~30 seconds. There is NO disk or any other activity visible.

6. Resume continues normally without displaying any errors. Disk resumes activity. Desktop visible within seconds.
Post atomic.
Cleaning up...



Here is the logs: <link removed>

And my config files: <link removed>

Hibernate debug log: <link removed>


This is obviously not a question or reading image from the disk. The issue is elsewhere. It is the same if I unplug all external USB devices. I tried playing around with various options in /etc/hibernate/common.conf and tuxonice.conf but it didn't change anything...

I am on my wits' end.

Moderator's Comments:
Mod Comment Please do not link to external sites. Especially the likes of pastebin. You can post representative samples of your files in your post (preferred), or upload the files here. Thanks.

Last edited by Scott; 11-10-2012 at 08:57 AM.. Reason: Removed links
 

9 More Discussions You Might Find Interesting

1. Solaris

System not resuming from stanby mode ---Solaris10

Dear Frnds, I have a weird issue with solaris 10. We bought a new Sun Ultra45 workstation and i installed solaris 10 in that. The problem is when it goes to standby mode i am not able to resume the system.The only thing i can do is to manually reboot and start working. The problem occurs... (0 Replies)
Discussion started by: sriram.s
0 Replies

2. Solaris

solaris 10 not resuming from power save mode.

Dear Frnz, i have a ultra 45 with solaris 10 installed. I face a weird issue in that. once the machine goes to power save mode i am not able to bring the machine back by hitting the keys in keyboard or moving the mouse. I am able to rsh the machine from another machine. To bring the... (1 Reply)
Discussion started by: sriram.s
1 Replies

3. AIX

how would you know your server was rebooted 3 times or 5 times

Is there such location or command to know how many times did you reboot your server in that particular day?in AIX. (3 Replies)
Discussion started by: kenshinhimura
3 Replies

4. Shell Programming and Scripting

Executes many times

The code prints many times, "1st loop" and "2nd loop". How can I come out the if the condition is matched. Match should be only once and it should come out of the loop if the match is found time=$(date +"%H:%M:%S") echo $time while : do if then echo "1st loop" fi if then... (5 Replies)
Discussion started by: sandy1028
5 Replies

5. Programming

Problem with implementing the times() function in C (struct tms times return zero/negative values)

Hello, i'm trying to implement the times() function and i'm programming in C. I'm using the "struct tms" structure which consists of the fields: The tms_utime structure member is the CPU time charged for the execution of user instructions of the calling process. The tms_stime structure... (1 Reply)
Discussion started by: g_p
1 Replies

6. Shell Programming and Scripting

To get difference between 2 times.

Can anyone help me to write a script to get diffrence between 2 times. (platform- solaris) i.e., Diffence shoud be displayed in tems of hours. (Approximately) for eg: file1 = 05-Apr-2012 13:42:32 file2 = 04-Apr-2012 12:42:41 O/P is like : diff = 25 Hrs (2 Replies)
Discussion started by: thomasraj87
2 Replies

7. What is on Your Mind?

Welcome in these 1337 times

Have you noticed that the Unix time right now starts with the combination "1337"? 1337 times indeed. ;-)) bakunin (10 Replies)
Discussion started by: bakunin
10 Replies

8. UNIX for Dummies Questions & Answers

Pausing and resuming process on laptop

Hi, I'm wondering if it's possible to pause a process I'm running in the background, close my laptop (I need to leave the office), and continue the process (when I get home). I've been running a process for a really long time and I don't want to have to start it over. Thanks in advance! (9 Replies)
Discussion started by: ShiGua
9 Replies

9. Red Hat

Response Times

Hello all. Let me qualify my question by saying that I am struggling with how to ask the question I am semi green but have no issue reading up if pointed in the right direction. Please be gentle! A RHEL server 6.2. Hosts a statistical application that has some web apps and batch programming... (0 Replies)
Discussion started by: rsheikh01
0 Replies
USWSUSP.CONF(5) 						   uswsusp.conf 						   USWSUSP.CONF(5)

NAME
uswsusp.conf - Config file for the s2disk program DESCRIPTION
This manual page documents briefly the uswsusp.conf file used by the s2disk, s2both and resume commands. This manual page was written for the Debian(TM) distribution because the original program does not have a manual page. s2disk is a program that will save the the state of the whole system to disk and power off your system. After restarting your system it will be put back in the exact system state you left it (this is sometimes called hibernation). On a Debian(TM) system you can run dpkg-reconfigure uswsusp to manage this file. OPTIONS
snapshot device [=/dev/snapshot] Device via which s2disk should talk to the kernel. resume device Specifies the device to write the image to. This is a swap partition or the partition that contains the swap file (see next parameter). resume offset Necessary if a swap file is used for suspending. In such a case the device identified by the "resume device" parameter is regarded as the partition that contains the swap file, and "resume offset" must be equal to the offset from the beginning of this partition at which the swap file's header is located, in <PAGE_SIZE> units. The value of this parameter for given swap file can be determined by the swap-offset program (has to be run as root) included in this package. [For this feature to work, you will need an -mm kernel, 2.6.18-mm3 or newer.] image size Limit the size of the system snapshot image created by the s2disk tool, but it's not mandatory. Namely, the s2disk tool will do its best to limit the image size as required by this parameter, but if that's not possible, it will suspend the system anyway, with a bigger image. If "image size" is set to 0, the snapshot image will be as small as possible. suspend loglevel You can specify the kernel console loglevel which the s2disk/s2both and resume utilities will use to report progress. On a stock kernel messages with level higher then 7 are usually not shown. shutdown method This parameter defines the operation that will be carried out after the suspend image has been created and the machine is ready to be powered off. If it is set to "reboot", the machine will be rebooted immediately. If it is set to "platform", the machine will be shut down using special power management operations available from the kernel that may be necessary for the hardware to be properly reinitialized after the resume, and may cause the system to resume faster (this is the recommended shutdown method on the majority of systems and hence the defaul). If set to "shutdown" the machine will be powered off. compute checksum If the "compute checksum" parameter is set to 'y', the s2disk and resume tools will use the MD5 algorithm to verify the image integrity. compress If the "compress" parameter is set to 'y', the s2disk and resume tools will use the LZF compression algorithm to compress/decompress the image. encrypt If the "encrypt" parameter is set to 'y', the s2disk and resume tools will use the Blowfish encryption algorithm to encrypt/decrypt the image. On resume and suspend you will have to supply a passphrase. By using a pregenerated RSA key, you can avoid having to type a passphrase on suspend. See the "RSA key file" option for more information. RSA key file If this option points to a valid RSA key, which can be created with suspend-keygen, the s2disk tool will generate a random key for the Blowfish encryption that will be passed to the resume tool within the image header with the help of the RSA cipher. Consequently you only need to type a passphrase on resume. early writeout If the "early writeout" parameter is set to 'y', the s2disk utility will start syncing the resume device early in the process of writing the image to it. [This has been reported to speed up the s2disk on some boxes and eliminates the "fast progress meter and long fsync wait" effect.] splash The "splash" parameter is used to make s2disk and/or resume use a splash system (when set to 'y'). Currently the bootsplash.org and splashy systems are supported. For the former you need a kernel patch, the latter is a userspace solution, but you'll need to install a splashy theme. If you use initramfs-tools on Debian(TM) to generate your initramfs (and have splashy installed), the necessary files will be copied to it. SEE ALSO
s2disk (8). suspend-keygen(8) AUTHOR
This manual page was written by Tim Dijkstra tim@famdijkstra.org for the Debian(TM) system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. On Debian(TM) systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. AUTHOR
TimTim DijkstraDijkstra <tim@famdijkstra.org> <tim@famdijkstra.org> Wrote this manpage for the Debian system. COPYRIGHT
Copyright (C) 2006 Tim Dijkstra uswsusp juni 24, 2006 USWSUSP.CONF(5)
All times are GMT -4. The time now is 01:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy