[97108] in RedHat Linux List
Re: Minicom lag problem
daemon@ATHENA.MIT.EDU (Jan Carlson)
Sat Oct 31 20:32:53 1998
Date: Sat, 31 Oct 1998 20:31:28 -0500
From: Jan Carlson <janc@iname.com>
To: Michael Robinet <michael.robinet@mankato.msus.edu>
CC: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Michael Robinet wrote:
> I installed the uucp rpm and tried to run "cu -l /dev/ttyS2 -s 115200", but
> it came up with:
> cu: open (/dev/ttyS2): Permission Denied
> cu: /dev/ttyS2: Line in use
Not that one, try
# cu -l /dev/cua2 -s 38400
not
# cu -l /dev/ttyS2 -s 38400
cua2 will work with cu, but not ttyS2 - not sure why, but
I have no troubles with minicom, xminicom, cu,
diald, ppp, etc. even though I have to use cua2
with cu instead of ttyS2.
If you want to change the speed, use the -s parameter of cu,
although it is only in effect while cu is talking.
What kind of modem do you have, how is it configured?
Internal, external, ISA or PCI? What
IRQ and what io address is it jumpered for?
What does your computer's firmware say about your
built-in serial ports - what irq for each, is each enabled?
Are you using a serial mouse? On which serial port?
If you have a mouse on COM1 and a modem on COM3
that is your problem - they are sharing IRQ 4!
And a serial mouse on COM2 means you can't use COM4
because they share IRQ 3.
Do you have any cards in the machine that are not in use?
Are you running gpm? (ps ax|grep gpm)
Also tell us output of
# ls -l /dev/modem /dev/mouse
>
>
> I tried to run "stty speed 115200 > /dev/ttyS2", but that gave me an error.
> So I tried "stty ispeed 115200 > /dev/ttyS2" and "stty ospeed 115200 >
> /dev/ttyS2", but i still have the same problem and it still reads 9600 baud
> for speed. My computer is an IBM Aptiva S97 Pentium 200 MMX and is only
> about a year and a half old so I don't think that it is because I have slow
> serial ports, especially since I can connect in Win98 at high speeds. Any
> other suggestions?
> -----Original Message-----
> From: Michael Jinks <michael@twopoint.com>
> To: redhat-list@redhat.com <redhat-list@redhat.com>
> Date: Saturday, October 31, 1998 4:28 PM
> Subject: Re: Minicom lag problem
>
> >Michael Robinet wrote:
> >>
> >> I am running Minicom-1.81-4 rpm that came with RedHat 5.1
> >> I just installed it and have never had it working.
> >> I tried running "cu -l /dev/cua2 -s 115400", but it gave me a bash:cu
> >> command not found.
> >
> >This can be fixed by installing the uucp rpm (also from your RH cd). I
> >recommend this as a debugging step because cu is a lot more lightweight
> >than Minicom, although from the other stuff in your message I'm starting
> >to think that cu will also have long delays.
> >
> >
> >> I run Win98 also and I've never had an IRQ conflict with it.
> >
> >No long delays either, I assume? Hmm. . .
> >
> >> I also noticed something else interesting. If I type in my username and
> >> password 15-20 seconds before the username and password prompts appear I
> can
> >> log on. The when I logout to disconnect the connection status indicator
> in
> >> the lower right corner changes from Connected to Disconnected almost
> >> immediately, but "logout" and "NO CARRIER" don't appear on the screen for
> >> another 15-20 seconds. All of the ALT menus such as ALT-Z appear right
> away
> >> and I don't have any problem there.
> >
> >Interesting is right. It looks like everything is fine up until the
> >serial port tries to send actual character information to the
> >controlling process, and that's what hangs. Only a guess.
> >
> >> I noticed that when I run "stty -a < /dev/ttyS2" it lists "speed 9600
> baud"
> >> which seems really slow.
> >
> >Yeah, especially since you have a real 16550A UART (the chip that
> >controls the serial port), which _should_ be capable of speeds well
> >beyond 9600. Have you tried "stty speed 115200 >/dev/ttyS2"?
> >
> >> I don't really know what that speed is for, so I
> >> didn't look into trying to change it.
> >
> >How old is this machine? Could it be that you just have slow serial
> >ports? (My guess is not; you said that you don't have trouble under
> >Win98, but I don't think you mentioned any connection speeds.)
> >
> >Well, that's my latest round of wild guesses. I'm having a serial
> >debugging day myself, so if nothing else this is giving me ideas for
> >stuff to try on my own recalcitrant box.
> >
> >--
> >Michael Jinks
> >mailto:michael@twopoint.comhttp://www.twopoint.com
> >Systems Administrator, Two Point Conversions, Inc.
> >
> >"Never interfere in a boy and girl fight." -- W. S. Burroughs
> >
> >
> >--
> > PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> > http://www.redhat.com http://archive.redhat.com
> > To unsubscribe: mail redhat-list-request@redhat.com with
> > "unsubscribe" as the Subject.
> >
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com http://archive.redhat.com
> To unsubscribe: mail redhat-list-request@redhat.com with
> "unsubscribe" as the Subject.
--
Jan Carlson
janc@iname.com Scarborough, Ontario, Canada
Mailed with Netscape 4.5 on Red Hat Linux 5.1
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.