1833852 Members
1898 Online
110063 Solutions
New Discussion

Patch instalaltion error

 
titu
Regular Advisor

Patch instalaltion error


Hi.

Need help.

During the installation of the following patch bundles, the system producing the error

Patch - PHNE_37110

he is using hpux - 11.11 and 32 bit he trying to install the patch as bundle with SAM utility


NOTE: Building a new kernel based on template file "/stand/system"
Generating module: krm...
Generating module: atdd...
ld: Mismatched ABI (not an ELF file) for /stand/build/mod_wk.d/atdd/mod_conf.o
Fatal error.
*** Error exit code 1

Stop.
make failure.
ERROR: The command "/usr/sbin/mk_kernel", which is used to rebuild
the kernel, has failed. Because kernel-related filesets were
installed, this command must be executed by "swinstall",
without failures, before the load can continue. Check the
above output for details about the failure.
NOTE: The Install Phase has suspended. Check the above output for
reasons.



* Aborting the Install Phase.

-----------------------------------------
error msg : - the cmmand "/usr/sbin/mk_kernel", which is used to rebuild the kernel , has failed. because kernel related filesets were installed , this command must be executed by "swinstall", without failures , before the load can continue . check the above output


Please help.

thanks in advance.
6 REPLIES 6
Dennis Handly
Acclaimed Contributor

Re: Patch instalaltion error

>he is using hpux - 11.11 and 32 bit

What do these show:
# model
# file /stand/vmunix

ld: Mismatched ABI (not an ELF file) for .../mod_conf.o

This says you are making a 64 bit kernel and you have a 32 bit object in mod_conf.o.

Do you have LDOPTS or CCOPTS exported?


titu
Regular Advisor

Re: Patch instalaltion error

Hi dennis ,

Thanx for replying , i have checked the output of both the command says : -

root> file /stand/vmunix
/stand/vmunix: PA-RISC1.1 executable -not stripped
root> model
9000/810/D380
root> getconf KERNEL_BITS
32


and i have checked the index file of all patches shows its applicable fot 32/64 bit architecture.
Bob E Campbell
Honored Contributor

Re: Patch instalaltion error

I have seen this patch install on an 11.11 D360 before without issue. What is the state of the system? Can you please run the command:

# swverify \*

and let us know what you see.
whiteknight
Honored Contributor

Re: Patch instalaltion error

To resolve the error:

1. Locate the 64-bit version of the mod.o file on the EMS media.

2. Copy the file to the /usr/conf/km.d/krm directory.

3. Generate the new kernel.

WK
Problem never ends, you must know how to fix it
Dennis Handly
Acclaimed Contributor

Re: Patch instalaltion error

>i have checked the output of both

You need to answer all 4 questions.
Do you have LDOPTS or CCOPTS exported?

You can fight fire with fire and do this before you build your kernel:
export CCOPTS=-v LDOPTS=-t

The former may tell you why 64 bit, the latter will list all of the files to ld and you can then use file(1) on each to find the bad one.

Dennis Handly
Acclaimed Contributor

Re: Patch instalaltion error

>WK: 1. Locate the 64-bit version of the mod.o

I'm not sure how this will help if the user has a 32 bit kernel?