From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 22 13:10:26 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B3A916A417 for ; Sat, 22 Sep 2007 13:10:26 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5309C13C45B for ; Sat, 22 Sep 2007 13:10:26 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 572DA1CC02B; Sat, 22 Sep 2007 06:10:26 -0700 (PDT) Date: Sat, 22 Sep 2007 06:10:26 -0700 From: Jeremy Chadwick To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= , freebsd-hackers@freebsd.org Message-ID: <20070922131026.GA98872@eos.sc1.parodius.com> Mail-Followup-To: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= , freebsd-hackers@freebsd.org References: <20070921161917.GA65081@eos.sc1.parodius.com> <86myvfqb6w.fsf@ds4.des.no> <20070922121240.GA98175@eos.sc1.parodius.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070922121240.GA98175@eos.sc1.parodius.com> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Subject: Re: Serial console/remote install discussion X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Sep 2007 13:10:26 -0000 On Sat, Sep 22, 2007 at 05:12:40AM -0700, Jeremy Chadwick wrote: > On Sat, Sep 22, 2007 at 11:52:23AM +0200, Dag-Erling Smørgrav wrote: > > Jeremy Chadwick writes: > > > I'd like to open up a discussion regarding FreeBSD serial console and > > > the aspect of installation via serial console. > > > > how about you go read loader(8) and loader.conf(5) first? > > I've read them, thoroughly, and many times over the years. What exactly > is your point in saying this? Did you read *anything* I wrote? :-) I'll retract this statement entirely, and apologise profusely. It seems lots of documentation (both manpages and the Handbook) have been updated since the last time I sat down and thoroughly read them. Regarding Item #2 ("FreeBSD serial vs. VGA") in my original mail: The loader(8) manpage talks about a 'boot_multicons' option, and refers you to conscontrol(8); I hadn't heard of these until now. Regarding Item #3 ("Stock serial port speed 9600bps") and Item #4 ("serial works great in one stage but not the next") in my original mail: The loader.conf(5) manpage says it can inherit the serial port speed from the previous boot stage (specifically boot2). This means that one can simply do -S115200 in /boot.config and achieve a higher port speed, without rebuilding bootblocks and without rebuilding the kernel. The present version of the Handbook also mentions all of the above: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html Looks like I get to spend the weekend trying out new things. Thank you for indirectly pointing these out. Item #1 (requiring one to build their own installation disks) should still be discussed. I got some private mails over that item, and I need to read them in full; there's concerns with situations where there's other stuff attached to a serial port, such as a UPS (something I hadn't thought of). I'm left thinking it might just be best for an administrator to snag the FreeBSD ISOs and add a /boot.config there to address serial console-based installs. I'll have to try that, and submit some PRs for Handbook updates explaining how to do it... -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |