From: Jiri Slaby <jirislaby@gmail.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: r.marek@assembler.cz,
Kernel development list <linux-kernel@vger.kernel.org>,
lm-sensors@lm-sensors.org,
Andrew Morton <akpm@linux-foundation.org>,
Linux-pm mailing list <linux-pm@lists.linux-foundation.org>
Subject: Re: broken suspend [Was: 2.6.24-rc2-mm1]
Date: Sun, 18 Nov 2007 23:27:02 +0100 [thread overview]
Message-ID: <4740BC36.2070200@gmail.com> (raw)
In-Reply-To: <47408DFF.9070701@gmail.com>
Aah, we probably should let coretemp people known.
Whole thread:
http://marc.info/?t=119507205800001&r=1&w=2
On 11/18/2007 08:09 PM, Jiri Slaby wrote:
> On 11/18/2007 06:07 PM, Alan Stern wrote:
>> You'll get more useful results if you redo your changes to
>> notifier_call_chain(). Have it print out the address of the routine
>> _before_ making the call, and don't limit it to 20. That way you'll
>> know exactly which notifier routine ends up hanging.
>
> The problem is, that notifier_call_chain is called again and again zillion times
> by somebody else...
>
> Anyway you led me to another idea:
> * _cpu_down
> printk("%s: u\n", __func__);
> BUBAK=1;
> /* CPU is completely dead: tell everyone. Too late to complain. */
> if (raw_notifier_call_chain(&cpu_chain, CPU_DEAD | 0x88000 | mod,
> hcpu) == NOTIFY_BAD)
> BUG();
> BUBAK=0;
> -----
> * notifier_call_chain
> unsigned int a = val & 0x88000;
> unsigned int yes = a == 0x88000;
>
> nb = rcu_dereference(*nl);
>
> if (a && a != 0x88000)
> printk("Somebody calls with val: %lx\n", val);
> else
> val &= ~0x88000;
>
> while (nb && nr_to_call) {
> next_nb = rcu_dereference(nb->next);
> if (unlikely(BUBAK && yes))
> printk("%s: %p\n", __func__, nb->notifier_call);
> ret = nb->notifier_call(nb, val, v);
> -----
> gives coretemp_cpu_callback -> coretemp_device_remove ->
> platform_device_unregister, so coretemp seems to be what I have and you don't.
Just in case you are curious:
http://www.fi.muni.cz/~xslaby/sklad/susp_hang3.diff
produces:
http://www.fi.muni.cz/~xslaby/sklad/susp_hang3.png
next prev parent reply other threads:[~2007-11-18 22:27 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.44L0.0711181203220.5712-100000@netrider.rowland.org>
2007-11-18 19:09 ` broken suspend [Was: 2.6.24-rc2-mm1] Jiri Slaby
[not found] ` <200711182328.00570.rjw@sisk.pl>
2007-11-18 22:12 ` Jiri Slaby
[not found] ` <4740B8E9.4030903@gmail.com>
2007-11-18 22:42 ` Rafael J. Wysocki
2007-11-18 22:27 ` Jiri Slaby [this message]
2007-11-19 3:04 ` Alan Stern
2007-11-18 22:27 ` Rafael J. Wysocki
[not found] <Pine.LNX.4.44L0.0711182156330.22727-100000@netrider.rowland.org>
2007-11-19 20:01 ` Rudolf Marek
[not found] ` <4741EB91.9080000@assembler.cz>
2007-11-19 20:27 ` Alan Stern
2007-11-19 21:53 ` Rafael J. Wysocki
[not found] <4740570A.5030101@gmail.com>
2007-11-18 17:07 ` Alan Stern
[not found] <Pine.LNX.4.44L0.0711171649100.7748-100000@netrider.rowland.org>
2007-11-18 12:42 ` Jiri Slaby
[not found] ` <4740332A.80002@gmail.com>
2007-11-18 13:06 ` Jiri Slaby
[not found] ` <474038C9.3040002@gmail.com>
2007-11-18 13:42 ` Rafael J. Wysocki
[not found] ` <200711181442.09917.rjw@sisk.pl>
2007-11-18 13:53 ` Jiri Slaby
[not found] ` <474043EC.4000700@gmail.com>
[not found] ` <200711181603.26522.rjw@sisk.pl>
2007-11-18 14:49 ` Jiri Slaby
[not found] ` <474050EC.5080507@gmail.com>
[not found] ` <200711181623.20029.rjwysocki@sisk.pl>
2007-11-18 15:15 ` Jiri Slaby
2007-11-18 15:23 ` Rafał J. Wysocki
2007-11-18 15:03 ` Rafael J. Wysocki
[not found] <200711172137.18784.rjw@sisk.pl>
2007-11-17 21:58 ` Alan Stern
[not found] <Pine.LNX.4.44L0.0711161058170.2738-100000@iolanthe.rowland.org>
2007-11-17 15:08 ` Jiri Slaby
[not found] ` <473F03DF.4020306@gmail.com>
2007-11-17 15:12 ` Jiri Slaby
2007-11-17 16:13 ` Alan Stern
2007-11-17 20:37 ` Rafael J. Wysocki
[not found] <20071116003836.GA24490@kroah.com>
2007-11-16 16:10 ` Alan Stern
[not found] <20071113175906.497a1a6a.akpm@linux-foundation.org>
[not found] ` <473B5987.60904@gmail.com>
[not found] ` <200711142248.59547.rjw@sisk.pl>
2007-11-15 23:59 ` Jiri Slaby
[not found] ` <473CDD6D.8080008@gmail.com>
2007-11-16 0:38 ` Greg KH
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=4740BC36.2070200@gmail.com \
--to=jirislaby@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=lm-sensors@lm-sensors.org \
--cc=r.marek@assembler.cz \
--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