cancel
Showing results for 
Search instead for 
Did you mean: 

kernel WARNING messages

SOLVED
Go to solution
Ken Englander
Regular Advisor

kernel WARNING messages

Does anyone know what is the significance of the following messages? They come up when kctune is run and I believe probably when some of the other kernel tools are run also.

WARNING: The file '/usr/conf/mod/ipf.bak' does not contain valid kernel
code. It will be ignored.
WARNING: The file '/usr/conf/mod/pfil.bak' does not contain valid kernel
code. It will be ignored.

How do I get rid of them and is it safe?

Thanks!
4 REPLIES
Dennis Handly
Acclaimed Contributor
Solution

Re: kernel WARNING messages

How did these *.bak files get there? Was it you or was it some kc* tool?

I suppose you can just ignore these warnings. Or you could create a subdirectory and move them there.

What does file(1) show for each? For IPF they should be:
/usr/conf/mod/ipf: ELF-64 relocatable object file - IA64
Ken Englander
Regular Advisor

Re: kernel WARNING messages

I do not know how this originally happened. It has been going on for some time and I finally decided to investigate it.

Both files appear to be valid. The file command shows them as " ELF-64 relocatable object file - IA64".

Note - I found these are the only .bak files in that directory.

Dennis Handly
Acclaimed Contributor

Re: kernel WARNING messages

>It has been going on for some time and I finally decided to investigate it.

What are the dates of ipf* and pfil*? Are they close?

>I found these are the only .bak files in that directory.

Any copies of ipf and pfil in the IPD patch save area?
# find /var/adm/sw/save -path "*/usr/conf/mod/*"
Ken Englander
Regular Advisor

Re: kernel WARNING messages

I looked at the files and kc.log. It appears the error started showing up around the time I restored an Ignite backup while testing the 11.31 upgrade process.

I have renamed these files into the /usr/conf directory and the WARNING is no longer occurring. (It seems that kcmodule looks at ALL files in this folder regardless of their name.) There are existing files in /usr/conf/mod with these names without the ".bak" extension so I figured HP-UX did not care about these files especailly considering the error message.

There were no ipf or pfil files in /var/adm/sw/save.

Also, I could not find any documentation showing what are kept in /usr/conf/mod.

Thanks for your suggestions. I'm going to close this thread since I've effectively solved this problem.