Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-11-2003, 06:35 PM   #1
LQ Newbie
Registered: Feb 2003
Location: Hillsboro, OR
Posts: 13

Rep: Reputation: 0
Building a module within a kernel

I recently received a patch from redhat to fix a bug in their code. The patch modified the following file.


Now I don't know what to do next. I need to rebuild the module (I assume), but I don't know what module it is and how to do it. I tried reading the documentation\modules.txt file for info but it was way over my head. Any help would be appreciated.

Old 12-11-2003, 09:13 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,047
Blog Entries: 11

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
depending on what the patchfile looks like
you probably
cd /usr/src/linux/drivers/net
patch -p1 < path/to/your/patch
cp ppp_async.o /lib/modules/<kernel-versionmumble>/kernel/drivers/net/.



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error building nvidia kernel module beeblequix Debian 1 10-07-2005 06:21 PM
Building kernel module from multiple source file in 2.6 kernel yogeshwar_s Programming 1 12-20-2004 10:31 AM
Problems building a simple kernel module for kernel 2.6.7 atticman Linux - Software 2 12-13-2004 04:35 PM
building a module pessanimahi Programming 17 10-06-2003 12:10 PM
VMware module building kernel error ^^ ZoNicONE Linux - Newbie 3 09-09-2003 02:52 PM

All times are GMT -5. The time now is 01:58 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