Re: Module init call vs symbols exporting race?

From: Rusty Russell
Date: Wed Nov 07 2007 - 21:10:24 EST


On Wednesday 07 November 2007 21:01:30 Jan Glauber wrote:
> Hi Rusty,
>
> I've seen a symbol-resolving race on s390. The qeth module uses symbols
> from qdio and although the loading order seems correct and the qdio
> symbols should be available the following error appears:
>
> qdio: loading QDIO base support version 2
> qeth: Unknown symbol qdio_synchronize

Looks like qdio does something which triggers qeth to load, but of course qdio
isn't finished initializing yet so its symbols aren't available.

It's not obvious what's triggering the load, but you could probably find it by
using printk's through qdio.c's init_QDIO().

Cheers,
Rusty.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/