LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-27-2004, 06:39 PM   #1
cacheout
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Strangeness (or pilot error) building network driver modules


I have a stock FC2 install on an ASUS A7V600 mobo and I need to make a small change in the network driver for the onboard 3c940 (gigabit ethernet). Before I make any code changes, I like to first try to rebuild the module "as-is" using the existing build configuration from the stock install. I like to do this to make sure that I can reproduce what originally came with the distribution before I start hacking

I first did a 'make oldconfig' (based on /boot/config-2.6.5-1.358), followed by a 'make modules' which builds all of the modules in the FC2 distro, including the 'sk98lin.ko' which drives the 3c940. What I'm trying to understand is why the module that I build is almost 4MB in size, whereas the module provided in the stock FC2 distro is just a little over 150k?

My understanding of 'make oldconfig' is that it will create a 'Makefile' with the same build parameters as the current config. If one uses the same source code (/usr/src/linux-2.6.5-1.358) with the same build parameters, then one should expect to get the same object - but that didn't happen.

Can anyone tell me what I'm forgetting or doing wrong here?

RTFMs appreciated...

Thanks!
 
  


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
Building driver modules to work with Install kernels? Erik_FL Slackware 4 10-06-2005 09:05 PM
Problem building RH9 kernel modules dominicporter Red Hat 1 09-25-2005 12:53 PM
Building new kernel modules? raid517 Linux - Software 2 05-26-2005 03:07 AM
problem building modules david_deng Linux - Newbie 2 09-22-2004 01:12 AM
Building modules for the kernel... Nichole_knc Slackware 3 04-13-2004 08:28 AM

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

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