1848887 Members
6131 Online
104038 Solutions
New Discussion

Problem with nickel

 
SOLVED
Go to solution
Ralf Buchhold
Regular Advisor

Problem with nickel

Hallo
I installed nickel version 1.08.
On a HPUX 11.22 (Itanium) nickel failes
because adb -k is not possible.
What can I do ?
Thanks
Ralf
6 REPLIES 6
Steve Steel
Honored Contributor
Solution

Re: Problem with nickel

Hi

adb -k is deprecated on Itanium and is only for PA-RISC

Thus you can do nothing


The following command-line options to adb are obsolete and are no
longer required. (If used they generate a warning.)

-k Previously adb required this option to recognize HP-UX crash
dumps or /dev/mem.

-m Previously adb required this option to recognize multiple file
HP-UX crash dumps.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Dietmar Konermann
Honored Contributor

Re: Problem with nickel

I don't know Nickel's internals, but I assume it uses the "old" adb syntax with /dev/mem and -k.

Simply leave away -k, but add -o (tell adb to accept "old" syntax) and use /dev/kmem instead of /dev/mem (adb does not support that on Itanium).

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Steve Steel
Honored Contributor

Re: Problem with nickel

Hi


Dietmar is right about format but answers are wrong

echo "lockable_mem/D" | adb -o /stand/vmunix /dev/kmem
lockable_mem:
lockable_mem: 0


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Dietmar Konermann
Honored Contributor

Re: Problem with nickel

Steve,

not adb's answer is wrong. It's the question. :-)

The variable lockabe_mem is a long now... so it's better to use:

echo "lockable_mem/DD" | adb -o /stand/vmunix /dev/kmem

or, directly using the new 64bit-capable adb format:

echo "lockable_mem/ld" | adb /stand/vmunix /dev/kmem

You command prints only the most significant word of the variable.

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Steve Steel
Honored Contributor

Re: Problem with nickel

Dietmar

How right you are


Thank you for the input


Steve steel
If you want truly to understand something, try to change it. (Kurt Lewin)
J.A.R. Karremans
Frequent Advisor

Re: Problem with nickel

Hi there everybody,

But do we have a good, new implementation of the nickel scripts that run on hpux Itanium? Or do we need to hack the scripts manually? If so, where exactly do we need to change what??

Kindest regards,
Jan