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


[Xen-users] dom0 linux system consoles; running domU problems

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] dom0 linux system consoles; running domU problems
From: Permjacov Evgeniy <permeakra@xxxxxxxxx>
Date: Fri, 27 May 2011 01:01:56 +0400
Delivery-date: Thu, 26 May 2011 14:06:22 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=pKZLgSJVU+GS+Iiu/mQwXh3nRZ5qD1J8x8FS0rHfQAo=; b=jIEBs27YmoIY1yk1WH67H8nvp5xVqh6xSvPRr0u3O9IE858CElB9qTfDisVnItzPFf YoBtlkRR7q1g62/Ar6euJCiMDVYRlrgW108rSWWiR50o76/4ppvvvl66ku4BXWnYSiNQ 8hNuuBRyfBGl0OmX609ZOaWTW2zZeZt64W+g8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=QnK4/xJcDNGshcBnu5bJjSqzDiBfL6i23TjuofK02DGpdhBqL39BNhHp8oCIbJ/cks AgRIVeqjWCV30/EQ+vUJXr2esTDCJp/m4lW5nzeennoWUm3ji8rOqqvRS03is9dNHGWD bHkZ1gQZpLJNLg+LFyBlsNs3BX4DfmourK3DE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110501 Lightning/1.0b3pre Thunderbird/3.1.10
Note: I'm familiar with gentoo distribution, but not with xen.

A time has come, I desided, I need several xen virtual guests on my box
(mostly because I want some personal web-applications installed on
different environment that my desctop machine and desire to have
'playground' for web-development attempts)

What I have done
1) installed recent gentoo-sources (2.6.39), enabled all found
xen-related options in kernel config and installed kernel. This is
paravirt_ops kernel, that should work
2) installed xen (app-emulation/xen-4.1.0  USE="acm flask xsm
-custom-cflags -debug -pae"  ; app-emulation/xen-tools-4.1.0-r1 
USE="acm flask hvm ioemu screen -api -custom-cflags -debug -doc -pygrub" )
3) and edited grub.conf to be like this
default 0
timeout 15

title=Xen (Gentoo Linux, 2.6.39-gentoo)
root (hd0,0)
kernel /xen.gz  dom0_mem=7G
module /boot/kernel-genkernel-x86_64-2.6.39-gentoo root=dev/ram0
module /boot/initramfs-genkernel-x86_64-2.6.39-gentoo

title=Gentoo Linux (2.6.39-gentoo)
root (hd0,0)
kernel /boot/kernel-genkernel-x86_64-2.6.39-gentoo root=/dev/ram0
initrd /boot/initramfs-genkernel-x86_64-2.6.39-gentoo
BTW, here I had to force some xen-related modules (xen-evtchn,
xen-gntdev) to load, or xend failed to start, so if some modules should
be loaded, note it please.
4) added xend to default runlevel
With this I am able to boot my kernel both as stand-alone kernel or as
dom0. Both does work. And here is the first problem. When booting dom0
under Xen, no system console appears: screen is black until Xserver is
started (btw, I do NOT use any framebuffer console. It conflicted with
nvidia-drivers in past, so I avoid framebuffer consoles at all.) But I
need system console if my X server will become unusable because of major
upgrade or if i wish to boot in interactive! As I understand correctly,
I have to link system and virtual consoles to some devices, created by
xen or even grub. But how and wich ones? Framebuffer console is not an

Ok, let assume that we booted. Great! I tried two scenarios: a hand-made
bootable system and xm-debian.cfg  (see here about it
http://wiki.debian.org/Xen). After I corrected obvious misconfiguration
errors, I faced symiliar behavior: when started, guests causes screen to
shut down and reboot is forced. Errgh. I expectected at least error
message to google! How I can find, what have gone wrong, i.e. where are
related logs located and how to enforce detailed logging? And may be
there are some common errors, that leads to described results?

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] dom0 linux system consoles; running domU problems, Permjacov Evgeniy <=