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

Re: [Xen-users] Dom U stuck at boot time- centos.5-2 domU image on RHEL5 dom0!


  • To: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • Date: Mon, 20 Apr 2009 13:19:15 +0700
  • Delivery-date: Sun, 19 Apr 2009 23:20:01 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Mon, Apr 20, 2009 at 11:08 AM, Ata E Husain Bohra
<aehusain@xxxxxxxxxxx> wrote:
> Dear All,
>
> I am facing an issue while the startup of a domU centos5-2 image obtained
> from jailtime.org on RHEL dom0 system.
> Initially there were problems locating the root file system and then I did a
> mkinitrd with xennet and xenblk option and changed the ramdisk in xen config
> file. With this addition I was able to get rid of the kernel panic error,
> but now the system freezes after initializing service 'sshd', below is the
> log at the boot time:

> Starting sshd: [  OK  ]

My guess is domU is already started. You just didn't see the login screen.

>
> My xen configuration file is as below:
> kernel = "/boot/vmlinuz-2.6.18-128.1.6.el5xen"
> ramdisk = "../initrd-2.6.18-128.1.6.el5xen.img"
> memory = 256
> name = "centos.5-2"
> vif = [ 'bridge=xenbr0' ]
> dhcp = "off"
> disk = ['file:/root/images/centos/centos.5-2.img,sda1,w']
> root = "/dev/sda1 ro"
>
> I have tried to google solution for this problem, but no luck till this
> moment. Please suggest me what can be done to boot up by domU kernel.

There are some alternatives to fix it. My perefered method would be to
setup domU correctly to display login screen an allow root to login
from xvc0 (which is where the console is. See the boot log). It
requires some modifications to several files.

Other people like to simply add
extra ="3 xencons=tty"
to domU config line.

See the list archive: http://www.nabble.com/xm-console-hanging-td22906416.html

Regards,

Fajar

_______________________________________________
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®.