Operating System - HP-UX
1752299 Members
4903 Online
108786 Solutions
New Discussion юеВ

need adb script to patch OS release number in utsname

 
bigdaddy68
Advisor

need adb script to patch OS release number in utsname

Hi,

I am trying to install a program that works on 11.23 but won't work on 11.31 and it complains about the OS release. I'd like to at least "try" to patch utsname in kernel which is likely reporting the "official" OS release.

in other words (just for this install) I want uname -a to say 11.23 instead of 11.31

can some kind kernel hack help me out with the right adb script here to just change the running memory image just for a quick sec to see if it will work

FWIW I have used this on other architectures sucessfully..

thanks
bigdaddy68
BigDaddy68
8 REPLIES 8
Dennis Handly
Acclaimed Contributor

Re: need adb script to patch OS release number in utsname

Are you using swinstall to install it? If so, you should be able to ignore the requirement.

What product are you trying to install?
Laurent Menase
Honored Contributor

Re: need adb script to patch OS release number in utsname

Hi Bigdaddy68, In fact it is not the right way to do it:D.
You should contact the application vendor to ask for 11.23 version of the program which have been qualified for that OS.


That type of hack can't be explained in such forum.

Re: need adb script to patch OS release number in utsname

You _might_ be able to use the swinstall option "-x allow_incompatible=true", but I would be _very_ careful, it would be pretty easy to break your system doing this - what are you trying to install?

HTH

Duncan

I am an HPE Employee
Accept or Kudo

Re: need adb script to patch OS release number in utsname

just re-read your post, and you never actually said the product was a HP SD depot...

Is the product Oracle by any chance?

If so, using the runInstaller option "-ignoreSysPrereqs" should do the trick

HTH

Duncan

I am an HPE Employee
Accept or Kudo
bigdaddy68
Advisor

Re: need adb script to patch OS release number in utsname

Hi,

Thanks all for posts all.

The SW is Clearcase V6 and its not using swinstall. For a variety of reasons I would rather try to get it going on 11.31 on this rx2800 even though its an 11.23 binary.
I had hoped to get binary compatibility.

As a backup i have an rx2600 coming very soon to load up 11.23 to get around this which wasn't what I wanted but I guess I will have to deal with it.

I realize that Clearcase uses loopback file drivers and such and that kernel mods from 11.23 to 11.31 were major but I was thinking that the the loopback driver wasn't the module/area that got the major overhaul..which is why I wanted to at least try it.

further like I mentioned before I have used this exact type of patch before on another HW/OS platform and it worked quite well and my app didn't break.

ergo my question
bigdaddy68
BigDaddy68
Dennis Handly
Acclaimed Contributor

Re: need adb script to patch OS release number in utsname

>The SW is Clearcase V6 and it's not using swinstall.

Stop! Don't even think about this!
CC V7 is mandatory to run on 11.31. The MVFS filesystem is kernel intrusive and massive changes were done in HP-UX and the corresponding changes were done in MVFS.

If you really insist, make sure you have an ignite backup because your kernel will not gen.

>I had hoped to get binary compatibility.

CC V7 should have an upgrade path for your existing views/VOBs.

>that kernel mods from 11.23 to 11.31 were major

Exactly, end of story.

>worked quite well and my app didn't break.

CC is not exactly an app, it is like a mini OS.
bigdaddy68
Advisor

Re: need adb script to patch OS release number in utsname

OK well then its looking like maybe an HPVM that runs 11.23 on my rx2800 under a B.11.31 HOST OS

hopefully that will work..

thanks
bigdaddy68
BigDaddy68
Laurent Menase
Honored Contributor

Re: need adb script to patch OS release number in utsname

>OK well then its looking like maybe an HPVM
>that runs 11.23 on my rx2800 under a B.11.31
>HOST OS

> hopefully that will work..
Yes it will work.