[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#382254: rootskel: /dev/hvsi* are serial consoles on non-virtualized IBM power machines.



Package: rootskel
Version: 1.33
Severity: important


Please add this patch once beta3 is out of the way (or commit it earlier, as i
understand the beta3 package set are frozen, and so the repo should be open
for mods already).

The IBM POWER machines can run in virtualized mode (logical partitions), in
which case the serial console is /dev/hvc*. but you can also run linux on them
directly, and in this case, the serial console is /dev/hvsi*, at least on the
p505 i tried this one.

This patch adds support for that in rootskel.

Friendly,

Sven Luther

-- System Information:
Debian Release: 3.1
Architecture: powerpc (ppc)
Kernel: Linux 2.6.15-1-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 39661)
+++ debian/changelog	(working copy)
@@ -1,3 +1,11 @@
+rootskel (1.34) UNRELEASED; urgency=low
+
+  [ Sven Luther ]
+  * Add support for /dev/hvsi* (non-virtual) serial consoles on recent IBM
+    POWER machines in detect-console-linux.
+
+ -- Sven Luther <luther@debian.org>  Wed,  9 Aug 2006 20:45:30 +0200
+
 rootskel (1.33) unstable; urgency=low
 
   [ Joey Hess ]
Index: src/lib/debian-installer/detect-console-linux
===================================================================
--- src/lib/debian-installer/detect-console-linux	(revision 39661)
+++ src/lib/debian-installer/detect-console-linux	(working copy)
@@ -1,6 +1,6 @@
 if [ -z "$TERM_TYPE" ]; then
 	case `readlink /proc/self/fd/0` in
-		/dev/console|/dev/tts/*|/dev/tty[A-Z]*|/dev/hvc*)
+		/dev/console|/dev/tts/*|/dev/tty[A-Z]*|/dev/hvc*|/dev/hvsi*)
 			TERM_TYPE=serial
 			;;
 		/dev/vc/*|/dev/tty*)

Reply to: