Skip to contentSkip to conversation

"no version for struct_module: found" error

DISCUSSION Anil kumar 2 participants 2 messages Jun 22, 2005

lore
Share & tools
lore

Anil kumar

author
#0 lore raw

Hi,

I am loading an non-gpl module. I am getting error:
"no version for struct_module found":tainted kernel.

Its for > 2.6.8 kernels.

I know that I get tainted kernel error when its not GPL, but what does the error "no version for struct_module found" mean?
How to get rid of this?
I checked the module.c under kernel dir, I guess I am getting this error for
if(!(tainted & TAINTED_FORCED_MODULE)...

with regards,
Anil

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#1 lore raw

On Tue, 21 Jun 2005 18:04:32 -0700 (PDT) Anil kumar wrote:

| Hi,
| 
| I am loading an non-gpl module. I am getting error:
| "no version for struct_module found":tainted kernel.
| 
| Its for > 2.6.8 kernels.
| 
| I know that I get tainted kernel error when its not
| GPL, but what does the error "no version for
| struct_module found" mean?

That the kernel was built with CONFIG_MODVERSIONS=y but the module was built with CONFIG_MODVERSIONS=n (i.e., without symbol versioning information).

| How to get rid of this?

Build the kernel and module with the same config options.

| I checked the module.c under kernel dir, I guess I am
| getting this error for 
| if(!(tainted & TAINTED_FORCED_MODULE)...

Yes.

---
~Randy