Operating System - HP-UX
1830850 Members
5239 Online
110017 Solutions
New Discussion

HP Ux 11.0 - 11.11 compatibility

 
Suvashish Dutta
New Member

HP Ux 11.0 - 11.11 compatibility

Hi

Currently we have a HP K-Class server with HP UX 11.0 as the OS version.

Our Client have the same Hardware setup and OS but the OS version is HP UX 11.11

Will the executables created on HP UX11.0 be compatible with HP UX 11.11
6 REPLIES 6
Stefan Farrelly
Honored Contributor

Re: HP Ux 11.0 - 11.11 compatibility


11.11 and 11.0 are binary compatible. Anything built for 11.0 should run perfectly on 11.11
Im from Palmerston North, New Zealand, but somehow ended up in London...
Sebastian Galeski_1
Trusted Contributor

Re: HP Ux 11.0 - 11.11 compatibility

Software will work with any problem.
There is only few issue with hardware oieces, some of them doesn't work with hpux 11.11 (for example FC cards)
Nick Wickens
Respected Contributor

Re: HP Ux 11.0 - 11.11 compatibility

Are the K servers identical models - It could be possible that if you are running 64 bit code on the 11.00 box it might not be possible to run 64 bit on the K model running 11.11 (or 11i as its also know). Find your models in the file /usr/lib/sched.models and ensure that both are at version 2.0 - This means they can both run 64 bit.
Hats ? We don't need no stinkin' hats !!
A. Clay Stephenson
Acclaimed Contributor

Re: HP Ux 11.0 - 11.11 compatibility

The answer is almost certainly yes but if for example, you compiled for 64-bit 11.0 and the client machine is 32-bit 11.11 then no the code will not run.

To make the most portable code, your should really compile for 32-bit with the +DAportable flag set. This code shopuld then run on any 11.x platform. You will pay no performance penalties in the 32-bit world; 64-bit is essentially a resource enabler rather than a performance enhancer so that if your data sizes fit nicely within the 32-bit address space limits, compiling for 32-bit environments would be your least evil and most portable option.

Food for thought, Clay
If it ain't broke, I can fix that.
Suvashish Dutta
New Member

Re: HP Ux 11.0 - 11.11 compatibility

Hi All

The sched.models as stated by Nick was found in the following: path /usr/sam/lib/mo

When i opened the file there are 3 columns with lots of data. What value should i be looking for exactly. It seems that the last column signifies the Patch Name ?

Look Guys i am not a Unix guy, but i need to know the solution to my problem.
Sebastian Galeski_1
Trusted Contributor

Re: HP Ux 11.0 - 11.11 compatibility

Hi maybe after this text it will be more clear for You, BTW third column is processor type:
If the system is 11.00 we have:

adb32 or adb64

If we run the command:
# adb64 /stand/vmunix /dev/mem

The output is:
Error from elf64_getehdr(application core file)
Not an Elf file: No Elf header
cpu_version/X
cpu_version:
cpu_version: 214

Notice the cpu_version: 214

These are the PA-RISC versions as defined in the kernel
source:

# define CPU_PA_RISC1_0 0x20B /* HP PA-RISC1.0 */
# define CPU_PA_RISC1_1 0x210 /* HP PA-RISC1.1 */
# define CPU_PA_RISC1_2 0x211 /* HP PA-RISC1.2 */
# define CPU_PA_RISC2_0 0x214 /* HP PA-RISC2.0 */

as you can see in this example the system is PA-RISC2.0

Then by running the command:
# model

It will return:
9000/800/L2000-36

If you have the latest cumulative SAM/ObAM patch you should have
under /usr/sam/lib/mo the file sched.models. By running:
# grep L2000 sched.models

It will return:

L2000-36 2.0 PA8500
L2000-44 2.0 PA8500
L2000-5X 2.0 PA8600
L2000-8X 2.0 PA8700


Simply put- if you want the information from the command
line run:

# grep -i $(model | cut -d"/" -f3) /usr/sam/lib/mo/sched.models

Please keep in mind with HP-UX 11.x you will start to see
the sched.models files no longer updated. You may want to
confirm that this file is updated on your system before
relying on the information.

At HP-UX 11.0 the latest SAM/ObAM patch is [PHCO_21187/PACHRDME/English] and
atHP-UX 11i, the latest SAM/ObAM patch is PHCO_23004.

____________________________________________________________________
NOTE: The current Patch IDs are: [PHCO_21187/PACHRDME/English] and [PHCO_23004/PACHRDME/English] , but be
aware that this patch may be superseded by a later patch with
additional fixes.