Dumping Xen dom0 kernel output to serial console
Hi-
I am having a weird problem with setting dom0 kernel output to the
serial console with Xen 3.0.4-1, below is my grub setting. With this setting if I don't enter the grub menu and have the default boot to the first image, everything works fine and I can get output/input to the serial console. The problem is when I enter the grub menu and select the image to boot from, if I select the same one the first image it will not show any serial output and when the machine is up I can't get any serial output or input. Has anyone else seen this problem or have any suggestions on how it can be fix?
Thanks
Yung Giang
# $Id: 20grub 6828 2006-11-16 16:56:42Z
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/md0
# initrd /boot/initrd-version.img
#boot=/dev/sda1
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
terminal --timeout=10 serial console
default=0
timeout=5
title Xen 3 / XenLinux 2.6
root (hd0,0)
kernel /boot/xen.gz dom0_mem=768M console=com1 com1=115200,8n1
module /boot/vmlinuz-2.6-xen ro root=/dev/md0 console=/dev/tty0
console=ttyS0,115200
module /boot/initrd-2.6-xen.img
title Xen 3 / XenLinux 2.6
root (hd1,0)
kernel /boot/xen.gz dom0_mem=768M console=com1 com1=115200,8n1
module /boot/vmlinuz-2.6-xen ro root=/dev/md0 console=/dev/tty0
console=ttyS0,115200
module /boot/initrd-2.6-xen.img
title Red Hat Enterprise Linux AS (2.6.9-22.ELsmp)
root (hd0,0)
kernel /boot/vmlinuz-2.6.9-22.ELsmp ro root=/dev/md0
initrd /boot/initrd-2.6.9-22.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-22.EL)
root (hd0,0)
kernel /boot/vmlinuz-2.6.9-22.EL ro root=/dev/md0
initrd /boot/initrd-2.6.9-22.EL.img_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 8 lines · Yung Giang
I am having a weird problem with setting dom0 kernel output to the
serial console with Xen 3.0.4-1, below is my grub setting. With this setting if I don't enter the grub menu and have the default boot to the first image, everything works fine and I can get output/input to the serial console. The problem is when I enter the grub menu and select the image to boot from, if I select the same one the first image it will not show any serial output and when the machine is up I can't get any serial output or input. Has anyone else seen this problem or have any suggestions on how it can be fix?
So serial fails to work if you press a key over the serial line and make use of the GRUB menu over serial? Or are you using the GRUB menu via VGA?
-- Keir
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Hi Keir-
The serial fails to work if I press a key over the serial line and
make use of the GRUB menu over serial.
-Yung Giang
Quoted 17 lines · Keir Fraser
On 2/5/07 21:52, "Yung Giang" <[email protected]> wrote:
I am having a weird problem with setting dom0 kernel output to
the serial console with Xen 3.0.4-1, below is my grub setting. With this setting if I don't enter the grub menu and have the default boot to the first image, everything works fine and I can get output/input to the serial console. The problem is when I enter the grub menu and select the image to boot from, if I select the same one the first image it will not show any serial output and when the machine is up I can't get any serial output or input. Has anyone else seen this problem or have any suggestions on how it can be fix?
Quoted 5 lines
So serial fails to work if you press a key over the serial line and make use of the GRUB menu over serial? Or are you using the GRUB menu via VGA?
-- Keir
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Hi-
This problem seems to exist on certain dell 1950 with high serial
console baud rate. I have tested serial console baud rate of 19200 bps and lower and it seems to work fine with grub.conf setting below with or with/out these two lines
Quoted 2 lines
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1 terminal --timeout=10 serial console
-Yung Giang
# $Id: 20grub 13972 2007-05-07 20:55:35Z ygiang $
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/md0
# initrd /boot/initrd-version.img
#boot=/dev/sda1
fallback 1
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal --timeout=10 serial console
default=0
timeout=5
title Xen 3 / XenLinux 2.6
root (hd0,0)
kernel /boot/xen.gz dom0_mem=768M console=com1 com1=19200,8n1
module /boot/vmlinuz-2.6-xen ro root=/dev/md0 console=/dev/tty0
console=ttyS0,19200
module /boot/initrd-2.6-xen.img
title Xen 3 / XenLinux 2.6
root (hd1,0)
kernel /boot/xen.gz dom0_mem=768M console=com1 com1=19200,8n1
module /boot/vmlinuz-2.6-xen ro root=/dev/md0 console=/dev/tty0
console=ttyS0,19200
module /boot/initrd-2.6-xen.img
title Red Hat Enterprise Linux AS (2.6.9-22.ELsmp)
root (hd0,0)
kernel /boot/vmlinuz-2.6.9-22.ELsmp ro root=/dev/md0
initrd /boot/initrd-2.6.9-22.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-22.EL)
root (hd0,0)
kernel /boot/vmlinuz-2.6.9-22.EL ro root=/dev/md0
initrd /boot/initrd-2.6.9-22.EL.img
[root@chokp ~]#Quoted 5 lines · Yung Giang
Hi Keir-
The serial fails to work if I press a key over the serial line and
make use of the GRUB menu over serial.
Quoted 29 lines
-Yung Giang
Quoted 22 lines · Keir Fraser
On 2/5/07 21:52, "Yung Giang" < [email protected]> wrote:
I am having a weird problem with setting dom0 kernel output to
the serial console with Xen 3.0.4-1, below is my grub setting. With this setting if I don't enter the grub menu and have the default boot to the first image, everything works fine and I can get output/input to the serial console. The problem is when I enter the grub menu and select the image to boot from, if I select the same one the first image it will not show any serial output and when the machine is up I can't get any serial output or input. Has anyone else seen this problem or have any suggestions on how it can be fix?So serial fails to work if you press a key over the serial line and make use of the GRUB menu over serial? Or are you using the GRUB menu via VGA?
-- Keir
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel