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-devel

[Xen-devel] [PATCH][TRIVIAL] Improve friendliness of misconfigured bootl

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][TRIVIAL] Improve friendliness of misconfigured bootloader error
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Wed, 22 Jun 2005 22:37:44 -0500
Delivery-date: Thu, 23 Jun 2005 03:36:55 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH][TRIVIAL] Improve friendliness of misconfigured bootloader error, Anthony Liguori <=