Discussion:
What is Module.symversion used?
Durga Prasad
2009-07-17 17:07:37 UTC
Permalink
Hello,

When compiling a kernel module, i see a Module.symvers missing message, like:

WARNING: Symbol version dump
/usr/src/linux-2.6.27.19-5-obj/ia64/debug/Module.symvers
is
missing; modules will have no dependencies and modversions.

What is Module.symvers used for? What happens if you ignore this warning?

Thanks
Durga
Mulyadi Santosa
2009-07-17 17:45:07 UTC
Permalink
Post by Durga Prasad
Hello,
  WARNING: Symbol version dump
/usr/src/linux-2.6.27.19-5-obj/ia64/debug/Module.symvers
           is missing; modules will have no dependencies and modversions.
What is Module.symvers used for? What happens if you ignore this warning?
AFAIK, this is used to enforce strict checking of version match
between kernel modules and the kernel image itself e.g you can not
normally load module compiled for 2.6.30 on 2.6.29 kernel.

I don't know about the details, but I guess module.symvers holds some
information which will embedded into final form of kernel modules.
--
regards,

Mulyadi Santosa
Freelance Linux trainer
blog: the-hydra.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ***@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ
Microbit_Ubuntu
2009-07-18 02:07:03 UTC
Permalink
Post by Durga Prasad
Hello,
When compiling a kernel module, i see a Module.symvers missing
WARNING: Symbol version
dump /usr/src/linux-2.6.27.19-5-obj/ia64/debug/Module.symvers
is missing; modules will have no dependencies and
modversions.
What is Module.symvers used for? What happens if you ignore this warning?
Thanks
Durga
I vaguely recall I once got that error message "xx.symvers missing".
IIRC, it's because your path to the kernel headers isn't properly
visible. Or even because your module source code isn't signed with
version magic - or some such.

HTH
--
Best regards,
Kris



--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ***@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ
Loading...