Re: Race condition in module load causing undefined symbols

Rusty Russell
2005-06-12T06:49:08Z

On Fri, 2005-06-10 at 09:03 -0500, Stephen Lord wrote:
> Hi,
>
> I am having troubles getting any recent kernel to boot successfully
> on one of my machines, a generic 2.6GHz P4 box with HT enabled
> running an updated Fedora Core 3 distro. This is present in
> 2.6.12-rc6. It does not manifest itself with the Fedora Core
> kernels which have identical initrd contents as far as the
> init script and the set of modules included goes.
>
> The problem manifests itself as various undefined symbols from
> module loads. Here is the relevant section from the init script

Module loading is synchronous. All I can think of is that a module is
pulling in another module which requires it asynchronously (you need to
do this because your own module symbols are not available until *after*
init succeeds), or a hotplug interaction (hotplug is async, too).

Rusty.
--
A bad analogy is like a leaky screwdriver -- Richard Braakman