From owner-freebsd-hackers Sun May 17 17:58:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA29974 for freebsd-hackers-outgoing; Sun, 17 May 1998 17:58:24 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA29928 for ; Sun, 17 May 1998 17:58:10 -0700 (PDT) (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id KAA03132; Mon, 18 May 1998 10:28:11 +0930 (CST) (envelope-from grog) Message-ID: <19980518102811.J427@freebie.lemis.com> Date: Mon, 18 May 1998 10:28:11 +0930 From: Greg Lehey To: Alexey Lukin , hackers@FreeBSD.ORG Subject: Re: Missing sio0 and sio1 (was: HELP! Please, HELP!) References: <6jleo9$ee0@elit.elit.chernigov.ua> <355EA834.A657FA38@cn.ua> <19980517195812.B427@freebie.lemis.com> <355EC236.4626669B@cn.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <355EC236.4626669B@cn.ua>; from Alexey Lukin on Sun, May 17, 1998 at 01:55:50PM +0300 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 X-Mutt-References: <355EC236.4626669B@cn.ua> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 17 May 1998 at 13:55:50 +0300, Alexey Lukin wrote: > Hi, Greg! > > Greg Lehey wrote: > [...] >> ? >> ? I giot the same sort of problems with different new motherboards. >> ? Well, the SIO detection code is TOO sophisticated and does not recognise >> ? MOST of on-board 16550 sios. >> >> I haven't heard anybody claim that before. Can you substantiate this >> claim? Which motherboards have you used? What UARTs do they use? >> Did the patch work with all of them? > > I tried motherboards of 2 wendors: "Micro Star" (MS-5156) > and few lastI "Iwill" boards. OK, we know about the IWill boards. That's what the patch is for. Have you tried it? > All boards have 16550A chips. Linux 2.0.32,33 recognized sio ports and > worked well, > but 2.2.5-R, 2.2.6-R refused to DETECT sio ports. (minor nit) could you please try to write approximately even-length lines? Something like this: > All boards have 16550A chips. Linux 2.0.32,33 recognized sio ports > and worked well, but 2.2.5-R, 2.2.6-R refused to DETECT sio ports. It makes things a lot easier to read. (end nit) No, modern boards use integrated multi-I/O chips. The IWill boards use an ALi chip which includes a UART which looks like a 16550, but it's not a 16550. In particular, it has additional register which need to be initialized. >> In any case, code which doesn't recognize all UARTS is not *too* >> sophisticated. > > I mean only style of /sys/i386/isa/sio.c. Sorry, I don't understand. >> At the moment, we don't know that this affects more than a fraction of >> all motherboards. Yuri wasn't confident enough to commit this patch >> (which, so far, has always worked), because he was afraid it might >> break the majority for whom the current code works. > > Ok, Ok. But I spent a week changing motherboards for simplest worksation > :-) If it makes you any happier, it took me about that long, too. > IMHO, sio detection procedure may have options "STRICT" to do what > it tries to do. If I just want to have 9600 console or mouse on sio > device, I do not need all the troubles with detection. BTHW, SIO > code itself works just fine on 115200. > > And please, exuse me if I said something in offesive manner. It's my > pure English, not the intention. Yes, we're thinking about it. The problem is that so far very few people have been affected, and until a number of people are prepared to try this out with their hardware, we're concerned that the fix may break a significant number of other hardware. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message