Skip to contentSkip to conversation

Kernel stack overflow in process xxxx

DISCUSSION jay_chen 2 participants 4 messages Mar 17, 2008 – Mar 19, 2008

lore
Share & tools
lore

jay_chen

author
#0 lore raw

Hello all:

I am using mpc8548 and, kernel 2.6.14.5.
Recently, my system encounter "Kernel stack overflow in process xxxx" problem.
How to increase the kernel stack size?
I try to modify THREAD_SIZE in thread_info.h, but my system seems couldn't boot up anymore!

//#define THREAD_SIZE 8192 /* 2 pages */
#define THREAD_SIZE 16384 /* 4 pages */

Thanks in advance for any kind of advice.

          Jay Chen...
author
#1 lore raw

By the way, is there any skill/tool to avoid/detect/check this kind of problem?

              Jay Chen...

-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Monday, March 17, 2008 3:12 PM
To: [email protected]
Subject: [Spam Mail] Kernel stack overflow in process xxxx (This message should be blocked: ctfkl59804)

Hello all:

I am using mpc8548 and, kernel 2.6.14.5.
Recently, my system encounter "Kernel stack overflow in process xxxx" problem.
How to increase the kernel stack size?
I try to modify THREAD_SIZE in thread_info.h, but my system seems couldn't boot up anymore!

//#define THREAD_SIZE 8192 /* 2 pages */
#define THREAD_SIZE 16384 /* 4 pages */

Thanks in advance for any kind of advice.

          Jay Chen...

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

#2 lore raw
Quoted 4 lines

By the way, is there any skill/tool to avoid/detect/check this kind of problem?

did you try:

Kernel hacking --->
...
[*] Kernel debugging
...
[*] Check for stack overflows
[*] Stack utilization instrumentation

the last one depends on SysRq though.

In any case it would be interesting to know if these tools can help find problems of this kind - so if it does not help - pleas let me/us know.

hofrat

author
#3 lore raw

Hi,

My kernel version is 2.6.14.5
I don't see these options.

            Jay...

-----Original Message-----
From: Nicholas Mc Guire [mailto:[email protected]]
Sent: Wednesday, March 19, 2008 2:13 AM
To: jay_chen
Cc: [email protected]
Subject: RE: Kernel stack overflow in process xxxx

Quoted 3 lines

By the way, is there any skill/tool to avoid/detect/check this kind of problem?

did you try:

Kernel hacking --->
...
[*] Kernel debugging
...
[*] Check for stack overflows
[*] Stack utilization instrumentation

the last one depends on SysRq though.

In any case it would be interesting to know if these tools can help find problems of this kind - so if it does not help - pleas let me/us know.

hofrat