lkml.org 
[lkml]   [2008]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 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))




\
 
 \ /
  Last update: 2008-04-02 21:29    [W:2.067 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site