Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2009 09:37:55 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: Trimming the default /boot/device.hints
Message-ID:  <200902060937.55724.jhb@freebsd.org>
In-Reply-To: <498C2A70.2030909@icyb.net.ua>
References:  <200901260947.32870.jhb@freebsd.org> <20090131.212608.-1522433384.imp@bsdimp.com> <498C2A70.2030909@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 06 February 2009 7:17:52 am Andriy Gapon wrote:
> on 01/02/2009 06:26 M. Warner Losh said the following:
> ...
> > hint.sc.0.at="isa"
> > hint.sc.0.flags="0x100"
> ...
> > I'm too chicken to remove the hint.sc.0 hints, but maybe they can go.
> > 
> 
> I've just tried this (7.1/i386) as those were the last hints, it turned
> out to be not that scary :) I just didn't get the system console, i.e.
> there were no kernel messages during boot and no system console at VT0
> afterwards. VT0 became and stayed completely blank/black after loader
> finished its job.
> But the system successfully went into multi-user mode, getty-s and X
> started normally.

Yes, it's just the issue of the console that matters.  If that could be made 
to work w/o needing the hint then we could remove it.

> OTOH, with this hint present I see the following in verbose dmesg:
> ...
> sc: sc0 already exists; skipping it

This is because it tried to add itself via an identify routine when it already 
existed.

> ...
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sc0: fb0, kbd1, terminal emulator: sc (syscons terminal)
> 
> A little bit puzzling.
> 
> And from the code in sys/isa/syscons_isa.c (scidentify) it seems that sc
> needs not a hint to get attached. Puzzled again.

Yes, it only needs the hint for it to be a console device.

-- 
John Baldwin



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