public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nigel Cunningham <ncunningham@linuxmail.org>
To: Oliver Neukum <oliver@neukum.org>
Cc: Pavel Machek <pavel@ucw.cz>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Swsusp hanging the second time
Date: Thu, 06 Jan 2005 09:02:58 +1100	[thread overview]
Message-ID: <1104962577.3127.22.camel@desktop.cunninghams> (raw)
In-Reply-To: <200501052204.34646.oliver@neukum.org>

Hi.

That makes perfect sense: If you get a hang the second time, it's
generally because something loaded during the first resume didn't handle
the suspend properly, and is in a 'bad' state now. USB and DRI are the
main sources of those issues at the moment. The solution would be to
stop usb and unload the drivers prior to suspending, and reload/restart
afterwards. I do this with my USB mouse (having switched to a text
console) with no ill effects. YMMV.

Regards,

Nigel

On Thu, 2005-01-06 at 08:04, Oliver Neukum wrote:
> Am Dienstag, 4. Januar 2005 12:08 schrieb Pavel Machek:
> > Hi!
> > 
> > > there's a second, more serious problem with this laptop. It hangs the
> > > in the second swsusp cycle on suspension.
> > > As before 2.6.10, i386/UP/no highmem.
> > > On the screen I get the two messages "radeonfb resumed!" and
> > > "setting latency" superimposed and it hangs forever. This is a regression
> > > the previous user commented: "It worked under 2.6.6"
> > 
> > Unless it was on the same hardware/config, I'd not call it regression.
> > 
> > Anyway two suspends in the row seem to work here on 2.6.10+my
> > patches. I suspect you have problems with some more obscure driver.
> > 
> > Can you try going with minimal driver config to see if it is
> > reproducible? If it is broken even with minimal drivers, I'll try
> > harder to reproduce it here (but I believe it will just go away).
> 
> The culprit seems to be EHCI, possibly together with UHCI only.
> 
> 0000:00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 03) (prog-if 00 [UHCI])
>         Subsystem: Toshiba America Info Systems: Unknown device ff10
>         Flags: bus master, medium devsel, latency 0, IRQ 11
>         I/O ports at 1200 [size=32]
> 
> 0000:00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 03) (prog-if 00 [UHCI])
>         Subsystem: Toshiba America Info Systems: Unknown device ff10
>         Flags: bus master, medium devsel, latency 0, IRQ 11
>         I/O ports at 1220 [size=32]
> 
> 0000:00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 03) (prog-if 00 [UHCI])
>         Subsystem: Toshiba America Info Systems: Unknown device ff10
>         Flags: bus master, medium devsel, latency 0, IRQ 11
>         I/O ports at 1240 [size=32]
> 
> 0000:00:1d.7 USB Controller: Intel Corp. 82801DB USB2 (rev 03) (prog-if 20 [EHCI])
>         Subsystem: Toshiba America Info Systems: Unknown device ff10
>         Flags: bus master, medium devsel, latency 0
>         Memory at f4000000 (32-bit, non-prefetchable)
>         Capabilities: <available only to root>
> 
> 	Regards
> 		Oliver
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
-- 
Nigel Cunningham
Software Engineer, Canberra, Australia
http://www.cyclades.com

Ph: +61 (2) 6292 8028      Mob: +61 (417) 100 574


      reply	other threads:[~2005-01-05 22:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-04 10:54 Swsusp hanging the second time Oliver Neukum
2005-01-04 11:08 ` Pavel Machek
2005-01-04 18:05   ` Oliver Neukum
2005-01-05 21:04   ` Oliver Neukum
2005-01-05 22:02     ` Nigel Cunningham [this message]

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=1104962577.3127.22.camel@desktop.cunninghams \
    --to=ncunningham@linuxmail.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oliver@neukum.org \
    --cc=pavel@ucw.cz \
    /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