ropmacedo schrieb:
Sorry, I think I couldn't understand very well your suggestion. During the boot I can choose either start ubuntu 2.6.24-22 or 2.6.24-21.With the previous version (2.6.24-21), everything works fine. However with the new kernel I get the message # insmod microdia.koinsmod: error inserting './microdia.ko': -1 Invalid module formatI think the solution is very simple:You obviously have kernel 2.6.22 and 2.6.24 on your pc. You compiled the module for one version and then tried to use it with the other. Just compile the module under the version you want to use it with.GWater Rodrigo Macedo schrieb:Hello, thanks to the group and the informations on how to install microdia under linux I could install my camera. However, after the my last upgrade the error "insmod: error inserting './microdia.ko': -1 Invalid module format " showed up. The suggestion on the website is: "Possible Reason "The gcc which compiled the kernel and the gcc which compiled the module are incompatible." Possible Solution Install an older gcc side-by-side, and change cc environment variable to use older version. " Well, I have no idea how to do it. Could you guys please help me? I'm working under Ubuntu 8.04 - kernel 2.6.24-22 Bus 005 Device 003: ID 0c45:624f Microdia PC Camera (SN9C201) Thanks a lot Rodrigo--~--~---------~--~----~------------~-------~--~----~ Lets make microdia webcams plug'n play, (currently plug'n pray) To post to this group, send email to [email protected] Visit us online https://groups.google.com/group/microdia -~----------~----~----~----~------~----~------~--~---
At a point in the process you issued the following command: $ makeThat compiled the module microdia.ko for one specific kernel version. With that kernel version you can now use the driver.
If you want to use a new kernel version you have to compile the module again. Simply execute these two commands after you boot into your new kernel version:
$ make clean $ make Then insmod should work again. GWater
signature.asc
Description: OpenPGP digital signature
