ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  /dev/hello_world: A Simple Introduction to Device Drivers under Linux
Subject:   When insmod ./hello_world.ko, I receive "Segmentation Fault"
Date:   2007-07-06 13:44:19
From:   valhenson
Response to: When insmod ./hello_world.ko, I receive "Segmentation Fault"

This most likely means that there is a mismatch between one of the following:

* Your module utilities
* Your running kernel
* The kernel you compiled against

Check the versions with

$ insmod --version
$ uname -r
$ grep "o module-init-tools" /lib/modules/`uname -r`/build/Documentation/Changes