public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
To: "Yu, Luming" <luming.yu@intel.com>
Cc: linux-kernel@vger.kernel.org, Linus Torvalds <torvalds@osdl.org>,
	Andrew Morton <akpm@osdl.org>,
	Tom Seeley <redhat@tomseeley.co.uk>,
	Dave Jones <davej@redhat.com>, Jiri Slaby <jirislaby@gmail.com>,
	michael@mihu.de, mchehab@infradead.org,
	Brian Marete <bgmarete@gmail.com>,
	Ryan Phillips <rphillips@gentoo.org>,
	gregkh@suse.de, "Brown, Len" <len.brown@intel.com>,
	linux-acpi@vger.kernel.org, Mark Lord <lkml@rtr.ca>,
	Randy Dunlap <rdunlap@xenotime.net>,
	jgarzik@pobox.com, Duncan <1i5t5.duncan@cox.net>,
	Pavlik Vojtech <vojtech@suse.cz>, Meelis Roos <mroos@linux.ee>
Subject: Re: 2.6.16-rc5: known regressions [TP 600X S3, vanilla DSDT]
Date: Tue, 21 Mar 2006 15:37:23 -0500	[thread overview]
Message-ID: <E1FLnbX-0001Ge-QW@approximate.corpus.cam.ac.uk> (raw)
In-Reply-To: Your message of "Tue, 21 Mar 2006 17:11:29 +0800." <3ACA40606221794F80A5670F0AF15F840B417863@pdsmsx403>

The following tests all have acpi_evaluate_integer() hacked to return
_TMP=27C.

>> The kernel panic for the don't-load-THM2 kernel is very strange.  I
>> had another kernel panic while doing another set of tests, which I
>> also couldn't explain.  The only difference between the no-THM0 and
>> the no-THM2 kernels is:

> Could you just printk device->pnp? it could be null point (due to you
> hack?)

device->pnp is a struct and I couldn't figure out how to printk it, so
I just printk'ed device->pnp.bus_id (most of its other elements aren't
initialized by then anyway):

diff -r ac486e270597 -r 8b088512dd1d drivers/acpi/thermal.c
--- a/drivers/acpi/thermal.c	Sat Mar 18 08:35:34 2006 -0500
+++ b/drivers/acpi/thermal.c	Tue Mar 21 11:32:31 2006 -0500
@@ -1324,6 +1324,7 @@ static int acpi_thermal_add(struct acpi_
 
 	if (!device)
 		return_VALUE(-EINVAL);
+	printk(KERN_INFO PREFIX "pnp.bus_id=0x%x\n", (u32) device->pnp.bus_id);
 
 	tz = kmalloc(sizeof(struct acpi_thermal), GFP_KERNEL);
 	if (!tz)

It produced nothing surprising:

ACPI: pnp.bus_id=0xe3ed7830
ACPI: pnp.bus_id=0xe3ed7430
ACPI: pnp.bus_id=0xe3ed7030
ACPI: pnp.bus_id=0xe3ed8c30
ACPI: pnp.bus_id=0xe3ed4030

for THM0,2,6,7, and _TZ.

So I still don't know why getting rid of THM2 in the kernel causes the
panic.

But while I had this kernel booted, I tried a few sleep cycles, and it
hung on the second one as expected (it's just the vanilla kernel&DSDT
with acpi_evaluate_integer() hacked to return _TMP=27C).

>> THM6			Hangs (4th cycle)
> Is it still hang at SMPI?

It looked like the usual hang, but I had debug_{layer,level}=0x10.  I
increased debug_layer to 0xFFFFFFFF it to see the function traces.
However, the hang didn't occur even after 15 cycles. So I rebooted with
debug_layer=0x10 and still couldn't reproduce the hang even after 12
cycles.  But the same kernel hung yesterday after 4 cycles [I save all
the kernels tagged by their revision hash], so I don't know what to
think about THM6.

>> THM2			"kernel panic! attempted to kill init"

> I guess, if you fake DSDT by completely removing THM2 you won't see
> this.

Right, it booted fine when I removed THM2 from the DSDT instead of from
the kernel.

>> So THM6 seems healthy, but THM0 and THM7 (and maybe THM2) interact
>> badly.  If I unload THM2, THM6, and THM7, then it's okay (previous
>> experiments with faking _TMP but with only THM0 loaded).  But
>> unloading THM6 is not enough.

> Please try to remove THM2 judge if it is JUST the problem of THM0 &&
> THM7.

I tried the kernel with THM2 taken out of the DSDT, and it was fine (so
the total change was that plus _TMP faked in acpi_evaluate_integer()).

-Sanjoy

`A society of sheep must in time beget a government of wolves.'
   - Bertrand de Jouvenal

  reply	other threads:[~2006-03-21 20:38 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-21  9:11 2.6.16-rc5: known regressions [TP 600X S3, vanilla DSDT] Yu, Luming
2006-03-21 20:37 ` Sanjoy Mahajan [this message]
2006-03-21 22:09 ` Sanjoy Mahajan
  -- strict thread matches above, loose matches on Subject: below --
2006-05-23 13:29 Yu, Luming
2006-05-23 17:12 ` Sanjoy Mahajan
2006-04-05  3:03 Yu, Luming
2006-03-24  1:31 Yu, Luming
2006-04-04  6:49 ` Sanjoy Mahajan
2006-03-23  9:10 Yu, Luming
2006-03-23 19:19 ` Sanjoy Mahajan
2006-03-23  4:46 Yu, Luming
2006-03-23  6:25 ` Sanjoy Mahajan
2006-03-22  7:28 Yu, Luming
2006-03-22 14:16 ` Sanjoy Mahajan
2006-03-22  4:58 Yu, Luming
2006-03-22  5:13 ` Sanjoy Mahajan
2006-03-24  1:17 ` Sanjoy Mahajan
2006-03-22  1:34 Yu, Luming
2006-03-22  7:00 ` Sanjoy Mahajan
2006-03-22  1:30 Yu, Luming
2006-03-22  4:35 ` Sanjoy Mahajan
2006-03-22  7:15 ` Sanjoy Mahajan
2006-03-21  1:38 Yu, Luming
2006-03-21  7:27 ` Sanjoy Mahajan
2006-03-21  8:47 ` Sanjoy Mahajan
2006-03-19  4:12 Yu, Luming
2006-03-19 14:33 ` Sanjoy Mahajan
2006-03-20  6:39 ` Sanjoy Mahajan
2006-03-18 17:08 Yu, Luming
2006-03-18 20:12 ` Sanjoy Mahajan
2006-03-18 16:37 Yu, Luming
2006-03-18 17:03 ` Sanjoy Mahajan
2006-03-18 15:58 Yu, Luming
2006-03-18 16:27 ` Sanjoy Mahajan
2006-03-18 15:10 Yu, Luming
2006-03-18 15:48 ` Sanjoy Mahajan
2006-03-18 13:24 Yu, Luming
2006-03-18 14:37 ` Sanjoy Mahajan
2006-03-18  2:02 Yu, Luming
2006-03-18  7:23 ` Sanjoy Mahajan
2006-03-17  7:50 Yu, Luming
2006-03-17 18:43 ` Sanjoy Mahajan
2006-03-17  6:57 Yu, Luming
2006-03-17  7:11 ` Sanjoy Mahajan
2006-03-17  7:32 ` Sanjoy Mahajan
2006-03-17  1:17 Yu, Luming
2006-03-17  6:28 ` Sanjoy Mahajan
2006-03-16  8:18 Yu, Luming
2006-03-16 15:15 ` Sanjoy Mahajan
2006-03-16  7:28 Yu, Luming
2006-03-16  7:57 ` Sanjoy Mahajan
2006-03-16  6:41 Yu, Luming
2006-03-16  6:54 ` Sanjoy Mahajan
2006-03-16  7:14 ` Sanjoy Mahajan
2006-03-15  8:02 Yu, Luming
2006-03-16  0:03 ` Sanjoy Mahajan
2006-03-16  5:47 ` Sanjoy Mahajan
2006-03-16  6:46 ` Sanjoy Mahajan
2006-03-15  6:47 Yu, Luming
2006-03-15  7:06 ` Sanjoy Mahajan
2006-03-15  6:25 Yu, Luming
2006-03-15  6:16 Yu, Luming
2006-03-15  6:35 ` Sanjoy Mahajan
2006-03-15  1:46 Yu, Luming
2006-03-15  5:40 ` Sanjoy Mahajan
2006-03-15  5:57 ` Sanjoy Mahajan
2006-03-14  1:48 Yu, Luming
2006-03-14  8:28 ` Sanjoy Mahajan
2006-03-13  8:35 Yu, Luming
2006-03-13 15:21 ` Sanjoy Mahajan
2006-03-13  4:51 Yu, Luming
2006-03-13  7:28 ` Sanjoy Mahajan
2006-03-13  2:00 Yu, Luming
2006-03-13  4:38 ` Sanjoy Mahajan
2006-03-10  6:46 Yu, Luming
2006-03-10 13:27 ` Sanjoy Mahajan
2006-03-10 13:36 ` Sanjoy Mahajan
2006-03-10  6:12 Yu, Luming
2006-03-10  6:27 ` Sanjoy Mahajan
2006-02-27  9:04 2.6.16-rc5: known regressions Yu, Luming
2006-03-10  5:26 ` 2.6.16-rc5: known regressions [TP 600X S3, vanilla DSDT] Sanjoy Mahajan
2006-05-19 13:44   ` Thomas Renninger
2006-05-21  0:12     ` Sanjoy Mahajan
2006-05-21  0:40       ` Carl-Daniel Hailfinger
2006-05-22  9:55       ` 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=E1FLnbX-0001Ge-QW@approximate.corpus.cam.ac.uk \
    --to=sanjoy@mrao.cam.ac.uk \
    --cc=1i5t5.duncan@cox.net \
    --cc=akpm@osdl.org \
    --cc=bgmarete@gmail.com \
    --cc=davej@redhat.com \
    --cc=gregkh@suse.de \
    --cc=jgarzik@pobox.com \
    --cc=jirislaby@gmail.com \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@rtr.ca \
    --cc=luming.yu@intel.com \
    --cc=mchehab@infradead.org \
    --cc=michael@mihu.de \
    --cc=mroos@linux.ee \
    --cc=rdunlap@xenotime.net \
    --cc=redhat@tomseeley.co.uk \
    --cc=rphillips@gentoo.org \
    --cc=torvalds@osdl.org \
    --cc=vojtech@suse.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