public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: rasmit.ranjan@wipro.com
Cc: deepti.chotai@wipro.com, linux-pm@lists.osdl.org
Subject: Re: Suspend to disk with PCMCIA card plugged in with kernel 2.6.16.28
Date: Sun, 1 Oct 2006 19:05:09 +0200	[thread overview]
Message-ID: <20061001170509.GD2254@elf.ucw.cz> (raw)
In-Reply-To: <380D9721A8E2114485644D71E87C6AB202902396@PNE-HJN-MBX01.wipro.com>

Hi!

> 	I have a PCMCIA card hosting a USB port. I am facing some
> problems while trying to suspend my laptop to disk . Given below are
> some of my observations:
> 
> 1. With kernel 2.6.15.4, my system does not get suspended to disk with
> the PCMCIA card plugged in. I went through the mailing list and found a
> mail thread desribing the same.
> http://lists.infradead.org/pipermail/linux-pcmcia/2006-January/003123.ht
> ml
> 
> This seems to be the breakage in resume path and not fixed in 2.6.15.4.
> So the final thing is, I have to remove my PCMCIA card before trying to
> suspend my system to disk.
> 
> 2. With the kernel 2.6.16.28, the above breakage seems to be fixed. So I
> tried suspending my system to disk with my PCMCIA card plugged in but
> without any device connected to the USB port of the PCMCIA card. This
> works fine. My system responds fine, suspends to disk properly and
> resumes back as well.
> 
> 3. Now I try a step ahead and tried suspending the system to disk with
> the PCMCIA card plugged in as well as a USB speaker/webcam connected to
> the USB port of PCMCIA card. This also works fine. My system is
> suspended and resumed properly.
> 
> 4. Now again going a step ahead. I plugged in my PCMCIA card, then I
> connected a USB speaker to the USB port of the card and started playing
> a song. Now I suspended the system to disk while the transfer was in
> progress( song was being played). But this time my system hangs. This
> happens with other isochronous devices like webcam and bulk device like
> USB key as well. So suspend to disk fails if any USB transfer is in
> progress ( through the USB port of my PCMCIA card).
> 
> I tried debugging the problem and used kdb to find out the reason. For
> all the devices I found out the following thing :
> 
> The system hangs in following path: usb_disconnect -->
> usb_disable_device --> put_device.
> After put_device the system hangs. As I was in kdb mode I could not save
> the stack trace.
> 
> Is it a known kernel problem with 2.6.16.28 ? Please suggest.

Reproduce it with 2.6.18, then it is bugzilla time, or post to
linux-usb mailing list.
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2006-10-01 17:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-28 11:16 Suspend to disk with PCMCIA card plugged in with kernel 2.6.16.28 rasmit.ranjan
2006-10-01 17:05 ` Pavel Machek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-10-03  5:50 rasmit.ranjan
2006-10-03 22:02 ` Pavel Machek

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=20061001170509.GD2254@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=deepti.chotai@wipro.com \
    --cc=linux-pm@lists.osdl.org \
    --cc=rasmit.ranjan@wipro.com \
    /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