--- xen-unstable-orig/linux-2.6.10-xen-sparse/arch/xen/i386/kernel/setup.c 2005-01-25 22:29:18.000000000 -0600 +++ xen-unstable/linux-2.6.10-xen-sparse/arch/xen/i386/kernel/setup.c 2005-02-04 13:44:49.000000000 -0600 @@ -1360,7 +1360,10 @@ efi_enabled = 1; #endif - ROOT_DEV = MKDEV(RAMDISK_MAJOR,0); /*old_decode_dev(ORIG_ROOT_DEV);*/ + /* This must be initialized to UNNAMED_MAJOR for ipconfig to work + properly. Setting ROOT_DEV to default to /dev/ram0 breaks initrd. + */ + ROOT_DEV = MKDEV(UNNAMED_MAJOR,0); drive_info = DRIVE_INFO; screen_info = SCREEN_INFO; edid_info = EDID_INFO; --- xen-unstable-orig/linux-2.4.29-xen-sparse/arch/xen/kernel/setup.c 2005-01-25 22:29:10.000000000 -0600 +++ xen-unstable/linux-2.4.29-xen-sparse/arch/xen/kernel/setup.c 2005-02-04 13:44:58.000000000 -0600 @@ -240,7 +240,9 @@ boot_cpu_data.pgd_quick = cpu0_pgd_quicklist; boot_cpu_data.pte_quick = cpu0_pte_quicklist; - ROOT_DEV = MKDEV(RAMDISK_MAJOR,0); + /* This must be initialized to UNNAMED_MAJOR for ipconfig to work + properly. Setting ROOT_DEV to default to /dev/ram0 breaks initrd. */ + ROOT_DEV = MKDEV(UNNAMED_MAJOR,0); memset(&drive_info, 0, sizeof(drive_info)); memset(&screen_info, 0, sizeof(screen_info));