On Wed, 12 Nov 2003 10:27:02 +0300 "Andrey Borzenkov" <[EMAIL PROTECTED]> wrote:
> > > Ok, you're using a VIA82CXXX IDE chipset. > > I've set CONFIG_BLK_DEV_VIA82CXXX=m in test9.5mdk, but, as Andrey > > pointed out, ide chipsets won't even load in current 2.6 state. > > I do not remember having said that :) I said that "modular IDE > is known to not work" - but the only proof of that statement I have > seen is post-halloween document. Oups, it wasn't Andrew as I said but Alan Cox. It's quite old, but seems still true. Acutally, it's ide-proc that doesn't compile. A patch has been sent, but Alan waits the IDE code to be stable enough. (as you can read on LKML, Ali support looks really buggy ...) More details can be found here : http://marc.theaimsgroup.com/?l=linux-kernel&m=103281667726673&w=2 http://www.ussg.iu.edu/hypermail/linux/kernel/0306.0/0003.html But this problem can be avoided if we keep IDE support built-in (CONFIG_IDE=y, CONFIG_BLK_DEV_IDE=y). So general IDE module won't load, but we can try to load IDE chipset modules. > But I readily admit it is true. It is not an IDE job to actually > load chipset drivers - it is a job of PCI hotplug. > > But - we get chicken and egg problem here. You have apparently no way > to dynamically load IDE drivers at the kernel probes for disks. Nor > do you have any way to even STATICALLY load them out of initrd because > initrd is initialized too late. > > Ideally we want to skip IDE init until initram has been inited and > load correct driver after that. I appreciate if someone could get a > look. Well, I will have a look, but I can't promise you anything, I've not read much kernel code for now. > Olivier, thank you for config comparison, it is very useful, I will > send a detailed comment later. You're welcome, it took me five minutes :) Can we assume that the module size is roughly the same size as if it was built-in ? I'll try to build some kernels to have a preview of the minimal size we can get. I can provide you the kernel config files from Fedora, made by Arjan van de Ven, his kernel is only 1.2 MiB IIRC. I've to work on kernel-2.6-source package too, I don't really know how I'll do it, perhaps a main kernel-2.6-source package with additionnals kernel-2.6-source-<flavor> binary packages that conflicts between them. Thanks for your time Andrey. -- Olivier Blin
