* Serial ports and AXP
@ 1996-08-08 5:11 Brian Walters
0 siblings, 0 replies; 3+ messages in thread
From: Brian Walters @ 1996-08-08 5:11 UTC (permalink / raw)
System: UDB and RedHat 3.0.3 and the special serial cable
I'm having problems getting the serial ports to work worth a flip. I can
echo things to them w/ a terminal attached, I can even start minicom and
do an ATDT to get a dial tone. The problem seems to be flow control. When
I echo to a terminal it takes about 20 seconds for the message to be
echo'd and then I get my prompt back on the Alpha. I tried an ati4 in
minicom to get the modem info of my US Robotics all I managed to get from
it was
"USRobotics Sp"
I've also tried a serial printer without any luck too.
Ok so you say, "this guy just doesn't have it hooked up right????" Nope,
and here's how I know. When you boot into milo from the ARC everything is
echoed to the com1 port (this scared me to death the first time I booted
up with a serial printer turned on)
I'm sure this is a simple little problem but I haven't been able to find
it, even looking for bug reports and comparing against the Intel.
TIA
Brian Walters<------------------------------macbnr@saratoga.compassnet.com
"Bandwith is only a matter of money"
"A terabyte of storage is only matter of greed!"
www.compassnet.com/~macbnr/bill_in_hell.html Joke about Bill Gates
www.compassnet.com/~macbnr My home page
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Serial ports and AXP
@ 1996-08-08 8:32 David A Rusling
0 siblings, 0 replies; 3+ messages in thread
From: David A Rusling @ 1996-08-08 8:32 UTC (permalink / raw)
Brian,
sorry about Milo and the serial printer. Reminds me of an incident
years ago where we had a DECTalk machine - basically you fed it text and it
talked. This was years ago and it was very cool. Anyhow, you plugged it into
the printer port (on a VAX) so that ]
is where the person playing with it had put it. However, he had used the
printer that normally had the label sheets in it. So when someone printed
off labels for his christmas cards, the DECTalk read out the list to the
whole office. We laughed for weeks.
As for Alpha and serial ports. I use mine for remote debugging
(StrongArm) at 38400 and at home for modem connection into work. So, for
PC64 (Cabriolet), EB164 and UDB they work fine out of the box...
Dave
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Serial ports and AXP
[not found] <199608080508.AAA06099@saratoga.compassnet.com>
@ 1996-08-08 12:47 ` jestabro
0 siblings, 0 replies; 3+ messages in thread
From: jestabro @ 1996-08-08 12:47 UTC (permalink / raw)
>>> Brian Walters said:
> System: UDB and RedHat 3.0.3 and the special serial cable
>
> I'm having problems getting the serial ports to work worth a flip. I can
> echo things to them w/ a terminal attached, I can even start minicom and
> do an ATDT to get a dial tone. The problem seems to be flow control. When
> I echo to a terminal it takes about 20 seconds for the message to be
> echo'd and then I get my prompt back on the Alpha. I tried an ati4 in
> minicom to get the modem info of my US Robotics all I managed to get from
> it was
> "USRobotics Sp"
Um, you sure it wasn't 16 characters long, not 13? "Cuz 16 is the size of the
FIFO, and if the serial port interrupt is not coming through, the driver will
time out after 10 seconds and dump the FIFO, over and over and over... :-( :-(
I thought we had this one fixedm *way* before 1.3.90, which came with 3.0.3.
Are you using an older kernel for some reason, or are you booting from SRM
instead of ARC? What version of ARC firmware do you have?
See, the problem is simple: serial ports on the UDB need "level" triggered
interrupts (like PCI devices). We tried to be generic in setting up the
edge/level trigger bits, so we could handle UDB and NONAME with the same
MILO and kernel images, even though NONAME's serial ports use edge triggered
interrupts. So we read whatever the console has setup, and leave the serial
port's interrupts the way they were set by the console, in the normal case,
this is ARC console (MILO uses whatever it finds).
Now, MILO uses polling to handle the serial echoing, I believe, so it wouldn't
run into this problem, and it won't change those bits. So one of a number of
things is happening:
1. either ARC or SRM is setting them incorrectly before MILO sees them.
2. MILO is for some reason, trashing them (*very* unlikely).
3. the kernel is trashing them for some reason (also unlikely).
4. once the kernel has booted, something else is touching them.
Hmm, another thought occurs; I guess you could run into this problem if
you put MILO into the FLASH ROM of a UDB, since MILO assumes somebody else
did some setup before it runs. If that somebody *doesn't* run, then MILO
will prolly not know or do the proper setup.
Email me if you want a pointer to where and what you'd need to patch to
force the serial port interrupts to be set "level" (hint: bios32.c:sio_fixup).
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Migration Tools - LINUX Project
Digital Equipment Corp. (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2 enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407 decnet: tallis::jestabro
-------------------------------------------------------------------------------
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-08-08 12:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <199608080508.AAA06099@saratoga.compassnet.com>
1996-08-08 12:47 ` Serial ports and AXP jestabro
1996-08-08 8:32 David A Rusling
-- strict thread matches above, loose matches on Subject: below --
1996-08-08 5:11 Brian Walters
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox