2.1.105: 8390.h allergic to MODVERSIONS

David Wragg (dpw@doc.ic.ac.uk)
10 Jun 1998 00:22:21 +0000


Hi,

The changes to drivers/net/8390.h in 2.1.105 cause problems with
CONFIG_MODVERSIONS. In particular, the calls to get_module_symbol at
lines 76 and 83:

get_module_symbol("", "request_module")

fail even though my kernel has kmod built in, because my kernel
doesn't have a symbol "request_module" - it has a symbol
"request_module_R27e4dc04" instead. So it tells me kmod isn't present
and bails out, which in my case then causes the NE2000 driver to bail
out.

I presume 8930.h looking up "request_module" rather than containing a
straightforward call relates to some "feature" of kmod (problems with
recursive module loading?)

I have no real clue what solution might be appropriate. Should
get_module_symbol ignore the version mangling when looking for kernel
symbols? Grepping the kernel source shows that 8390.h is the only file
anywhere that does a get_module_symbol("", ...)

--
Dave Wragg

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu