Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Dev

[RFC] Changing default serial-console definition in inittab

 

 

Gentoo dev RSS feed   Index | Next | Previous | View Threaded


flameeyes at gentoo

Apr 27, 2012, 10:29 AM

Post #1 of 9 (392 views)
Permalink
[RFC] Changing default serial-console definition in inittab

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 [at] flameeyes — http://blog.flameeyes.eu/
Attachments: signature.asc (0.54 KB)


gregkh at gentoo

Apr 27, 2012, 10:45 AM

Post #2 of 9 (371 views)
Permalink
Re: [RFC] Changing default serial-console definition in inittab [In reply to]

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


armin76 at gentoo

Apr 27, 2012, 11:27 AM

Post #3 of 9 (373 views)
Permalink
Re: [RFC] Changing default serial-console definition in inittab [In reply to]

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).


idl0r at gentoo

Apr 27, 2012, 11:29 AM

Post #4 of 9 (373 views)
Permalink
Re: [RFC] Changing default serial-console definition in inittab [In reply to]

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 [at] flameeyes — 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


idl0r at gentoo

Apr 27, 2012, 11:29 AM

Post #5 of 9 (378 views)
Permalink
Re: [RFC] Changing default serial-console definition in inittab [In reply to]

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 [at] flameeyes — 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


patrick at gentoo

Apr 27, 2012, 5:38 PM

Post #6 of 9 (381 views)
Permalink
Re: [RFC] Changing default serial-console definition in inittab [In reply to]

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


hwoarang at gentoo

Apr 28, 2012, 11:49 AM

Post #7 of 9 (362 views)
Permalink
Re: [RFC] Changing default serial-console definition in inittab [In reply to]

-----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-----


klausman at gentoo

Apr 29, 2012, 1:43 AM

Post #8 of 9 (366 views)
Permalink
Re: [RFC] Changing default serial-console definition in inittab [In reply to]

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


vapier at gentoo

Apr 29, 2012, 3:42 PM

Post #9 of 9 (373 views)
Permalink
Re: [RFC] Changing default serial-console definition in inittab [In reply to]

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
Attachments: signature.asc (0.82 KB)

Gentoo dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.