Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Steve Dum <steve_dum@mentorg.com>
To: axp-list@redhat.com
Cc: steve_dum@mentorg.com
Subject: Re: kermit on Redhat 5.0  (well now CBAUDEX)
Date: Sat, 28 Feb 1998 22:09:59 -0800	[thread overview]
Message-ID: <199803010609.WAA16583@drdoom.wv.mentorg.com> (raw)
In-Reply-To: Your message of "Sat, 28 Feb 1998 22:36:55." <199803010536.WAA28616@ellpspace.math.ualberta.ca>


In message <199803010536.WAA28616@ellpspace.math.ualberta.ca>you write:
>> 
>Different values for CBAUDEX sound suspiciously like a headers bug.
>Comments from somebody in the know?

This is my favorite bug.  I can't speak for redhat prior to 5.0 but, the 5.0
release serial driver is broken because of the definitions for CBAUDEX and
CBAUD.  You can't set the serial port speed above 38,400.  Trying to set it
to 56k gets you 0 baud and 115200 gets you 50 baud.  I sent mail on the
hurricane list about a couple of months ago about it.  

As it turns out the differences in the definitions of CBAUDEX and CBAUD
aren't in themselves fatal since I think the only code that should care is the
kernel serial driver.  The part that breaks the serial driver is that the
serial driver is trying to be common code between axp and i386, but the
numbering of the baud rates are different.  i386 numbers the baud rates from
0 to 15, then sets the CBAUDEX bit and goes on with 1 and 2, but the alpha
headers go 0 to 15, then sets CBAUDEX and uses 0 and 1.  Guess what a 
'common' source code serial driver does with this.  Nothing good.

steve


  reply	other threads:[~1998-03-01  6:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-01  2:55 kermit on Redhat 5.0 Steve Dum
1998-03-04  3:21 ` Michal Jaegermann
1998-03-01  5:04   ` Steve Dum
1998-03-04  5:36     ` Michal Jaegermann
1998-03-01  6:09       ` Steve Dum [this message]
1998-03-01 16:16         ` kermit on Redhat 5.0 (well now CBAUDEX) Michal Jaegermann
1998-03-02  2:45           ` Steve Dum
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