Date: Thu, 22 Apr 2010 09:11:14 -0400 From: John Baldwin <jhb@freebsd.org> To: Maxim Sobolev <sobomax@freebsd.org> Cc: freebsd-current@freebsd.org, mj@feral.com Subject: Re: FreeBSD kernel doesn't boot on FUJITSU PRIMERGY RX200 S5 server Message-ID: <201004220911.14743.jhb@freebsd.org> In-Reply-To: <4BD01F50.6070403@FreeBSD.org> References: <4BCD5A7B.2070505@FreeBSD.org> <4BCF5AC1.8080608@FreeBSD.org> <4BD01F50.6070403@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 22 April 2010 6:05:04 am Maxim Sobolev wrote: > Maxim Sobolev wrote: > > There is already a code to detect non-existing AT keyboard and avoid > > attaching atkbd to it. The code is i386-only at the moment, I am trying > > to figure out how to modify it so that it works on amd64 as well. > > Looks like this huge delay is caused by the inb() being astonishingly > slow, which is not factored by the timeout routines. Reading keyboard > status port once takes about 0.003s! I am not sure if it's common > behaviour of the platform, or something specific to this particular > model. Do you know by any chance? Well, many BIOSes trigger an SMI# when doing inb/outb to the keyboard ports so they can emulate a PS/2 keyboard when a USB keyboard is inserted. Do you have any BIOS options related to the USB legacy compat? I know of the Nehalem systems I've seen they have a separate option for controlling port 60/64 emulation which we leave disabled by default. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004220911.14743.jhb>