From owner-freebsd-hackers Sat Jul 13 15:16:38 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA22166 for hackers-outgoing; Sat, 13 Jul 1996 15:16:38 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA22156 for ; Sat, 13 Jul 1996 15:16:33 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id IAA03154; Sun, 14 Jul 1996 08:11:46 +1000 Date: Sun, 14 Jul 1996 08:11:46 +1000 From: Bruce Evans Message-Id: <199607132211.IAA03154@godzilla.zeta.org.au> To: bde@zeta.org.au, graichen@axp5.physik.fu-berlin.de Subject: Re: sio / modem problems Cc: hackers@FreeBSD.org, v@godzilla.zeta.org.au Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >> might lose the intermediate steps... I added delays in exactly the >> cases where it seems reasonable for the UART to be slow. >> >but they are not enough :-) - but i solved it (half) - i disabled the "fast AT >cycle option" and now it is detected fine - i found that out after playing If the bus speed is out of spec then it's not surprising that some hardware fails. It's surprising that it only fails in the probe, however. The probe is mostly less demanding than the main code. BTW, there is a problem in the main code for some buggy (Startech?) 16550 UARTs. These UARTs report that there is data ready slightly before the data is ready. This causes doubled characters in the input. Delaying 1us at the critical point would reduce efficiency of the interrupt handler by 33%. >around a bit with the 2.0.5 kernel (the generic detected it but a smaller >kernel built for my system not - 2.0.5 too - this way i found out that it is >some kind of timing problem - it is detected by all kernels if i turned off >the turbo switch of the computer - this way i came to the bios setting) >now the question is - can it be solved by software (some more delays) >because linux detects it fine ? Only if the problem is understood. Bruce