linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bjorn Helgaas <bhelgaas@google.com>
To: nick bray <nick.bray1@ntlworld.com>
Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org,
	lenb@kernel.org, Zhao Yakui <yakui.zhao@intel.com>,
	Zhang Rui <rui.zhang@intel.com>, Thomas Renninger <trenn@suse.de>
Subject: Re: kernel panic
Date: Wed, 26 Oct 2011 12:10:07 -0600	[thread overview]
Message-ID: <CAErSpo4_epbHEAH3Ah=07NZFjqQedUcMXh+cxTSJ4Mp9KhvfPw@mail.gmail.com> (raw)
In-Reply-To: <4EA83F5D.20001@ntlworld.com>

On Wed, Oct 26, 2011 at 11:11 AM, nick bray <nick.bray1@ntlworld.com> wrote:
> On 26/10/11 17:18, Bjorn Helgaas wrote:
>>
>> On Wed, Oct 26, 2011 at 9:33 AM, nick bray<nick.bray1@ntlworld.com>
>>  wrote:
>>>
>>> On 26/10/11 15:53, Bjorn Helgaas wrote:
>>>>
>>>> On Wed, Oct 26, 2011 at 4:00 AM, Len Brown<lenb417@gmail.com>    wrote:
>>>>>>>
>>>>>>>  after upgrading to linux kernel 3.xx I get kernel panic on boot
>>>>>>> unless
>>>>>>> I
>>>>>>> use ACPI=off in the boot parameters this happens with both Ubuntu
>>>>>>> 11.10
>>>>>>> and
>>>>>>> Fedora 16. The mainboard is an Intel S875WP1-E running a Pentuim 4
>>>>>>> 3ghz
>>>>>>> with
>>>>>>> 3gig RAM in single-channel mode. I have performed a Bios upgrade just
>>>>>>> in
>>>>>>> case tha ACPI tables were corrupt but it makes no difference.
>>>>>>> Currently
>>>>>>> running 2.6.38-11-generic #50-Ubuntu SMP (Linux Mint) with no issues.
>>>>>
>>>>> Is this problem new in 3.1, or is it also present in 2.6.39 or 3.0?
>>>>>
>>>>> Also, do any other cmdline parmaters besides acpi=off work-around it?
>>>>> pci=noacpi
>>>>> maxcpus=1
>>>>>
>>>>> etc.
>>>>
>>>> Please keep all the cc's when responding.  Saves you work, saves us work
>>>> :)
>>>>
>>>> Summary of what I think you're seeing (please correct if wrong):
>>>>
>>>> 2.6.38 (Ubuntu/Mint): works fine, even with no boot args
>>>> 2.6.38 (Fedora 15): works fine, even with no boot args
>>>> 2.6.40? (Fedora 15 with upgraded kernel): requires "acpi=off" to boot
>>>> 3.0.0-12 (Ubuntu/Mint): requires "acpi=off" or "maxcpus=1" to boot.
>>>> "pci=noacpi" makes no difference.  with no arguments, panics as in
>>>> attached screenshot.
>>>> 3.1.0-0.rc6 (Fedora 16 live CD): can't find root device, drops to
>>>> debug shell, even with "maxcpus=1"
>>>>
>>>> Let's focus on Ubuntu and forget Fedora for now.
>>>>
>>>> The screenshot you sent (attached) has a clue ("EIP: [<00000000>] 0x0
>>>> SS:ESP 007b:00000046 CR2: 00000000ffffffff, Fatal exception in
>>>> interrupt") but doesn't really have enough context.  I should have
>>>> suggested booting with "vga=0xf07".  That will use a smaller font, so
>>>> the photo can capture more information.  Can you try that?  You might
>>>> have to use a lower jpg quality setting or resave with gimp at a low
>>>> quality setting to make the size 100K or less for the mailing lists.
>>>>
>>>> If you can boot 3.0.0-12 with "maxcpus=1", collect the dmesg log and
>>>> maybe we can compare it with the new "vga=0xf07" screenshot.
>>>
>>>            your summary is correct. Please see new screenshot taken with
>>> a
>>> better camera with the light off! Also I have resized it to>100k  Though
>>> I
>>> can't see a difference in the txt size even though I used vga=0xf07. also
>>> attached dmesg from Ubuntu 11.10 with maxcpus=1. Thank you for the time
>>> and
>>> interest. :)
>>
>> Please use reply-all... it saves work for everybody!
>>
>> Dunno why vga= doesn't do anything.  But this panic is different from
>> the first (and probably more useful).  Looks like this problem might
>> be in the acpi_processor_add() path, which might explain why
>> "maxcpus=1" makes a difference.
>>
>> I added cc: to a few people who have recently changed the ACPI processor
>> driver.
>>
>> Are you able to build test kernels yourself?  If so, you could
>> sprinkle printks() in acpi_processor_add(), maybe with some
>> mdelay(100) calls to slow things down.
>>
>> There's also a "boot_delay=" parameter that supposedly slows down boot
>> printks.  I haven't had much luck with it myself, but "boot_delay=100"
>> or so might allow you to get more snapshots of the beginning of the
>> stacktrace.
>>
>> Bjorn
>
> ok reply all it is, I'm sorry I've never needed to report something like
> this before. I've been using Linux now for around 10 years and consider
> myself reasonably competent at configuration and suchlike but never
> successfully built a kernel (I'm not a coder/programmer), something tells me
> that now is probably not a good time to try. ;)
>
> anyway here is a whole bunch of jpegs taken with boot_delay=100 I'm afraid
> they're not contiguous as some of they were too blurred to bother sending. I
> hope the info is useful.

Perfect, thanks!  Manual transcription of the interesting parts:

...
Brought up 2 CPUs
...
ACPI: Power Button [PWRF]
BUG: unable to handle kernel paging request at 00010282
IP: [<00010282>] 0x10281
*pde = 00000000
Oops: 0000 [#1] SMP
...
Pid: 1, comm: swapper Not tainted 3.0.0-12-generic #20-Ubuntu
EIP: 0060:[<00010282>] EFLAGS: 00010282 CPU: 1
...
  ? resched_task+0x22/0x70
  ? __kmalloc+0x189/0x1e0
  acpi_ns_evaluate+0x3a/0x18d
  acpi_evaluate_object+0xd6/0x1c5
  ? try_to_wake_up+0x140/0x190
  acpi_processor_get_power_info_cst+0x53/0x297
  ? wait_for_completion+0x17/0x20
  ? default_spin_lock_flags+0x8/0x10
  ? _raw_spin_lock+0xd/0x10
  ? task_rq_lock+0x49/0x80
  ? set_cpus_allowed_ptr+0x53/0x110
  ? acpi_processor_get_throttling_fadt+0x72/0x7a
  acpi_processor_get_power_info+0x24/0x10c
  acpi_processor_power_init+0xdc/0x10c
  acpi_processor_add+0x131/0x1d2
  acpi_device_probe+0x41/0xf5

I found a report with a serial console log showing a very similar
backtrace here:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/807164

Seems pretty clearly related to acpi_processor_get_power_info();
hopefully an expert in that area will jump in and help out.

Bjorn

  parent reply	other threads:[~2011-10-26 18:10 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-24 11:19 kernel panic nick bray
2011-10-25 20:55 ` Bjorn Helgaas
2011-10-26 10:00   ` Len Brown
2011-10-26 14:53     ` Bjorn Helgaas
     [not found]       ` <4EA82832.2070201@ntlworld.com>
2011-10-26 16:18         ` Bjorn Helgaas
     [not found]           ` <4EA83F5D.20001@ntlworld.com>
2011-10-26 18:10             ` Bjorn Helgaas [this message]
2011-10-28  2:13               ` Thomas Renninger
2011-10-31 12:24                 ` Thomas Renninger
  -- strict thread matches above, loose matches on Subject: below --
2013-09-17  2:59 Kernel panic zhang xintao
2012-12-02 17:30 Stefan Beller
2012-12-02 17:51 ` Stefan Beller
2012-12-02 19:13   ` rh
     [not found] <201201191202.q0JC243u029201@curly.dor.state.ma.us>
2012-01-19 15:26 ` Ron Murray
2010-05-18  4:23 kernel panic senthilkumaar2021
2010-05-18  4:47 ` Justin P. Mattock
2010-05-18  4:55   ` senthilkumaar2021
2010-05-18  5:05     ` Eric Dumazet
2010-05-18  5:08     ` Justin P. Mattock
     [not found] <9a5eeacd0804210350v79db27f0of73a29c55e2b7311@mail.gmail.com>
2008-04-21 10:56 ` Kernel panic Matthias Andersson
2008-04-21 11:07   ` Bart Van Assche
2006-08-24 18:01 kernel panic febo
2006-02-24 10:15 Rogel Miguez
     [not found] <4GLD8-5Wa-27@gated-at.bofh.it>
2005-08-29 23:50 ` Robert Hancock
2005-08-29  6:43 manomugdha biswas
2004-04-12 10:39 osmaker@hu
2004-04-12 10:43 ` osmaker@hu
2004-04-12 12:26 ` Zwane Mwaikambo
     [not found] <S263478AbTLEJ0s/20031205092648Z+878@vger.kernel.org>
2003-12-05  9:34 ` Kernel panic neel vanan
2003-12-05 14:19   ` William Lee Irwin III
2003-12-06  5:47     ` William Lee Irwin III
2003-03-26 20:22 Kernel Panic David van Hoose
2003-03-26 11:28 ` dan carpenter
2002-04-06  4:16 Kernel panic Daniel Mundy
2002-04-06 18:05 ` Alan Cox
2002-03-05 22:31 Hanno Böck
2002-03-06  1:40 ` Lionel Bouton
2002-03-06  1:50   ` Andre Hedrick
2002-02-19 18:27 kernel panic chiranjeevi vaka
2002-02-19 18:50 ` Justin Carlson
2002-02-21 17:17 ` Fernando Korndorfer
2002-01-02 19:34 nntp
2001-12-15 18:47 mempool design Benjamin LaHaise
2001-12-15 22:18 ` Ingo Molnar
2001-12-17 15:04   ` Andrea Arcangeli
2001-12-17 15:38     ` Victor Yodaiken
2001-12-17 17:33       ` kernel panic Geoffrey
2000-11-17 17:44 Kernel Panic Dave Seff
2000-11-18 19:29 ` Chmouel Boudjnah

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='CAErSpo4_epbHEAH3Ah=07NZFjqQedUcMXh+cxTSJ4Mp9KhvfPw@mail.gmail.com' \
    --to=bhelgaas@google.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nick.bray1@ntlworld.com \
    --cc=rui.zhang@intel.com \
    --cc=trenn@suse.de \
    --cc=yakui.zhao@intel.com \
    /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).