RTAI digest, Vol 1 #2572 - 7 msgs

Xiaofeng Gao xg at roe.ac.uk
Fri Nov 2 18:58:42 CET 2007


Hi, Rodrigo

 can you use  

 cat /proc/kallsyms | grep f8a220c2


I used it ages ago, it gave me some info, like

>   >cat /proc/kallsyms | grep 8828665b
> ffffffff8828665b t sc2pcicardHandler    [sdsu_driver]


Hope this help

Cheers



Xiaofeng Gao	


=========================================
Message: 2
Date: Thu, 01 Nov 2007 17:18:51 -0400
From: Rodrigo Amestica <ramestic at nrao.edu>
To: rtai at rtai.org
CC: Rodrigo Amestica <ramestic at nrao.edu>
Subject: inspecting the stack of an rtai task

Hi,

I have a suspended (rt_task_suspend) kernel task and I do have access to its 
stack. Is there a way to discover where exactly in the source code the task was 
actually suspended?

if 'ptr' is the pointer to the task (RT_TASK) and I print *(ptr->stack) and 
*(ptr->stack+1) then I get:

0xf8a220c2 and 0x00012a23

0xf8a220c2 is an address that lays in between all other symbol addresses 
reported for this kernel module (/proc/kallsyms).

I know this is not a very rtai specific question, but it will help me 
troubleshoot my rtai application :-)

thanks,
  Rodrigo





More information about the Rtai mailing list