Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754391AbXKRMmW (ORCPT ); Sun, 18 Nov 2007 07:42:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751518AbXKRMmP (ORCPT ); Sun, 18 Nov 2007 07:42:15 -0500 Received: from fk-out-0910.google.com ([209.85.128.185]:17734 "EHLO fk-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751579AbXKRMmN (ORCPT ); Sun, 18 Nov 2007 07:42:13 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=Dl0JcEaMNSn2KKXE9dv5gDbLEOmi8NDto5sMpW926YOGnBmOhMgKbW3GLEUU0CWq4aVf4p5gUH2J+MRz0qTk7DC3EkcTYXovL9H63gPIsuFwRSdS7o7SMfEyw02Cbqq9iRX5LMJb/Nfv0AwnxjAelwatPabvYA8emzJvvgXpkk0= Message-ID: <4740332A.80002@gmail.com> Date: Sun, 18 Nov 2007 13:42:18 +0100 From: Jiri Slaby User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: Alan Stern CC: Andrew Morton , "Rafael J. Wysocki" , Greg KH , Kernel development list , Linux-pm mailing list Subject: Re: broken suspend [Was: 2.6.24-rc2-mm1] References: In-Reply-To: X-Enigmail-Version: 0.95.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4700 Lines: 124 Alan Stern napsal(a): > On Sat, 17 Nov 2007, Rafael J. Wysocki wrote: >> On Saturday, 17 of November 2007, Jiri Slaby wrote: >>> On 11/16/2007 05:10 PM, Alan Stern wrote: >>>> The thing to do is figure out which driver is causing the problem. >>>> Jiri, try enabling CONFIG_DEBUG_DRIVER. >>> Sadly no output. Nice update scripts wiped kern.* from syslog config file out, hence no output before. > Back to the main topic... My system hibernates and resumes with no > apparent problem. Jiri, it looks like you'll have to do some debug > tracing of the routines in drivers/base/power/main.c. Beside this two nothing strange: dpm_suspend: b 00:06 WARNING: at /home/l/latest/bughunt/kernel/resource.c:185 __release_resource() Call Trace: [] release_resource+0xb5/0xf0 [] pnp_release_resources+0x70/0x130 [] pnp_stop_dev+0x45/0x90 [] pnp_bus_suspend+0x92/0xb0 [] suspend_device+0x113/0x180 [] device_suspend+0x200/0x320 [] suspend_devices_and_enter+0xa5/0x170 [] enter_state+0x209/0x270 [] state_store+0xaf/0xf0 [] kobj_attr_store+0x17/0x20 [] sysfs_write_file+0xce/0x140 [] vfs_write+0xc7/0x170 [] sys_write+0x50/0x90 [] system_call+0x7e/0x83 WARNING: at /home/l/latest/bughunt/kernel/resource.c:189 __release_resource() Call Trace: [] release_resource+0xe0/0xf0 [] pnp_release_resources+0x70/0x130 [] pnp_stop_dev+0x45/0x90 [] pnp_bus_suspend+0x92/0xb0 [] suspend_device+0x113/0x180 [] device_suspend+0x200/0x320 [] suspend_devices_and_enter+0xa5/0x170 [] enter_state+0x209/0x270 [] state_store+0xaf/0xf0 [] kobj_attr_store+0x17/0x20 [] sysfs_write_file+0xce/0x140 [] vfs_write+0xc7/0x170 [] sys_write+0x50/0x90 [] system_call+0x7e/0x83 ... dpm_suspend: b 0000:00:1f.5 ACPI Error (psargs-0355): [FZHD] Namespace lookup failure, AE_NOT_FOUND ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.SAT1.CHN0._GTM] (Node FFFF81007D000220), AE_NOT_FOUND ACPI Error (psargs-0355): [FZHD] Namespace lookup failure, AE_NOT_FOUND ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.SAT1.CHN1._GTM] (Node FFFF81007D000360), AE_NOT_FOUND It's stuck at _cpu_down (enter_state -> suspend_devices_and_enter -> disable_nonboot_cpus -> _cpu_down) after calling raw_notifier_call_chain printk("%s: s\n", __func__); /* Wait for it to sleep (leaving idle task). */ while (!idle_cpu(cpu)) yield(); printk("%s: t\n", __func__); /* This actually kills the CPU. */ __cpu_die(cpu); printk("%s: u\n", __func__); BUBAK=1; /* CPU is completely dead: tell everyone. Too late to complain. */ if (raw_notifier_call_chain(&cpu_chain, CPU_DEAD | mod, hcpu) == NOTIFY_BAD) BUG(); BUBAK=0; printk("%s: v\n", __func__); See shot of prints here: http://www.fi.muni.cz/~xslaby/sklad/susp_hang1.png notifier_call_chain looks like: while (nb && nr_to_call) { next_nb = rcu_dereference(nb->next); ret = nb->notifier_call(nb, val, v); if (unlikely(BUBAK && cnt < 20 && (ret != lastr || lastp != nb->notifier_call))) { printk("%s: c %p %d\n", __func__, nb->notifier_call, ret); lastr = ret; lastp = nb->notifier_call; cnt++; } if (nr_calls) (*nr_calls)++; if ((ret & NOTIFY_STOP_MASK) == NOTIFY_STOP_MASK) break; nb = next_nb; nr_to_call--; } System.map is here if you are curoius what are the pointers from the snapshot: http://www.fi.muni.cz/~xslaby/sklad/System.map regards, -- http://www.fi.muni.cz/~xslaby/ Jiri Slaby faculty of informatics, masaryk university, brno, cz - 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/