* Serial Port Very Slow on Multia
@ 1998-05-24 4:00 qcli
1998-05-25 4:00 ` qcli
1998-05-29 4:00 ` Kermit 6.1 (was Re: Serial Port Very Slow on Multia) Peter Rye
0 siblings, 2 replies; 4+ messages in thread
From: qcli @ 1998-05-24 4:00 UTC (permalink / raw)
I have a problem with the Serial Port of Alpha Multia 166MHz running Red Hat
5.0.
I installed an external 28.8bps modem (which works fine with PC running
Windows 95/NT), and found the response very very slow. I used minicom and
other perl program to access the port.
When I put "ATDT 555-1212" or just simply "AT", it takes 30 seconds to respond
with an "OK". The dialing then aborted. I guess some parameter may not be
right, so it has to timeout something when communicating with the serial port.
Anyone had any idea on this type of problem? What I can do to solve this
problem. I tried to compile Kermit, couldn't get it compiled (error abort).
Any binary site has compiled executables for Red Hat Linux (Alpha)?
Please shed some light. Thanks a lot.
Charlie Li
Additional information on the ports in use:
/dev/cua0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
Baud_base: 115200, close_delay: 57559, divisor: 0
closing_wait: 65116, closing_wait2: infinte
Flags: spd_vhi
/dev/cua1, Line 1, UART: 16550A, Port: 0x02f8, IRQ: 3
Baud_base: 115200, close_delay: 512, divisor: 0
closing_wait: 30720, closing_wait2: infinte
Flags: spd_normal skip_test
crw-rw---- 1 root uucp 5, 64 May 21 18:07 /dev/cua0
crw-rw---- 1 root uucp 5, 65 May 13 14:08 /dev/cua1
crw------- 1 root root 4, 64 May 3 13:52 /dev/ttyS0
crw-r--r-- 1 root root 4, 65 May 29 1995 /dev/ttyS1
+-----------------------------------------------------------------------+
| A - Serial Device : /dev/cua0 |
| B - Lockfile Location : /var/lock |
| C - Callin Program : |
| D - Callout Program : |
| E - Baud/Par/Bits : 115200 8N1 |
| F - Hardware Flow Control : Yes |
| G - Software Flow Control : Yes |
+-----------------------------------------------------------------------+
+--------------------[Modem and dialing parameter setup]---------------
|
| A - Init string ......... AT^M
| B - Reset string ........ ATZ^M
| C - Dialing prefix #1.... ATDT
| D - Dialing suffix #1.... ^M
| E - Dialing prefix #2.... ATDP
| F - Dialing suffix #2.... ^M
| G - Dialing prefix #3.... ATX1DT
| H - Dialing suffix #3.... ;X4D^M
| I - Connect string ...... CONNECT
| J - No connect strings .. NO CARRIER BUSY
| NO DIALTONE VOICE
| K - Hang-up string ...... ~~+++~~ATH^M
| L - Dial cancel string .. ^M
|
| M - Dial time ........... 45 P - Auto baud detect .... No
| N - Delay before redial . 5 Q - Drop DTR to hangup .. Yes
| O - Number of tries ..... 10 R - Modem has DCD line .. Yes
+------------------------------------------------------------------
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Serial Port Very Slow on Multia
1998-05-24 4:00 Serial Port Very Slow on Multia qcli
@ 1998-05-25 4:00 ` qcli
1998-05-25 4:00 ` Christoph Nadig
1998-05-29 4:00 ` Kermit 6.1 (was Re: Serial Port Very Slow on Multia) Peter Rye
1 sibling, 1 reply; 4+ messages in thread
From: qcli @ 1998-05-25 4:00 UTC (permalink / raw)
Hi, Michal and Peter,
Thank you so much for your reply to my question.
At 09:29 AM 5/24/98 -0600, you wrote:
>Try running your port speed at 38400 and using
>'/bin/setserial /dev/ttyS0 spd_vhi' to set the port speed. For some reason
>on the alpha, setting the higher port speeds directly has been broken. It
>seems to work on the newer (2.1.xxx) kernels though.
Now I changed to the following, it is still very slow.
/dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
Baud_base: 38400, close_delay: 11427, divisor: 0
closing_wait: 51476, closing_wait2: infinte
Flags: spd_vhi
>Sounds like you have an interrupt conflict somewhere. Did you try to
>look at 'cat /proc/interrupts' and 'cat /proc/ioports'. And what
>'setserial' has to say?
I'm wondering why IRQ setting for serial ports are not listed in this file.
maybe this is the problem? How do I make them appear in /proc/interrupts
file?
Thanks.
Charlie
/proc/interrupts
1: 10550 keyboard
10: 1764461 Digital DS21040 Tulip
11: 427689 + ncr53c8xx
12: 1263 PS/2 Mouse
/proc/ioports
0060-006f : keyboard
02f8-02ff : serial(auto)
03f0-03f5 : floppy
03f7-03f7 : floppy DIR
03f8-03ff : serial(set)
8000-807f : Digital DS21040 Tulip
8800-887f : ncr53c8xx
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Serial Port Very Slow on Multia
1998-05-25 4:00 ` qcli
@ 1998-05-25 4:00 ` Christoph Nadig
0 siblings, 0 replies; 4+ messages in thread
From: Christoph Nadig @ 1998-05-25 4:00 UTC (permalink / raw)
In article <6kc272$3l3$1@nnrp1.dejanews.com>, <qcli@commer.net> wrote:
>
>I'm wondering why IRQ setting for serial ports are not listed in this file.
>maybe this is the problem? How do I make them appear in /proc/interrupts
>file?
The serial driver tries to grab the IRQ upon an open call and
deallocates it after an close call. Issue 'cat /dev/ttyS0' in another
window to hold the port open.
Cheers, Chris
--
--
chrnadig@iiic.ethz.ch
^ permalink raw reply [flat|nested] 4+ messages in thread
* Kermit 6.1 (was Re: Serial Port Very Slow on Multia)
1998-05-24 4:00 Serial Port Very Slow on Multia qcli
1998-05-25 4:00 ` qcli
@ 1998-05-29 4:00 ` Peter Rye
1 sibling, 0 replies; 4+ messages in thread
From: Peter Rye @ 1998-05-29 4:00 UTC (permalink / raw)
qcli@commer.net writes:
> Anyone had any idea on this type of problem? What I can do to solve this
> problem. I tried to compile Kermit, couldn't get it compiled (error abort).
> Any binary site has compiled executables for Red Hat Linux (Alpha)?
I just compiled Kermit 6.1 Beta.05 on my machine last night.
I have a trivial patch to fix this glitch (which is another glibc header
thing), which I have sent to columbia.edu if nobody else has done so.
I have this patch, src and binary rpms if anyone wants them. Just email me.
(Does anyone know if it's legal to make them more generally available. My
understanding of the licence would be that it is OK if I make them
available but not OK for Red Hat (or similar) to make them available as
they could potentially end up being distributed on CD.)
--
Peter Rye <prye@picu-sgh.demon.co.uk>
Consultant in Paediatric Intensive Care, St. George's Hospital, London, UK
Ph: +44 (0)181 725 1932 Fax: +44 (0)181 725 0089
** Smoking areas in restaurants are like peeing areas in swimming pools. **
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-05-29 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-24 4:00 Serial Port Very Slow on Multia qcli
1998-05-25 4:00 ` qcli
1998-05-25 4:00 ` Christoph Nadig
1998-05-29 4:00 ` Kermit 6.1 (was Re: Serial Port Very Slow on Multia) Peter Rye
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox