linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Zdenek Kabelac" <zdenek.kabelac@gmail.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: "Maciej Rutecki" <maciej.rutecki@gmail.com>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	"Henrique de Moraes Holschuh" <hmh@hmh.eng.br>
Subject: Re: 2.6.29-rc1 does not resume on Lenove T61
Date: Mon, 12 Jan 2009 13:50:12 +0100	[thread overview]
Message-ID: <c4e36d110901120450q10278979j5cf726a5175cc3f1@mail.gmail.com> (raw)
In-Reply-To: <200901121340.21009.rjw@sisk.pl>

2009/1/12 Rafael J. Wysocki <rjw@sisk.pl>:
> On Monday 12 January 2009, Zdenek Kabelac wrote:
>> 2009/1/12 Rafael J. Wysocki <rjw@sisk.pl>:
>> > On Sunday 11 January 2009, Zdenek Kabelac wrote:
>> >> 2009/1/11 Maciej Rutecki <maciej.rutecki@gmail.com>:
>> >> > 2009/1/11 Zdenek Kabelac <zdenek.kabelac@gmail.com>:
>> >> >> Hi
>> >> >>
>> >> >> I've booted and tested 2.6.29-rc1 (c59765042f53a79a7a65585042ff463b69cb248c)
>> >> >>
>> >> >> I've observed that suspend is unusable - it goes to sleep - the sleep
>> >> >> LED is on. After few secs system turns on back itself - and stays in
>> >> >> some frozen state
>> >> >
>> >> > A have similar situation, one difference: I get blank screen during
>> >> > resume from suspend to ram. Also sometimes, like You, system turns on
>> >> > back itself.
>> >> >
>> >>
>> >> So it looks like reverting this commit:
>> >>
>> >> http://marc.info/?l=linux-kernel&m=123140019117968&w=4
>> >> (6fd9086a518d4f14213a32fe6c9ac17fabebbc1e)
>> >> (which is already a tracked regression)
>> >> fixes the problem with auto-resume
>> >>
>> >> But the problem with deadlock in the resume phase is still there.
>> >
>> > Please check if unloading all of the USB controller modules before suspend
>> > helps.
>>
>> I've booted to single mode without   usbcore module (thus any load of
>> other usb modules fails)
>> (removed from initramdisk as well)
>>
>> This time the resume stops with these 3 lines (I'm using
>> no_console_suspend kernel option):
>>
>> ....
>> thinkpad_acpi  thinkpad_acpi: EARLY resume
>> thinkpad_hwmon  thinkpad_hwmon: EARLY resume
>> Enabling non-boot CPUs...
>
> So it seems we have broken CPU hotplug again.
>
> Does disabling/enabling CPU1 using
> /sys/devices/system/cpu/cpu1/online work?
>
> If it does, please boot with 'no_console_suspend' in the kernel command line,
> run:
>
> # echo core > /sys/power/pm_test
> # echo 8 > /proc/sys/kernel/printk
> # echo mem > /sys/power/state
>
> and see what happens (you need to have PM_DEBUG set in the kernel .config).
>
> Please send dmesg output generated right after the above (if it works).


I've taken from another Ingo's thread the idea to revert patch:

7503bfbae89eba07b46441a5d1594647f6b8ab7d


With this patch reverted and  o/e/uhci_hcd & usbhid modules removed
before pm-suspend
(usbcore could be loaded, I've not trace which one of those usb
modules makes the problem)
my system resumes properl again.

Zdenek

PS: I'll do the above 'echo' trace later (being busy right now).

  reply	other threads:[~2009-01-12 12:50 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-11 19:52 2.6.29-rc1 does not resume on Lenove T61 Zdenek Kabelac
2009-01-11 20:15 ` Maciej Rutecki
2009-01-11 22:59   ` Zdenek Kabelac
2009-01-12  8:03     ` Rafael J. Wysocki
2009-01-12  9:15       ` Maciej Rutecki
2009-01-12  9:23         ` Oliver Neukum
2009-01-12 12:14       ` Zdenek Kabelac
2009-01-12 12:40         ` Rafael J. Wysocki
2009-01-12 12:50           ` Zdenek Kabelac [this message]
2009-01-12 17:19             ` Rafael J. Wysocki
2009-01-13 22:36               ` Zdenek Kabelac
2009-01-13 22:41                 ` Zdenek Kabelac
2009-01-19  9:54                   ` Zdenek Kabelac
2009-01-19 15:59                     ` Dmitry Adamushko
2009-01-19 16:13                       ` Ingo Molnar
2009-01-19 16:41                         ` Dmitry Adamushko
2009-01-19 16:44                           ` Ingo Molnar
2009-01-19 19:25                             ` Rafael J. Wysocki
2009-01-19 22:31                               ` Zdenek Kabelac
2009-01-19 23:49                                 ` Ingo Molnar
2009-01-20 10:41                                   ` Zdenek Kabelac
2009-01-20 11:48                                     ` Zdenek Kabelac
2009-01-20 11:55                                       ` Ingo Molnar
2009-01-22 15:14                                         ` Zdenek Kabelac
2009-01-22 21:17                                           ` Rafael J. Wysocki
2009-01-28 11:05                                             ` Zdenek Kabelac
2009-02-02 14:41                                               ` Zdenek Kabelac
2009-01-13 14:04             ` Michal Hocko
2009-01-12  0:48   ` Heiko Carstens

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=c4e36d110901120450q10278979j5cf726a5175cc3f1@mail.gmail.com \
    --to=zdenek.kabelac@gmail.com \
    --cc=hmh@hmh.eng.br \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maciej.rutecki@gmail.com \
    --cc=rjw@sisk.pl \
    /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;
as well as URLs for NNTP newsgroup(s).