From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OPZLM-0002mh-OM for garchives@archives.gentoo.org; Fri, 18 Jun 2010 11:02:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5655DE0968 for ; Fri, 18 Jun 2010 11:02:40 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [94.23.166.77]) by pigeon.gentoo.org (Postfix) with ESMTP id 1B787E09C2 for ; Fri, 18 Jun 2010 10:06:11 +0000 (UTC) Received: from weird.localnet (p4FF05309.dip.t-dialin.net [79.240.83.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.virtyou.com (Postfix) with ESMTPSA id 7E8FB4A800C for ; Fri, 18 Jun 2010 12:06:12 +0200 (CEST) From: Alex Schuster To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Re: hibernate-ram not working Date: Fri, 18 Jun 2010 12:06:09 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.33-tuxonice-r2; KDE/4.4.4; x86_64; ; ) References: <201006161821.44731.wonko@wonkology.org> In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 X-Length: 5493 X-UID: 728 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201006181206.11280.wonko@wonkology.org> X-Archives-Salt: a738c5fc-8ccb-4da7-afbe-90f6a6c96f6f X-Archives-Hash: 34d4823e63c95ae6aaaed40087370e05 Duncan writes: [a lot] Duncan, many thanks for the quite detailed explanation! It is much appreciated. I will do as suggested and switch to a text console before hibernating. I still don't understand why this should help, as the TuxOnIce user interface is in text mode anyway, but whatever. I tried hibernating (to disk) for another two times, and it worked just fine. Did not dare to try suspending (to RAM) yet. This night I tried again. First attempt did not succeed, hald-addon-stor failed to freeze. I had this before, and just tried again. The next attempt _seemed_ to have worked, and the system powered down. But this morning it did not resume, it just bootet like if it was shut down regularly. Here is the syslog. Only two lines were logged for the last attempt? Or is this because the file system was not synced and the rest of the log did not get written to disk? If so, would there be some options for ext3 journaling to make this work? If not, I should try Henrik's idea of logging to the serial port. Jun 18 02:15:41 [kernel] hald-addon-stor (6464) failed to freeze. Jun 18 02:15:41 [kernel] Restarting all filesystems ... Jun 18 02:15:41 [kernel] Restarting tasks ... Restarting tasks ... done. Jun 18 02:15:41 [kernel] TuxOnIce debugging info: Jun 18 02:15:41 [kernel] - TuxOnIce core : 3.1 Jun 18 02:15:41 [kernel] - Kernel Version : 2.6.33-tuxonice-r2 Jun 18 02:15:41 [kernel] - Compiler vers. : 4.4 Jun 18 02:15:41 [kernel] - Attempt number : 3 Jun 18 02:15:41 [kernel] - Parameters : 17 667656 0 1 0 0 Jun 18 02:15:41 [kernel] - Overall expected compression percentage: 0. Jun 18 02:15:41 [kernel] - Compressor is 'lzo'. Jun 18 02:15:41 [kernel] Compressed 3549491200 bytes into 1161791836 (67 percent compression). Jun 18 02:15:41 [kernel] - Block I/O active. Jun 18 02:15:41 [kernel] - Max outstanding reads 1. Max writes 1367. Jun 18 02:15:41 [kernel] Memory_needed: 1024 x (4096 + 336 + 104) = 4644864 bytes. Jun 18 02:15:41 [kernel] Free mem throttle point reached 0. Jun 18 02:15:41 [kernel] - Swap Allocator enabled. Jun 18 02:15:41 [kernel] Swap available for image: 1048317 pages. Jun 18 02:15:41 [kernel] - File Allocator active. Jun 18 02:15:41 [kernel] Storage available for image: 0 pages. Jun 18 02:15:41 [kernel] - No I/O speed stats available. Jun 18 02:15:41 [kernel] - Extra pages : 4129 used/4629. Jun 18 02:15:41 [kernel] - Result : Hibernation was aborted. Jun 18 02:15:41 [kernel] : Freezing filesystems and/or tasks failed. Jun 18 02:15:50 [kernel] usb 1-5: reset high speed USB device using ehci_hcd and address 3 Jun 18 02:15:57 [kernel] TuxOnIce 3.1, with support for usm, compression, block i/o, swap storage, file storage, userui. Jun 18 02:15:57 [kernel] Initiating a hibernation cycle. Jun 18 11:07:43 [kernel] Linux version 2.6.33-tuxonice-r2 (root@noname) (gcc version 4.4.4 (Gentoo 4.4.4 p1.0) ) #2 SMP PREEMPT Mon Jun 14 01:05:30 CEST 2010 Jun 18 11:07:43 [kernel] Command line: dolvm resume=swap:/dev/mapper/swap root=/dev/ram0 crypt_root=/dev/mapper/weird2-root real_root=/dev/mapper/root crypt_swap=/dev/weird2/swap swap_key=/etc/key swap_keydev=/dev/mapper/root Wonko