Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install a driver for this DAQ card, but when I execute (as in given documentation):

insmod /usr/.../advdrv_core.ko

i get this error:

invalid module format

As I found out, this is because downloaded driver is for kernel 2.6.18, so it will not work on new one, but there is also source code provided so is it possible to compile it for this kernel?

share|improve this question
"Compiling from source code" isn't a very descriptive sentence for this question. Could you change to one more appropriate? – OpenNingia Nov 22 '10 at 10:39

If the kernel module is outdated (and doesn't work with the newest kernels) then just having the source code does not mean that you can just compile it. It would need to be modified at the source level to be made compatible with newer kernels.

The link you provided doesn't load for me, so I can't really say much about the company/etc., but I would suggest contacting who ever made the kernel module and requesting that they modify it to work with the newer kernels.

share|improve this answer
Thanks for the answer, I fixed the link. – domagojk Nov 22 '10 at 10:23
I have contacted Advantech but thay told me just that - "I can try to compile it" :( – domagojk Nov 22 '10 at 10:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.