From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: [PATCH][TRIVIAL] Improve friendliness of misconfigured bootloader error Date: Wed, 22 Jun 2005 22:37:44 -0500 Message-ID: <42BA2E88.9010906@us.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040202070908030200030007" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------040202070908030200030007 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Regards, Anthony Liguori --------------040202070908030200030007 Content-Type: text/x-patch; name="nicer_startup_msg.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="nicer_startup_msg.diff" --- 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(); } --------------040202070908030200030007 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------040202070908030200030007--