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] xen-3.0.3-testing-install-x86_32 dom0 boot failure

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xen-3.0.3-testing-install-x86_32 dom0 boot failure
From: Richard Miller <9xen@xxxxxxxxxxxx>
Date: Tue, 3 Oct 2006 19:17:54 +0100
Delivery-date: Tue, 03 Oct 2006 11:18:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C147FB18.1F5D%Keir.Fraser@xxxxxxxxxxxx>
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
Error message is:

        VFS: Cannot open root device "hda1" or unknown-block(0,0)
        Please append a correct "root=" boot option
        Kernel panic - not syncing: VFS: Unable to mount root fs on 
unknown-block(0,0)

The cause seems to be that the kernel was configured with IDE support
(CONFIG_BLK_DEV_IDE=y) but not IDE disk support (CONFIG_BLK_DEV_IDEDISK=m).

To make life easier for people with root filesystems on IDE disks (not
uncommon, I think) may I suggest this patch?

-- Richard Miller
# HG changeset patch
# User miller@vt310
# Node ID 0273fa71dff31a72ccc7501203309ed62001bf2c
# Parent  000aa9510e5587f869a743121dd06ad2e0f21a99
Define CONFIG_BLK_DEV_IDEDISK=y for IDE root disk support.

diff -r 000aa9510e55 -r 0273fa71dff3 buildconfigs/linux-defconfig_xen_x86_32
--- a/buildconfigs/linux-defconfig_xen_x86_32   Wed Sep 27 14:30:36 2006 +0100
+++ b/buildconfigs/linux-defconfig_xen_x86_32   Tue Oct 03 11:38:38 2006 +0100
@@ -986,7 +986,7 @@ CONFIG_BLK_DEV_IDE=y
 #
 # CONFIG_BLK_DEV_IDE_SATA is not set
 # CONFIG_BLK_DEV_HD_IDE is not set
-CONFIG_BLK_DEV_IDEDISK=m
+CONFIG_BLK_DEV_IDEDISK=y
 CONFIG_IDEDISK_MULTI_MODE=y
 CONFIG_BLK_DEV_IDECS=m
 CONFIG_BLK_DEV_IDECD=m
diff -r 000aa9510e55 -r 0273fa71dff3 buildconfigs/linux-defconfig_xen_x86_64
--- a/buildconfigs/linux-defconfig_xen_x86_64   Wed Sep 27 14:30:36 2006 +0100
+++ b/buildconfigs/linux-defconfig_xen_x86_64   Tue Oct 03 11:38:38 2006 +0100
@@ -936,7 +936,7 @@ CONFIG_BLK_DEV_IDE=y
 #
 # CONFIG_BLK_DEV_IDE_SATA is not set
 # CONFIG_BLK_DEV_HD_IDE is not set
-CONFIG_BLK_DEV_IDEDISK=m
+CONFIG_BLK_DEV_IDEDISK=y
 CONFIG_IDEDISK_MULTI_MODE=y
 # CONFIG_BLK_DEV_IDECS is not set
 CONFIG_BLK_DEV_IDECD=m
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel