Operating System - HP-UX
1835272 Members
2767 Online
110078 Solutions
New Discussion

Cannot Build Kernel - Exit 71

 
SOLVED
Go to solution
Laurie A. Krumrey
Regular Advisor

Cannot Build Kernel - Exit 71

Hi All,

I am adding an EMC box to my server and I had
to update some of the Semaphones for the database and gatekeeper (per the manual).

I do this as root in sam and then try to
process the new kernal and I get this error:

Cannot Build Kernel
Using /usr/sbin/config

I looked this up in the Technical Knowledge
Base and it says that:

/usr/ccs/bin needs to be added to SAM's path.

But it is already in SAM's path.

Can anyone help me..I have to have this
system up in one hour.

Laurie
Happiness is a choice
14 REPLIES 14
James R. Ferguson
Acclaimed Contributor

Re: Cannot Build Kernel - Exit 71

Hi Laurie:

Try recreating your transition links:

# /opt/upgrade/bin/tlinstall

...and then try regenerating your kernel with SAM.

...JRF...
Laurie A. Krumrey
Regular Advisor

Re: Cannot Build Kernel - Exit 71

Thanks James for emailing me so fast...

I tried

/opt/upgrade/bin/tlinstall and it completed
successfully and I still get the same
errors above.

Laurie
Happiness is a choice
James R. Ferguson
Acclaimed Contributor

Re: Cannot Build Kernel - Exit 71

Hi Laurie:

What release are you running (10.20, 11.0)? Also, please post the full message. Thanks!

...JRF...
Laurie A. Krumrey
Regular Advisor

Re: Cannot Build Kernel - Exit 71

Cannot build a kernel using /usr/sbin/config. config: make did an exit 1
The command exitted with exitcode -71


I am running on all my unix boxes 11.00.

thanks,laurie
Happiness is a choice
Pedro Sousa
Honored Contributor

Re: Cannot Build Kernel - Exit 71

James R. Ferguson
Acclaimed Contributor

Re: Cannot Build Kernel - Exit 71

Hi Laurie:

I agree with Pedro's suggestion. Try building the kernel manually. KB document #KBRC00001369 outlines the procedure for 10.20 and 11.x.

...JRF...
Laurie A. Krumrey
Regular Advisor

Re: Cannot Build Kernel - Exit 71

I did the steps to rebuild the Kernel and I got
this error with the mk_kernel -s ./system:

/stand/build] # /usr/sbin/mk_kernel -s ./system
Compiling conf.c...
Loading the kernel...
/usr/ccs/bin/ld: Unsatisfied symbols:
pread (code)
lock_claim (code)
mlock_valid_args (code)
lock_disown (code)
pwrite (code)

I can load a new OS system from CD. But I have
never done this can someone walk me thur.
this? It might be easier to just start over.
I have the 11i CD's.

Laurie Brown
labrown@statestreetkc.com

Happiness is a choice
Pedro Sousa
Honored Contributor

Re: Cannot Build Kernel - Exit 71

Do you want to loose all of your configuration?
If so, then you need to put your Core OS CD in place, adn then shutdown -ry 0 to your system.
When it starts up it will ask you if you want to interrupt boot sequence. Do it!
Then, on Main Menu, make a "sea" to search for bootable devices and then type "bo pxx" where pxx is the path for the CD.

It will ask again if you want to interact with IPL, say NO.
James R. Ferguson
Acclaimed Contributor
Solution

Re: Cannot Build Kernel - Exit 71

Hi Laurie:

Wait! Let's assess some things. Unsatisfied symbols may suggest that you've been doing some patching lately. First, look for any unconfigured patches:

# swlist -l fileset -a state|grep -v -i -e configured -e \#

If you find any patches that are not configured, do:

# swconfig PHXX_nnnnn

Then, try a manual kernel regeneration.

...JRF...
Cheryl Griffin
Honored Contributor

Re: Cannot Build Kernel - Exit 71

>>/usr/ccs/bin/ld: Unsatisfied symbols:
pread (code) lock_claim (code) lock_valid_args (code) lock_disown (code) pwrite (code) >>

This means you are missing some required patches which provides this symbols.

For instance pread/pwrite is in patch PHKL_22589, which has the following dependencies:
PHKL_18543 PM/VM/UFS/async/scsi/...
PHKL_20016 2nd CPU in G70/H70/I70
PHCO_22269 cumulative SAM/ObAM patch
PHKL_22432 VxFS 3.1 icache cumulative patch
PHKL_22589 LOFS,select(),IDS/9000,umount fix
PHKL_23628 probe,sysproc,shmem,thread
PHCO_23651 fsck_vxfs(1M) cumulative patch

check for these patches, look for installed:
# swlist -l fileset -a state |grep 18543 (etc)

Once you get the dependencies there, kernel will regen.
"Downtime is a Crime."
CHRIS_ANORUO
Honored Contributor

Re: Cannot Build Kernel - Exit 71

Check is the neccesary drivers for the EMC have been installed in your system. On second thought, check the size of /stand and remove the new files in /stand/build
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
Rita C Workman
Honored Contributor

Re: Cannot Build Kernel - Exit 71

I agree 100% with James & Cheryl. I've had similar problem in past. I would be willing to bet you loaded some patches, and these have overwritten your libraries, thus causing the exit -71 error and kernel build error. Generally that PHKL_18543 is not friendly. But this is a know issue and I would recommend running a patch report (check_patches) and forwarding this to HP to review. They should be able to tell you which patches you need to re-download and run in 1 single depot to correct your libraries.
Take a look at this thread, it may help and it points to a couple others that may help !!:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x18a3854994d9d4118fef0090279cd0f9,00.html

/rcw
Laurie A. Krumrey
Regular Advisor

Re: Cannot Build Kernel - Exit 71

Thanks Everyone!

I reinstalled two patches and added one new
one:

PHKL_22589 - reinstalled
PHKL_23127 - reinstalled
PHKL_23628 - added new one

Note: I had to do this in one depot and
install all 3 at once.

And this fixed my problem with changing the
kernel parameters thur. SAM.

I also found out EMC Software isn't certified (yet) to work with HP latest OS 11.11, so it's good I didn't upgrade from 11.0.

Laurie
Happiness is a choice
James R. Ferguson
Acclaimed Contributor

Re: Cannot Build Kernel - Exit 71

Hi Laurie:

Glad all is well in your world! Thanks for the post. It's really great when someone indicates true closure. Thanks for the interesting info on EMC, too.

Regards!

...JRF...