Find the answer to your Linux question:
Results 1 to 2 of 2
Hello , I am writing a e1000 network driver on a 2.6.18.2-34-default. When I give insmod I get the following error e1000.ko: -1 Invalid module format. when i give dmesg ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    6

    e1000.ko: -1 Invalid module format


    Hello ,
    I am writing a e1000 network driver on a 2.6.18.2-34-default.
    When I give insmod I get the following error
    e1000.ko: -1 Invalid module format.

    when i give dmesg -c I get the follwing message
    e1000: disagrees about version of symbol struct_module
    can any one help me to get rid of these errors?
    Do I need to change anything in make file?

    looking for your help.

    Senthil

  2. #2
    Just Joined!
    Join Date
    Aug 2007
    Posts
    6
    Is the kernel tree that you're using for building your module against the same version as the kernel that is built on your machine?

Posting Permissions

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