This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] Xen console hangs

To: linuxmasterjedi@xxxxxxx
Subject: Re: [Xen-users] Xen console hangs
From: Sadique Puthen <sputhenp@xxxxxxxxxx>
Date: Mon, 17 Dec 2007 17:20:35 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 17 Dec 2007 03:51:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <28557.>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <28557.>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20070926)

Paravirt or fully virt?

For paravirt: --

To get the boot messages on the console please append the below parameters to the kernel line in the grub.conf of the guest.

console=tty0 console=xvc0

kernel line in my grub.conf is as below.

kernel /vmlinuz-2.6.18-53.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet console=tty0 console=xvc0

To get a log in prompt on the console, please add the below line to your /etc/inittab, before ttyx defenitions. Once you do "xm console <guest>", you may have to press "return" to get the console.

co:2345:respawn:/sbin/agetty xvc0 9600 vt100-nav

For fully virt: ---

Edit guest configuration file and add "serial = pty"

Then edit guest configuration file and add console=ttyS0 to kernel line in grub and add "co:2345:respawn:/sbin/agetty ttyS0 9600 vt100-nav" to your /etc/inittab.


L.M.J. wrote:

  I'm running XEN 3.0.3 on RHEL5 2.6.18-53.1.4.el5xen. I used to start the
vm with "xm create myvm -c". I see the boot during a couple of second,
then, it freeze.
  The console is freezed, not the vm, a couple of second later, I can ssh
the vm without any problem.
  "xm console myvm" also display a freezed state. This is an extrat of the
console :

  # xm create myvm -c
Using config file "/etc/xen/myvm".
Started domain myvm
rtc: IRQ 8 is not free.
i8042.c: No controller found.

  --- freeze : no more keyboard input but the vm is up and running
  --- something it freeze later in the boot, around HALD..

  Do you have any ideas why ?

Xen-users mailing list

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>