Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 2010 19:51:32 +1100
From:      Peter Jeremy <peterjeremy@acm.org>
To:        freebsd-stable@freebsd.org
Subject:   Kernel probe order issues
Message-ID:  <20100201085131.GA34006@server.vk2pj.dyndns.org>

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

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

Whilst trying to boot a brand new FreeBSD 8-stable/amd64 kernel,
I ran into an unfortunate nasty with the kernel probe order.

This particular box has no PS/2 ports so I have a USB keyboard and
have removed atkbd et al from my kernel config.  Unfortunately, whilst
trying to merge changes from 5 different sources, I also accidently
deleted my HDD controller.  Quite reasonably, the lack of disk
controller made the kernel spit out an error message and "mountroot>"
prompt.  Unfortunately, this occurs after the kernel has switched from
BIOS to its own drivers but _before_ ukbd(4) is probed so I didn't
have any keyboard.  (Some experimenting with a serial console
confirmed that ukbd is probed after the root device).

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?

--=20
Peter Jeremy

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

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

iEYEARECAAYFAktmlhMACgkQ/opHv/APuId9TgCfaTNNF4s7WxBTrMVLHvJh10Ul
6pIAnApvDKTD6fVeST+wUQvhLaFXlOYL
=B1ii
-----END PGP SIGNATURE-----

--X1bOJ3K7DJ5YkBrT--



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