Date: Thu, 17 Aug 2023 08:47:55 -0400 From: Dennis Clarke <dclarke@blastwave.org> To: Warner Losh <imp@bsdimp.com> Cc: Alexander Motin <mav@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Defaulting serial communication to 115200 bps for FreeBSD 14 Message-ID: <0fd7ced1-93d5-a22d-6ddb-b2562eb7f17b@blastwave.org> In-Reply-To: <CANCZdfqm1J1zfyRvZp2F%2BNvJxRxyUvz1_ksK4p93HMikdubatA@mail.gmail.com> References: <CAPyFy2DFVp1BfwwY0czHU7XRZhOLYyF1tAr7MvbmXZ6ALSD==w@mail.gmail.com> <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> <f28a2c7f-60e5-25de-e844-9b10f9ed9523@blastwave.org> <CANCZdfqm1J1zfyRvZp2F%2BNvJxRxyUvz1_ksK4p93HMikdubatA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/17/23 00:40, Warner Losh wrote: > On Wed, Aug 16, 2023, 9:38 PM Dennis Clarke <dclarke@blastwave.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0fd7ced1-93d5-a22d-6ddb-b2562eb7f17b>