* KERN_ERR "ide: late registration of driver."
@ 2003-07-23 22:14 Yoav Weiss
2003-07-23 22:30 ` Alan Cox
0 siblings, 1 reply; 3+ messages in thread
From: Yoav Weiss @ 2003-07-23 22:14 UTC (permalink / raw)
To: linux-kernel
Recently installed 2.4.22-pre7 on 2 boxes here.
During boot, I always get the message "ide: late registration of driver."
which comes from ide.c:2234:ide_register_driver().
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 ?
And if its not an error, it shouldn't be printed as KERN_ERR. When
booting the kernel with the 'quiet' option, thats the only message
printed.
Yoav Weiss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: KERN_ERR "ide: late registration of driver."
2003-07-23 22:14 KERN_ERR "ide: late registration of driver." Yoav Weiss
@ 2003-07-23 22:30 ` Alan Cox
2003-07-23 23:13 ` Yoav Weiss
0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2003-07-23 22:30 UTC (permalink / raw)
To: Yoav Weiss; +Cc: Linux Kernel Mailing List
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: KERN_ERR "ide: late registration of driver."
2003-07-23 22:30 ` Alan Cox
@ 2003-07-23 23:13 ` Yoav Weiss
0 siblings, 0 replies; 3+ messages in thread
From: Yoav Weiss @ 2003-07-23 23:13 UTC (permalink / raw)
To: Alan Cox; +Cc: Linux Kernel Mailing List
> > 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
>
ok, I'll look into it some more. Could you please send your hack fix for
this ?
btw, isn't it a persistent problem for all cases ? As far as I can see,
registration will always be late, at least for machines that boot from
ide.
Yoav Weiss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-07-23 22:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-23 22:14 KERN_ERR "ide: late registration of driver." Yoav Weiss
2003-07-23 22:30 ` Alan Cox
2003-07-23 23:13 ` Yoav Weiss
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.