6

Kernel Module Devlopment insmod issues

view full story
linux-howto

http://forums.opensuse.org – I'm getting this error when trying to run insmod xx.ko on a module I wrote: -1 Invalid module format dmesg: no symbol version for module_layout If anyone would have some time to just point me in the proper direction, I would appreciate it. I've spent the last two days searching the net looking for an answer, and it has been rather frustrating. I have found lots of data on nvidia drivers and other modules and the answers do not relate to my problem. I have dumbed my driver down to a basic helloworld type module. I would be happy to provide any additional information that would be helpful - here is what I have so far: openSUSE 11.2 relevant info from uname -a Code: 2.6.31.5-0.1-default #1 SMP output from modinfo Code: filename:      helloworld.ko srcversion:    ED991015B68E7E20B0283E6 depends: vermagic:      2.6.31.5-0.1-default SMP mod_unload modversions 586TSC relevant output from zypper se kernel Code: S | Name                | Summary                                                | Type --+----------------------+---------------------------------------------------------+-------- i | kernel-default      | The Standard Kernel                                    | package i | kernel-default-base  | The Standard Kernel - base modules                      | package i | kernel-default-devel | Development files necessary for building kernel modules | package i | kernel-source        | The Linux Kernel Sources                                | package Thank you for your help. (Distributions)