[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.0804021521260.11421-100000@iolanthe.rowland.org>
Date: Wed, 2 Apr 2008 15:26:44 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Tino Keitel <tino.keitel@....de>
cc: Pavel Machek <pavel@....cz>, <linux-usb@...r.kernel.org>,
Soeren Sonnenburg <sonne@....de>,
"Rafael J. Wysocki" <rjw@...k.pl>,
Andrew Morton <akpm@...ux-foundation.org>,
<linux-kernel@...r.kernel.org>, Len Brown <lenb@...nel.org>
Subject: Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core
Duo
On Tue, 1 Apr 2008, Tino Keitel wrote:
> On Tue, Apr 01, 2008 at 17:02:36 -0400, Alan Stern wrote:
> > On Tue, 1 Apr 2008, Tino Keitel wrote:
> >
> > > On Tue, Apr 01, 2008 at 15:06:51 -0400, Alan Stern wrote:
> > >
> > > [...]
> > >
> > > > Can you get any information out of the computer after the hang? It
> > > > would help to see the dmesg log (with CONFIG_USB_DEBUG enabled) and an
> > > > Alt-SysRq-T stack dump.
> > >
> > > Looks difficult. The text console stays black after resume, and there
> > > is no serial interface.
> >
> > Network console? SSH? Or even telnet?
>
> Network is dead, too.
Tino, try this patch. It fixed Mark Lord's problem, which looked the
same as yours.
Alan Stern
--- rc8/drivers/usb/host/ehci-hub.c 2008-03-11 11:18:40.000000000 -0400
+++ linux/drivers/usb/host/ehci-hub.c 2008-04-02 13:28:50.000000000 -0400
@@ -135,8 +135,6 @@
hcd->state = HC_STATE_QUIESCING;
}
ehci->command = ehci_readl(ehci, &ehci->regs->command);
- if (ehci->reclaim)
- end_unlink_async(ehci);
ehci_work(ehci);
/* Unlike other USB host controller types, EHCI doesn't have
@@ -180,6 +178,9 @@
ehci_halt (ehci);
hcd->state = HC_STATE_SUSPENDED;
+ if (ehci->reclaim)
+ end_unlink_async(ehci);
+
/* allow remote wakeup */
mask = INTR_MASK;
if (!device_may_wakeup(&hcd->self.root_hub->dev))
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists