Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jul 2008 12:31:41 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de>, freebsd-current@freebsd.org
Subject:   Re: puc(4) man page update?
Message-ID:  <22A6B038-44BB-4072-8A6E-8C1D5855CB14@mac.com>
In-Reply-To: <20080704135827.H35668@woozle.rinet.ru>
References:  <20080701181358.GA93601@wep4017.physik.uni-wuerzburg.de> <EFBC6852-012F-4207-A4CE-B407CF92F25E@mac.com> <20080704135827.H35668@woozle.rinet.ru>

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

On Jul 4, 2008, at 2:59 AM, Dmitry Morozovsky wrote:

> doesn't splitting uart out of kernel broke serial console? Last time  
> I checked
> it did.

Yes, it does. The serial console is setup/initialized and
used before pre-loaded modules are linked and/or usable.
We don't have the support in place that allows you to boot
without console until pre-loaded modules are initialized,
at which time add a low-level console device is setup.
It's not that hard to do, I think.

So, currently low-level console drivers, such as dcons(4),
sio(4) and uart(4) need to be compiled into the kernel.
Consequently any devices/busses to which any of these can
attach must be compiled into the kernel as well. Of these
acpi(4) and puc(4) are good examples. acpi(4) is a good
example because we use hints to work around the issue and
have sio(4) attach to isa(4) instead...

-- 
Marcel Moolenaar
xcllnt@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22A6B038-44BB-4072-8A6E-8C1D5855CB14>