From nobody Thu Aug 17 12:47:55 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RRPtY5xQdz4qdKk for ; Thu, 17 Aug 2023 12:48:05 +0000 (UTC) (envelope-from dclarke@blastwave.org) Received: from mail.oetec.com (mail.oetec.com [108.160.241.186]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-256) client-digest SHA256) (Client CN "mail.oetec.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RRPtY1W0mz4dRc; Thu, 17 Aug 2023 12:48:05 +0000 (UTC) (envelope-from dclarke@blastwave.org) Authentication-Results: mx1.freebsd.org; none Received: from [172.16.35.9] (cpe8c6a8d4d360a-cm8c6a8d4d3608.cpe.net.cable.rogers.com [99.253.151.152]) (authenticated bits=0) by mail.oetec.com (8.17.1/8.16.1) with ESMTPSA id 37HCluSg057175 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT); Thu, 17 Aug 2023 08:47:57 -0400 (EDT) (envelope-from dclarke@blastwave.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=blastwave.org; s=default; t=1692276478; bh=nP2OwXVEOACuFWftia5da610pwHuN2WJxSFUsHJ8PPk=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=qm9IROob9j13D3XlJNdp6vdvEnZZfpi+L/Yl0KX1z6zp0JpXftskaEAg8wJVdcrpU GHozV7iXDKs2rBd6rRKWsPSgDhicDrmL6hBTLULyPgncO4Dndi9qLpPxR//Yn/wfiz YQvCw/M0u1se2qXVOtBn/4fHxJnUaN2i1oPgm3VBbxXOY687DVTgLrJnjA1IB0ub/r PqTv5w0/NjazhL+UGr1XAH0LKcaAgoeanV7kvSVOZmEW3Wl9+Eaai9wzYfySsaXCvh TPrQzxvRUicwtmL/hjtBamXmpC0lU7u9LoC6aj+ypH9NZvM1cSWnrptvQuNcObS2nR WwnVsnVGBA3Bg== Message-ID: <0fd7ced1-93d5-a22d-6ddb-b2562eb7f17b@blastwave.org> Date: Thu, 17 Aug 2023 08:47:55 -0400 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: Defaulting serial communication to 115200 bps for FreeBSD 14 Content-Language: en-CA To: Warner Losh Cc: Alexander Motin , FreeBSD Current References: <20230816040257.A397366@slippy.cwsent.com> <20230816161057.f8c6a3b4ebe9c672d920811e@dec.sakura.ne.jp> <22dd3552-480b-05da-76d7-dfbe2cb03110@blastwave.org> <896a3247-1a60-fe7a-674e-92ae511b41aa@FreeBSD.org> From: Dennis Clarke Organization: GENUNIX In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-oetec-MailScanner-Information: Please contact the ISP for more information X-oetec-MailScanner-ID: 37HCluSg057175 X-oetec-MailScanner: Found to be clean X-oetec-MailScanner-From: dclarke@blastwave.org X-Spam-Status: No X-Rspamd-Queue-Id: 4RRPtY1W0mz4dRc X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:812, ipnet:108.160.240.0/20, country:CA] On 8/17/23 00:40, Warner Losh wrote: > On Wed, Aug 16, 2023, 9:38 PM Dennis Clarke wrote: > >> On 8/16/23 22:28, Alexander Motin wrote: >>> On 16.08.2023 18:14, Dennis Clarke wrote: >>>> The default serial communications config on most telecom equipment that >>>> I have seen ( in the last forty years ) defaults to 9600 8n1. If people >>>> want something faster from FreeBSD then do the trivial : >>>> >>>> set comconsole_speed="115200" >>>> set console="comconsole" >>>> >>>> Is that not trivial enough? >>> >>> Except it is not a telecom equipment 40 years ago. Even at 115200 that >>> I routinely use on my development systems I feel serial console output >>> affects verbose boot time and kernel console debugging output. I also >>> have BIOS console redirection enabled on my systems, and I believe the >>> default there is also 115200, and even that is pretty slow. I see no >>> point to stay compatible if it is unusable. >>> >> >> You seem to be missing the point. >> >> You need to make a configuration choice. You. Not the world. You. >> >> Edit your /boot/loader.conf and put in the lines above. >> >> Then be happy. >> >> -- >> Dennis Clarke >> RISC-V/SPARC/PPC/ARM/CISC >> UNIX and Linux spoken >> GreyBeard and suspenders optional >> >> PS: a recent CISCO ASA fireware defaults to 9600 8n1. Same as a lot of >> equipment. >> > > Yes. Some tiny number of things has that as a default, an even larger > number of things have a default of 115200 or even faster. And have had that > default since the 90s. The whole point of defaults is that they reflect the > needs of the most people. FreeBSD's defaults were already starting to be > dated in 1.0... today almost everyone changes the defaults to the new > value we are advocating. This is to make FreeBSD more useful out of the box > to more people. To turn your argument around: people wanting the old > defaults can configure their systems easily enough. If we look purely at > the numbers, vastly fewer people withh be inconvenienced at 115200 than at > 9600. People can still use 9600... that's likely never going away... this > is just a more sensible default. > > Warner > That makes perfect flawless sense to me. The logic of "popular" or "most valuable" to the most users for something like this. Yes I know that is a dangling elliptical sentence but it works. -- -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional