1833490 Members
3089 Online
110052 Solutions
New Discussion

Re: Cannot build kernel

 
d_19
New Member

Cannot build kernel

I installed a set of patches (one of this was the PHKL_18543 with all its dependencies). After this operation I am not able to compile the kernel anymore. The OS is HP-UX 11.00.
The message error is:
Generating module: krm...
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 code 1

Stop.
config: make did an exit(1)
config failure.

With SAM the exitcode is -71 (cannt build the kernel).

Thanks

Antonio Scotti
Antonio Scotti
10 REPLIES 10
Stefan Farrelly
Honored Contributor

Re: Cannot build kernel


To get your system back to normal I suggest you swremove PHKL_18543 and check you can now build a kernel aok.

The problem with your patch install was probably due to a missing dependency for either PHKL_18543 or a dependency for one of the patches which you installed with it. You must check ALL patches individually for dependencies before installing. The best way to accomplish this is install PHKL_18543 from a quarterly patch bundle (QPK bundle) and this way it will pull in ALL dependent patches. Dont forget to use the -x patch_match_target=true option on swinstall.

Good luck.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Fabrice Meynard
Frequent Advisor

Re: Cannot build kernel

You had an error during installation of this bundle. To solve this :
swlist -l fileset -a prerequisite | grep 18543 |cut -d. -f1 |uniq
to obtain all dependencies of PHKL_18543.
Create a bundle of these dependencies.
Force reinstall of the bundle but NOT of PHKL_18543.
It will solve the problem.

Regards
Gabriele Riontino
New Member

Re: Cannot build kernel

I tried to use the last two suggestions but:
- I could not uninstall the patch PHKL_18543.
- If I try to install the bundle with all the dependencies, excluding the PHKL_18543, I cannot install it.
Gabriele Riontino
Steve Steel
Honored Contributor

Re: Cannot build kernel

Hi

1) PHKL_26800 and PHKL_24027 must be installed on all systems on which PHKL_18543 is installed.

Do you have these
.

2)swlist -l fileset -a state|grep -v "#"|grep -v configured

What does it give.

3)/usr/contrib/bin/check_patches what does it give

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Luc Bussieres_1
Trusted Contributor

Re: Cannot build kernel

Hello,

I'm not sure exactly if you had reinstall or not the patch PHKL_18543. This is a special patch that you absolutly need on your system but you cannot reinstall it without getting some problem.

This patch is called the Line In The Sand (LITS) patch because once you install it on your system many other patches will modify some parts of what this patch has installed. So reinstalling it will corrupt these patches.

If it was your first install of the PHKL_18543 you could be missing some dependencies.

To verify if some patches could have been corrupted follow the instructions in the following document, this will find & fix all the problems that could have been caused by a reinstallation.

KBRC00006852: Sys Adm: Recovering from a force install of the LITS patch

http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000058669445


Regards,
Luc
Fabrice Meynard
Frequent Advisor

Re: Cannot build kernel

If PHKL_17543 is already install on the system you must not reinstall it. That's why we just install dependencies.
If you force reinstall of PHKL_17543 you won't be able to rebuilt the kernel.
After reinstalling bundle, you should be able to rebuilt the kernel.

Fabrice
Gabriele Riontino
New Member

Re: Cannot build kernel

I made the checks and the patches are installed:
PHKL_24027.VXFS-BASE-KRN installed
PHKL_24027.VXFS-PRG installed
PHKL_26800.C-INC installed
PHKL_26800.CORE-KRN installed
PHKL_26800.CORE2-KRN installed

I attached a file with the check patches report.

Thanks
Gabriele Riontino
T G Manikandan
Honored Contributor

Re: Cannot build kernel

T G Manikandan
Honored Contributor

Re: Cannot build kernel

Luc Bussieres_1
Trusted Contributor

Re: Cannot build kernel

According to your check_patches output this really look like a reinstallation of the PHKL_18543 patches.


Follow the instruction in the document I have gave you the link before. If you cannot access it I could send it to you.

That document has always work to solve the reinstallation of the 18543, I have used it multiple times when I was working at HP response center

Luc