LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-28-2006, 05:09 PM   #1
dubcat
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Rep: Reputation: 0
creating downloadable kernel modules


Hi

I want to write a kernel module that will be dynamically loaded and removed using insmod and rmmod. However, this will run on a debian based system that does not have GCC or any other dev tools.

Can I simply compile the module on another system that is running the same kernel as my target system or do I have to do something more? Is there any way to compile the module for my target system on a machine that is running a different version of the kernel to my target machine?

Sorry if this is a noob question - im kinda new at this stuff

Dub
 
Old 03-28-2006, 09:01 PM   #2
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
If it is the exact same kernel, i.e. same version, same config, there will be no problems
 
Old 03-29-2006, 09:28 AM   #3
dubcat
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by dracae
If it is the exact same kernel, i.e. same version, same config, there will be no problems
Perfect! Thanks for your answer.
 
  


Reply



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
Creating modules for new hardware? saturndude Linux - General 1 03-06-2006 02:58 AM
Creating modules for new hardware? saturndude Linux - Hardware 1 03-05-2006 01:26 AM
downloadable yast modules?? jsheffie SUSE / openSUSE 2 11-07-2005 11:19 AM
new kernel (2.4.22 up from 2.4.20-6) - missing modules - use old modules? Simon Bridge Linux - Software 1 02-04-2004 05:52 AM
creating a valid modules.conf file qanopus Linux From Scratch 4 04-18-2003 02:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:18 AM.

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