Re: About kernel panic!

From: Nick Piggin
Date: Mon Dec 20 2004 - 04:23:58 EST


Zhenyu Wu wrote:
Hello, Everyone,

I think i have met lots of troubles when i am programming in the kernel, so, i
want to get
some help.

One of my troubles is that, sometimes, the program can work well, but sometimes,
there are
kernel panics. So, does someone else meet such questions, what is the major
reasons? From the
indication of the log messages, i can find the messages on allocting the memory, i
remember, i use the kmalloc to do it, but is there something wrong?


Yes, there is something wrong with your kernel code. The oops will
tell you what went wrong.

Reading Documentation/oops-tracing.txt is a good start.

Nick
-
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/