LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack 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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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/Novell 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 schatoor Linux From Scratch 4 04-18-2003 02:45 AM


All times are GMT -5. The time now is 07:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration