Operating System - HP-UX
1833875 Members
1864 Online
110063 Solutions
New Discussion

Re: Can't make new kernel

 
Donald G. Hicks
Occasional Contributor

Can't make new kernel

Can anyone help

# /usr/sbin/mk_kernel -s ./system
Compiling conf.c...
Loading the kernel...
ld: Unsatisfied symbol "mlock_valid_args" in file /usr/conf/lib/libhp-ux.a[vm_clic.o]
ld: Unsatisfied symbol "prf_klog_getcount" in file /usr/conf/lib/libhp-ux.a[klog.o]
ld: Unsatisfied symbol "prf_klog_getstring" in file /usr/conf/lib/libhp-ux.a[klog.o]
ld: Unsatisfied symbol "pwrite" in file /usr/conf/lib/libhp-ux.a[scall_stubs.o]
ld: Unsatisfied symbol "lock_claim" in file /usr/conf/lib/liblvm.a[lv_hp.o]
ld: Unsatisfied symbol "pread" in file /usr/conf/lib/libhp-ux.a[scall_stubs.o]
ld: Unsatisfied symbol "lock_disown" in file /usr/conf/lib/liblvm.a[lv_hp.o]
7 errors.
*** Error exit code 1

Stop.
config: make did an exit(1)
6 REPLIES 6
Helen French
Honored Contributor

Re: Can't make new kernel

Applying these patches may solve the issue:

For 11.00 - PHSS_26559 (s700_800 11.00 ld(1) and linker tools cumulative patch)

For 11.11 - PHSS_26560 (s700_800 11.11 ld(1) and linker tools cumulative patch)
Life is a promise, fulfill it!
Donald G. Hicks
Occasional Contributor

Re: Can't make new kernel

Applied patch. Same messages.
Jeff Schussele
Honored Contributor

Re: Can't make new kernel

Hi Donald,

Wonder if you have a corrupted product on your system.

Run
swverify \*

Think the forum will whack that backslash - its

swverify (backslash)*

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Helen French
Honored Contributor

Re: Can't make new kernel

Again, the error which you are getting is clearly a patch issue. There are a number of patches (Kernel and subsystem) to recommend, so I would suggest you to check your system patch level, do a custom patch installation and check all patch status to make sure that all patches are installed properly and is configured.
Life is a promise, fulfill it!
Steven E. Protter
Exalted Contributor

Re: Can't make new kernel

There is another way to generate this error, though it could be a comgination patch issue.

If you did a force reinstall in PHKL_18543 for 11.00 or you have corrupted your system file with bad patches, you can generate these errors.

To recovery, you may need to go to your previous version of your system file in the /stand filesystem.

You may even need to go back to backups if you've corrupted your backup.

You need to inventory your currrent drivers and such, write an action plan, so that before restoring these files and rebuilding your kernel you can after the fact add back what you've removed by restoring from backup.

On an 11.00 system, both of the above listed problems happened to me. Its painful, but I can help you recover from either issue.

P
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Denver Osborn
Honored Contributor

Re: Can't make new kernel

just an fyi....

We found out that PHKL_18543 had been reinstalled on the box. When online jfs product was reinstalled w/ reinstall=true option set...