* 2.6.9-rc3: USB OHCI failure on suspend on AMD64
@ 2004-09-30 20:51 Rafael J. Wysocki
2004-09-30 21:11 ` Pavel Machek
2004-09-30 21:58 ` [linux-usb-devel] " David Brownell
0 siblings, 2 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2004-09-30 20:51 UTC (permalink / raw)
To: LKML; +Cc: Pavel Machek, linux-usb-devel
Hi,
It seems there's a problem with USB OHCI driver that causes these traces to
appear on suspend on an AMD64-based box:
..<7>PM: Image restored successfully.
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: HC died; cleaning up
usb 1-2: USB disconnect, address 3
Badness in hcd_endpoint_disable at drivers/usb/core/hcd.c:1310
Call Trace:<7>Losing some ticks... checking if CPU frequency changed.
<ffffffff803455fb>{hcd_endpoint_disable+107}
<ffffffff80346729>{usb_disable_endpoint+41}
<ffffffff803468aa>{usb_disable_device+26}
<ffffffff803422fc>{usb_disconnect+188}
<ffffffff803441b0>{hcd_panic+0} <ffffffff803441fa>{hcd_panic+74}
<ffffffff8015824d>{worker_thread+733}
<ffffffff80137c00>{default_wake_function+0}
<ffffffff80137c00>{default_wake_function+0}
<ffffffff80157f70>{worker_thread+0}
<ffffffff8015f51d>{kthread+205} <ffffffff80111b43>{child_rip+8}
<ffffffff8015f450>{kthread+0} <ffffffff80111b3b>{child_rip+0}
[-- several times the above --]
Call Trace:<ffffffff80345c3e>{hcd_unlink_urb+494}
<ffffffff803463dc>{usb_kill_urb+380}
<ffffffff80345a37>{hcd_endpoint_disable+1191}
<ffffffff8019ed6e>{invalidate_inode_buffers+14}
<ffffffff80346729>{usb_disable_endpoint+41}
<ffffffffa022374c>{:usbhid:hid_disconnect+44}
<ffffffff8033f4e9>{usb_unbind_interface+73}
<ffffffff8030b95e>{device_release_driver+94}
<ffffffff8030baf4>{bus_remove_device+164}
<ffffffff8030a898>{device_del+88}
<ffffffff8034690b>{usb_disable_device+123}
<ffffffff803422fc>{usb_disconnect+188}
<ffffffff803441b0>{hcd_panic+0} <ffffffff803441fa>{hcd_panic+74}
<ffffffff8015824d>{worker_thread+733}
<ffffffff80137c00>{default_wake_function+0}
<ffffffff80137c00>{default_wake_function+0}
<ffffffff80157f70>{worker_thread+0}
<ffffffff8015f51d>{kthread+205} <ffffffff80111b43>{child_rip+8}
<ffffffff8015f450>{kthread+0} <ffffffff80111b3b>{child_rip+0}
[-- once again the above --]
The workaround is to explicitly unload the driver before suspend and reload it
after resume. It is possible that it's fixed in -mm kernels, as I haven't
seen such symptoms there, recently (since 2.6.9-rc2-mm1 at least).
Greets,
RJW
--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.9-rc3: USB OHCI failure on suspend on AMD64
2004-09-30 20:51 2.6.9-rc3: USB OHCI failure on suspend on AMD64 Rafael J. Wysocki
@ 2004-09-30 21:11 ` Pavel Machek
2004-09-30 21:58 ` [linux-usb-devel] " David Brownell
1 sibling, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2004-09-30 21:11 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: LKML, linux-usb-devel
Hi!
> It seems there's a problem with USB OHCI driver that causes these traces to
> appear on suspend on an AMD64-based box:
Check if OHCI's suspend/resume method is called correctly and that
OHCI really acts on it.
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-usb-devel] 2.6.9-rc3: USB OHCI failure on suspend on AMD64
2004-09-30 20:51 2.6.9-rc3: USB OHCI failure on suspend on AMD64 Rafael J. Wysocki
2004-09-30 21:11 ` Pavel Machek
@ 2004-09-30 21:58 ` David Brownell
2004-10-01 8:02 ` Rafael J. Wysocki
1 sibling, 1 reply; 4+ messages in thread
From: David Brownell @ 2004-09-30 21:58 UTC (permalink / raw)
To: linux-usb-devel; +Cc: Rafael J. Wysocki, LKML, Pavel Machek
On Thursday 30 September 2004 1:51 pm, Rafael J. Wysocki wrote:
> Hi,
>
> It seems there's a problem with USB OHCI driver that causes these traces to
> appear on suspend on an AMD64-based box:
Not all parts of power management integrate well yet with each other,
though it's acting better. Plus there are some OHCI updates in the USB
patches (you'll have those in the MM tree) that help address some of
the more perverse ways that suspend-to-disk kicks USB around, and
a few similar usbcore changes that need re-integration with the RC3
swsusp/pmdisk updates.
Keep using the "rmmod" workaround for now. And don't combine
CONFIG_USB_SUSPEND with suspend-to-{disk,ram} unless you're
feeling like debugging the results.
- Dave
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-usb-devel] 2.6.9-rc3: USB OHCI failure on suspend on AMD64
2004-09-30 21:58 ` [linux-usb-devel] " David Brownell
@ 2004-10-01 8:02 ` Rafael J. Wysocki
0 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2004-10-01 8:02 UTC (permalink / raw)
To: linux-kernel; +Cc: David Brownell, linux-usb-devel, Pavel Machek
On Thursday 30 of September 2004 23:58, David Brownell wrote:
> On Thursday 30 September 2004 1:51 pm, Rafael J. Wysocki wrote:
> > Hi,
> >
> > It seems there's a problem with USB OHCI driver that causes these traces
to
> > appear on suspend on an AMD64-based box:
>
> Not all parts of power management integrate well yet with each other,
> though it's acting better. Plus there are some OHCI updates in the USB
> patches (you'll have those in the MM tree) that help address some of
> the more perverse ways that suspend-to-disk kicks USB around, and
> a few similar usbcore changes that need re-integration with the RC3
> swsusp/pmdisk updates.
>
> Keep using the "rmmod" workaround for now. And don't combine
> CONFIG_USB_SUSPEND with suspend-to-{disk,ram} unless you're
> feeling like debugging the results.
I'm doing just this. And reporting. ;-)
Greets,
RJW
--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-10-01 7:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-30 20:51 2.6.9-rc3: USB OHCI failure on suspend on AMD64 Rafael J. Wysocki
2004-09-30 21:11 ` Pavel Machek
2004-09-30 21:58 ` [linux-usb-devel] " David Brownell
2004-10-01 8:02 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome