From d9cc96bc4f2bb28d5f3870efbec8da7fa7433d11 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Thu, 16 Apr 2015 16:52:41 +0800 Subject: [PATCH] Add more comments for bug#4502 fixing. Use /dev/hvc? instead of /dev/ttyS? for ppc64, ppc64le, ppc64el. --- xCAT-server/lib/xcat/plugins/anaconda.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 810ca7038..49a7f7e43 100755 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -796,6 +796,10 @@ sub mknetboot next; } if ( $arch =~ /ppc64/i ) { + # For IBM Power machines, either ppc64 or ppc64le (ppc64el), + # both the physical serial port or virtual serial port appeared + # in PowerVM LPAR or PowerKVM guest use device /dev/hvc0 or + # /dev/hvc1 instead of /dev/ttyS0 or /dev/ttyS1 $kcmdline .= " console=tty0 console=hvc" . $sent->{serialport} . "," . $sent->{serialspeed}; } else { $kcmdline .= " console=tty0 console=ttyS" . $sent->{serialport} . "," . $sent->{serialspeed};