2007-05-26 21:25:29

by Cédric Augonnet

[permalink] [raw]
Subject: input_polldev won't load as a module

Hi,

When trying to load input_polldev compiled as a module on my
2.6.22-rc2-mm1 kernel, it is impossible because of some symbols that
are said to be missing :

gonnet@porcinet:~$ sudo modprobe input_polldev
FATAL: Error inserting input_polldev
(/lib/modules/2.6.22-rc2-mm1=porcinet/kernel/drivers/input/misc/input-polldev.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
gonnet@porcinet:~$ dmesg
[ 137.559553] input_polldev: Unknown symbol queue_delayed_work
[ 137.559621] input_polldev: Unknown symbol destroy_workqueue
[ 137.559652] input_polldev: Unknown symbol __create_workqueue

I enclosed my .config in case it may help.

On the other hand, if I choose CONFIG_INPUT_POLLDEV=y, it seems to
work without any problem. Provided the Kconfig file, it looks like
this could compiled either like that or as a module.

Unfortunately, given my very limited understanding i could really not
figure out why these symbols cannot be resolved, so i'll be really
interrested if anyone can propose a solution or an explanation.

Best regards,
C?dric


Attachments:
(No filename) (1.03 kB)
myconfig (46.47 kB)
Download all attachments

2007-05-27 03:42:36

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: input_polldev won't load as a module

Hi Cédric,

On Saturday 26 May 2007 17:25, Cédric Augonnet wrote:
> Hi,
>
> When trying to load input_polldev compiled as a module on my
> 2.6.22-rc2-mm1 kernel, it is impossible because of some symbols that
> are said to be missing :
>
> gonnet@porcinet:~$ sudo modprobe input_polldev
> FATAL: Error inserting input_polldev
> (/lib/modules/2.6.22-rc2-mm1=porcinet/kernel/drivers/input/misc/input-polldev.ko):
> Unknown symbol in module, or unknown parameter (see dmesg)
> gonnet@porcinet:~$ dmesg
> [ 137.559553] input_polldev: Unknown symbol queue_delayed_work
> [ 137.559621] input_polldev: Unknown symbol destroy_workqueue
> [ 137.559652] input_polldev: Unknown symbol __create_workqueue
>
> I enclosed my .config in case it may help.
>
> On the other hand, if I choose CONFIG_INPUT_POLLDEV=y, it seems to
> work without any problem. Provided the Kconfig file, it looks like
> this could compiled either like that or as a module.
>
> Unfortunately, given my very limited understanding i could really not
> figure out why these symbols cannot be resolved, so i'll be really
> interrested if anyone can propose a solution or an explanation.
>

It is caused by nyssing GPL license for the module. Please try 2.6.22-rc3,
the issue should be fixed by commit 36bd52a49b790a71f3d353cdddf2f22e1e6f84ff.

--
Dmitry