Linux Media Controller development
 help / color / mirror / Atom feed
From: Brandon Philips <brandon@ifup.org>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Greg KH <gregkh@suse.de>,
	laurent.pinchart@skynet.be, linux-media@vger.kernel.org,
	linux-usb@vger.kernel.org
Subject: Re: S4 hang with uvcvideo causing "Unlink after no-IRQ? Controller is probably using the wrong IRQ."
Date: Tue, 10 Mar 2009 12:38:10 -0700	[thread overview]
Message-ID: <20090310193809.GA8217@jenkins.ifup.org> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0903081239430.5243-100000@netrider.rowland.org>

On 12:43 Sun 08 Mar 2009, Alan Stern wrote:
> On Sat, 7 Mar 2009, Brandon Philips wrote:
> > > Have you tried suspending just the two devices plugged into that EHCI 
> > > controller instead of suspending the entire system?  That would make it 
> > > a lot easier to carry out testing.
> > 
> > I tried to reproduce with s2ram suspend, echo suspend >
> > /sys/bus/usb/devices/.../power/level and /sys/power/pm_test levels but none of
> > them reproduced it. So, at this point the only way I can reproduce this is with
> > a full S4.
> 
> That's a little misleading.

Sorry, what I meant by "full" was `echo disk > /sys/power/state` with
none in /sys/power/pm_test

> Unless I misunderstood your log, the hang occurred _before_ your
> system entered S4.  In fact, it occurred before the memory image was
> written out to the disk.

Yes, this is correct. It freezes before the image is written.

> > Is there some other method I missed of testing?
> 
> How about echo disk >/sys/power/state with various settings in 
> /sys/power/disk?

First observation: I can't reproduce this bug with console=ttyS0,115200
console=tty0. Everything works great actually. Is writing to the serial
port causing just enough delay to hide the bug?

/sys/power/disk tests
---------------------
testproc	# OK
test		# Unlink after no-IRQ? ...
platform	# Unlink after no-IRQ? ...
reboot		# Unlink after no-IRQ? ...
shutdown	# Unlink after no-IRQ? ...

Cheers,

	Brandon

  reply	other threads:[~2009-03-10 19:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-06 19:11 S4 hang with uvcvideo causing "Unlink after no-IRQ? Controller is probably using the wrong IRQ." Brandon Philips
2009-03-07  5:26 ` Greg KH
2009-03-07  8:42   ` Brandon Philips
2009-03-07 17:37     ` Alan Stern
2009-03-08  7:55       ` Brandon Philips
2009-03-08 16:43         ` Alan Stern
2009-03-10 19:38           ` Brandon Philips [this message]
2009-03-11 15:30             ` Alan Stern
2009-03-11 17:20               ` Brandon Philips
2009-03-11 19:46                 ` Alan Stern
2009-03-11 22:15                   ` Brandon Philips
2009-03-13 14:35                     ` Alan Stern
2009-03-13 15:40                       ` Brandon Philips
2009-03-13 18:03                         ` Alan Stern
2009-03-13 19:46                           ` Brandon Philips
2009-03-13 20:50                             ` Alan Stern
2009-03-16 16:44                               ` Brandon Philips
2009-03-07 17:40   ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090310193809.GA8217@jenkins.ifup.org \
    --to=brandon@ifup.org \
    --cc=gregkh@suse.de \
    --cc=laurent.pinchart@skynet.be \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox