WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

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