1833953 Members
2292 Online
110063 Solutions
New Discussion

adb problem

 
Nikiforov
Frequent Advisor

adb problem

I try to execute command adb /stand/vmunix /dev/mem (this command try to execute install program of OVPI)
And it hangs (I can't see adb>, just nothing happens)
Could somebody help me to solve this problem
9 REPLIES 9
Steve Steel
Honored Contributor

Re: adb problem

Hi


Do whence adb

I bet you are getting the ovpi adb wrapper
instead of the debugger

Try /usr/bin/adb /stand/vmunix /dev/kmem


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Dave Olker
Neighborhood Moderator

Re: adb problem

What OS are you running on this system? I just reproduced the same behavior on my 10.20 system, but I didn't see this problem on my 11.0 or 11i systems.

To remedy the problem you can either do what Steve suggested - reference /dev/kmem instead of /dev/mem, or you can try adding the -k option to the adb command:

# adb -k /stand/vmunix /dev/mem

or

# adb /stand/vmunix /dev/kmem

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Bill Hassell
Honored Contributor

Re: adb problem

adb is not a friendly command--on HP-UX 11.00 and earlier, adb never had a prompt. Just press Enter and you'll see Bad Modifier which means you're running just fine. At 11.11, the adb> prompt was added.


Bill Hassell, sysadmin
Nikiforov
Frequent Advisor

Re: adb problem

My OS is HP-UX 11.11, I tried to press enter and other keys? but it didn't help.
I can't use /usr/bin/adb /stand/vmunix /dev/kmem
cause I install OVPI, and I don't know how to change it's install process, i mean that when I began to install it the process of adb hangs, and nothing happens, maybe I should change some install options, could somebody help me to do this.
Nikiforov
Frequent Advisor

Re: adb problem

I tried to use /dev/kmem instead ov /dev/mem
It shows me adb>, but my OVPI installation, do adb -k /satd/vmunix /dev/mem, and i don't know how to change it
Sandy Paton
Occasional Advisor

Re: adb problem

Sorry to butt in, but I'm seeing the same thing on one of my hp 11i machines. Running the command on the first 11i box works:
$ /usr/bin/adb -k /stand/vmunix /dev/mem
PA-64 adb ($h help $q quit)
adb> (commands can be entered as normal)

whereas on the second machine it hangs:
$ /usr/bin/adb -k /stand/vmunix /dev/mem
PA-64 adb ($h help $q quit)
(hangs, no commands are recognized have to ctrl+c out)

A patching issue perhaps..? I'm going to do a patch comparison between the machines but if anyone knows an update would be appreciated.
ASG RON
New Member

Re: adb problem

We are also experiencing the same issue on a new OVPI Satelite Server. OVPI 5.1 on HPUX 11.11 using Oracle 9.2.0.5. Has anyone found a fix for this.
Nikiforov
Frequent Advisor

Re: adb problem

I just move /usr/bin/adb to /usr/bin/adb_old, install OVPI and then move it back, everything is working
ASG RON
New Member

Re: adb problem

Also found a way around this to get the OVPI installer to continue by temporarily renaming mem and kmem.

mv /dev/mem /dev/mem1
mv /dev/kmem /dev/mem

Continue with installer then rename back again.

mv /dev/mem /dev/kmem
mv /dev/mem1 /dev/mem