1826507 Members
3259 Online
109693 Solutions
New Discussion

kwdb remote debugging

 
prashantm
Occasional Advisor

kwdb remote debugging

I have downloaded the latest version of kwdb
however i m not able to connect to the target system. when i try doing that i get the error
h_error = 1 or h_error = 4.
I have also made the sysname and mac address entry in the kwdbconf file.

I am also not able to start the communication server as a daemon.

8 REPLIES 8
mobidyc
Trusted Contributor

Re: kwdb remote debugging

Hello,

do you have the latest patch (not seen your problem in it however): PHSS_30601

the man page indicates:
For remote debugging kwdb has to be invoked with a local copy of the kernel file.

have you get locally the remote kernel file?

also inthe man page there is:
Invoking kwdb with /dev/mem or /dev/kmem as an argument will start kwdb for analyzing the local running system.

it implies NOT the remote system.

what is your command line options ?

Regards,
Cedrick Gaillard
Best regards, Cedrick Gaillard
mobidyc
Trusted Contributor

Re: kwdb remote debugging

please also note than kwdb is not supported

from :
- "HP-UX 11i Version 2 September 2006 Release Notes" (http://docs.hp.com/en/5991-5535/ch03s09.html)
-- Initial Release Notes, Chapter 9: "Libraries and Programming".
--- Debugging:
---- HP Kernel Debugger (KWDB): Included in HP-UX 11i v2, but not supported.

Regards,
Cedrick Gaillard

Best regards, Cedrick Gaillard
prashantm
Occasional Advisor

Re: kwdb remote debugging

Hi ,
I have got the copy of vmunix of the target machine on the host.
to invoke kwdb i give the command.
kwdb /dev/kmem.

I need to check whether the latest patches are installed.

prashantm
Occasional Advisor

Re: kwdb remote debugging

the manual says that "This method requires that a LAN card be installed on the target
system that can be used exclusively by KWDB."

how to ensure that kwdb exclusively uses one of the lancards installed on the system.

Thanks,
prashant.
Dennis Handly
Acclaimed Contributor

Re: kwdb remote debugging

>I need to check whether the latest patches are installed.

How do you intend to use kwdb to see if you have patches install??

The simplest way is to use swlist on the original system.
prashantm
Occasional Advisor

Re: kwdb remote debugging

i do not intend to use kwdb to see if the patches are installed. but i said that as in the earlier post i was asked to ensure that the latest patches are installed so that kwdb can run properly
mobidyc
Trusted Contributor

Re: kwdb remote debugging

Hello,

i've never used kwdb but if you want to ask a local vmunix file, why do not user adb?

what are you looking for exactly ?


Regards,
Cedrick Gaillard

PS: don't forget to assign points
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
Best regards, Cedrick Gaillard
Dennis Handly
Acclaimed Contributor

Re: kwdb remote debugging

>Cedrick: i've never used kwdb but if you want to ask a local vmunix file, why do not use adb?

Because adb doesn't have a understandable user interface. :-(