Operating System - HP-UX
1833780 Members
2688 Online
110063 Solutions
New Discussion

Not able to rebuild the kernel after changing params

 
Sudhakar J_1
Advisor

Not able to rebuild the kernel after changing params

hi,
latetly we have installed QPK MAR 2002 on HP UX 11.00 after that i am not able to rebuild the kernel

the error is like the following

machine1# pwd
/stand/build
machine1# /usr/sbin/mk_kernel -s /stand/build/system
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 exit code 1

Stop.
config: make did an exit(1)
machine1#


i have run the few test posted in the itrc the results are attached

please advice me what exactly i have to do to build new kernel


Thanks in Advance

Sudhakar J
tomorrow is just another day
15 REPLIES 15
Ravi_8
Honored Contributor

Re: Not able to rebuild the kernel after changing params

Hi Sudhakar

did you make a copy of vmunix under /stand ?

if so boot from that file anf try to build kernel

#mk_kernel

let's know the result
never give up
Sudhakar J_1
Advisor

Re: Not able to rebuild the kernel after changing params

Hi ravi,
do you mean the vmunix.prev available in /stand.

regards

Sudhakar J
tomorrow is just another day
Ravi_8
Honored Contributor

Re: Not able to rebuild the kernel after changing params

Hi,

yes, try to boot from vmuix.prev

ISL> boot /stand/vmunix.prev
never give up
Denver Osborn
Honored Contributor

Re: Not able to rebuild the kernel after changing params

Judging by your attachment, it looks like PHKL_18543 was reinstalled using the reinstall=true option.

Had a forced reinstall of PHKL_18543 taken place on the system?

if you try to configure the patch, does the new kernel build take?

swconfig PHKL_18543


Hope this helps,
-denver

Sudhakar J_1
Advisor

Re: Not able to rebuild the kernel after changing params

Hi ravi,

i get the same errors even after
booting from previous kernel

errors are
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 exit code 1

tomorrow is just another day
Sudhakar J_1
Advisor

Re: Not able to rebuild the kernel after changing params

Hi Denver,

even after swconfig PHKL_18543
i get the error.

any other work around

.
Regards

Sudhakar J
tomorrow is just another day
Denver Osborn
Honored Contributor

Re: Not able to rebuild the kernel after changing params

You'd have to recover from a forced reinstall of PHKL_18543... this is ASSUMING that PHKL_18543 had been reinstalled w/ reinstall=true option. You should be able to verify it was reinstalled recently by cheking your swinstall.log or swagent.log files.

If you have a ignite/ux recovery tape, your best bet is to save yourself some headaches (and time)... use the tape to get the box back to the previous state then get your patch bundle installed again. Make sure not to use reinstall=true option.

If there isn't an ignite/ux tape, you can still recover from a reinstall of PHKL_18543. Search for previous forum posts... keywords "PHKL_18543 reinstall recover".. here's one of the results;

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x0d9f4a988422d711abdc0090277a778c,00.html

Hope this helps,
-denver
Sudhakar J_1
Advisor

Re: Not able to rebuild the kernel after changing params

Hi Denver,

I dont remember we reinstalling any patch i have installed only QPK MARCH 2002. How to find if it is reinstalled.

Regards

Sudhakar J
tomorrow is just another day
Jochen Heuer
Respected Contributor

Re: Not able to rebuild the kernel after changing params

Hi,

check the logfile

/var/adm/sw/swagent.log

If there is a session (probably the one where installed QPK MAR 02) where PHKL_18543 was selected for installation and one of the

reinstall

options was set to true you have reinstalled the patch.

Regards,

Jochen
Well, yeah ... I suppose there's no point in getting greedy, is there?
Jochen Heuer
Respected Contributor

Re: Not able to rebuild the kernel after changing params

You can find a procedure how to recover from this error (if no ignite tape is available) here

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

Regards,

Jochen
Well, yeah ... I suppose there's no point in getting greedy, is there?
T G Manikandan
Honored Contributor

Re: Not able to rebuild the kernel after changing params

it could have got re-installed if your defaults options have re-install.
check your /var/adm/sw/defaults file.

Ravi_8
Honored Contributor

Re: Not able to rebuild the kernel after changing params

Hi,

If you had ignite recovery tapejob should have been easy now.

One more option is Boot from Install/Support media
Run recovery shell
never give up
Sudhakar J_1
Advisor

Re: Not able to rebuild the kernel after changing params

Hi Guys,

Thanks a lot for your inputs i found that the 18543 reinstalled for oracle installation, i used the command specified by Richard in this link
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1a0b3d853cd9d5118ff40090279cd0f9,00.html

i.e. use ar x libname objfilename
then use the what command on object file to find the patch need to be reinstalled.
Installed pathes with reintall=true without dependencies and the Kernel rebuild was successful.

Once again thanks for your support.

Regards

Sudhakar J
tomorrow is just another day
Ravi_8
Honored Contributor

Re: Not able to rebuild the kernel after changing params

Hi, Sudhakar

Ypu were told that system was not coming up, then how did you executed those commannds
never give up
Sudhakar J_1
Advisor

Re: Not able to rebuild the kernel after changing params

Hi ravi,

I did not say that system is down. System was i was not able to build the kernel with new set of parameters.

Regards

Sudhakar J
tomorrow is just another day