From owner-freebsd-stable@FreeBSD.ORG Tue Feb 2 23:18:48 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CE7B106568F for ; Tue, 2 Feb 2010 23:18:48 +0000 (UTC) (envelope-from peter.jeremy@alcatel-lucent.com) Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by mx1.freebsd.org (Postfix) with ESMTP id 195738FC17 for ; Tue, 2 Feb 2010 23:18:47 +0000 (UTC) Received: from ihrh1.emsr.lucent.com (h135-1-218-53.lucent.com [135.1.218.53]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id o12N5I5H018992; Tue, 2 Feb 2010 17:05:19 -0600 (CST) Received: from insmb.au.alcatel-lucent.com (insmb.au.alcatel-lucent.com [139.188.42.184]) by ihrh1.emsr.lucent.com (8.13.8/emsr) with ESMTP id o12N5G5Y009317; Tue, 2 Feb 2010 17:05:17 -0600 (CST) Received: from pjdesk.au.alcatel-lucent.com (pjdesk.au.alcatel-lucent.com [139.188.12.19]) by insmb.au.alcatel-lucent.com (8.13.8+Sun/8.13.3) with ESMTP id o12N5E8Y029852; Wed, 3 Feb 2010 10:05:15 +1100 (EST) X-Bogosity: Ham, spamicity=0.000000 Received: from pjdesk.au.alcatel-lucent.com (localhost [127.0.0.1]) by pjdesk.au.alcatel-lucent.com (8.14.3/8.14.3) with ESMTP id o12N5DlJ019870; Wed, 3 Feb 2010 10:05:13 +1100 (EST) (envelope-from peter.jeremy@alcatel-lucent.com) Received: (from pjeremy@localhost) by pjdesk.au.alcatel-lucent.com (8.14.3/8.14.3/Submit) id o12N5BIx019869; Wed, 3 Feb 2010 10:05:11 +1100 (EST) (envelope-from peter.jeremy@alcatel-lucent.com) Date: Wed, 3 Feb 2010 10:05:11 +1100 From: Peter Jeremy To: Andriy Gapon Message-ID: <20100202230511.GA19744@pjdesk.au.alcatel-lucent.com> References: <20100201085131.GA34006@server.vk2pj.dyndns.org> <4B66A0DD.2070109@icyb.net.ua> <20100202063635.GA64643@server.vk2pj.dyndns.org> <4B67C8A6.5050102@icyb.net.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <4B67C8A6.5050102@icyb.net.ua> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37 Cc: freebsd-stable@freebsd.org Subject: Re: Kernel probe order issues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2010 23:18:48 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-Feb-02 08:39:34 +0200, Andriy Gapon wrote: >on 02/02/2010 08:36 Peter Jeremy said the following: >> On 2010-Feb-01 11:37:33 +0200, Andriy Gapon wrote: >>>> This strikes me as undesirable. Is there some way to bump up the >>>> probe/attach priority of console input devices to ensure that they >>>> exist before the kernel tries to read input? >>> It seems to be a problem with either your keyboard or your USB controll= er. >>> USB keyboard can be discovered much earlier than mountroot if the hardw= are is >>> ready. No magical software priority bump can help here. >>=20 >> I've tried a couple of different USB ports (controllers) with no >> change in behaviour. I'll try another keyboard if I can find one. It >> _does_ work as expected on 7.x so this is a regression. > >Unfortunately you keep being low on hardware details. Sorry. The box is a Dell GX620 (P4 with ICH7 chipset). The keyboard is a Dell SK-8115 connected directly to a motherboard port. I've also tried a Dell SK-8135 (which is the "multimedia" variant and has a builtin hub) which behaves the same. I've uploaded full details as follows: FreeBSD 7.x verbose dmesg: http://pastebin.ca/1776339 FreeBSD 8.x verbose dmesg: http://pastebin.ca/1776359 "pciconf -lv" (same in 7 & 8): http://pastebin.ca/1776363 The output from 'usbdevs -v' on FreeBSD 7 is: Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x= 0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x= 0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb2: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x= 0000), rev 1.00 port 1 powered port 2 addr 2: low speed, power 70 mA, config 1, Dell USB Keyboard(0x2003)= , Dell(0x413c), rev 2.00 Controller /dev/usb3: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x= 0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb4: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x= 0000), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered port 7 powered port 8 powered And the output from "usbconfig list" on FreeBSD 8 is: ugen0.1: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (12M= bps) pwr=3DON ugen1.1: at usbus1, cfg=3D0 md=3DHOST spd=3DFULL (12M= bps) pwr=3DON ugen2.1: at usbus2, cfg=3D0 md=3DHOST spd=3DFULL (12M= bps) pwr=3DON ugen3.1: at usbus3, cfg=3D0 md=3DHOST spd=3DFULL (12M= bps) pwr=3DON ugen4.1: at usbus4, cfg=3D0 md=3DHOST spd=3DHIGH (480= Mbps) pwr=3DON ugen2.2: at usbus2, cfg=3D0 md=3DHOST spd=3DLOW (1= =2E5Mbps) pwr=3DON The alternate keyboard shows up as: port 2 addr 2: full speed, power 100 mA, config 1, Dell USB Keyboard Hub(0= x1003), Dell(0x413c), rev 2.00 port 1 addr 3: full speed, power 50 mA, config 1, Dell USB Keyboard(0x201= 0), Dell(0x413c), rev 2.00 port 2 addr 4: low speed, power 100 mA, config 1, product 0x3010(0x3010),= vendor 0x413c(0x413c), rev 2.30 port 3 powered --=20 Peter Jeremy --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAktor6cACgkQ/opHv/APuIc+BQCfW2dRq/4sOq//AXW+WfF1HjZU XuYAn1EHV0uwoC81kUn5baLAlunfYn8c =TpQJ -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--