Hi.

I am trying to create a basic helloworld device driver.
I am able to generate the hello.ko using the .c and Makefile source files I wrote in my local folder 'examples'.
I am able to proceed til the step of installation of the module using

make modules_install.

I see that the .ko for my module is generated in my hello folder.
But I am not able to load the module using insmod or modprobe.

# modprobe hello
FATAL: Module hello not found.

# insmod /usr/src//linux-2.6.27.9/drivers/char/examples/hello.ko
insmod: error inserting '/usr/src//linux-2.6.27.9/drivers/char/examples/hello.ko': -1 Invalid module format

I am running the 2.6.27.9 kernel on ubuntu 8.10.

I am following the following document but ofcourse without the crosscomplier option coz i am building the DeviceDriver for my own kernel and not the arm one.
Section 8.1.* Device Driver Concepts