From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: How-to disable irq4 serial ints Date: Fri, 10 Jun 2005 19:38:42 +0400 Message-ID: <42A9B402.4080201@aknet.ru> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Hello. Hufnus wrote: > Problem is, if the serial device on /dev/ttyS0 is receiving > data and generating ints, this serial servicing tsr crashes > during its init. So finally you did what I suggested, and located the broken DOS program instead of presuming the bugs in dosemu? Good work, keep it that way:) > Basically I was wondering, if masking the PIC with a 0x04 by doing > I/O to port 0x21 would work in dosemu emulation or if there is a > better way to do this? This *of course* works under dosemu. But this may be irrelevant. Because unless I am seriously mistaken, the DOS doesn't unmask the serial port IRQs by default. So if this is the problem, you have to search further and locate another broken program of yours that unmasks the IRQ and forgets to mask it back before exit.