1851752 Members
1828 Online
104062 Solutions
New Discussion

Re: adb error message.

 
support_5
Super Advisor

adb error message.


Hi folks,

I cannot seem to be able to run adb to get current sizes of kernel parameters. I get the following:

[myserver3]:/root # echo "maxtsiz/D" | adb /stand/vmunix /dev/kmem
Error from elf64_getehdr(application core file)
Not an Elf file: No Elf header
maxtsiz:
maxtsiz: 0

I'm running hp-ux 11.00 on a 6 way 12GB system.

Anyone know what this means?

Thank you.

- Andrew Gray
5 REPLIES 5
Joseph Loo
Honored Contributor

Re: adb error message.

hi,

you may like to read this:

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066734558

r there also any issue with other kernel parameters?

another way to check maxtsiz:

# kmtune -q maxtsiz

regards.
what you do not see does not mean you should not believe
support_5
Super Advisor

Re: adb error message.

Hi,

Yes, you are right, adding the -k option does get rid of the error message, but it still outputs 0 as the size. Surely this can't be right??

kmtune says:
# kmtune -q maxtsiz
Parameter Value
===============================
maxtsiz 0x04000000

But adb says 0:

# echo "maxtsiz/D" | adb -k /stand/vmunix \
dev/kmem
maxtsiz:
maxtsiz: 0

- Andrew Gray
Joseph Loo
Honored Contributor

Re: adb error message.

kmtune may show the value in hexadecimal if that is how it is set. converting it that will be 16384.

as for why adb shows 0, u have yet to send me the patch level for adb:

# what /usr/bin/adb

regards.
what you do not see does not mean you should not believe
support_5
Super Advisor

Re: adb error message.

Hi,

the version of adb is:

# what /usr/bin/adb
/usr/bin/adb:
adb(32) $Revision: 82.57 $

Hope that helps.

- Andy
Joseph Loo
Honored Contributor

Re: adb error message.

hi,

now this is interesting.

based on a HP-UX 11.00 HP9000 K380 (32 bit kernel bits) server with the same patch level as well, I was able to get output (other than 0) for maxtsiz with or without the -k output.

this article will show u the reason why i request u use -k option:

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066734558

i have no answer why maxtsiz is 0 for now, do u want to check with HP support? i see what i can find.

regards.
what you do not see does not mean you should not believe