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