[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: echo@xxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.