From owner-freebsd-hackers Fri Apr 11 09:33:48 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA29087 for hackers-outgoing; Fri, 11 Apr 1997 09:33:48 -0700 (PDT) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id JAA29073 for ; Fri, 11 Apr 1997 09:33:34 -0700 (PDT) Received: by sovcom.kiae.su id AA01101 (5.65.kiae-1 for hackers@freebsd.org); Fri, 11 Apr 1997 19:22:50 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Fri, 11 Apr 97 19:22:50 +0300 Received: by robin.alien.ru id LAA23340; (8.7.1/vak/1.9) Thu, 10 Apr 1997 11:50:18 +0700 (NSD) Message-Id: <199704100450.LAA23340@robin.alien.ru> From: kta@alien.ru (Tatiana Kichkaylo) Date: Thu, 10 Apr 97 10:23:08 -0600 To: hackers@freebsd.org Subject: Solved problem with com ports & Mach64. X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v1.16 (Unregistered) Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi! It's 1997 now, and I think I'm not the first with this problem, but... >Environment: Release: FreeBSD 2.1-STABLE i386 from Walnut Creec CDROM, Jan 1996 Intel motherboard with chipset Triton rev 2 and on-board video Mach64. Only com1 & com2 present. Address space of com3 & com4 is used by video card. >Description: In boot time, when a kernel probes sio, monitor falls into green mode. Reason: in /usr/src/sys/i386/isa/sio.c in function sioprobe kernel writes into all likely_com_ports, while some of them are video ports now. >How-To-Repeat: Boot from any kernel with any sio turned on. With all of com ports turned off booting is Ok. >Fix: With /usr/src/sys/i386/isa/sio.c 341a342 > #if NSIO>2 342a344,346 > #else > static Port_t likely_com_ports[] = { 0x3f8, 0x2f8, }; > #endif I've just decreased the length of this array for sioprobe (and other functions) never writes to my video ports. -- ----------------------------------------------------------- kta@alien.ru (Tatiana Kichkaylo) -----------------------------------------------------------