System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with kernel symbols in HP-IA 11.31

SOLVED
Go to solution
Ravi K N
Occasional Advisor

Problems with kernel symbols in HP-IA 11.31

One of our application that gathers kernel statistics by using 'pstat_getdynamic' system call is failing with the following errors. Does anybody has any clue?
Are there any changes to 'pst_dynamic' structure in HP 11.31.

What might cause following errors
----------------------------------------
Kernel symbol 'async_bufhead' not found
Kernel symbol 'ip_mib' not found
Kernel symbol 'tcp_mib' not found
Kernel symbol 'udp_mib' not found
----------------------------------------

This is URGENT, please help.

Thanks
Ravi.
6 REPLIES
Dennis Handly
Acclaimed Contributor

Re: Problems with kernel symbols in HP-IA 11.31

>using pstat_getdynamic system call is failing with the following errors.

I see no connection between pstat_getdynamic and those "not found" errors. Are you sure your application isn't calling nlist64?
Ravi K N
Occasional Advisor

Re: Problems with kernel symbols in HP-IA 11.31

Thanks for the quick response Dennis.

Sorry if i confused you, i am not a HP-UX expert.
I meant to say that when we invoke the executable we are getting errors saying kernel symbols not found. We make a call 'pstat_getdynamic' inside our code i thought whether somewhere it was causing the problem.

Please help us by explaining on what might cause "Kernel symbol not found" errors. Are we missing any package?
Ravi K N
Occasional Advisor

Re: Problems with kernel symbols in HP-IA 11.31

I am sure that our application is not calling 'nlist64'
Ravi K N
Occasional Advisor

Re: Problems with kernel symbols in HP-IA 11.31

Dennis,

I Just checked and found that we are using nlist64 in our code.
OS is HP-UX B.11.31 U ia64

Are there any changes to nlist64 in hp11.31?

I am urgently waiting for your reply.

Thanks
Dennis Handly
Acclaimed Contributor
Solution

Re: Problems with kernel symbols in HP-IA 11.31

>I Just checked and found that we are using nlist64 in our code.

I said that didn't I? :-)

>Are there any changes to nlist64 in 11.31?

The variables you are searching for, no longer exist on 11.31.
$ elfdump -t /stand/vmunix | fgrep -e async_bufhead ...

Whatever you were doing with them, you'll have to remove that.
Your application is kernel intrusive and that isn't forward compatible.
Ravi K N
Occasional Advisor

Re: Problems with kernel symbols in HP-IA 11.31

Thanks