From owner-freebsd-hackers Fri Mar 17 21: 0:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by hub.freebsd.org (Postfix) with ESMTP id 7047237B61F; Fri, 17 Mar 2000 21:00:26 -0800 (PST) (envelope-from andrsn@andrsn.stanford.edu) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.9.3/8.9.1) with ESMTP id UAA51847; Fri, 17 Mar 2000 20:46:39 -0800 (PST) Date: Fri, 17 Mar 2000 20:46:39 -0800 (PST) From: Annelise Anderson To: Mike Smith Cc: "Michael Sperber [Mr. Preprocessor]" , "Brian J. McGovern" , brent@kearneys.ca, questions@FreeBSD.ORG, hackers@FreeBSD.ORG, jfn@enteract.com Subject: Re: AMD Athlon and booting In-Reply-To: <200003172325.PAA00910@mass.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just FYI, my Athlon K7-700 with the ASUS motherboard won't boot with an old IBM keyboard unless the reset button is pressed; the screen remains blank. The ASUS web page says this happens in certain combinations of keyboards and ATX power supplies. With another keyboard it's fine. Annelise On Fri, 17 Mar 2000, Mike Smith wrote: > > >>>>> "Mike" == Mike Smith writes: > > > > Mike> This has nothing to do with Athlon processors and everything to do with > > Mike> buggy BIOS code that doesn't set the "extended keyboard present" bit. > > Mike> Feel free to check the (very simple) code in boot2 that performs keyboard > > Mike> detection, and if you've got any better ideas on how to make this work > > Mike> properly, we're all ears. 8) > > > > This is untrue, at least in general. It is a timing problem at least > > on some Athlon boards. On the MSI 6195, if you increase the timing > > parameters in probe_keyboard.c, the keyboard will get detected just fine. > > I don't know what you're smoking, but there is no "probe_keyboard.c" > involved in this. The keyboard probe code is in boot2.c, and it looks > like this: > > 313 if (opts & 1 << RBX_PROBEKBD) { > 314 i = *(uint8_t *)PTOV(0x496) & 0x10; > 315 printf("Keyboard: %s\n", i ? "yes" : "no"); > 316 if (!i) > 317 opts |= 1 << RBX_DUAL | 1 << RBX_SERIAL; > 318 opts &= ~(1 << RBX_PROBEKBD); > 319 } > > There aren't any timing parameters there either. Either bit 4 in the > byte at 0x400:96 is set, or it's not. > > -- > \\ Give a man a fish, and you feed him for a day. \\ Mike Smith > \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org > \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message