Operating System - HP-UX
1833882 Members
2216 Online
110063 Solutions
New Discussion

11iv2 descrepancies with adb

 
SOLVED
Go to solution
Geoff Wild
Honored Contributor

11iv2 descrepancies with adb

Okay - I have a few machines now with 11iv2...

Some were pre-loaded from HP - others we have done a fresh install...

I run the following:

kernel=$(/usr/sbin/kcpath -x)
hexval=$(echo "phys_mem_pages/A" | adb $kernel /dev/kmem|tail +2|awk '{print $2}')
REAL_MEM=$(echo ${hexval}=D|adb)

On the last one I get this for the ones we installed:
adb: warning: No memory file specified ...
adb: warning: Using 'core'.
adb: warning: Object file not SOM ...
adb: warning: Shared library symbols could not be read.

Then I also complet with:

mb=$(expr ${REAL_MEM} / 256)
echo $mb

On all machines - the correct MB is displayed...

Question is - why the error on the ones we installed?

All have the B.11.23.0409 OE as well as B.11.23.0409.3 Required Patch Bundle for HP-UX 11i v2 (B.11.23), September 2004

Rgds...Geoff



Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
2 REPLIES 2
Ermin Borovac
Honored Contributor
Solution

Re: 11iv2 descrepancies with adb

adb [-n|-o] [-w] [-I path] [objfile] [corefile]

I think the difference is existence of a core (dump) file (in the directory where you run adb) on the system where you get the warning.
Geoff Wild
Honored Contributor

Re: 11iv2 descrepancies with adb

Good one.

Removed the core file - and now it is working.

Yes, there indeed was a core file - and my notification script wasn't sending email - so I fixed 2 issues with one stone.

Thanks....Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.