Find the answer to your Linux question:
Results 1 to 3 of 3
I'm new to Linux driver programming and I would like to install a simple "hello world" driver.my running kernel is 2.6.31.5(opensuse11.2). I'm using 2.6.33.3 source tree for writing drivers. though ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    8

    Question driver doubt!!!!


    I'm new to Linux driver programming and I would like to install a simple "hello world" driver.my running kernel is 2.6.31.5(opensuse11.2). I'm using 2.6.33.3 source tree for writing drivers.

    though I enabled "enable loadable module support" and "module versioning support" while building the kernel(2.6.33.3), I'm getting

    "INVALID MODULE FORMAT" ERROR.


    what should i do to correct it??????

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you are using 2.6.33.3 source tree to build a module for 2.6.31.5 kernel why?

    this won't work, especially if you are compiling it in that source tree

    you should use the source tree for your running kernel, or run the kernel from the source tree

  3. #3
    Just Joined!
    Join Date
    Aug 2010
    Posts
    8

    Thumbs up

    thank you....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •