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

[Xen-users] pygrub fails to load sometimes?? memory leak??

dom0: Xen 3.0.4 running on Ubuntu 6.06 x86_64.
domU: Xen 3.0.4 or 3.1.0 kernel booting from host pygrub.  File backed.


  I am having this strange problem getting pygrub to load consistently. 
When I start a domU, I sometimes get this.

Error: Boot loader didn't return any data!

  ... and nothing else.  When I look in the xend-debug.log log, I see this.

Traceback (most recent call last):
  File "/usr/bin/pygrub", line 481, in ?
    g = Grub(file, isconfig)
  File "/usr/bin/pygrub", line 151, in __init__
    self.read_config(file, isconfig)
  File "/usr/bin/pygrub", line 330, in read_config
    raise RuntimeError, "we couldn't find grub config file in the image
RuntimeError: we couldn't find grub config file in the image provided.

  But the strange part is, that it is intermittent. I just keep retrying

xm create -c xmguest-www

  evenetually it does works.  This is a real pain if I have to reboot the
host and only a few domU startup properly.  To make it worse, I can only
retry so many times before the dom0 starts acting funny and I have to
reboot dom0.  I think there is a memory leak or something.

  Here is the domU config.

#  -*- mode: python; -*-
memory = 256
name = "www"
vif = ['bridge=xenbr0']
disk =
bootloader = '/usr/bin/pygrub'

  Here is the grub.conf in the domU.

default         2
timeout         5

title           Ubuntu, memtest86+
root            (hd0,0)
kernel          /boot/memtest86+.bin

title           Xen 3.0.4 vmlinuz-
root            (hd0,0)
kernel          /boot/vmlinuz- root=/dev/hda1 ro splash

title           Xen 3.1.0 vmlinux-syms-2.6.18-xen
root            (hd0,0)
kernel          /boot/vmlinux-syms-2.6.18-xen root=/dev/hda1 ro splash

  Is there anything I should change?  I also see the following, but this
should not be a problem.

WARNING:root:Unknown image directive savedefault
WARNING:root:Unknown image directive boot


Xen-users mailing list



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