Date: Mon, 01 Feb 2010 11:37:33 +0200 From: Andriy Gapon <avg@icyb.net.ua> To: Peter Jeremy <peterjeremy@acm.org> Cc: freebsd-stable@freebsd.org Subject: Re: Kernel probe order issues Message-ID: <4B66A0DD.2070109@icyb.net.ua> In-Reply-To: <20100201085131.GA34006@server.vk2pj.dyndns.org> References: <20100201085131.GA34006@server.vk2pj.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
on 01/02/2010 10:51 Peter Jeremy said the following: > 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? It seems to be a problem with either your keyboard or your USB controller. USB keyboard can be discovered much earlier than mountroot if the hardware is ready. No magical software priority bump can help here. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B66A0DD.2070109>