From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758037AbYBXWux (ORCPT ); Sun, 24 Feb 2008 17:50:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753803AbYBXWuq (ORCPT ); Sun, 24 Feb 2008 17:50:46 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:54822 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753596AbYBXWup (ORCPT ); Sun, 24 Feb 2008 17:50:45 -0500 From: "Rafael J. Wysocki" To: Julian Blake Kongslie Subject: Re: Hang on suspend Date: Sun, 24 Feb 2008 23:49:29 +0100 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: LKML , Pavel Machek References: <1203553943.4422.25.camel@dukephillips.omgwallhack.org> <200802242335.01800.rjw@sisk.pl> <1203893049.3983.6.camel@dukephillips.omgwallhack.org> In-Reply-To: <1203893049.3983.6.camel@dukephillips.omgwallhack.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802242349.29396.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sunday, 24 of February 2008, Julian Blake Kongslie wrote: > On Sun, 2008-02-24 at 23:35 +0100, Rafael J. Wysocki wrote: > > [Please don't drop the CC list from replies.] > > Yeah, sorry, I accidentally whacked the wrong reply button. > > > On Sunday, 24 of February 2008, Julian Blake Kongslie wrote: > > > On Sun, 2008-02-24 at 12:23 +0100, Rafael J. Wysocki wrote: > > > > Can you please check what's at the address platform_suspend_late+0x19? > > > > > > 0xc0253ca9 is in platform_suspend_late (drivers/base/platform.c:579). > > > 574 { > > > 575 struct platform_driver *drv = to_platform_driver(dev->driver); > > > 576 struct platform_device *pdev; > > > 577 int ret = 0; > > > 578 > > > 579 pdev = container_of(dev, struct platform_device, dev); > > > 580 if (dev->driver && drv->suspend_late) > > > 581 ret = drv->suspend_late(pdev, mesg); > > > 582 > > > 583 return ret; > > > > That's strange, it looks like the container_of() accessing beyond the > > structure. > > > > Is this 100% reproducible? > > Yes, it is. I've had this hang on suspend since at least some time in > early 2.6.24-rc, although because I have to transcribe the oops manually > I haven't had enough incentive to get it reported until now. > Unfortunately, I just don't need to suspend very often, so it may have > been introduced some time before then. > > If you don't have any other ideas, No, I don't. > I can try to bisect and find the change that introduced it, That would be great. > but it'll probably take me a day or two; I have other things I need to use my > computer for, so it's a bit difficult to do the constant-reboot-and-test > cycle. Not a problem at all. Thanks, Rafael