Re: [2.2.19pre17] init/main.c

Andrzej Krzysztofowicz (ankry@pg.gda.pl)
Wed, 28 Mar 2001 15:50:30 +0200 (MET DST)


"Luca Montecchiani wrote:"
> On 28 Dec 2000 I've just sent a similar patch but I never got a reply ;)

Same with me...

> The first part of the patch is a must for kernels that load scsi driver
> from initrd

Same with IDE ...

> Without these changes there is no way to boot loading modules from
> initrd :((

There is a way: use numerics, eg
root=0802
But it is extremely inconvenient :(

Maybe, Alan would accept a patch that just removes all these #ifdefs
like it is dine in 2.4

> diff -ur linux-2.2.19-pre17/init/main.c
> linux-2.2.19-pre17-tl/init/main.c
> --- linux-2.2.19-pre17/init/main.c Wed Mar 28 13:55:53 2001
> +++ linux-2.2.19-pre17-tl/init/main.c Wed Mar 28 13:02:49 2001
> @@ -482,7 +482,7 @@
> { "hdk", 0x3900 },
> { "hdl", 0x3940 },
> #endif
> -#ifdef CONFIG_BLK_DEV_SD
> +#if defined(CONFIG_BLK_DEV_SD) || defined(CONFIG_BLK_DEV_SD_MODULE)
> { "sda", 0x0800 },
> { "sdb", 0x0810 },
> { "sdc", 0x0820 },
> @@ -536,6 +536,24 @@
> { "ida/c0d14p",0x48E0 },
> { "ida/c0d15p",0x48F0 },
> #endif
> +#if defined(CONFIG_BLK_CPQ_CISS_DA) ||
> defined(CONFIG_BLK_CPQ_CISS_DA_MODULE)
> + { "cciss/c0d0p",0x6800 },
> + { "cciss/c0d1p",0x6810 },
> + { "cciss/c0d2p",0x6820 },
> + { "cciss/c0d3p",0x6830 },
> + { "cciss/c0d4p",0x6840 },
> + { "cciss/c0d5p",0x6850 },
> + { "cciss/c0d6p",0x6860 },
> + { "cciss/c0d7p",0x6870 },
> + { "cciss/c0d8p",0x6880 },
> + { "cciss/c0d9p",0x6890 },
> + { "cciss/c0d10p",0x68A0 },
> + { "cciss/c0d11p",0x68B0 },
> + { "cciss/c0d12p",0x68C0 },
> + { "cciss/c0d13p",0x68D0 },
> + { "cciss/c0d14p",0x68E0 },
> + { "cciss/c0d15p",0x68F0 },
> +#endif
> #ifdef CONFIG_ATARI_ACSI
> { "ada", 0x1c00 },
> { "adb", 0x1c10 },
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/