On Sunday 08 May 2005 5:26 am, John Steele Scott wrote: > Hi, > > Today I tried kernel 2.6.12-rc4 on my iBook G4 to check whether sleep > works properly yet. I found that it panics if my USB hub is attached to > the iBook when I try to sleep the machine. > > ... > > I took a photo of the panic and enhanced it for readability, it's at > <http://www.toojays.net/portal/Members/toojays/ibook-g4-sleep-crash-2.6.12-rc4.jpg>.
Hmm, curious. Looks like the watchdog timer isn't getting stopped; I'm surprised nobody else has ever noticed that one! See if this patch solves the problem for you. - Dave
Force the EHCI watchdog timer off during suspend, in case for some reason it was still running after the root hub suspended. Signed-off-by: David Brownell <[EMAIL PROTECTED]> --- 1.48/drivers/usb/host/ehci-hub.c 2005-03-30 18:43:39 -08:00 +++ edited/drivers/usb/host/ehci-hub.c 2005-05-08 13:10:01 -07:00 @@ -72,6 +72,7 @@ } /* turn off now-idle HC */ + del_timer_sync (&ehci->watchdog); ehci_halt (ehci); hcd->state = HC_STATE_SUSPENDED;
