Yung Giang
2007-May-02 20:52 UTC
[Xen-devel] 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
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Keir Fraser
2007-May-02 22:15 UTC
Re: [Xen-devel] Dumping Xen dom0 kernel output to serial console
On 2/5/07 21:52, "Yung Giang" <yung.giang@gmail.com> 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 Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Yung Giang
2007-May-02 22:45 UTC
Re: [Xen-devel] Dumping Xen dom0 kernel output to serial console
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
On 5/2/07, Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
wrote:>
>
>
>
> On 2/5/07 21:52, "Yung Giang" <yung.giang@gmail.com> 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
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Yung Giang
2007-May-14 18:53 UTC
Re: [Xen-devel] Dumping Xen dom0 kernel output to serial console
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
>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 ~]#
On 5/2/07, Yung Giang <yung.giang@gmail.com>
wrote:>
> 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
>
>
>
> On 5/2/07, Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote:
> >
> >
> >
> >
> > On 2/5/07 21:52, "Yung Giang" < yung.giang@gmail.com>
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
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel