Skip to contentSkip to conversation

About kernel panic!

DISCUSSION Zhenyu Wu 2 participants 2 messages Dec 20, 2004

lore
Share & tools
lore

Zhenyu Wu

author
#0 lore raw

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?

Thanks,

#1 lore raw
Quoted 6 lines · Zhenyu Wu

Hello, Everyone,

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

Quoted 7 lines

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