From owner-freebsd-current@FreeBSD.ORG Tue Apr 27 21:37:12 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAE221065670; Tue, 27 Apr 2010 21:37:11 +0000 (UTC) (envelope-from pisymbol@gmail.com) Received: from mail-gx0-f211.google.com (mail-gx0-f211.google.com [209.85.217.211]) by mx1.freebsd.org (Postfix) with ESMTP id 7CF9B8FC17; Tue, 27 Apr 2010 21:37:11 +0000 (UTC) Received: by gxk3 with SMTP id 3so6551994gxk.13 for ; Tue, 27 Apr 2010 14:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KZ8mszOcTkhi6IyQjezQX4cpQMm1xd0sKd+ow72ABPM=; b=Cxmr4sJd1YGz+8bfky0ZKDBvnz8GWOb02XgazZZtgDsbGmIQMqVQvFM6A5I/qmvA8U FEMS24cxyGynpsH6oiJ18JSfyXeOQR+d8ES5QbAHfQlj0H2bY2BeCnJLROcBPYvYv0y0 Tr7ubbiRwgQaloWJwcsadxayi89NZ00AUlSNM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xXrLbUBP08IuV+OWFJmDYKBdcRmJ6pkx7ZMl+hsMn9I/TspPKl7k5QMTy+PvolsuCC Me5WXK8YHbD+LEwsIVxYxmDnHQ1PPfyz8XIYlRis4d+l781wKAfGNXXDh437N3IT+XKa DxogtR5GP+q3bvOlQnvuBnxwq4+RQ9o7o6LFM= MIME-Version: 1.0 Received: by 10.101.125.8 with SMTP id c8mr2425880ann.126.1272404224380; Tue, 27 Apr 2010 14:37:04 -0700 (PDT) Received: by 10.100.194.19 with HTTP; Tue, 27 Apr 2010 14:37:04 -0700 (PDT) In-Reply-To: <201004271725.36518.jhb@freebsd.org> References: <4BCD5A7B.2070505@FreeBSD.org> <201004271654.07340.jhb@freebsd.org> <4BD751DD.80407@FreeBSD.org> <201004271725.36518.jhb@freebsd.org> Date: Tue, 27 Apr 2010 17:37:04 -0400 Message-ID: From: Alexander Sack To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, mj@feral.com Subject: Re: FreeBSD kernel doesn't boot on FUJITSU PRIMERGY RX200 S5 server X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2010 21:37:12 -0000 On Tue, Apr 27, 2010 at 5:25 PM, John Baldwin wrote: > On Tuesday 27 April 2010 5:06:37 pm Maxim Sobolev wrote: >> John Baldwin wrote: >> > On Tuesday 27 April 2010 4:26:09 pm Maxim Sobolev wrote: >> >> John Baldwin wrote: >> >>> Hmm, I think you should definitely commit the atkbdc_isa.c change fi= rst of >> >>> all. =A0I'm still thinking about the other change. =A0I wonder if we= can figure >> >>> out that a keyboard isn't present sooner somehow? =A0Do you know if = the keyboard >> >>> appears to be present but just slow vs if the keyboard is eventually= found to >> >>> not be present? >> >> Our syscons does keyboard probing two times - once early during kerne= l >> >> initialization before most of the subsystems have been initialized ye= t, >> >> and then "real" probing later in boot process. Interesting thing is t= hat >> >> initially keyboard looks present. Reading status port in >> >> atkbdc_configure() gives value other than 0xff, although reading is >> >> thousand times slower than usually. This causes syscons try attaching >> >> it. Even though reading status port works, apparently either emulatio= n >> >> is not complete or there is some other issue, so that it never respon= ds >> >> to some commands. Slow access and lack of response results in >> >> wait_for_data() function waiting several minutes instead of 200ms as >> >> designed. This what causes that 6-10 minutes delay in boot process. >> > >> > I believe the USB driver has disabled the keyboard emulation by the ti= me the >> > second probe happens in syscons. =A0Can you try disabling legacy USB s= upport in >> > the BIOS just to make sure that is what causes the delay? >> >> Unfortunately it's not possible. Hosting provider doesn't allow me to >> have access to BIOS settings. Stunt double: I tried it and it has no effect. The waits in atkdbd kills it with or without USB legacy support on. The wait on this machine is about 1-2 minutes before boot. Just another data point. -aps