LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-04-2008, 12:08 PM   #1
muralis
LQ Newbie
 
Registered: Aug 2007
Posts: 7

Rep: Reputation: 0
Question Doubts in Kernel Stack


Hello All,

i have some doubts to dump the kernel Stack.My kernel version is 2.4.17 with Crashdump
Mechanism(LKCD).For Example we have 3 Process A,B and C.

Currently process A is running,at this moment i have kernel stack for this process A.
Is it possible to dump the kernel Stack for Process C from process A.Because i know the ESP stack pointer
for Process C,so i can able to find the Process Descriptor for the Process C.
ESP_for_Process_C & 0xfffffe00 ==> Process desciptor for process C.

So i can dump the kernel Stack from this process descriptor address to next 8 KB.
My kernel Stack size is 8 KB(i486 processor).


Could you please let me know about your feeback for my doubt.If my question is wrong kindly ignore it.

Thanks in Advance.

Regards,
Murali.S
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference b/t Kernel stack and User stack hazzyb Linux - Software 2 09-29-2008 07:40 PM
Kernel Memory related doubts!!! linuxguy_72 Linux - Kernel 1 05-07-2007 10:40 AM
LXer: Doubts dog anonymous Thinkpad code for Linux kernel LXer Syndicated Linux News 0 08-14-2006 06:54 PM
kernel compilation: few doubts regarding the various kernels b0nd Linux - Newbie 1 08-15-2005 01:54 AM
unlinking a file in kernel modules + doubts dypgrp Linux - Newbie 1 01-26-2005 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration