Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2010 09:22:04 +1100
From:      Peter Jeremy <peterjeremy@acm.org>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: ukbd probe order regression
Message-ID:  <20100214222204.GA67580@server.vk2pj.dyndns.org>
In-Reply-To: <201002031056.46055.hselasky@c2i.net>
References:  <20100201085131.GA34006@server.vk2pj.dyndns.org> <20100202230511.GA19744@pjdesk.au.alcatel-lucent.com> <20100203094756.GB95409@server.vk2pj.dyndns.org> <201002031056.46055.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2010-Feb-03 10:56:46 +0100, Hans Petter Selasky <hselasky@c2i.net> wrote:
>On Wednesday 03 February 2010 10:47:56 Peter Jeremy wrote:
>> In 7.x, ukbd probes before the kernel mounts root.  In 8.x, ukbd
>> probes after the kernel mounts root (it actually probes asynchronously
>> after the "Enter full pathname of shell..." prompt).  (This bit me
>> badly because I managed to screw up my root disk name and got
>> prompted with 'mountroot>' but had no keyboard).

>There has been some patches to ukbd.c recently. Try to apply those first:
>
>fetch -o /usr/src/sys/dev/usb/input/ukbd.c =20
>"http://p4db.freebsd.org/fileDownLoad.cgi?FSPC=3D//depot/projects/usb/src/=
sys/dev/usb/input/ukbd.c&amp;REV=3D43"

Sorry for the delay in responding.  This version of ukbd.c hasn't
made any obvious improvement - the ugen2.2 and ukbd0 probe messages
still don't appear until about a second after the single-user
prompt for a shell.  (I haven't tried breaking my root mount to see
if input at the mountroot> prompt now works).

--=20
Peter Jeremy

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkt4d4wACgkQ/opHv/APuIf4UACfb8SSU7ho6sV859fsjgHwrtiU
SYQAniHPPtnsq5aUdSyGeVFIFhPUmzny
=VI97
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100214222204.GA67580>