Bug#394970: finish-install: [powerpc64] Add support for IBM serial consoles (hvc and hvsi)
On Thu, Nov 23, 2006 at 04:24:34PM +0100, Frans Pop wrote:
> On Monday 23 October 2006 22:19, Sven Luther wrote:
> > This patch is currently untested, but i don't want to lose it again, so
> > i submit it. I expect to test it nextly, but i can only do so for hvc
> > as i have no longer access to a non-virtualized pserver, and can only
> > do so within the constraints of my free time.
>
> The patch had an error in the sed on /etc/inittab. Please test the
> attached patch, which also avoids the code duplication.
Ok, cool, will do this this WE, since i have no access to the box.
> Index: finish-install.d/90console
> ===================================================================
> --- finish-install.d/90console (revision 42772)
> +++ finish-install.d/90console (working copy)
> @@ -16,16 +16,18 @@
> console=${console#/dev/}
>
> case "$console" in
> -ttyS*)
> +ttyS*|hvc*|hvsi*)
BTW, the new genesi efika board will use /dev/ttyPSC*, and i guess there are a
bunch of other serial ports out there.
Would it not be better to use the variable in rootskel to detect that the
terminal is a serial terminal, namely those who delcare themselves to be :
TERM_TYPE=serial in rootskel/src/lib/debian-installer/detect-console-linux
The code there is :
/dev/console|/dev/tts/*|/dev/tty[A-Z]*|/dev/hvc*|/dev/hvsi*)
Furthermore, i have personally found out that it is interesting to enable
a serial console in /etc/inittab even in non-serial installs, Maybe a debconf
question of low priority would allow this to be preseeded or set in expert
installs ? Maybe too late for etch now, but still something to keep in mind.
Friendly,
Sven Luther
Reply to: