lkml.org 
[lkml]   [2008]   [Apr]   [2]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 2 Apr 2008 15:26:44 -0400 (EDT)
FromAlan Stern <>
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    [from the cache]
©2003-2008