Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #57969

Bug#864368: Expand kernel serial port configuration

From Dave Hansen <dave.hansen@intel.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#864368: Expand kernel serial port configuration
Date 2017-06-07 22:40 +0200
Message-ID <tPPUe-30Y-11@gated-at.bofh.it> (permalink)
References <tPMjD-G2-3@gated-at.bofh.it> <tPMMG-14L-3@gated-at.bofh.it> <tPPAS-2SK-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On 06/07/2017 01:14 PM, Ben Hutchings wrote:
> On Wed, 2017-06-07 at 18:10 +0100, Ben Hutchings wrote:
>>> 	CONFIG_SERIAL_8250_RUNTIME_UARTS=16
>> That seems reasonable.
> [...]
> 
> Actually, having looked further at what this does, I'm unconvinced
> about changing it.  It can always be overridden through the
> '8250.nr_uarts' kernel parameter where needed.

On my system, this meant that I could not use the serial console to do
an install.  Doing console=ttyS4 on the command-line didn't work because
the kernel didn't support anything after ttyS3.

I guess we could also teach folks to add nr_uarts=8 (or whatever) to
their kernel command-line, which also works around this.  But, it would
be handy to have it work by default.

I don't think there's really any overhead to raising 'nr_uarts', either.
 It makes some (unimportant) loops longer, but I don't think there's any
real downsides.

FWIW, a lot of distros make it pretty large.  My Ubuntu desktop has it
set to 48 and Fedora evidently sets it to 32.

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#864368: Expand kernel serial port configuration Dave Hansen <dave.hansen@intel.com> - 2017-06-07 18:50 +0200
  Bug#864368: Expand kernel serial port configuration Ben Hutchings <ben@decadent.org.uk> - 2017-06-07 19:20 +0200
    Bug#864368: Expand kernel serial port configuration Ben Hutchings <ben@decadent.org.uk> - 2017-06-07 22:20 +0200
      Bug#864368: Expand kernel serial port configuration Dave Hansen <dave.hansen@intel.com> - 2017-06-07 22:40 +0200
  Processed: Re: Bug#864368: Expand kernel serial port configuration owner@bugs.debian.org (Debian Bug Tracking System) - 2017-06-07 19:20 +0200

csiph-web