Re: Trying to convert old modules to newer kernels

From: Sam Ravnborg
Date: Wed Dec 19 2007 - 15:50:36 EST


On Wed, Dec 19, 2007 at 03:10:28PM -0500, linux-os (Dick Johnson) wrote:
>
>
> Here is a so-called BUG when trying to insert the following
> module into the kernel (2.6.22.1).
>
>

> MODULE_ALIAS("MemDev");
> module_init(startup);
> module_exit(quit);

Just a wild guess. Your init and exit functions uses some generic names.
Have you tried renaming them to usual style like:
memdev_init
memdev_exit

So you have no clashes with existing global symbols.

Sam
--
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/