public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
* problems with serial driver
@ 2002-09-02  9:55 slack
  2002-09-03 14:56 ` Stuart MacDonald
  0 siblings, 1 reply; 11+ messages in thread
From: slack @ 2002-09-02  9:55 UTC (permalink / raw)
  To: alan; +Cc: linux-serial


Hi!
I've got some problems with serial communication.
So, connecting 2 serial ports via the cable (tested on several fast
computers with
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A)
No IRQ conflicts (pure computers without additional boards).
1. Starting receiver, sender: all is OK.
2. Starting sender, receiver: sometimes OK, sometimes I've got damaged
data. Sometimes - IRQ overruns (losting NULL pointer etc). Kernel down.

Progs are very simple: send/receive (like in HOWTO). So,
operations are intensive. Installation of some
usleeps before read() from port solves the problem.
Kernels are up to 2.4.18 and on modern up to 2.5.17.
(newer are not tested).


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-09-04 16:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2002-09-03 19:17       ` David Lawyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox