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

Re: [Xen-users] Re: Out of Memory Error while booting Xen


  • To: Pasi Kärkkäinen <pasik@xxxxxx>
  • From: Rishikesh Naik <naik.pict@xxxxxxxxx>
  • Date: Thu, 18 Mar 2010 13:08:31 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 18 Mar 2010 10:10:22 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=l73hR58JTPBfckgcqt1+0CkdFLFl1Z7/qh7TzvVX3UgBX3xn2NFZCw7aytWSb9ghvO w+hLcJoaPS2VIEf1CaHo754q+M/ZtA/0WekQztuoWW4nvBH+r8b6SxpUIAemba/w7a6O VPJTyocnA7dV4pOVZ7LwGSWHHYDISsvwJH3uc=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Yes. I also think that udev might be too new. I am using Ubuntu 9.04 with kernel version 2.6.28.18. The udevd version is 141 on this distribution.

What would you suggest me to do? Should I install a dom0 kernel with version greated than that of my distribution? Is there any way so that I can still get 2.6.18 kernel to work?

Thanks,
-Rishikesh

On Thu, Mar 18, 2010 at 12:01 PM, Pasi Kärkkäinen <pasik@xxxxxx> wrote:
On Wed, Mar 17, 2010 at 11:35:44AM -0400, Rishikesh Naik wrote:
>    Hi Pasi,
>
>    I am using the kernel whose source was downloaded from mercurial repo of
>    Xen. When I executed "make world" command, it automatically downloaded the
>    kernel source code (linux-2.6.18-xen.hg). The kernel version is 2.6.18.8
>    to be precise.
>

Ok.

What's the distribution you're using? Maybe your version of udev is too new for
the 2.6.18 kernel.

Also try specifying dom0_mem=512M parameter for the Xen hypervisor (xen.gz) in grub.conf.

-- Pasi

>    Thanks,
>    Rishikesh
>
>    On Wed, Mar 17, 2010 at 9:57 AM, Pasi Kärkkäinen <[1]pasik@xxxxxx> wrote:
>
>      On Tue, Mar 16, 2010 at 09:06:10PM -0400, Rishikesh Naik wrote:
>      >    Hi All,
>      >
>      >    I have an update on the issue. I think Xen is not able to detect
>      >    hard-drive as I was able to see some messages that said "Total swap
>      = 0KB
>      >    Free swap = 0KB" at the boot time.
>      >
>
>      Xen doesn't detect harddrives or any other hardware - it's the dom0
>      linux kernel
>      that does all the hardware handling (device drivers).
>      >    Following are the /etc/fstab file contents on my system:
>      >
>      >    # /etc/fstab: static file system information.
>      >    #
>      >    # Use 'vol_id --uuid' to print the universally unique identifier
>      for a
>      >    # device; this may be used with UUID= as a more robust way to name
>      devices
>      >    # that works even if disks are added and removed. See fstab(5).
>      >    #
>      >    # <file system> <mount point>   <type>  <options>       <dump>
>       <pass>
>      >    proc            /proc           proc    defaults        0       0
>      >    # / was on /dev/sda1 during installation
>      >    UUID=7a573a8c-0846-4404-8b40-a5f0256968ea /               ext3
>      >    relatime,errors=remount-ro 0       1
>      >    # swap was on /dev/sda5 during installation
>      >    UUID=e53d468a-1263-4e4c-919c-40aeb9838fb4 none            swap
>      >    sw              0       0
>      >    /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0
>      >    0
>      >    /dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0
>            0
>      >
>      >
>       ----------------------------------------------------------------------------------------------------------
>      >
>      >    I also get some messages at the boot time that said something like
>      :
>      >
>      >    starting udev version 141
>      >    deprecated sysfs layout; configure as CONFIG_SYSFS_DEPRECATED.
>      >
>      >    udevd[2073] inotify_add_watch(3, (null), 10) failed: Bad address.
>      >
>      >    So, can any one of you please help me with this? I am new in using
>      Xen as
>      >    such. Hence, I am not getting what is going wrong. But I need to
>      fix this
>      >    urgently.
>      >
>
>      What's your dom0 distribution/version?
>      What dom0 kernel are you using?
>
>      -- Pasi
>      >    Any help is appreciated.
>      >
>      >    Thanks in advance!
>      >
>      >    Do let me know if you need more information.
>      >
>      >    -Rishikesh
>      >
>      >    On Mon, Mar 15, 2010 at 11:27 PM, Rishikesh Naik
>      <[1][2]naik.pict@xxxxxxxxx>
>      >    wrote:
>      >
>      >      Hi All,
>      >
>      >      I am getting following error when I try to boot Xen:
>      >
>      >      "out of memory: kill process 2 (migration/0) score 0 and
>      childeren"
>      >
>      >      I get this several times and machine hangs eventually.
>      >
>      >      Here is relevant entry in boot/grub/menu.lst on Ubuntu 9.04:
>      >
>      >      title       Xen 3.4.2 / Ubuntu 9.04, kernel 2.6.18.8-xen
>      >      uuid        7a573a8c-0846-4404-8b40-a5f0256968ea
>      >      kernel      /boot/xen-3.4.2.gz
>      >      module      /boot/vmlinuz-2.6.18.8-xen
>      >      root=UUID=7a573a8c-0846-4404-8b40-a5f0256968ea ro console=tty0
>      >      module      /boot/initrd-2.6.18.8-xen.img
>      >      quiet
>      >
>      >      Has anyone experienced this before? Do let me know. I tried
>      searching in
>      >      mail-archives but I didn't get anything relevant.
>      >
>      >      Thanks in advance!
>      >      -Rishikesh
>      >
>      > References
>      >
>      >    Visible links
>      >    1. mailto:[3]naik.pict@xxxxxxxxx
>      > _______________________________________________
>      > Xen-users mailing list
>      > [4]Xen-users@xxxxxxxxxxxxxxxxxxx
>      > [5]http://lists.xensource.com/xen-users
>
> References
>
>    Visible links
>    1. mailto:pasik@xxxxxx
>    2. mailto:naik.pict@xxxxxxxxx
>    3. mailto:naik.pict@xxxxxxxxx
>    4. mailto:Xen-users@xxxxxxxxxxxxxxxxxxx
>    5. http://lists.xensource.com/xen-users

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