Re: [gentoo-dev] [RFC] Changing default serial-console definition in inittab

2012-04-29 Thread Tobias Klausmann
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



Re: [gentoo-dev] [RFC] Changing default serial-console definition in inittab

2012-04-29 Thread Mike Frysinger
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


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-dev] [RFC] Changing default serial-console definition in inittab

2012-04-28 Thread Markos Chandras
-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-



[gentoo-dev] [RFC] Changing default serial-console definition in inittab

2012-04-27 Thread Diego Elio Pettenò
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
flamee...@flameeyes.eu — http://blog.flameeyes.eu/



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [RFC] Changing default serial-console definition in inittab

2012-04-27 Thread Greg KH
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



Re: [gentoo-dev] [RFC] Changing default serial-console definition in inittab

2012-04-27 Thread Raúl Porcel
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).





Re: [gentoo-dev] [RFC] Changing default serial-console definition in inittab

2012-04-27 Thread Christian Ruppert
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
 flamee...@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


pgpjVlDpP9dhC.pgp
Description: PGP signature


Re: [gentoo-dev] [RFC] Changing default serial-console definition in inittab

2012-04-27 Thread Patrick Lauer
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