*BSD News Article 72278


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!charnel.ecst.csuchico.edu!olivea!sgigate.sgi.com!swrinde!cssun.mathcs.emory.edu!gatech!news.mathworks.com!fu-berlin.de!cs.tu-berlin.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Unexpected problems booting w/o keyboard
Date: 27 Jun 1996 20:59:15 GMT
Organization: Private BSD site, Dresden
Lines: 32
Message-ID: <4qusn3$9p@uriah.heep.sax.de>
References: <4qpuob$9l@lastactionhero.rs.itd.umich.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

dirt@umich.edu (david langhorst) wrote:

> i'm running freeBSD on a couple of machines and have come across a
> interesting problem. when booting without a keyboard on both
> machines, the machine grinds to a halt while probing the ISA bus.

``The well-known retries bug.'' :-)

Index: i386/isa/syscons.c
===================================================================
RCS file: /home/cvs/src/sys/i386/isa/syscons.c,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -u -r1.148 -r1.149
--- syscons.c	1996/05/11 23:16:23	1.148
+++ syscons.c	1996/05/12 12:36:59	1.149
@@ -233,7 +233,7 @@
 	}
     }
 gotres:
-    if (!retries)
+    if (retries < 0)
 	printf("scprobe: keyboard won't accept RESET command\n");
     else {
 	i = 10;			/* At most 10 retries. */

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)