Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268959AbUJKNxl (ORCPT ); Mon, 11 Oct 2004 09:53:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268966AbUJKNxl (ORCPT ); Mon, 11 Oct 2004 09:53:41 -0400 Received: from cantor.suse.de ([195.135.220.2]:50360 "EHLO Cantor.suse.de") by vger.kernel.org with ESMTP id S268959AbUJKNwz (ORCPT ); Mon, 11 Oct 2004 09:52:55 -0400 Message-ID: <416A58C2.6090304@suse.de> Date: Mon, 11 Oct 2004 11:56:18 +0200 From: Stefan Seyfried User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pavel Machek Cc: ncunningham@linuxmail.org, linux-kernel@vger.kernel.org, pascal.schmidt@email.de Subject: Re: 2.6.9-rc2-mm1 swsusp bug report. References: <2HO0C-4xh-29@gated-at.bofh.it> <2I5b2-88s-15@gated-at.bofh.it> <2I5E5-6h-19@gated-at.bofh.it> <2I7Zd-1TK-11@gated-at.bofh.it> <20040925101640.GB4039@elf.ucw.cz> In-Reply-To: <20040925101640.GB4039@elf.ucw.cz> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1883 Lines: 49 Hi, Pavel Machek wrote: > OTOH this is first report of this failure. If it fails once in a blue > moon, it is probably better to let it fail than waste memory. PM: Attempting to suspend to disk. PM: snapshotting memory. swsusp: critical section: swsusp: Saving Highmem [nosave pfn 0x3be]<7>[nosave pfn 0x3bf]swsusp: Need to copy 30519 pages suspend: (pages needed: 30519 + 512 free: 100469) do_acpi_sleep: page allocation failure. order:7, mode:0x120 [] __alloc_pages+0x3a8/0x3b0 [] __get_free_pages+0x18/0x30 [] alloc_pagedir+0x17/0x60 [] swsusp_alloc+0x4b/0xa0 [] suspend_prepare_image+0x33/0x80 [] swsusp_arch_suspend+0x2a/0x30 [] swsusp_suspend+0x2b/0x40 [] pm_suspend_disk+0x3d/0xb0 [] enter_state+0x85/0x90 [] state_store+0xc1/0xc3 [] state_store+0x0/0xc3 [] subsys_attr_store+0x26/0x30 [] flush_write_buffer+0x1d/0x30 [] sysfs_write_file+0x29/0x40 [] sysfs_write_file+0x0/0x40 [] vfs_write+0x9f/0x100 [] sys_write+0x3c/0x70 [] sysenter_past_esp+0x52/0x79 suspend: Allocating pagedir failed. swsusp: Restoring Highmem this happened right now, after running fine over the weekend and doing a successful suspend/resume cycle this morning. It was a "battery critical" suspend, so this is not nice :-( I had about 2 minutes left until hard powerdown during which i tried to get it to suspend but failed. Yes, userspace should handle the "failed battery-critical suspend" case better and probably call "shutdown -h now". Stefan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/