LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Re: [Bug 10345] USB HID problems after resume
       [not found] ` <47EE78C9.5090006@rtr.ca>
@ 2008-03-29 17:15   ` Mark Lord
  2008-03-29 22:02     ` Alan Stern
                       ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Mark Lord @ 2008-03-29 17:15 UTC (permalink / raw)
  To: bugme-daemon; +Cc: rjw, bunk, Linux Kernel, linux-usb

bugme-daemon@bugzilla.kernel.org wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=10345
>
>
> rjw@sisk.pl changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|NEW                         |REJECTED
>          Resolution|                            |UNREPRODUCIBLE
>
>
>
>
> ------- Comment #2 from rjw@sisk.pl  2008-03-28 15:35 -------
> Handled-By : Mark Lord <lkml@rtr.ca>
> References : http://lkml.org/lkml/2008/3/28/346
>
> Mark said:
>
> "Also, for now it seems to be "resolved" via a seemingly-unrelated
> change in the .config file on that machine.  If it dies again,
> I'll re-post and investigate further."
..

Just happened again.  The machine resumed from RAM with no functioning USB.
Still running the exact same 2.6.25-rc7 kernel as before, with the RTC conflict fixed.

WTF?


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

* Re: [Bug 10345] USB HID problems after resume
  2008-03-29 17:15   ` [Bug 10345] USB HID problems after resume Mark Lord
@ 2008-03-29 22:02     ` Alan Stern
  2008-03-30  9:30     ` Oliver Neukum
  2008-03-30 11:48     ` Pavel Machek
  2 siblings, 0 replies; 9+ messages in thread
From: Alan Stern @ 2008-03-29 22:02 UTC (permalink / raw)
  To: Mark Lord; +Cc: bugme-daemon, rjw, bunk, Linux Kernel, linux-usb

On Sat, 29 Mar 2008, Mark Lord wrote:

> Just happened again.  The machine resumed from RAM with no functioning USB.
> Still running the exact same 2.6.25-rc7 kernel as before, with the RTC conflict fixed.
> 
> WTF?

The first step in debugging this is to build a kernel with
CONFIG_USB_DEBUG and send the dmesg log following an unsuccessful
resume.  Include events from before the suspend; don't strip them out.  
If the symptoms are the same as before then you should also get a stack
dump for the ksuspend_usbd task.

Alan Stern


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

* Re: [Bug 10345] USB HID problems after resume
  2008-03-29 17:15   ` [Bug 10345] USB HID problems after resume Mark Lord
  2008-03-29 22:02     ` Alan Stern
@ 2008-03-30  9:30     ` Oliver Neukum
  2008-03-30 11:48     ` Pavel Machek
  2 siblings, 0 replies; 9+ messages in thread
From: Oliver Neukum @ 2008-03-30  9:30 UTC (permalink / raw)
  To: Mark Lord; +Cc: bugme-daemon, rjw, bunk, Linux Kernel, linux-usb

Am Samstag, 29. März 2008 18:15:40 schrieb Mark Lord:
> bugme-daemon@bugzilla.kernel.org wrote:
> > http://bugzilla.kernel.org/show_bug.cgi?id=10345
> >
> >
> > rjw@sisk.pl changed:
> >
> >            What    |Removed                     |Added
> > ----------------------------------------------------------------------------
> >              Status|NEW                         |REJECTED
> >          Resolution|                            |UNREPRODUCIBLE
> >
> >
> >
> >
> > ------- Comment #2 from rjw@sisk.pl  2008-03-28 15:35 -------
> > Handled-By : Mark Lord <lkml@rtr.ca>
> > References : http://lkml.org/lkml/2008/3/28/346
> >
> > Mark said:
> >
> > "Also, for now it seems to be "resolved" via a seemingly-unrelated
> > change in the .config file on that machine.  If it dies again,
> > I'll re-post and investigate further."
> ..
> 
> Just happened again.  The machine resumed from RAM with no functioning USB.
> Still running the exact same 2.6.25-rc7 kernel as before, with the RTC conflict fixed.
> 
> WTF?

Is khubd stuck in D state?

	Regards
		Oliver

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

* Re: [Bug 10345] USB HID problems after resume
  2008-03-29 17:15   ` [Bug 10345] USB HID problems after resume Mark Lord
  2008-03-29 22:02     ` Alan Stern
  2008-03-30  9:30     ` Oliver Neukum
@ 2008-03-30 11:48     ` Pavel Machek
  2008-03-30 17:46       ` Mark Lord
  2 siblings, 1 reply; 9+ messages in thread
From: Pavel Machek @ 2008-03-30 11:48 UTC (permalink / raw)
  To: Mark Lord; +Cc: bugme-daemon, rjw, bunk, Linux Kernel, linux-usb

On Sat 2008-03-29 13:15:40, Mark Lord wrote:
> bugme-daemon@bugzilla.kernel.org wrote:
>> http://bugzilla.kernel.org/show_bug.cgi?id=10345
>>
>>
>> rjw@sisk.pl changed:
>>
>>            What    |Removed                     |Added
>> ----------------------------------------------------------------------------
>>              Status|NEW                         |REJECTED
>>          Resolution|                            |UNREPRODUCIBLE
>>
>>
>>
>>
>> ------- Comment #2 from rjw@sisk.pl  2008-03-28 15:35 -------
>> Handled-By : Mark Lord <lkml@rtr.ca>
>> References : http://lkml.org/lkml/2008/3/28/346
>>
>> Mark said:
>>
>> "Also, for now it seems to be "resolved" via a seemingly-unrelated
>> change in the .config file on that machine.  If it dies again,
>> I'll re-post and investigate further."
> ..
>
> Just happened again.  The machine resumed from RAM with no functioning USB.
> Still running the exact same 2.6.25-rc7 kernel as before, with the RTC conflict fixed.
>
> WTF?

>3GB of RAM? Try iommu=soft.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

* Re: [Bug 10345] USB HID problems after resume
  2008-03-30 11:48     ` Pavel Machek
@ 2008-03-30 17:46       ` Mark Lord
  2008-03-30 18:22         ` Pavel Machek
  0 siblings, 1 reply; 9+ messages in thread
From: Mark Lord @ 2008-03-30 17:46 UTC (permalink / raw)
  To: Pavel Machek; +Cc: bugme-daemon, rjw, bunk, Linux Kernel, linux-usb

Pavel Machek wrote:
> On Sat 2008-03-29 13:15:40, Mark Lord wrote:
>..
>> Just happened again.  The machine resumed from RAM with no functioning USB.
>> Still running the exact same 2.6.25-rc7 kernel as before, with the RTC conflict fixed.
>>
>> WTF?
> 
>> 3GB of RAM? Try iommu=soft.
..

What does that option do (it is not in Documentation/kernel-parameters.txt),
and why do you suspect it may make a difference here?

Thanks

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

* Re: [Bug 10345] USB HID problems after resume
  2008-03-30 17:46       ` Mark Lord
@ 2008-03-30 18:22         ` Pavel Machek
  2008-03-30 20:15           ` Mark Lord
  0 siblings, 1 reply; 9+ messages in thread
From: Pavel Machek @ 2008-03-30 18:22 UTC (permalink / raw)
  To: Mark Lord; +Cc: bugme-daemon, rjw, bunk, Linux Kernel, linux-usb

On Sun 2008-03-30 13:46:25, Mark Lord wrote:
> Pavel Machek wrote:
>> On Sat 2008-03-29 13:15:40, Mark Lord wrote:
>> ..
>>> Just happened again.  The machine resumed from RAM with no functioning USB.
>>> Still running the exact same 2.6.25-rc7 kernel as before, with the RTC conflict fixed.
>>>
>>> WTF?
>>
>>> 3GB of RAM? Try iommu=soft.
> ..
>
> What does that option do (it is not in Documentation/kernel-parameters.txt),
> and why do you suspect it may make a difference here?

See x86_64/boot-options.txt . Yes, that should be fixed.

I had strange problems, and it looks like iommu does not have proper
suspend/resume support. > 3GB machines hit that. Do you have one?

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

* Re: [Bug 10345] USB HID problems after resume
  2008-03-30 18:22         ` Pavel Machek
@ 2008-03-30 20:15           ` Mark Lord
  2008-03-30 20:20             ` Pavel Machek
  0 siblings, 1 reply; 9+ messages in thread
From: Mark Lord @ 2008-03-30 20:15 UTC (permalink / raw)
  To: Pavel Machek; +Cc: bugme-daemon, rjw, bunk, Linux Kernel, linux-usb

Pavel Machek wrote:
> On Sun 2008-03-30 13:46:25, Mark Lord wrote:
>> Pavel Machek wrote:
>>> On Sat 2008-03-29 13:15:40, Mark Lord wrote:
>>> ..
>>>> Just happened again.  The machine resumed from RAM with no functioning USB.
>>>> Still running the exact same 2.6.25-rc7 kernel as before, with the RTC conflict fixed.
>>>>
>>>> WTF?
>>>> 3GB of RAM? Try iommu=soft.
>> ..
>>
>> What does that option do (it is not in Documentation/kernel-parameters.txt),
>> and why do you suspect it may make a difference here?
> 
> See x86_64/boot-options.txt . Yes, that should be fixed.
> 
> I had strange problems, and it looks like iommu does not have proper
> suspend/resume support. > 3GB machines hit that. Do you have one?
..

This is a 32-bit system / kernel, so I'm guessing that this option is not applicable.

Right?  (it does have 3GB of RAM, though).

Cheers

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

* Re: [Bug 10345] USB HID problems after resume
  2008-03-30 20:15           ` Mark Lord
@ 2008-03-30 20:20             ` Pavel Machek
  2008-03-30 20:22               ` Mark Lord
  0 siblings, 1 reply; 9+ messages in thread
From: Pavel Machek @ 2008-03-30 20:20 UTC (permalink / raw)
  To: Mark Lord; +Cc: bugme-daemon, rjw, bunk, Linux Kernel, linux-usb

On Sun 2008-03-30 16:15:50, Mark Lord wrote:
> Pavel Machek wrote:
>> On Sun 2008-03-30 13:46:25, Mark Lord wrote:
>>> Pavel Machek wrote:
>>>> On Sat 2008-03-29 13:15:40, Mark Lord wrote:
>>>> ..
>>>>> Just happened again.  The machine resumed from RAM with no functioning USB.
>>>>> Still running the exact same 2.6.25-rc7 kernel as before, with the RTC conflict fixed.
>>>>>
>>>>> WTF?
>>>>> 3GB of RAM? Try iommu=soft.
>>> ..
>>>
>>> What does that option do (it is not in Documentation/kernel-parameters.txt),
>>> and why do you suspect it may make a difference here?
>>
>> See x86_64/boot-options.txt . Yes, that should be fixed.
>>
>> I had strange problems, and it looks like iommu does not have proper
>> suspend/resume support. > 3GB machines hit that. Do you have one?
> ..
>
> This is a 32-bit system / kernel, so I'm guessing that this option is not applicable.
>
> Right?  (it does have 3GB of RAM, though).

Not 100% sure... I've seen strangeness on 32-bit systems, too. Can you
simply pass mem=2G and see what happens?
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

* Re: [Bug 10345] USB HID problems after resume
  2008-03-30 20:20             ` Pavel Machek
@ 2008-03-30 20:22               ` Mark Lord
  0 siblings, 0 replies; 9+ messages in thread
From: Mark Lord @ 2008-03-30 20:22 UTC (permalink / raw)
  To: Pavel Machek; +Cc: bugme-daemon, rjw, bunk, Linux Kernel, linux-usb

>>>>>> 3GB of RAM? Try iommu=soft.
..
>>
>> This is a 32-bit system / kernel, so I'm guessing that this option is not applicable.
>>
>> Right?  (it does have 3GB of RAM, though).
> 
> Not 100% sure... I've seen strangeness on 32-bit systems, too. Can you
> simply pass mem=2G and see what happens?
..

Sure, after I finish collecting data on the problem, I'll give that a try.
It will be somewhat inconclusive, though, since the problem does not happen
on every resume.  

cheers


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

end of thread, other threads:[~2008-03-30 20:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20080328223544.A61F711D10C@picon.linux-foundation.org>
     [not found] ` <47EE78C9.5090006@rtr.ca>
2008-03-29 17:15   ` [Bug 10345] USB HID problems after resume Mark Lord
2008-03-29 22:02     ` Alan Stern
2008-03-30  9:30     ` Oliver Neukum
2008-03-30 11:48     ` Pavel Machek
2008-03-30 17:46       ` Mark Lord
2008-03-30 18:22         ` Pavel Machek
2008-03-30 20:15           ` Mark Lord
2008-03-30 20:20             ` Pavel Machek
2008-03-30 20:22               ` Mark Lord

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).