Skip to contentSkip to conversation

Signaling dosemu application to kill itself from Linux

DISCUSSION Stas Sergeev 1 participant 1 message Apr 10, 2005

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 4 lines · [email protected] wrote:

handles the I/O to 378h and 3f8h. Since
he was not using INT 14h, I didnt realize that your dosemu abstraction (emulation) would filter both port and IRQ I/O!

Thats actually a common problem here. People assume that something doesn't work without even trying it (even after they were suggested to try), and the serial ports is a most frequent casuality of such a self-delusion.

Quoted 3 lines

But when I was able to fire it up, the screen during dosemu kill was NO LONGER HANGING Linux. And the restarts occurred fine.

Good that is now works. But it would
be nice to understand where the problem was, so that we can fix it. Your config looks mostly safe, but there are still those dangerous things like the hardware ram and irqpassing (and I really think that the hardware_ram thing was not tested here for about something like 5 years or more, so it can easily be broken). It would be nice if you try the things as root again, but with the fresh dosemu.conf, the one with everything is commented out, and see whether it still hurts the linux box or not. If it works without the lookups/rebootes, then you can easily locate an option of dosemu.conf that made the problem for you. And it should be the latest CVS code of dosemu to make the testing more valueable.

Quoted 2 lines

This might have also solved the PIT emulation going crazy, but wont know for 3 or 4 weeks.

This is very unlikely, but keep us informed.

Quoted 2 lines

The idea was
to reset dosemu every week, to avoid the problem.

Quite pity that such a hacks are still needed. Apparently dosemu was never tested for such a long uptimes.

Quoted 3 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

if you need an LPT too, then that's
a problem.

I knew that wasnt emulated from some posts.

So how at the end you got the LPTs to work without a root? To the best of my knowledge, it is not possible right now, unless you implemented the missing emulation yourself. (I don't mean the printing-only mode, which is how the LPT emulation is implemented right now)

Quoted 1 line

We are not using INT 1A

OK, then please refresh my memory on what you actually use and I'll take another look at that code.

Quoted 2 lines

I would add code to the TSR
instead of having to do a dosemu kill and restart!

Yes, that should work.