From: "Stuart MacDonald" <stuartm@connecttech.com>
To: slack@slackware.ru
Cc: linux-serial@vger.kernel.org
Subject: Re: problems with serial driver
Date: Wed, 4 Sep 2002 12:22:32 -0400 [thread overview]
Message-ID: <08a301c2542f$45a78dc0$294b82ce@connecttech.com> (raw)
In-Reply-To: Pine.LNX.4.44.0209041734310.26018-100000@scil.sinp.msu.ru
From: <slack@slackware.ru>
> :) Starting sender, starting receiver, CtrlC (kill -15, getting KILL
> signal in the prog). One note: both ports are on the same comp.
Always start the receiver first. Otherwise it's not guaranteed that
the serial receiver will sync properly with the data stream.
> Quatro check. I do not know how, but serverworks defines IRQs after 16 for
> side devices. But I have pure computers, without any devices. Of cource,
> I've got bad results on well-weaponed comp (audio, video IO etc.).
> With another chipset (860). Then, checkin new computers, that are virgin.
Irq conflicts can and do happen with on-board devices. Or are you
really running a no-video, no-nic, no-sound, no-parallel-port,
no-keyboard, no-mouse serial-console-only machine?
> > happen when the driver's handler is delayed too long.
> I see this, in the driver. But do not know what to do.
You see that the handler (in a live running machine) is delayed? You
have more "deep hardware knowledge" than you think. :-)
> Ah! Those old discussion about slow(long) and fast(short) interrupts?
An interrupt handler runs when interrupts are off. That means no other
hardware can have their interrupts acknowledged and handled. So if the
IDE subsystem has a very long (long running time) handler, the uarts
generate "fifo full" interrupts, but they are ignored for a long time.
In the meantime, the fifo fills and overruns.
I think the discussion you're thinking of is hardware interrupt
handlers vs software interrupt handlers (bottom halfs, but I think
they're going away, see tasklets).
> Hm... Where riside COM on-board ports? On which BUS (PCI/ISA)?
Don't know. Check with your manufacturer.
..Stu
next prev parent reply other threads:[~2002-09-04 16:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-02 9:55 problems with serial driver slack
2002-09-03 14:56 ` Stuart MacDonald
2002-09-03 14:30 ` slack
2002-09-03 15:29 ` Stuart MacDonald
2002-09-03 15:34 ` slack
2002-09-03 18:21 ` Stuart MacDonald
2002-09-04 5:39 ` slack
2002-09-04 12:57 ` Stuart MacDonald
2002-09-04 14:21 ` slack
2002-09-04 16:22 ` Stuart MacDonald [this message]
2002-09-03 19:17 ` David Lawyer
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='08a301c2542f$45a78dc0$294b82ce@connecttech.com' \
--to=stuartm@connecttech.com \
--cc=linux-serial@vger.kernel.org \
--cc=slack@slackware.ru \
/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