[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] [Fwd: Installing from distribution CDs]
> I posted a patch on 2/4. Does anyone have a problem with that patch? OK, so the only user-visible change is that root=/dev/ram0 is now compulsory? Ian --- 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)); ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |