Date: Mon, 04 Aug 1997 01:11:36 -0400 From: "Louis A. Mamakos" <louie@TransSys.COM> To: Nate Williams <nate@mt.sri.com>, Charles Henrich <henrich@crh.cl.msu.edu> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: tty-level buffer overflows Message-ID: <199708040511.BAA23487@whizzo.TransSys.COM> In-Reply-To: Your message of "Sun, 03 Aug 1997 22:23:17 MDT." <199708040423.WAA26367@rocky.mt.sri.com> References: <19970803025730.57257@crh.cl.msu.edu> <199708030852.SAA13473@genesis.atrad.adelaide.edu.au> <19970803112147.21483@crh.cl.msu.edu> <199708040423.WAA26367@rocky.mt.sri.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > Your application is busted; data is arriving faster than your app is reading > > > it, and the kernel has run out of patience and started throwing the data > > > away. > > > > Im afraid not, the application is a software Upload, with a singly byte ack > > every 2k, if the serial port cant handle that, theres a problem. I would > > presume that if the buffer is full, a write() should block. > > You've got a 16 byte FIFO, and you're wondering why it's overflowing > when your application is trying to get 2K at a time? You've *GOT* to be > kidding, right? No, I think that Charles is surprised that he's *sending* 2K blocks, and getting error messages described on the single byte ACK characters which is being *received*. Could it be that there is cross-talk, and some of the data being transmitted is being "heard" as input? louie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708040511.BAA23487>