On Wed, 06 Apr 2005 20:06:32 +0400
Stas Sergeev <[EMAIL PROTECTED]> wrote:

> Hello.
> 
> [EMAIL PROTECTED] wrote:
> > The problem is that if dosemu is killed from Linux (crond), and
> > the dosemu console is in focus, the screen/kbd could cause Linux
> > to reboot
> No! It can't! If it does this,
> then it is a misconfiguration/
> bug/outdated kernel/outdated dosemu/
> dosemu with root privs/ or whatever,
> but not the supposed behaviour.
> With the sane setup such a things
> simply cannot happen. Please explain
> your problem in *much* more details.
> 
> > because they were left in a bad state by a dos tsr.
> You can extend the dosemu startup
> script, or start it from another
> script, which, after dosemu exits,
> will restore the keyboard and the
> console state. But no, this have
> nothing to do with rebootes etc,
> so please explain your problem in
> details.
> 
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-msdos" in the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

Basically, now that I have you on this, I am going to do some more
tests.

The kernel version: 2.4.27 w/libc2.3.2
The shell         : bash v2.05.0(1)
The Dosemu version: 1.3.1 + time patch

user, currently root, but I believe also non-root
going to retest that.

from shell, run a /bin/sh script that runs dosemu in
a while []; do .... done loop

from crond root run a line that touches a 'restart' file in
C:/ and kills -TERM dosemu.bin, exiting to the original shell
while [] loop, the screen is ok (the shell's) but the kbd is
in echo strange characters mode and not passing to the original
shell.  dosemu is not restarted, no way to do a ps to check what
is running.

however, if I switch to a 2nd tty and run top, I see dosemu.bin
being restarted every 10min (for this test) and all is good!

more later
Thanks
TonyB

--
  __      __  _     I N C.               http://www.sysdev.org
/ __|\\// __||  \  __   __          /         [EMAIL PROTECTED]
\__ \ \/\__ \||)|/ O_)\/ /        \/  System Tools / Utilities
|___/ || ___/|_ /\___|\_/        WIntel / Linux Device Drivers

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to