public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* usb fails to suspend [was: mmotm 2009-06-05-16-19]
@ 2009-06-06 17:16 Jiri Slaby
  2009-06-06 22:28 ` Rafael J. Wysocki
  2009-06-07  8:48 ` Marcel Holtmann
  0 siblings, 2 replies; 7+ messages in thread
From: Jiri Slaby @ 2009-06-06 17:16 UTC (permalink / raw)
  To: rjw@sisk.pl; +Cc: Alan Stern, Andrew Morton, Linux kernel mailing list

Hi,

there is a suspend regression somewhere between mmotm 2009-05-17-12-15
and 2009-06-05-16-19:
hcd_pci_suspend_noirq(): pci_prepare_to_sleep+0x0/0x80 returns -19
pci_pm_suspend_noirq(): hcd_pci_suspend_noirq+0x0/0xb0 returns -19
pm_noirq_op(): pci_pm_suspend_noirq+0x0/0x180 returns -19
PM: Device 0000:00:1d.2 failed to suspend late: error -19

$ lspci -xxvvs 0000:00:1d.2
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #3 (rev 02) (prog-if 00 [UHCI])
        Subsystem: Intel Corporation 82801I (ICH9 Family) USB UHCI
Controller #3
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin D routed to IRQ 16
        Region 4: I/O ports at d000 [size=32]
        Capabilities: [50] Vendor Specific Information <?>
        Kernel driver in use: uhci_hcd
00: 86 80 36 29 05 00 90 02 02 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 d0 00 00 00 00 00 00 00 00 00 00 86 80 36 29
30: 00 00 00 00 50 00 00 00 00 00 00 00 05 04 00 00

Any ideas?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: usb fails to suspend [was: mmotm 2009-06-05-16-19]
  2009-06-06 17:16 usb fails to suspend [was: mmotm 2009-06-05-16-19] Jiri Slaby
@ 2009-06-06 22:28 ` Rafael J. Wysocki
  2009-06-07 20:36   ` Jiri Slaby
  2009-06-07  8:48 ` Marcel Holtmann
  1 sibling, 1 reply; 7+ messages in thread
From: Rafael J. Wysocki @ 2009-06-06 22:28 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: Alan Stern, Andrew Morton, Linux kernel mailing list

On Saturday 06 June 2009, Jiri Slaby wrote:
> Hi,
> 
> there is a suspend regression somewhere between mmotm 2009-05-17-12-15
> and 2009-06-05-16-19:
> hcd_pci_suspend_noirq(): pci_prepare_to_sleep+0x0/0x80 returns -19
> pci_pm_suspend_noirq(): hcd_pci_suspend_noirq+0x0/0xb0 returns -19
> pm_noirq_op(): pci_pm_suspend_noirq+0x0/0x180 returns -19
> PM: Device 0000:00:1d.2 failed to suspend late: error -19
> 
> $ lspci -xxvvs 0000:00:1d.2
> 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
> Controller #3 (rev 02) (prog-if 00 [UHCI])
>         Subsystem: Intel Corporation 82801I (ICH9 Family) USB UHCI
> Controller #3
>         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B- DisINTx-
>         Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Latency: 0
>         Interrupt: pin D routed to IRQ 16
>         Region 4: I/O ports at d000 [size=32]
>         Capabilities: [50] Vendor Specific Information <?>
>         Kernel driver in use: uhci_hcd
> 00: 86 80 36 29 05 00 90 02 02 00 03 0c 00 00 00 00
> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 20: 01 d0 00 00 00 00 00 00 00 00 00 00 86 80 36 29
> 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 04 00 00
> 
> Any ideas?

Not really.  Is it -mm-only or is the mainline affected too?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: usb fails to suspend [was: mmotm 2009-06-05-16-19]
  2009-06-06 17:16 usb fails to suspend [was: mmotm 2009-06-05-16-19] Jiri Slaby
  2009-06-06 22:28 ` Rafael J. Wysocki
@ 2009-06-07  8:48 ` Marcel Holtmann
  2009-06-07  8:51   ` Jiri Slaby
  1 sibling, 1 reply; 7+ messages in thread
From: Marcel Holtmann @ 2009-06-07  8:48 UTC (permalink / raw)
  To: Jiri Slaby
  Cc: rjw@sisk.pl, Alan Stern, Andrew Morton, Linux kernel mailing list

Hi Jiri,

> there is a suspend regression somewhere between mmotm 2009-05-17-12-15
> and 2009-06-05-16-19:
> hcd_pci_suspend_noirq(): pci_prepare_to_sleep+0x0/0x80 returns -19
> pci_pm_suspend_noirq(): hcd_pci_suspend_noirq+0x0/0xb0 returns -19
> pm_noirq_op(): pci_pm_suspend_noirq+0x0/0x180 returns -19
> PM: Device 0000:00:1d.2 failed to suspend late: error -19
> 
> $ lspci -xxvvs 0000:00:1d.2
> 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
> Controller #3 (rev 02) (prog-if 00 [UHCI])
>         Subsystem: Intel Corporation 82801I (ICH9 Family) USB UHCI
> Controller #3

what is the likelihood that you have an Intel WiMAX card in this system?
There is a suspend issue when i2400m_usb is loaded. Took me a while to
figure that one out. It suspends/resumes fine for the first time after
reboot, but on resume it deadlocks the whole USB subsystem.

Regards

Marcel



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: usb fails to suspend [was: mmotm 2009-06-05-16-19]
  2009-06-07  8:48 ` Marcel Holtmann
@ 2009-06-07  8:51   ` Jiri Slaby
  2009-06-07  8:52     ` Marcel Holtmann
  0 siblings, 1 reply; 7+ messages in thread
From: Jiri Slaby @ 2009-06-07  8:51 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: rjw@sisk.pl, Alan Stern, Andrew Morton, Linux kernel mailing list

On 06/07/2009 10:48 AM, Marcel Holtmann wrote:
> Hi Jiri,

Hi.

>> $ lspci -xxvvs 0000:00:1d.2
>> 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
>> Controller #3 (rev 02) (prog-if 00 [UHCI])
>>         Subsystem: Intel Corporation 82801I (ICH9 Family) USB UHCI
>> Controller #3
> 
> what is the likelihood that you have an Intel WiMAX card in this system?

None :) -- I have no such card in the system.

> There is a suspend issue when i2400m_usb is loaded. Took me a while to
> figure that one out. It suspends/resumes fine for the first time after
> reboot, but on resume it deadlocks the whole USB subsystem.

This was the first time I tried to suspend.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: usb fails to suspend [was: mmotm 2009-06-05-16-19]
  2009-06-07  8:51   ` Jiri Slaby
@ 2009-06-07  8:52     ` Marcel Holtmann
  0 siblings, 0 replies; 7+ messages in thread
From: Marcel Holtmann @ 2009-06-07  8:52 UTC (permalink / raw)
  To: Jiri Slaby
  Cc: rjw@sisk.pl, Alan Stern, Andrew Morton, Linux kernel mailing list

Hi Jiri,

> >> $ lspci -xxvvs 0000:00:1d.2
> >> 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
> >> Controller #3 (rev 02) (prog-if 00 [UHCI])
> >>         Subsystem: Intel Corporation 82801I (ICH9 Family) USB UHCI
> >> Controller #3
> > 
> > what is the likelihood that you have an Intel WiMAX card in this system?
> 
> None :) -- I have no such card in the system.
> 
> > There is a suspend issue when i2400m_usb is loaded. Took me a while to
> > figure that one out. It suspends/resumes fine for the first time after
> > reboot, but on resume it deadlocks the whole USB subsystem.
> 
> This was the first time I tried to suspend.

then it is not that issue and I have no idea what happens.

Regards

Marcel



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: usb fails to suspend [was: mmotm 2009-06-05-16-19]
  2009-06-06 22:28 ` Rafael J. Wysocki
@ 2009-06-07 20:36   ` Jiri Slaby
  2009-06-07 21:20     ` Rafael J. Wysocki
  0 siblings, 1 reply; 7+ messages in thread
From: Jiri Slaby @ 2009-06-07 20:36 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Alan Stern, Andrew Morton, Linux kernel mailing list,
	Jesse Barnes

On 06/07/2009 12:28 AM, Rafael J. Wysocki wrote:
> On Saturday 06 June 2009, Jiri Slaby wrote:
>> Hi,
>>
>> there is a suspend regression somewhere between mmotm 2009-05-17-12-15
>> and 2009-06-05-16-19:
>> hcd_pci_suspend_noirq(): pci_prepare_to_sleep+0x0/0x80 returns -19
>> pci_pm_suspend_noirq(): hcd_pci_suspend_noirq+0x0/0xb0 returns -19
>> pm_noirq_op(): pci_pm_suspend_noirq+0x0/0x180 returns -19
>> PM: Device 0000:00:1d.2 failed to suspend late: error -19
>>
>> $ lspci -xxvvs 0000:00:1d.2
>> 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
>> Controller #3 (rev 02) (prog-if 00 [UHCI])
>>         Subsystem: Intel Corporation 82801I (ICH9 Family) USB UHCI
>> Controller #3
>>         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
>> ParErr- Stepping- SERR- FastB2B- DisINTx-
>>         Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
>> <TAbort- <MAbort- >SERR- <PERR- INTx-
>>         Latency: 0
>>         Interrupt: pin D routed to IRQ 16
>>         Region 4: I/O ports at d000 [size=32]
>>         Capabilities: [50] Vendor Specific Information <?>
>>         Kernel driver in use: uhci_hcd
>> 00: 86 80 36 29 05 00 90 02 02 00 03 0c 00 00 00 00
>> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>> 20: 01 d0 00 00 00 00 00 00 00 00 00 00 86 80 36 29
>> 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 04 00 00
>>
>> Any ideas?
> 
> Not really.  Is it -mm-only or is the mainline affected too?

Yup, only an -mm thing. I reverted these two:
pci-pm-read-device-power-state-from-register-after-updating-it.patch
pci-pm-read-device-power-state-from-register-after-updating-it-update.patch
and it works now :).

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: usb fails to suspend [was: mmotm 2009-06-05-16-19]
  2009-06-07 20:36   ` Jiri Slaby
@ 2009-06-07 21:20     ` Rafael J. Wysocki
  0 siblings, 0 replies; 7+ messages in thread
From: Rafael J. Wysocki @ 2009-06-07 21:20 UTC (permalink / raw)
  To: Jiri Slaby, Andrew Morton
  Cc: Alan Stern, Linux kernel mailing list, Jesse Barnes

On Sunday 07 June 2009, Jiri Slaby wrote:
> On 06/07/2009 12:28 AM, Rafael J. Wysocki wrote:
> > On Saturday 06 June 2009, Jiri Slaby wrote:
> >> Hi,
> >>
> >> there is a suspend regression somewhere between mmotm 2009-05-17-12-15
> >> and 2009-06-05-16-19:
> >> hcd_pci_suspend_noirq(): pci_prepare_to_sleep+0x0/0x80 returns -19
> >> pci_pm_suspend_noirq(): hcd_pci_suspend_noirq+0x0/0xb0 returns -19
> >> pm_noirq_op(): pci_pm_suspend_noirq+0x0/0x180 returns -19
> >> PM: Device 0000:00:1d.2 failed to suspend late: error -19
> >>
> >> $ lspci -xxvvs 0000:00:1d.2
> >> 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
> >> Controller #3 (rev 02) (prog-if 00 [UHCI])
> >>         Subsystem: Intel Corporation 82801I (ICH9 Family) USB UHCI
> >> Controller #3
> >>         Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
> >> ParErr- Stepping- SERR- FastB2B- DisINTx-
> >>         Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> >> <TAbort- <MAbort- >SERR- <PERR- INTx-
> >>         Latency: 0
> >>         Interrupt: pin D routed to IRQ 16
> >>         Region 4: I/O ports at d000 [size=32]
> >>         Capabilities: [50] Vendor Specific Information <?>
> >>         Kernel driver in use: uhci_hcd
> >> 00: 86 80 36 29 05 00 90 02 02 00 03 0c 00 00 00 00
> >> 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> >> 20: 01 d0 00 00 00 00 00 00 00 00 00 00 86 80 36 29
> >> 30: 00 00 00 00 50 00 00 00 00 00 00 00 05 04 00 00
> >>
> >> Any ideas?
> > 
> > Not really.  Is it -mm-only or is the mainline affected too?
> 
> Yup, only an -mm thing. I reverted these two:
> pci-pm-read-device-power-state-from-register-after-updating-it.patch
> pci-pm-read-device-power-state-from-register-after-updating-it-update.patch
> and it works now :).

OK, thanks.

Andrew, can you drop these two patches from -mm please?

Best,
Rafael

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-06-07 21:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-06 17:16 usb fails to suspend [was: mmotm 2009-06-05-16-19] Jiri Slaby
2009-06-06 22:28 ` Rafael J. Wysocki
2009-06-07 20:36   ` Jiri Slaby
2009-06-07 21:20     ` Rafael J. Wysocki
2009-06-07  8:48 ` Marcel Holtmann
2009-06-07  8:51   ` Jiri Slaby
2009-06-07  8:52     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox