LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
To: <trenn@suse.de>, "Sanjeev Aditya Naga" <sanjeev.kernel@gmail.com>
Cc: "Andrew Morton" <akpm@linux-foundation.org>,
	<linux-kernel@vger.kernel.org>, <linux-acpi@vger.kernel.org>,
	"Li, Shaohua" <shaohua.li@intel.com>
Subject: RE: [>=2.6.23][BUG] Oops on power disconnection
Date: Thu, 3 Apr 2008 17:31:12 -0700	[thread overview]
Message-ID: <924EFEDD5F540B4284297C4DC59F3DEED0EA3C@orsmsx423.amr.corp.intel.com> (raw)
In-Reply-To: <1207256678.6024.90.camel@linux-2bdv.site>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 4219 bytes --]

 

>-----Original Message-----
>From: Thomas Renninger [mailto:trenn@suse.de] 
>Sent: Thursday, April 03, 2008 2:05 PM
>To: Sanjeev Aditya Naga
>Cc: Andrew Morton; linux-kernel@vger.kernel.org; 
>linux-acpi@vger.kernel.org; Pallipadi, Venkatesh; Li, Shaohua
>Subject: Re: [>=2.6.23][BUG] Oops on power disconnection
>
>
>On Thu, 2008-04-03 at 21:45 +0530, Sanjeev Aditya Naga wrote:
>> Hello Thomas,
>> 
>> On Wed, Apr 2, 2008 at 11:42 PM, Thomas Renninger 
><trenn@suse.de> wrote:
>> >
>> > On Wed, 2008-04-02 at 21:43 +0530, Sanjeev Aditya Naga wrote:
>> >  > Hello Thomas,
>> >  >
>> >  > > Hi,
>> >  > >
>> >  > >
>> >  > >  On Wed, 2008-04-02 at 18:38 +0530, Sanjeev Aditya Naga wrote:
>> >  > >  > Hello Andrew Morton,
>> >  > >  >
>> >  > >  > Greetings!
>> >  > >  >
>> >  > >  > Thank you for the update. Is there anything I can do
>> >  > >  > from my side?
>> >  > >  >
>> >  > >  > I thought it was a acpi (dsdt) problem. And based on
>> >  > >  > a tutorial, I have tried to extract, fix, 
>recompile the dsdt
>> >  > >  > and use it with the kernel. But still I have the 
>same problem.
>> >  > >  > Let me know if I shall attach the dsdt (original) 
>decompiled
>> >  > >  > code, if that helps.
>> >  > >
>> >  > >  this could be due a general memory corruption 
>problem through ACPICA.
>> >  > >  If you get different backtraces on reboots even you 
>only modified things
>> >  > >  that do not have to do with the problem, it's 
>probably that and related
>> >  > >  to:
>> >  > >  http://bugzilla.kernel.org/show_bug.cgi?id=10339
>> >  > >
>> >  > >  You might want to try the latest kernel or the patch 
>posted there.
>> >  >
>> >  > Thank you for the update.
>> >  > I have checked the bug and unfortunately its not the
>> >  > same issue. Things work absolutely fine, when I'm
>> >  > running on AC power. It even displays the exact
>> >  > battery (and charging) status to me. It messes up
>> >  > when suddenly AC power gets disconnected and
>> >  > switches to battery mode (The time when I get Oops).
>> >  > The system is still usable after switching to battery
>> >  > mode and I still get correct battery stats until its
>> >  > completely discharged. However most of the commands
>> >  > like kill, poweroff, java doesn't work after the Oops.
>> >  The bug is not related to battery, but to AML parsing and 
>can therefore
>> >  affect anything which is ACPI related.
>> >
>> >
>> >  > BTW there is one similarity with the referenced bug.
>> >  > If I boot the computer without AC Power, it gives the
>> >  > same Oops and stops during booting itself.
>> >  >
>> >  > I shall try the latest kernel once and shall update you.
>> >  That would be great.
>> >  If it works, please give the patch there a try, IMO this 
>one should see
>> >  2.6.2[34].X stable kernels soon.
>> 
>> I have got the lastest kernel 2.6.25-rc8 today. I observed that
>> the referenced patch is already in the kernel. However this didn't
>> solve the problem in question. I get the same Oops on this kernel
>> as well. Find the latest dmesg along with the Oops:
>Ok.
>Maybe best is you document the backtraces/oopses with kernel 
>versions at
>bugzilla.kernel.org and add dmesg and acpidump.
>It seems your machine notifies OS that the C-state table changed.
>AFAIK this is rare and there might be a general bug in the 
>cpuidle layer
>which I do not know well.
>Best you add Venkatesh and Shaohua Li <shaohua.li@intel.com> to CC of
>the bug.
>While the backtrace shows a lot, cpuidle IMO is missing a general debug
>option like in the cpufreq layer.
>I couldn't find a single printk in the whole cpuidle/{cpuidle,sysfs}.c
>files, even on error paths. Also in the cpuidle specific parts of
>drivers/acpi/processor_idle.c some debug printks may help for 
>future bug
>reports. It is very hard to guess what happened...
>

This looks like cpuidle and kobject interaction.
The latest oops looks different from the original one. Latest one is a
warn_on in lib/kref.c:43

We (Me or Shaohua) will take a deeper look at get back on this.

Thanks,
Venki

ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

  reply	other threads:[~2008-04-04  0:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5681ec900803300645l5369cda4g119957a4b7f05d17@mail.gmail.com>
2008-03-30 13:51 ` Sanjeev Aditya Naga
2008-03-31  4:00   ` Sanjeev Aditya Naga
2008-04-02  7:14   ` Andrew Morton
2008-04-02 13:08     ` Sanjeev Aditya Naga
2008-04-02 14:48       ` Thomas Renninger
2008-04-02 16:13         ` Sanjeev Aditya Naga
2008-04-02 18:12           ` Thomas Renninger
2008-04-03 16:15             ` Sanjeev Aditya Naga
2008-04-03 21:04               ` Thomas Renninger
2008-04-04  0:31                 ` Pallipadi, Venkatesh [this message]
2008-04-05 18:05                   ` Sanjeev Aditya Naga
2008-04-05 13:15                 ` Sanjeev Aditya Naga
2008-05-03  9:55                   ` Sanjeev Aditya Naga

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=924EFEDD5F540B4284297C4DC59F3DEED0EA3C@orsmsx423.amr.corp.intel.com \
    --to=venkatesh.pallipadi@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sanjeev.kernel@gmail.com \
    --cc=shaohua.li@intel.com \
    --cc=trenn@suse.de \
    --subject='RE: [>=2.6.23][BUG] Oops on power disconnection' \
    /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

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).