Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ksld: can't find my debug driver module

807567Jan 17 2001
Hi all...

I'm experimenting with the 1.0 rev of the ksld (kernel source level debugger) from Sun at:

http://soldc.sun.com/developer/support/driver/tools/KSLD/ksld.html

Following the readme instructions, I am able to connect host to target in remote mode over net term server. However, it fails to read a particular driver which is the one I want to debug. Here's the command output on the HOST:

--------------
% pwd
/proto/root_sparc/kernel
% ksld mytermserver 5002 /proto/root_sparc/platform/sun4u/kernel/unix 1
Reading unix

KSLD v1.0 on sun4u [SunOS 5.7]

Current thread is 0x2a1000b1d60
Reading krtld
...
Reading fcp
Reading fctl
Reading ifp
Reading inst_sync
Reading mytestdriver

ksld_dbx: can't stat /kernel/misc/mytestdriver -- No such file or directory
Reading mytestdriver
ksld_dbx: can't open /kernel/misc/mytestdriver -- No such file or directory
Reading ptm
Reading pts
Reading ptem
Reading telmod
Reading logindmux
detected a multithreaded program
t@0 (l@1) stopped in (unknown) at 0xedd000e0
0xedd000e0: ta %icc,%g0 + 125
(ksld_dbx)

--------------

It appears it's trying to find "mytestdriver" on the host system in the /kernel/misc directory. I think it should instead be looking in /proto/root_sparc/kernel/misc directory which is where mytestdriver driver module is actually located.

Anyone have suggestions on why it can't find the driver module?

Regards,
-Greg
gbaysden@hotmail.com
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 14 2001
Added on Jan 17 2001
0 comments
214 views