Operating System - HP-UX
1847874 Members
2578 Online
104021 Solutions
New Discussion

Re: mk_kernel errors HP-UX 11.00

 
Ronwin Leibbrandt
Occasional Contributor

mk_kernel errors HP-UX 11.00

I get the following errors when trying to build a new kernel on HP-UX 11.00. Does anyone know the cause of this problem? Thanks.

WARNING: No such device, tunable, or cdio PCItoPCI.
Ignoring the following line.
PCItoPCI
WARNING: No such device, tunable, or cdio cb.
Ignoring the following line.
cb
WARNING: No such device, tunable, or cdio pa_generic_psm.
Ignoring the following line.
pa_generic_psm
WARNING: No such device, tunable, or cdio pa_psm.
Ignoring the following line.
pa_psm
Generating module: krm...
Compiling conf.c...
Loading the kernel...
/usr/ccs/bin/ld: Unsatisfied symbols:
km_disable (data)
st_ats_enabled (data)
hdlpreg_hash_locks (data)
*** Error exit code 1

Stop.
config: make did an exit(1)
5 REPLIES 5
Sajid_1
Honored Contributor

Re: mk_kernel errors HP-UX 11.00

This is a known problem in 11.0. Check this document for the solution:
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062758842

Doc ID - 2200233009
learn unix ..
Stefan Farrelly
Honored Contributor

Re: mk_kernel errors HP-UX 11.00


The WARNINGS are not too much to worry about - entries for drivers in your /stand/system file which you dont have, you should remove them just to cleanup. eg. PCItoPCI - never heard of that one, probably should be GSCtoPCI. The others can be removed (cb, pa_psm etc.)

The nasty error is your Unsatisfied symbols - this is really tough to fix. The best hope is have you just added some software or patches recently and now your kernel wont build ? if so then try to backout or undo what you did (you can swremove patches if youve just tried to install some), then your kernel should build.

if not then its a long job to fix. Theres been some really good long discussions on how to fix them - search the ITRCP forums for "kernel build failed" and you should find them - theyre too long to repeat here.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Martin Johnson
Honored Contributor

Re: mk_kernel errors HP-UX 11.00

They are parameters for subsystems you don't have. Edit /stand/system and remove them (or at least comment them out).

HTH
Marty
S.K. Chan
Honored Contributor

Re: mk_kernel errors HP-UX 11.00

You should at least load the patch PHKL_19291 (ie mk_kernel patch) so that mk_kernel is more robust and knows how to deal with this "intelligently". I noticed however on all my 11.0 system I have those drivers (PCItoPCI,cb,pa_generic_psm,pa_psm) in /stand/system and it does not give me any error when I recompile my kernel. If the patch doesn't help, then you'll have to delete those drivers from the "system" file before you compile your kernel. I do not know what's the impact of doing that though.
Erik Tong
Advisor

Re: mk_kernel errors HP-UX 11.00

Where did you get the /stand/system file that you are using? Did you have copy it from a different class (i.e. k class or n class) of machine than you are trying to build on? If you used ignite to load the system, then the ignite kernel image may be for a different class of machine.

If either are true, it would explain why the subsystem entries in the system file are not working on your system. They probably don't make sense for the hardware.

I recommend cold installing so that the proper subsystems are loaded.