Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-27-2009, 07:26 PM   #1
LQ Newbie
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Unhappy problem with loading module.Help needed


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-
insmod: error inserting '/usr/src//linux-': -1 Invalid module format

I am running the 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.

Last edited by coolfisa; 01-28-2009 at 11:18 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
module loading problem tiluu Linux - Networking 0 06-28-2004 09:20 AM
Config file and IEEE1394 module loading help needed BarkingBonefish Linux - Newbie 0 03-11-2004 03:32 PM
module loading problem usr Linux - General 2 01-11-2004 10:18 AM
Problem loading a module louai Linux - Software 1 01-07-2004 09:57 PM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration