Re: [linux-usb-devel] Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes

2005-12-13 Thread Rafael J. Wysocki
On Tuesday, 13 December 2005 07:52, David Brownell wrote: if ((status STS_PCD) device_may_wakeup(hcd-self.root_hub-dev)) { What happens if you make that line read if ((status STS_PCD) != 0) { and ignore the root hub thing? So far, so good. It works and hasn't triggered

Re: [linux-usb-devel] Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes

2005-12-13 Thread David Brownell
On Tuesday 13 December 2005 2:10 pm, Rafael J. Wysocki wrote: On Tuesday, 13 December 2005 07:52, David Brownell wrote: if ((status STS_PCD) device_may_wakeup(hcd-self.root_hub-dev)) { What happens if you make that line read if ((status STS_PCD) != 0) { and ignore

Re: [linux-usb-devel] Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes

2005-12-13 Thread Rafael J. Wysocki
On Tuesday, 13 December 2005 23:22, David Brownell wrote: On Tuesday 13 December 2005 2:10 pm, Rafael J. Wysocki wrote: On Tuesday, 13 December 2005 07:52, David Brownell wrote: if ((status STS_PCD) device_may_wakeup(hcd-self.root_hub-dev)) { What happens if you

Re: [linux-usb-devel] Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes

2005-12-13 Thread David Brownell
if ((status STS_PCD) device_may_wakeup(hcd-self.root_hub-dev)) { What happens if you make that line read if ((status STS_PCD) != 0) { and ignore the root hub thing? So far, so good. It works and hasn't triggered the oops yet. I'll

Re: [linux-usb-devel] Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes

2005-12-12 Thread David Brownell
if ((status STS_PCD) device_may_wakeup(hcd-self.root_hub-dev)) { What happens if you make that line read if ((status STS_PCD) != 0) { and ignore the root hub thing? There's some confusion about when the root hub becomes available ... it should be done a lot earlier than it