FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Server Development

 
 
LinkBack Thread Tools
 
Old 04-21-2008, 10:22 AM
Albert
 
Default Xen 3.2 Hardy - console problem

Hi

I trying running xen 3.2 in ubuntu hardy 8.04

my xen-tools.conf

dir = /home/xen
dist = hardy # Default distribution to install.
initrd=/boot/initrd.img-2.6.24-16-xen
kernel=/boot/vmlinuz-2.6.24-16-xen
lvm=vol1
size=5Gb
swap=256Mb
memory=256
gateway = 192.168.123.189
netmask = 255.255.255.0
broadcast = 192.168.123.255
passwd = 1
mirror = http://de.archive.ubuntu.com/ubuntu/

next I run this command xen-create-image --hostname=jabber.foo.com
--ip=192.168.123.208 --force --verbose --lvm=vol1
and image creating.
I'm having problem when I try running xm create -c jabber.foo.com.cfg
and xm console id, it's nothing to do.

jabber.foo.com.cfg

# Kernel + memory size
#
kernel = '/boot/vmlinuz-2.6.24-16-xen'
ramdisk = '/boot/initrd.img-2.6.24-16-xen'
memory = '256'
extra="console=tty xencons=tty"
root = '/dev/sda2 ro'
disk = [
'phy:/dev/vol1/jabber.i-bs.pl-swap,sda1,w',
'phy:/dev/vol1/jabber.i-bs.pl-disk,sda2,w',
]
name = 'jabber.foo.com'

vif = [ 'ip=192.168.123.208,mac=00:16:3E:CA:18:AD' ]

on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'

#extra = 'xencons=tty'
#extra='console=tty xencons=tty'
#extra = '2 console=xvc0'

Any one have any ideas where's the problem ?

Albert




--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 
Old 04-21-2008, 02:50 PM
"Todd Deshane"
 
Default Xen 3.2 Hardy - console problem

On Mon, Apr 21, 2008 at 6:22 AM, Albert <forall@stalowka.info> wrote:

Hi



I trying running xen 3.2 in ubuntu hardy 8.04



my xen-tools.conf



dir = /home/xen

dist * = hardy * * # Default distribution to install.

initrd=/boot/initrd.img-2.6.24-16-xen

kernel=/boot/vmlinuz-2.6.24-16-xen

lvm=vol1

size=5Gb

swap=256Mb

memory=256

gateway * = 192.168.123.189

netmask * = 255.255.255.0

broadcast = 192.168.123.255

passwd = 1

mirror = http://de.archive.ubuntu.com/ubuntu/



next I run this command xen-create-image --hostname=jabber.foo.com

--ip=192.168.123.208 --force --verbose --lvm=vol1

and image creating.

I'm having problem when I try running xm create -c jabber.foo.com.cfg

and xm console id, it's nothing to do.



What do you mean "it's nothing to do"?

Do you mean it is not showing anything? Did you try to hit the enter key or other keys?




jabber.foo.com.cfg



# *Kernel + memory size

#

kernel * * *= '/boot/vmlinuz-2.6.24-16-xen'

ramdisk * * = '/boot/initrd.img-2.6.24-16-xen'

memory * * *= '256'

extra="console=tty xencons=tty"

root * * * *= '/dev/sda2 ro'

disk * * * *= [

* * * * * * * * *'phy:/dev/vol1/jabber.i-bs.pl-swap,sda1,w',

* * * * * * * * *'phy:/dev/vol1/jabber.i-bs.pl-disk,sda2,w',

* * * * * * * * *]

name * * * *= 'jabber.foo.com'



vif * * * * = [ 'ip=192.168.123.208,mac=00:16:3E:CA:18:AD' ]



>
on_reboot * = 'restart'

on_crash * *= 'restart'



#extra = 'xencons=tty'

#extra='console=tty xencons=tty'

#extra = '2 console=xvc0'



Any one have any ideas where's the problem ?



You should also try to uncomment one of the the #extra lines above. Maybe that is why your console is not showing up.

*
Best Regards,
Todd




Albert









--

ubuntu-server mailing list

ubuntu-server@lists.ubuntu.com

https://lists.ubuntu.com/mailman/listinfo/ubuntu-server

More info: https://wiki.ubuntu.com/ServerTeam



--
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam
 

Thread Tools




All times are GMT. The time now is 05:35 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org