Re: Memory problems in schedule()

From: Vishal Patil
Date: Mon Jun 06 2005 - 07:27:26 EST


Jeff
Please find the answer to questions below,

On 6/5/05, Jeff Dike <jdike@xxxxxxxxxxx> wrote:
> 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?


GNU gdb Red Hat Linux (6.1post-1.20040607.41rh)
uml-patch-2.4.27-1
skas mode.

Thank you.
> Jeff
>


--
A dream is just a dream. A goal is a dream with a plan and a deadline.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/