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

Re: [Xen-users] xm console command doesn't work



Am 01.08.2012 21:30, schrieb Ian Tobin:

Hi,

 

Why don’t you xl console instead? Xm is being phased out.

 

Thanks

 

Ian

 

 

From: xen-users-bounces@xxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxx] On Behalf Of José Eduardo França
Sent: 01 August 2012 18:41
To: xen-users@xxxxxxxxxxxxx
Subject: [Xen-users] xm console command doesn't work

 

Hi Guys,

I'm working with xen 4.1, dom0 ubuntu kernel 3.2 and domU-PV ubuntu-precise.
Well... xm console command doesn't work. I read <http://wiki.xen.org/wiki/Xen_Common_Problems> and I can't resolve.

How can I fix this problem?
Thanks

MY guest.cfg in /etc/xen/ubuntu.cfg
  name = "ubuntu-pv"

  memory = 256

  disk = ['phy:/dev/labprog/ubuntu-pv,xvda,w']
  vif = [' ']

  bootloader = "pygrub"

  #kernel = "/var/lib/xen/images/ubuntu-netboot/vmlinuz"
  #ramdisk = "/var/lib/xen/images/ubuntu-netboot/initrd.gz"
  #extra = "debian-installer/exit/always_halt=true -- console=hvc0"


MY dom0 /etc/init/hvc0.conf
  # hvc0 - getty
  #
  # This service maintains a getty on hvc0 from the point the system is
  # started until it is shut down again.

  start on stopped rc RUNLEVEL=[2345] and (
              not-container or
              container CONTAINER=lxc or
              container CONTAINER=lxc-libvirt)

  stop on runlevel [!2345]

  respawn exec /sbin/getty -L hvc0 9600 linux



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

Hey all,

he could also use the xl toolstack but the simple misstake is that the hvc0.conf isn't needed in Dom0. The hvc0.conf is needed inside of the DomU and in the config file must be set extra = 'console=hvc0' so that the console kernel option for hvc0 is set. So the DomU can boot into a hvc0 console and than xm and xl can use the console.

Best Regards
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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