From: Stas Sergeev <stsp@aknet.ru>
To: linux-msdos@vger.kernel.org
Subject: Re: Signaling dosemu application to kill itself from Linux
Date: Thu, 07 Apr 2005 21:50:26 +0400 [thread overview]
Message-ID: <425572E2.5000207@aknet.ru> (raw)
Hello.
tonyb@thekrnl.sysdev.org
> Negatory on that, no raw kbd or strange stuff,
> all vanilla...
Yes, your config looks pretty save.
Note: you don't need to uncomment
the options unless you are going to
change them.
Why are you using the direct access
to the serial ports? The emulated
access of the CVS dosemu is nearly
as fast as the real one.
I'd like you to revoke the root
privs from a dosemu process before
the further experementations, but
if you need an LPT too, then that's
a problem.
> Advantek i486 Cytrix tiny mobo. I do have
> a serial port, can try logging on a getty
> there.
Yes, please do this and produce a
stack trace with gdb when dosemu is
hanging.
Alternatively, send a SIGSEGV to
dosemu when it is hanging, and it
will dump a stack trace into a log.
> just spinning. There is an assembly language
> TSR that is running that I bet is holding
> the dosemu thread active or hung.
No DOS program should hold a dosemu
when it gets a SIGTERM, or it is a
bug. The stack trace can help.
Also, how exactly are you killing
it? SIGKILL can help too:)
> Is there a way (INT 1Ah?) to force dosemu to reset its time to
> Linux's, on request?
The mentioned patch was just reading
a linux time directly, so with the
$_timemode="linux" you don't need to
reset anything at all.
I am sure however your problem is not
related to RTC, it is a problem of the
PIT most likely. The patch won't help.
You'll have to dig a PIT code, which
is just a big mess :( It boils down to
the cputime.c at one point, but the
parts of it are all around the sources.
You'll certainly have fun tracking it.
One thing to try is $_rdtsc=on/off
(don't remember if I told you that
already)
next reply other threads:[~2005-04-07 17:50 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-07 17:50 Stas Sergeev [this message]
2005-04-08 2:14 ` Signaling dosemu application to kill itself from Linux tonyb
-- strict thread matches above, loose matches on Subject: below --
2005-04-10 8:40 Stas Sergeev
2005-04-08 3:55 Stas Sergeev
2005-04-10 0:32 ` tonyb
2005-04-07 17:59 Stas Sergeev
2005-04-07 3:45 Stas Sergeev
2005-04-07 9:07 ` Andrew Brooks
2005-04-07 16:23 ` tonyb
2005-04-07 17:25 ` Gene Heskett
2005-04-07 16:06 ` Gene Heskett
2005-04-07 16:35 ` Andrew Brooks
2005-04-07 3:38 Stas Sergeev
2005-04-07 6:12 ` tonyb
2005-04-06 16:06 Stas Sergeev
2005-04-06 22:16 ` tonyb
2005-04-07 0:47 ` Gene Heskett
2005-04-06 7:14 tonyb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=425572E2.5000207@aknet.ru \
--to=stsp@aknet.ru \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox