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

[Xen-devel] [PATCH][TRIVIAL] Improve friendliness of misconfigured bootloader error


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Anthony Liguori <aliguori@xxxxxxxxxx>
  • Date: Wed, 22 Jun 2005 22:37:44 -0500
  • Delivery-date: Thu, 23 Jun 2005 03:36:55 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

If a user specifies an improper grub.conf entry for Xen (does not specify a module line or mispells module), Xen outputs the following error:

  FATAL ERROR: Require at least one Multiboot module.

The attached patch changes this error to:

  FATAL ERROR: dom0 kernel not specified! Check bootloader configuration.

I've had a few people ask for help debugging this problem and usually they have no idea what a multiboot module is so the error is not helpful to them.

Signed-off-by: Anthony Liguori <aliguori@xxxxxxxxxx>

Regards,

Anthony Liguori
--- xen/arch/x86/setup.c~       2005-06-22 14:45:43.000000000 -0500
+++ xen/arch/x86/setup.c        2005-06-22 22:33:13.331925064 -0500
@@ -262,7 +262,7 @@
     /* Check that we have at least one Multiboot module. */
     if ( !(mbi->flags & MBI_MODULES) || (mbi->mods_count == 0) )
     {
-        printk("FATAL ERROR: Require at least one Multiboot module.\n");
+        printk("FATAL ERROR: dom0 kernel not specified! Check bootloader 
configuration.\n");
         EARLY_FAIL();
     }
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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