The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Vishal Patil <vishpat@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Memory problems in schedule()
Date: Sun, 5 Jun 2005 22:31:45 -0400	[thread overview]
Message-ID: <20050606023145.GB11352@ccure.user-mode-linux.org> (raw)
In-Reply-To: <4745278c050605180115a70b8d@mail.gmail.com>

On Sun, Jun 05, 2005 at 09:01:19PM -0400, Vishal Patil wrote:
> 1) Whenever I select a process to run using my algorithm the kernel
> panics with "Segfault with no mm" basically the "mm" field of the
> task_struct that I selected is empty. I don't understand why this
> should happen, since I have just added code to select a process and
> haven't modified any memory related code in the schedule() function.

Start with a backtrace from the panic and debug it from there.

> 2) I am able to run the UMLfied kernel under gdb, however the execution
> never halts even though I set several breakpoints. Also these
> breakpoints have not been set in interrupt handling code and I have
> compiled the code with -g option.

UML and gdb versions?  tt or skas mode?

				Jeff

  reply	other threads:[~2005-06-06  2:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-06  1:01 Memory problems in schedule() Vishal Patil
2005-06-06  2:31 ` Jeff Dike [this message]
2005-06-06 12:24   ` Vishal Patil
2005-06-06 13:44     ` Jeff Dike

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=20050606023145.GB11352@ccure.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vishpat@gmail.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