[OpenAFS] Re: Bug in OpenAFS 1.4.12?

Simon Wilkinson sxw@inf.ed.ac.uk
Thu, 28 Oct 2010 19:04:33 +0100


On 27 Oct 2010, at 18:33, Andrew Deason wrote:
>=20
> I haven't done this in OpenSuSE before, but I think the tools are
> similar as in RHEL. If you have crashtool and the debuginfo package =
for
> your running kernel installed, you should be able to just run 'crash'
> and then 'dis afs_CacheTruncateDaemon' to get the asm.

It's actually much easier than this. Providing you built your kernel =
module with debugging symbols, you can simply do=20

gdb libafs.ko
list *afs_CacheTruncateDaemon+0x366

to find out where you are in the function.

S.