From owner-freebsd-current Tue Oct 6 13:16:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA06653 for freebsd-current-outgoing; Tue, 6 Oct 1998 13:16:20 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA06648 for ; Tue, 6 Oct 1998 13:16:19 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id NAA01019; Tue, 6 Oct 1998 13:20:25 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810062020.NAA01019@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Stefan Eggers cc: Mike Smith , freebsd-current@FreeBSD.ORG Subject: Re: Boot loader's autoload bug fix (was: Re: Two /boot/loader anomalies ) In-reply-to: Your message of "Tue, 06 Oct 1998 22:01:39 +0200." <199810062001.WAA00640@semyam.dinoco.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 06 Oct 1998 13:20:25 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > You'll get this if the timer isn't working properly. I've seen a > > The timer works perfectly! While looking for timer anomalies I > figured out what really happens: It's our vidconsole.c's iskey which > gets its return code reversed. > > The result is that the boot code's autoboot function asks the BIOS for > a keypress. There is none, yet despite iskey's claim to the contra- > ry. *boom* It hangs until the user presses a key and can't update the > time count. And of course it never can time out for the same reason. > > This will make it work: Actually, that's not quite right either. You should check the Z flag, ie. return(!(vm86.efl & PSL_Z)); and include Can you check this for me? -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message