Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-02-04, 07:37 AM   #1
Runner30
Registered User
 
Join Date: Aug 2004
Posts: 1
Default Building a module - need help.

I compiled a 2.6.6 kernel from a source (not debian way), and there's a forcedeth.c file in ...drivers/net
Reading that forcedeth.ko module works with NForce2 onboard NIC I want to create a module.

How do I do that?
Can you refer me to kbuild for 2.6/kbuild howto - I've googled but failed to find for newbie like me.

Thanks.
Runner30 is offline   Reply With Quote
Old 08-02-04, 02:34 PM   #2
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default Re: Building a module - need help.

Set the main ethernet support config option, then set the forcedeth option to 'm'. This can be done manually in the .config file, or using a gui, either make menuconfig, or make xconfig.

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y

CONFIG_FORCEDETH=m

For the rest of the process refer to this how-to: http://www.desktop-linux.net/debkernel.htm
(I reviewed it very little but believe it is accurate, if you have problems with some steps look for more help for debian)
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.

Last edited by LordMorgul; 08-02-04 at 02:38 PM. Reason: added how-to link
LordMorgul is offline   Reply With Quote
Reply


Thread Tools

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
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
Error messages... HELP!!!! Imperito NVIDIA Linux 3 09-24-02 10:46 PM
GForce drivers installed...but dont work tomfullery NVIDIA Linux 6 09-22-02 08:23 AM
Need help to get the X to work on my Acer TravelMate 630 knchee NVIDIA Linux 16 09-19-02 10:16 PM

All times are GMT -5. The time now is 06:28 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.