From owner-freebsd-questions Sat Mar 18 0:34: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lesbains.informatik.uni-tuebingen.de (lesbains.Informatik.Uni-Tuebingen.De [134.2.12.5]) by hub.freebsd.org (Postfix) with ESMTP id A550637B789; Sat, 18 Mar 2000 00:34:04 -0800 (PST) (envelope-from sperber@informatik.uni-tuebingen.de) Received: from informatik.uni-tuebingen.de (brabantio [134.2.12.25]) by lesbains.informatik.uni-tuebingen.de (Postfix) with ESMTP id 333D04AC; Sat, 18 Mar 2000 09:34:01 +0100 (NFT) Received: (from sperber@localhost) by informatik.uni-tuebingen.de (AIX4.3/UCB 8.8.8/8.8.8) id JAA16134; Sat, 18 Mar 2000 09:33:59 +0100 To: Mike Smith Cc: "Brian J. McGovern" , brent@kearneys.ca, questions@freebsd.org, hackers@freebsd.org, jfn@enteract.com Subject: Re: AMD Athlon and booting References: <200003172325.PAA00910@mass.cdrom.com> From: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor]) Date: 18 Mar 2000 09:33:59 +0100 In-Reply-To: Mike Smith's message of "Fri, 17 Mar 2000 15:25:30 -0800" Message-ID: Lines: 39 User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.2 (Iris) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "Mike" == Mike Smith writes: >> >>>>> "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. Mike> I don't know what you're smoking, but there is no "probe_keyboard.c" Mike> involved in this. The keyboard probe code is in boot2.c, and it looks Mike> like this: Mike> 313 if (opts & 1 << RBX_PROBEKBD) { Mike> 314 i = *(uint8_t *)PTOV(0x496) & 0x10; Mike> 315 printf("Keyboard: %s\n", i ? "yes" : "no"); Mike> 316 if (!i) Mike> 317 opts |= 1 << RBX_DUAL | 1 << RBX_SERIAL; Mike> 318 opts &= ~(1 << RBX_PROBEKBD); Mike> 319 } Mike> There aren't any timing parameters there either. Either bit 4 in the Mike> byte at 0x400:96 is set, or it's not. I apologize for being unclear: I was using rawboot which uses the keyboard probe in probe_keyboard.c in i386/boot/biosboot. That probe fails by default, and it goes on to work if the timing parameters are increased. Why are you being so abrasive? -- Cheers =8-} Mike Friede, Völkerverständigung und überhaupt blabla To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message