Re: KERN_ERR "ide: late registration of driver."

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Jul 23 2003 - 17:30:19 EST


On Mer, 2003-07-23 at 23:14, Yoav Weiss wrote:
> Recently installed 2.4.22-pre7 on 2 boxes here.
> Seems like drivers_run is already set by the time ide_register_driver get
> called. Following the logic of that driver, it makes sense. ide_init()
> gets called early and inits the ide. (banner: "Uniform Multi-Platform
> E-IDE driver..."). ide_register_driver() is never used inside the driver
> but is exported and called after partition check, way down the line.
>
> Therefore, I don't see why the late registration is an error. Am I
> missing something ?

It may change drive ordering. I've not decided if its an error yet but
its on my todo list to fix it one way or the other. I have a hack fix I
can give marcelo for 2.4.22 so its not critical path

-
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/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:51 EST