From owner-freebsd-arch@FreeBSD.ORG Fri Feb 6 14:59:04 2009 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1377A106566B for ; Fri, 6 Feb 2009 14:59:04 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id D79708FC1C for ; Fri, 6 Feb 2009 14:59:03 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (pool-98-109-39-197.nwrknj.fios.verizon.net [98.109.39.197]) by cyrus.watson.org (Postfix) with ESMTPSA id 8078F46B09; Fri, 6 Feb 2009 09:59:03 -0500 (EST) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id n16EwqV2078031; Fri, 6 Feb 2009 09:58:57 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Andriy Gapon Date: Fri, 6 Feb 2009 09:37:55 -0500 User-Agent: KMail/1.9.7 References: <200901260947.32870.jhb@freebsd.org> <20090131.212608.-1522433384.imp@bsdimp.com> <498C2A70.2030909@icyb.net.ua> In-Reply-To: <498C2A70.2030909@icyb.net.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902060937.55724.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Fri, 06 Feb 2009 09:58:57 -0500 (EST) X-Virus-Scanned: ClamAV 0.94.2/8961/Fri Feb 6 08:29:06 2009 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-arch@freebsd.org Subject: Re: Trimming the default /boot/device.hints X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Feb 2009 14:59:04 -0000 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: 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