WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Installing a Debian Etch DomU using debootstrap

To: echo@xxxxxxxxxxxx
Subject: Re: [Xen-users] Installing a Debian Etch DomU using debootstrap
From: Thomas <iamkenzo@xxxxxxxxx>
Date: Mon, 1 Sep 2008 12:17:48 +0200
Cc: deshantm@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 01 Sep 2008 03:18:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=vfgt2rkAa1+7VXJsRa7O9ru+zg0bIUsobc1nWb+SN98=; b=R3BSc3aiOaJyduOGOOwMuI9Mjxlep3fWXOUW8AO4WEcKhCtR3wcWiV5hV7Vf5fkrVV /RGb1ulzWJFRmWbx/1hkb7idnNTGCFJuYAAUlXPCg8bgEQrIqqGdCshXwhR0rIrPLJmg D53+1t8Xkut3fC93DQglDeK/vmP1B0+vg8qjE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=dEl3Go54vYKJoDUpgSmmvwskrkBcNqkf93+jRy7/9Zr1bE72BRSXXTvTAigB+KmSQV TV/Ki9aBY2CAoICrtDImibKl0w6FdZWvQ6kFJJOc177ohvGq97zlQcJ1JQ0tp3H2msSl qtNJ22/Uhwntk/9+7ZpJSnHEOKI5cdmBhrdpE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1220199182.5767.40.camel@xxxxxxxxxxxxxxxxxxxxx>
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>
References: <1216453270.7116.6.camel@xxxxxxxxxxxxxx> <55da14450808181413v36698d70m6ac22bfed60bf71d@xxxxxxxxxxxxxx> <1219129103.12239.2.camel@xxxxxxxxxxxxxxxxxxxxx> <55da14450808190015j687e306fgae02d610192cd0c9@xxxxxxxxxxxxxx> <55da14450808310644g5c6cbe16ja6dec39332d8fb09@xxxxxxxxxxxxxx> <1e16a9ed0808310653qf1db2f6ndd5191c025cda123@xxxxxxxxxxxxxx> <55da14450808310708v14ee9f9fq1fb7cbfffb2d1c4f@xxxxxxxxxxxxxx> <1e16a9ed0808310726y1f200458r14d172348bbf2b59@xxxxxxxxxxxxxx> <55da14450808310739t883d422ha8a7117b3bca1634@xxxxxxxxxxxxxx> <1220199182.5767.40.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I am still having the problem with the tty. I cannot xm console into a
running domU.

My setup is: dom0: Debian Etch with a custom kernel. My domU is a
Debian Etch with kernel 2.6.18-6-xen-amd64

I have discovered that for domU with 2.6.18 one must use xvc0, and
with kernels >= 2.6.25 one must use hvc0.

I have finally managed to use debootstrap to create a VM. When my VM
gets created, I see the console appear if I use "xm create -c VM", and
the console is tty1. But if I do ctrl+] to leave the console, I can no
longer "xm console" into. However when I do "xm reboot VM", then if I
am fast enough, I can "xm console" into it.

What is wrong with my configuration? I know I am missing a piece in
this puzzle what is it? This is getting crazy.

Here is my configuration file:
---
extra = 'console=xvc0 xencons=xvc0' # Use xvc0 for kernel 2.6.18
#extra = 'console=hvc0 xencons=hvc0' # Use hvc0 for kernels >= 2.6.25
---

My /etc/inittab:
---
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
---

/etc/securetty:
---
 /etc/securetty: list of terminals on which root is allowed to login.
# See securetty(5) and login(1).
console
xvc0
hvc0
...
----

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users