Re: Race condition in module load causing undefined symbols

Steve Lord
2005-06-11T13:23:48Z

Pozsár Balázs wrote:
> On Fri, Jun 10, 2005 at 11:25:15AM -0700, Andrew Morton wrote:
>
>>I wonder if rather than the intermittency being time-based, it is
>>load-address-based? For example, suppose there's a bug in the symbol
>>lookup code?
>
>
> Just a data point: I met the same problem with 2.6.12-rc5, using
> gcc 3.3.4.
> I think it's time-based issue, because I was playing around with the
> initscripts, and the bug shows up when there are lots of modprobes in a
> short time.
>
>

I think this is not actually module loading itself, but a problem
between the fork/exec/wait code in nash and the kernel. The
commands which have problems are the ones which are not built
into nash. So this looks more like a problem with wait. This
would explain sleep fixing it and the fact that I have device
issues after module load.

Steve