Gentoo Archives: gentoo-amd64

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: hibernate-ram not working
Date: Fri, 18 Jun 2010 11:02:41
Message-Id: 201006181206.11280.wonko@wonkology.org
In Reply to: [gentoo-amd64] Re: hibernate-ram not working by Duncan <1i5t5.duncan@cox.net>
1 Duncan writes:
2
3 [a lot]
4
5 Duncan, many thanks for the quite detailed explanation! It is much
6 appreciated.
7
8 I will do as suggested and switch to a text console before hibernating. I
9 still don't understand why this should help, as the TuxOnIce user
10 interface is in text mode anyway, but whatever. I tried hibernating (to
11 disk) for another two times, and it worked just fine. Did not dare to
12 try suspending (to RAM) yet.
13
14 This night I tried again. First attempt did not succeed, hald-addon-stor
15 failed to freeze. I had this before, and just tried again. The next
16 attempt _seemed_ to have worked, and the system powered down. But this
17 morning it did not resume, it just bootet like if it was shut down
18 regularly.
19
20 Here is the syslog. Only two lines were logged for the last attempt? Or is
21 this because the file system was not synced and the rest of the log did
22 not get written to disk? If so, would there be some options for ext3
23 journaling to make this work?
24 If not, I should try Henrik's idea of logging to the serial port.
25
26 Jun 18 02:15:41 [kernel] hald-addon-stor (6464) failed to freeze.
27 Jun 18 02:15:41 [kernel] Restarting all filesystems ...
28 Jun 18 02:15:41 [kernel] Restarting tasks ... Restarting tasks ... done.
29 Jun 18 02:15:41 [kernel] TuxOnIce debugging info:
30 Jun 18 02:15:41 [kernel] - TuxOnIce core : 3.1
31 Jun 18 02:15:41 [kernel] - Kernel Version : 2.6.33-tuxonice-r2
32 Jun 18 02:15:41 [kernel] - Compiler vers. : 4.4
33 Jun 18 02:15:41 [kernel] - Attempt number : 3
34 Jun 18 02:15:41 [kernel] - Parameters : 17 667656 0 1 0 0
35 Jun 18 02:15:41 [kernel] - Overall expected compression percentage: 0.
36 Jun 18 02:15:41 [kernel] - Compressor is 'lzo'.
37 Jun 18 02:15:41 [kernel] Compressed 3549491200 bytes into 1161791836 (67
38 percent compression).
39 Jun 18 02:15:41 [kernel] - Block I/O active.
40 Jun 18 02:15:41 [kernel] - Max outstanding reads 1. Max writes 1367.
41 Jun 18 02:15:41 [kernel] Memory_needed: 1024 x (4096 + 336 + 104) =
42 4644864 bytes.
43 Jun 18 02:15:41 [kernel] Free mem throttle point reached 0.
44 Jun 18 02:15:41 [kernel] - Swap Allocator enabled.
45 Jun 18 02:15:41 [kernel] Swap available for image: 1048317 pages.
46 Jun 18 02:15:41 [kernel] - File Allocator active.
47 Jun 18 02:15:41 [kernel] Storage available for image: 0 pages.
48 Jun 18 02:15:41 [kernel] - No I/O speed stats available.
49 Jun 18 02:15:41 [kernel] - Extra pages : 4129 used/4629.
50 Jun 18 02:15:41 [kernel] - Result : Hibernation was aborted.
51 Jun 18 02:15:41 [kernel] : Freezing filesystems and/or
52 tasks failed.
53 Jun 18 02:15:50 [kernel] usb 1-5: reset high speed USB device using
54 ehci_hcd and address 3
55 Jun 18 02:15:57 [kernel] TuxOnIce 3.1, with support for usm, compression,
56 block i/o, swap storage, file storage, userui.
57 Jun 18 02:15:57 [kernel] Initiating a hibernation cycle.
58 Jun 18 11:07:43 [kernel] Linux version 2.6.33-tuxonice-r2 (root@noname)
59 (gcc version 4.4.4 (Gentoo 4.4.4 p1.0) ) #2 SMP PREEMPT Mon Jun 14
60 01:05:30 CEST 2010
61 Jun 18 11:07:43 [kernel] Command line: dolvm resume=swap:/dev/mapper/swap
62 root=/dev/ram0 crypt_root=/dev/mapper/weird2-root
63 real_root=/dev/mapper/root crypt_swap=/dev/weird2/swap swap_key=/etc/key
64 swap_keydev=/dev/mapper/root
65
66 Wonko

Replies

Subject Author
Re: [gentoo-amd64] Re: hibernate-ram not working Raffaele BELARDI <raffaele.belardi@××.com>