Date: Wed, 15 Oct 1997 02:04:15 -0500 (CDT) From: "Matthew D. Fuller" <fullermd@futuresouth.com> To: Greg Lehey <grog@lemis.com> Cc: parrothd@midwest.net, freebsd-questions@FreeBSD.ORG Subject: Re: tty-level buffer overflows Message-ID: <Pine.BSF.3.96.971015015805.27275J-100000@shell.futuresouth.com> In-Reply-To: <19971015145606.47003@lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 15 Oct 1997, Greg Lehey wrote: > On Wed, Oct 15, 1997 at 12:19:14AM -0500, Matthew D. Fuller wrote: > > > > I had a problem with overflows. > > I have a 28.8 modem, and if I set the port speed to 115200, I get > > overflows over-flowing on my xconsole. But only on incoming packets, > > which would seem to me to be the opposite of what you'd expect. > > It's certainly what I would expect. It's impossible to get overflows > on outgoing packets unless the driver is programmed wrong. There is that... I was thinking something weird involving a permutation of... nevermind. > > > If I set it to 28800, no problems. If I set it to 14400, no > > problems. I know it's not my system that's slow; Cyrix 6x86 166, 72 > > megs RAM, the serial ports are both 16550. > > What happens if you set the port speed to 57600? If that works, that > should be enough for you. Otherwise you should check your cabling and > modem setup. You should be using hardware handshake. Check this > excerpt from "The Complete FreeBSD": <snip> > > If you look at this profile, you'll notice that the active profile includes the > parameter &K4. This means ``use XON/XOFF flow control''. This is not > desirable: it's better to use RTS/CTS flow control. To fix it, > OK; maybe I did use bad phrasing... Both serial ports REPORT 16550. cuaa1 is an internal 28.8 modem. I can't look at my modem's settings now, obviously, since I'm PPP'd into my ISP, but when I do this: PPP ON mortis> show modem device: /dev/cuaa1 speed:28800 cs8, no parity, CTS/RTS on. (blah blah blah) doesn't that mean that it is enabled at all levels? I don't think this is a big problem either way; my ISA bus isn't exactly overflowing, so I don't think I gain much speed or reliability my having compression to my modem, but I'm not too knowledgeable about bus issues anyway, so... Thoughts, anyone? *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* | FreeBSD; the way computers were meant to be | * "The only reason I'm burning my candle at both ends, is * | that I haven't figured out how to light the middle yet."| * fullermd@futuresouth.com :-} MAtthew Fuller * | http://keystone.westminster.edu/~fullermd | *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971015015805.27275J-100000>