public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] Changing default serial-console definition in inittab
@ 2012-04-27 17:29 Diego Elio Pettenò
  2012-04-27 17:45 ` Greg KH
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Diego Elio Pettenò @ 2012-04-27 17:29 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 934 bytes --]

Since I've been configuring a couple of systems lately for remote
access, which include configuring the serial console, I'm wondering if
it would be a good idea to change our inittab so that the default
(commented out) definition of the serial consoles is a bit more.. modern.

The current definition sets the console at 9600 baud, using vt100
emulation; I think most of us who configure it, do so at 115200 baud,
and some prefer vt-utf8 over vt100 (the two are partially compatible as
far as I can tell).

Of the two systems I've configured ­– a SuperMicro server which is the
new tinderbox host, and an HP for work – both have the default IPMI
configuration for Serial-over-LAN set at 115200, and the HP also had
VT-UTF8 by default for emulation (SuperMicro defaulted to vt100 but
still allows utf8).

Comments?

-- 
Diego Elio Pettenò — Flameeyes
flameeyes@flameeyes.eu — http://blog.flameeyes.eu/


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 554 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] [RFC] Changing default serial-console definition in inittab
  2012-04-27 17:29 [gentoo-dev] [RFC] Changing default serial-console definition in inittab Diego Elio Pettenò
@ 2012-04-27 17:45 ` Greg KH
  2012-04-27 18:27 ` Raúl Porcel
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2012-04-27 17:45 UTC (permalink / raw
  To: gentoo-dev

On Fri, Apr 27, 2012 at 10:29:54AM -0700, Diego Elio Pettenò wrote:
> Since I've been configuring a couple of systems lately for remote
> access, which include configuring the serial console, I'm wondering if
> it would be a good idea to change our inittab so that the default
> (commented out) definition of the serial consoles is a bit more.. modern.
> 
> The current definition sets the console at 9600 baud, using vt100
> emulation; I think most of us who configure it, do so at 115200 baud,
> and some prefer vt-utf8 over vt100 (the two are partially compatible as
> far as I can tell).
> 
> Of the two systems I've configured ­– a SuperMicro server which is the
> new tinderbox host, and an HP for work – both have the default IPMI
> configuration for Serial-over-LAN set at 115200, and the HP also had
> VT-UTF8 by default for emulation (SuperMicro defaulted to vt100 but
> still allows utf8).
> 
> Comments?

Makes sense to me, nice idea.

greg k-h



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] [RFC] Changing default serial-console definition in inittab
  2012-04-27 17:29 [gentoo-dev] [RFC] Changing default serial-console definition in inittab Diego Elio Pettenò
  2012-04-27 17:45 ` Greg KH
@ 2012-04-27 18:27 ` Raúl Porcel
  2012-04-27 18:29 ` Christian Ruppert
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Raúl Porcel @ 2012-04-27 18:27 UTC (permalink / raw
  To: gentoo-dev

On 04/27/2012 07:29 PM, Diego Elio Pettenò wrote:
> Since I've been configuring a couple of systems lately for remote
> access, which include configuring the serial console, I'm wondering if
> it would be a good idea to change our inittab so that the default
> (commented out) definition of the serial consoles is a bit more.. modern.
> 
> The current definition sets the console at 9600 baud, using vt100
> emulation; I think most of us who configure it, do so at 115200 baud,
> and some prefer vt-utf8 over vt100 (the two are partially compatible as
> far as I can tell).
> 
> Of the two systems I've configured ­– a SuperMicro server which is the
> new tinderbox host, and an HP for work – both have the default IPMI
> configuration for Serial-over-LAN set at 115200, and the HP also had
> VT-UTF8 by default for emulation (SuperMicro defaulted to vt100 but
> still allows utf8).
> 
> Comments?
> 

I wouldn't mind for amd64/x86.

There haven't been any new alpha/hppa systems in years, and the default
for them was 9600. All the cheap(and therefore common) sparc hardware
uses 9600 as we're talking about systems 10 years old. On ia64, from
what i've had access to in the last years, it used 9600 as well.
m68k/s390/sh are very exotic arches and 9600 is a safe default.

I'm providing this info as member of the teams of those architectures
i've mentioned(except hppa). I have no clue about mips or ppc* systems.

On the other hand, maybe it could be changed on arm to 115200, as all
the devices i have use that speed. Although some use a non-standard
serial port(ttyO{0,2} for OMAP devices, ttymxc0 for FSL i.mx devices).





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] [RFC] Changing default serial-console definition in inittab
  2012-04-27 17:29 [gentoo-dev] [RFC] Changing default serial-console definition in inittab Diego Elio Pettenò
  2012-04-27 17:45 ` Greg KH
  2012-04-27 18:27 ` Raúl Porcel
@ 2012-04-27 18:29 ` Christian Ruppert
  2012-04-28  0:38 ` Patrick Lauer
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Christian Ruppert @ 2012-04-27 18:29 UTC (permalink / raw
  To: gentoo-dev; +Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]

On 04/27/12 at 10:29AM -0700, Diego Elio Pettenò wrote:
> Since I've been configuring a couple of systems lately for remote
> access, which include configuring the serial console, I'm wondering if
> it would be a good idea to change our inittab so that the default
> (commented out) definition of the serial consoles is a bit more.. modern.
> 
> The current definition sets the console at 9600 baud, using vt100
> emulation; I think most of us who configure it, do so at 115200 baud,
> and some prefer vt-utf8 over vt100 (the two are partially compatible as
> far as I can tell).
> 
> Of the two systems I've configured ­– a SuperMicro server which is the
> new tinderbox host, and an HP for work – both have the default IPMI
> configuration for Serial-over-LAN set at 115200, and the HP also had
> VT-UTF8 by default for emulation (SuperMicro defaulted to vt100 but
> still allows utf8).
> 
> Comments?
> 
> -- 
> Diego Elio Pettenò — Flameeyes
> flameeyes@flameeyes.eu — http://blog.flameeyes.eu/
> 

+1 on the 115200 baud but I'm not sure about the VT-UTF8 even though I'd prefer
it too.

-- 
Regards,
Christian Ruppert
Gentoo Linux developer, Bugzilla administrator and Infrastructure member
Fingerprint: EEB1 C341 7C84 B274 6C59 F243 5EAB 0C62 B427 ABC8

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] [RFC] Changing default serial-console definition in inittab
  2012-04-27 17:29 [gentoo-dev] [RFC] Changing default serial-console definition in inittab Diego Elio Pettenò
                   ` (2 preceding siblings ...)
  2012-04-27 18:29 ` Christian Ruppert
@ 2012-04-28  0:38 ` Patrick Lauer
  2012-04-28 18:49   ` Markos Chandras
  2012-04-29  8:43 ` Tobias Klausmann
  2012-04-29 22:42 ` Mike Frysinger
  5 siblings, 1 reply; 8+ messages in thread
From: Patrick Lauer @ 2012-04-28  0:38 UTC (permalink / raw
  To: gentoo-dev

On 04/28/12 01:29, Diego Elio Pettenò wrote:
> Since I've been configuring a couple of systems lately for remote
> access, which include configuring the serial console, I'm wondering if
> it would be a good idea to change our inittab so that the default
> (commented out) definition of the serial consoles is a bit more.. modern.
> 
> The current definition sets the console at 9600 baud, using vt100
> emulation; I think most of us who configure it, do so at 115200 baud,
> and some prefer vt-utf8 over vt100 (the two are partially compatible as
> far as I can tell).
> 
> Of the two systems I've configured ­– a SuperMicro server which is the
> new tinderbox host, and an HP for work – both have the default IPMI
> configuration for Serial-over-LAN set at 115200, and the HP also had
> VT-UTF8 by default for emulation (SuperMicro defaulted to vt100 but
> still allows utf8).
> 
> Comments?
> 

Leave the old defaults, add an example with the new options?

Since serial consoles are not default the user will have to consciously
enable them anyway, so there are no "defaults"

Have fun,

Patrick



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] [RFC] Changing default serial-console definition in inittab
  2012-04-28  0:38 ` Patrick Lauer
@ 2012-04-28 18:49   ` Markos Chandras
  0 siblings, 0 replies; 8+ messages in thread
From: Markos Chandras @ 2012-04-28 18:49 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 04/28/2012 01:38 AM, Patrick Lauer wrote:
> On 04/28/12 01:29, Diego Elio Pettenò wrote:
>> Since I've been configuring a couple of systems lately for
>> remote access, which include configuring the serial console, I'm
>> wondering if it would be a good idea to change our inittab so
>> that the default (commented out) definition of the serial
>> consoles is a bit more.. modern.
>> 
>> The current definition sets the console at 9600 baud, using
>> vt100 emulation; I think most of us who configure it, do so at
>> 115200 baud, and some prefer vt-utf8 over vt100 (the two are
>> partially compatible as far as I can tell).
>> 
>> Of the two systems I've configured ­– a SuperMicro server which
>> is the new tinderbox host, and an HP for work – both have the
>> default IPMI configuration for Serial-over-LAN set at 115200, and
>> the HP also had VT-UTF8 by default for emulation (SuperMicro
>> defaulted to vt100 but still allows utf8).
>> 
>> Comments?
>> 
> 
> Leave the old defaults, add an example with the new options?
> 
> Since serial consoles are not default the user will have to
> consciously enable them anyway, so there are no "defaults"
> 
> Have fun,
> 
> Patrick
> 

Yeah +1 on that

- -- 
Regards,
Markos Chandras / Gentoo Linux Developer / Key ID: B4AFF2C2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQIcBAEBCgAGBQJPnDvUAAoJEPqDWhW0r/LCJDwP/0Qn+OwDvZSEbMAto/DzAze0
Y13mXqOljzEg8nkaO7EODXbUdxE8PvVlRhMMyjOTBISFNWV4Y6Bv5jRfb3kx3M+j
H8SZdh/SkpHQMyZVaBm2CN8abVpvrewPfyokaesIgDpJZxFYkvN/jP2fjMgZV+gs
zLARFdch7yNWx5/a7Qe4GVzCsSP7xZXz/7m2u+jlnRYS+2d1fYjL0i17hqlO8XIC
VvIGY7RfAdyFypL7hYa1v6PbBXpT+gUru6dtv0zRXunz/+yHMieq2+J5/JLeivuc
K5hI5qRrlMxXcXQRXoTd7glqSjC69mKDJx34po0qiRuFxfIFep9a50X482cGxo2/
qfK+OXLznEjp9bAQdeZaajkXhlGup7HJhGRCZLTTH+9rQpQ5SEvHzh/iOThV4dDU
XbW4CHZZxo6B/nNAvN77Wfc82tcXPssozU98Ri4jbZ4psXnanCmtf3MarEdL/EVX
CJBa42W2N8FQreCOe0vRtQi8zvK6nuQv5qFVFLpTsct+VpBMHlcvBhb+p4KmFcxw
pwtmWCICwoZTaGMO8pTFPCJgjL/YwMMaPFflsu6o6W8K1UQzGUANXaer98BFZavs
8WQ96/Jgl2CFcrZNTnyqqfQfRY6lFS7IO179eAO+49A66nX61FGSRODWnVFeGavK
kQ4WxQOjTtPzw9xYgdjM
=SDkT
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] [RFC] Changing default serial-console definition in inittab
  2012-04-27 17:29 [gentoo-dev] [RFC] Changing default serial-console definition in inittab Diego Elio Pettenò
                   ` (3 preceding siblings ...)
  2012-04-28  0:38 ` Patrick Lauer
@ 2012-04-29  8:43 ` Tobias Klausmann
  2012-04-29 22:42 ` Mike Frysinger
  5 siblings, 0 replies; 8+ messages in thread
From: Tobias Klausmann @ 2012-04-29  8:43 UTC (permalink / raw
  To: gentoo-dev

Hi! 

On Fri, 27 Apr 2012, Diego Elio Pettenò wrote:
> The current definition sets the console at 9600 baud, using vt100
> emulation; I think most of us who configure it, do so at 115200 baud,
> and some prefer vt-utf8 over vt100 (the two are partially compatible as
> far as I can tell).

Also note that some embedded systems (Alix, for example) are not
capable of 115200 baud, but top out at 38400 (which is already
far better than 9600).

Regards,
Tobias



-- 
printk(KERN_ERR "happy meal: Transceiver BigMac ATTACK!");
	linux-2.6.19/drivers/net/sunhme.c



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-dev] [RFC] Changing default serial-console definition in inittab
  2012-04-27 17:29 [gentoo-dev] [RFC] Changing default serial-console definition in inittab Diego Elio Pettenò
                   ` (4 preceding siblings ...)
  2012-04-29  8:43 ` Tobias Klausmann
@ 2012-04-29 22:42 ` Mike Frysinger
  5 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger @ 2012-04-29 22:42 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: Text/Plain, Size: 1031 bytes --]

On Friday 27 April 2012 13:29:54 Diego Elio Pettenò wrote:
> Since I've been configuring a couple of systems lately for remote
> access, which include configuring the serial console, I'm wondering if
> it would be a good idea to change our inittab so that the default
> (commented out) definition of the serial consoles is a bit more.. modern.
> 
> The current definition sets the console at 9600 baud, using vt100
> emulation; I think most of us who configure it, do so at 115200 baud,
> and some prefer vt-utf8 over vt100 (the two are partially compatible as
> far as I can tell).

vt-utf8 isn't installed into /etc/terminfo/ currently, so we'd have to fix 
that.  then i could make the default based on USE=unicode.

as for the generic ttyS0/ttyS1 defaults, 115200 is just as easy as 9600 to 
change, so np updating that.  for all the system-specific configs though (we 
have a bunch of arch/system ones), i'd prefer to leave those alone as they 
tend to be tailored to common board-specific behavior.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-04-29 22:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-27 17:29 [gentoo-dev] [RFC] Changing default serial-console definition in inittab Diego Elio Pettenò
2012-04-27 17:45 ` Greg KH
2012-04-27 18:27 ` Raúl Porcel
2012-04-27 18:29 ` Christian Ruppert
2012-04-28  0:38 ` Patrick Lauer
2012-04-28 18:49   ` Markos Chandras
2012-04-29  8:43 ` Tobias Klausmann
2012-04-29 22:42 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox