On 9/21/07, Dave Anderson <anderson(a)redhat.com> wrote:
Lucio Correia wrote:
> Hi Dave,
>
>
>>+ CBE_SIZE_INIT(spu_prio_array, "spu_prio_array");
>
>
> The extension is not being able to find the symbol spu_prio_array with
> a 2.6.22-5 patched kernel (Cell SDK 3.0 pre-release kernel in
>
http://www.bsc.es/projects/deepcomputing/linuxoncell/cellsimulator/sdk3.0...).
> I've checked the code and the symbol exists in spufs/sched.c. Do you
> have any hint why crash can't find the symbol?
>
> Thanks
> Lucio Correia
Is the spu scheduler a module that doesn't exist in the
vmlinux proper? If you run "gdb vmlinux" alone, and
enter "ptype struct spu_prio_array", does it know what
it is?
If it is a module, then its debuginfo data will have to
be loaded with the "mod" command.
Dave
Thanks a bunch, Dave,
It's in the spufs module. You are correct, I had to load
the module before loading the extension:
mod -s spufs
I hadn't noticed it before because it was not happening.
Regards,
--
Lucio Jose Correia