All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Wise <joshua@joshuawise.com>
To: linux-kernel@vger.kernel.org
Subject: Kernel 2.6.8.1-mm4: ptrace: "bad: scheduling while atomic!" followed by interrupt-disabling kernel panic
Date: Wed, 08 Sep 2004 16:27:53 -0400	[thread overview]
Message-ID: <413F6B49.8040907@joshuawise.com> (raw)

Hi folks,

Recently I took the plunge and upgraded my desktop system (an ia32 
Athlon) from 2.4.x to 2.6.8.1-mm4. However, when I attempt to do a 
ptrace on a binary, my kernel spews a few loads of bad: scheduling while 
atomic!, and dies.

Initially, I watched at a console like so:

bluefire ~ # strace ls
execve("/bin/ls", ["ls"], [/* 42 vars */]) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Kernel panic - not syncing: Aiee, killing interrupt handler!

Not seeing the Oops or BUG that triggered it, I decided to try again, 
first doing a sysrq-[loglevel]8 to increase verbosity. Only having a pad 
of paper to note debugging output, I have clipped seemingly irrelevant 
bits, as notated by [...]. If you need more detail, please email me. 
Also, this kernel was not compiled with addr2line symbols. If you need 
line numbers, I can recompile it like that for you.

bluefire ~ # strace ls
bad: scheduling while atomic
  [<c01070ee>] dump_stack+0x1e/0x20
  [<c0385500>] schedule+0x4f0/0x50
  [<c0129531>] ptrace_notify_info+0x91/0xf0
  [<c01291b8>] get_signal_to_deliver[...]
  [...]
execve([...]) = 0
bad: scheduling while atomic!
  [...] dump_stack[...]
  [...] schedule[...]
  [...] ptrace_notify_info[...]
  [...]
--- SIGSEGV [...] ---
bad: scheduling while atomic!
  [...] dump_stack[...]
  [...] schedule[...]
  [...] sys_sched_yield[...]
  [...] coredump_wait[...]
  [...] do_coredump[...]
  [...] get_signal_to_deliver[...]
  [...]
Kernel panic - not syncing: Aiee, killing interrupt handler!

Does anyone have any insight?

Thanks,
joshua

                 reply	other threads:[~2004-09-08 20:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=413F6B49.8040907@joshuawise.com \
    --to=joshua@joshuawise.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.