From: jestabro@amt.tay1.dec.com <jestabro@amt.tay1.dec.com>
Subject: Re: Serial ports and AXP
Date: Thu, 08 Aug 1996 08:47:06 -0400 [thread overview]
Message-ID: <199608081247.IAA12796@linux03.amt.tay1.dec.com> (raw)
In-Reply-To: <199608080508.AAA06099@saratoga.compassnet.com>
>>> 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
next parent reply other threads:[~1996-08-08 12:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <199608080508.AAA06099@saratoga.compassnet.com>
1996-08-08 12:47 ` jestabro [this message]
1996-08-08 8:32 Serial ports and AXP David A Rusling
-- strict thread matches above, loose matches on Subject: below --
1996-08-08 5:11 Brian Walters
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox