Discussion:
Remote debuging?
(too old to reply)
Dariusz Piatkowski
2011-08-10 01:21:01 UTC
Permalink
Guys,

I have a 'soft-freeze' situation...at times my SMP machine will hang...it's a
soft-freeze because CAD still works and the filesystem shuts down reliably.

I can reproduce the hang reliably...but I have no idea what is actually
hapenning since the WPS seems to become un-responsive, no screen updates happen,
etc.

Well, this is my newer SMP enabled system...I still have my old OS2 box, which
is a UNI processor combination running CP2 with FP6 applied. I am thinking of
doing the remote debugger thing...where through COM port of NIC I can attempt to
inspect from my secondary PC what's actually taking place when the hang occurs.

Can anyone point me to a decent reference on how to actually set something like
this up? Any EDM/2 articles?

Thanks!
Allan
2011-08-10 08:35:44 UTC
Permalink
Post by Dariusz Piatkowski
Guys,
I have a 'soft-freeze' situation...at times my SMP machine will hang...it's a
soft-freeze because CAD still works and the filesystem shuts down reliably.
I can reproduce the hang reliably...but I have no idea what is actually
hapenning since the WPS seems to become un-responsive, no screen updates happen,
etc.
Well, this is my newer SMP enabled system...I still have my old OS2 box, which
is a UNI processor combination running CP2 with FP6 applied. I am thinking of
doing the remote debugger thing...where through COM port of NIC I can attempt to
inspect from my secondary PC what's actually taking place when the hang occurs.
Can anyone point me to a decent reference on how to actually set something like
this up? Any EDM/2 articles?
The OS/2 Debugging handbooks (Redbooks) from IBM might
be a good starting point:

http://www.redbooks.ibm.com/abstracts/sg244640.html?Open
http://www.redbooks.ibm.com/abstracts/sg244641.html?Open
--
Allan.

It is better to close your mouth, and look like a fool,
than to open it, and remove all doubt.
Dariusz Piatkowski
2011-08-13 02:16:04 UTC
Permalink
Allan,
Post by Allan
Post by Dariusz Piatkowski
Guys,
I have a 'soft-freeze' situation...at times my SMP machine will hang...it's a
soft-freeze because CAD still works and the filesystem shuts down reliably.
I can reproduce the hang reliably...but I have no idea what is actually
hapenning since the WPS seems to become un-responsive, no screen updates happen,
etc.
Well, this is my newer SMP enabled system...I still have my old OS2 box, which
is a UNI processor combination running CP2 with FP6 applied. I am thinking of
doing the remote debugger thing...where through COM port of NIC I can attempt to
inspect from my secondary PC what's actually taking place when the hang occurs.
Can anyone point me to a decent reference on how to actually set something like
this up? Any EDM/2 articles?
The OS/2 Debugging handbooks (Redbooks) from IBM might
http://www.redbooks.ibm.com/abstracts/sg244640.html?Open
http://www.redbooks.ibm.com/abstracts/sg244641.html?Open
Great hint...I had these already on my machine given the previous (long long
time ago) install of Warp Development Kit...along with VACPP and 3.6.5.

Thank you!
Lars Erdmann
2011-08-10 09:44:15 UTC
Permalink
Get ICAT, search for "ICATOS2.ZIP". The ZIP contains a couple of HTML pages
of how to set it up.
You should try and get version 4.06.00 of this tool. The "Help->Product
Information" will eventually tell you what version you have.

If you cannot get it to work I can give you some instructions. I am
currently using it for USB device driver debugging.

Lars
Post by Dariusz Piatkowski
Guys,
I have a 'soft-freeze' situation...at times my SMP machine will hang...it's a
soft-freeze because CAD still works and the filesystem shuts down reliably.
I can reproduce the hang reliably...but I have no idea what is actually
hapenning since the WPS seems to become un-responsive, no screen updates happen,
etc.
Well, this is my newer SMP enabled system...I still have my old OS2 box, which
is a UNI processor combination running CP2 with FP6 applied. I am thinking of
doing the remote debugger thing...where through COM port of NIC I can attempt to
inspect from my secondary PC what's actually taking place when the hang occurs.
Can anyone point me to a decent reference on how to actually set something like
this up? Any EDM/2 articles?
Thanks!
Marcel Müller
2011-08-10 19:49:25 UTC
Permalink
Hi,
Post by Dariusz Piatkowski
I have a 'soft-freeze' situation...at times my SMP machine will hang...it's a
soft-freeze because CAD still works and the filesystem shuts down reliably.
if a single CAD works, probably only the GUI is frozen. Deadlocks in the
message procedures at certain messages can cause this. Drag and drop and
context menu related stuff is often sensitive.

You might add some dozen debug outputs in your application. You should
be able to see the result over the network.


Marcel
Bob Plyler
2011-08-11 10:51:56 UTC
Permalink
Hi,
I have a 'soft-freeze' situation...at times my SMP machine will hang...it's a soft-freeze because CAD still works and the filesystem shuts down
reliably.
if a single CAD works, probably only the GUI is frozen. Deadlocks in the message procedures at certain messages can cause this. Drag and drop and
context menu related stuff is often sensitive.
You might add some dozen debug outputs in your application. You should be able to see the result over the network.
Marcel
You can also take a system dump. This saves everything.

ALT-CTRL-NUMLOCK NUMLOCK

Bob Plyler
Marcel Müller
2011-08-11 12:07:46 UTC
Permalink
Post by Bob Plyler
You can also take a system dump. This saves everything.
ALT-CTRL-NUMLOCK NUMLOCK
if you have a floppy drive and some hundret floppies
or a system with a well configured dump partition and not too much memory.


Marcel
Bob Plyler
2011-08-11 12:42:04 UTC
Permalink
Post by Marcel Müller
You can also take a system dump. This saves everything.
ALT-CTRL-NUMLOCK NUMLOCK
if you have a floppy drive and some hundret floppies
or a system with a well configured dump partition and not too much memory.
Marcel
The most floppies I've ever seen used is about 15. The dump is
compressed. Of course these were 16 or 32 MB machines.

Bob Plyler
Shmuel (Seymour J.) Metz
2011-08-11 14:23:19 UTC
Permalink
In <4e43c612$0$7615$***@newsspool1.arcor-online.net>, on
08/11/2011
Post by Marcel Müller
if you have a floppy drive and some hundret floppies
or a system with a well configured dump partition and not too much memory.
In an era where we measure disk asizes in units of 100 GiB or 1 TiB,
the largest memory supported by OS/2 is small change. What's wrong
with a 4 GiB dump partition?
--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to ***@library.lspace.org
Marcel Müller
2011-08-12 12:06:04 UTC
Permalink
Post by Shmuel (Seymour J.) Metz
In an era where we measure disk asizes in units of 100 GiB or 1 TiB,
the largest memory supported by OS/2 is small change. What's wrong
with a 4 GiB dump partition?
This is not supported by OS/2 since it must be FAT16.


Marcel
Trevor Hemsley
2011-08-12 18:57:55 UTC
Permalink
On Fri, 12 Aug 2011 12:06:04 UTC in comp.os.os2.bugs, Marcel Müller
Post by Marcel Müller
Post by Shmuel (Seymour J.) Metz
In an era where we measure disk asizes in units of 100 GiB or 1 TiB,
the largest memory supported by OS/2 is small change. What's wrong
with a 4 GiB dump partition?
This is not supported by OS/2 since it must be FAT16.
There is a 'dump support ifs'. According to the readme from one of Scott's
kernels...

2002/01/02:
Support for 16bit filesystems with >2gb file support (e.g.the forthcoming
Post by Marcel Müller
2gb dump support ifs)
--
Trevor Hemsley, Brighton, UK
Trevor dot Hemsley at ntlworld dot com
Shmuel (Seymour J.) Metz
2011-08-12 20:31:55 UTC
Permalink
In <4e45172c$0$6636$***@newsspool2.arcor-online.net>, on
08/12/2011
Post by Marcel Müller
This is not supported by OS/2 since it must be FAT16.
DUMPFS is already long in the tooth.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to ***@library.lspace.org
Dariusz Piatkowski
2011-08-13 01:56:24 UTC
Permalink
Dave Yeo
2011-08-11 14:48:08 UTC
Permalink
Post by Dariusz Piatkowski
Guys,
I have a 'soft-freeze' situation...at times my SMP machine will hang...it's a
soft-freeze because CAD still works and the filesystem shuts down reliably.
What screensaver are you running if any? I used to get part of Doodles
screensaver freezing the WPS. Try disabling Doodles screensaver or
change it to only display a blank screen
Dave
Dariusz Piatkowski
2011-08-13 01:52:52 UTC
Permalink
Dave,
Post by Dave Yeo
Post by Dariusz Piatkowski
Guys,
I have a 'soft-freeze' situation...at times my SMP machine will hang...it's a
soft-freeze because CAD still works and the filesystem shuts down reliably.
What screensaver are you running if any? I used to get part of Doodles
screensaver freezing the WPS. Try disabling Doodles screensaver or
change it to only display a blank screen
Dave
Yes, I am running Doodle screen saver, however I have always used just the blank
screen mode...no fancy graphics, etc on the screen.

The soft freeze occurs during application use...actually, it almost always has
gone that way...I can not actually remember a situation where the screen-saver
kicked in and combing back to the PC I could NOT get it out of that mode.

The apps in question are: AVXCAT (specifically when I select a given function
with the program), and the Lotus SS apps when I do a print pre-view and then
attempt to print....the printer box comes up, once I hit PRINT it goes away into
the soft-freeze...LOL...weird....but point being, I do not have much/any control
over additional debug messages, etc.

I did use PM Trace with AVxCAT but each time I tried I was producing a stop in a
different call...which had me a little puzzled...I need to do a little more
research there. One thing is for sure, if I boot with just a single core/CPU,
these problems are NOT exhibited.

But good idea on the screensavere part...I'll give it a go and see if that makes
a difference!!! thanks...
Dave Yeo
2011-08-13 02:33:01 UTC
Permalink
Post by Dariusz Piatkowski
But good idea on the screensavere part...I'll give it a go and see if that makes
a difference!!! thanks..
My problems with the screensaver seemed to happen when it was
initializing. But I had left the machine alone for a bit.
Watchcat showed sdddaemon (sp?) as running and killing it brought my
system back to life.
Dave
Dariusz Piatkowski
2011-08-14 01:11:55 UTC
Permalink
Dave,
Post by Dave Yeo
Post by Dariusz Piatkowski
But good idea on the screensavere part...I'll give it a go and see if that makes
a difference!!! thanks..
My problems with the screensaver seemed to happen when it was
initializing. But I had left the machine alone for a bit.
Watchcat showed sdddaemon (sp?) as running and killing it brought my
system back to life.
Tried it..disabled the screensaver, rebooted...went through my 'test it'
scenario...still a soft freeze...I'm trying all the various OS2APIC parameters
in addition to this just to try to rule some stuff out...but...at least the
screensaver can be ruled out I think.

Thanks!

Loading...