From owner-freebsd-current Mon Mar 11 13:28:36 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA19524 for current-outgoing; Mon, 11 Mar 1996 13:28:36 -0800 (PST) Received: from cabri.obs-besancon.fr (cabri.obs-besancon.fr [193.52.184.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA19469 for ; Mon, 11 Mar 1996 13:28:26 -0800 (PST) Received: by cabri.obs-besancon.fr (5.57/Ultrix3.0-C) id AA11400; Mon, 11 Mar 96 22:30:10 +0100 Date: Mon, 11 Mar 96 22:30:10 +0100 Message-Id: <9603112130.AA11400@cabri.obs-besancon.fr> From: Jean-Marc Zucconi To: bde@zeta.org.au Cc: current@freebsd.org In-Reply-To: <199603110647.RAA07820@godzilla.zeta.org.au> (message from Bruce Evans on Mon, 11 Mar 1996 17:47:26 +1100) Subject: Re: COMCONSOLE: a patch and a problem X-Mailer: Emacs Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >>>>> Bruce Evans writes: >> I played with the boot blocks and I noticed that I was unable to boot >> from a serial console (keyboard unplugged). The patch below fixes a >> bug in boot.c/probe_keyboard.c (well, at least on my machine:-). > I don't think I broke this :-). I wonder when it last worked. >> The problem now: when booting from a serial console, there is no >> timeout at the 'Boot:' prompt. Further investigations showed that the >> bios_tick function always returns the same value! Is this related to >> the fact that the keyboard is not plugged in? > I broke this. It's because there are no BIOS calls which have the > side affect of allowing clock interrupts. Add some dummy BIOS calls. > Putting them in the bios_tick macro would take too much space, so > arrange to always call ischar() and throw away the result in the > RB_SERIAL case. Thanks for the hint. I just tried it and comconsole now works perfectly. (serial_ischar() -> serial_ischar()|(0 & ischar ())) > Bruce Jean-Marc _____________________________________________________________________________ Jean-Marc Zucconi Observatoire de Besancon F 25010 Besancon cedex PGP Key: finger jmz@cabri.obs-besancon.fr =============================================================================