Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Nvidia-Nforce ethernet

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
29 posts
  • 1
  • 2
  • Next
Author
Message
mukwuknuk
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 80
Joined: Tue Dec 23, 2003 3:49 pm
Location: Colorado, USA

Nvidia-Nforce ethernet

  • Quote

Post by mukwuknuk » Sat May 08, 2004 4:37 am

I did take the trouble to read several other threads on this subject before posting. While several came close to answering my question, none did. SO:

I've heard rumors that support for my Nvidia-Nforce ethernet card comes built into the 2.6 kernel (I'm runnning 2.6.5). Is this true? Is it there automagically or will I have to do genkernel? I'm guessing support *can* be in the 2.6.5 kernel if I want to rebuild it that way. Correct?

If not, then I'll soon be asking for help with "emerge nforce-net", since the emerge didn't work during the install process and it ain't working now. Crashes and quits fairly quickly, with complaints about NR_IRQS and NR_IRQ_VECTORS being undeclared. I wonder what that's all about.

So is it genkernel to get my ethernet working? How do I tell what's already in my kernel now? lsmod reveals very little.

Thanks for any help.
"If there are back-slashes in your path, you're heading down the wrong path ... backwards."
Top
John2583
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 87
Joined: Thu Jan 02, 2003 8:58 am
Location: Raleigh, NC
Contact:
Contact John2583
Website

  • Quote

Post by John2583 » Sat May 08, 2004 6:44 am

I compiled the nforce ethernet support for my A7N8X deluxe board with 2.6.5 with Slackware, but the module is called forcedeth.
Device Drivers > Networking > Ethernet 10 or 100 mbit >Reverse Engineered nForce Ethernet support (EXPERIMENTAL)

Info: " To compile this driver as a module, choose M here and read <file:Documentation/networking/net-modules.txt>. The module will be called forcedeth.

Just compile your kernel again like you did to install the kernel the first time.

Edit: oh you want to know if you already have support for it: Well if it's a module then it might be in the same place mine is in: check here: /lib/modules/2.6.5/kernel/drivers/net if you have forcedeth.ko in there then just do a modprobe forcdeth and then you should be able to bing up your eth1 like this: ifconfig eth1 up
iBook G3 600 Mhz, 640MB, 40GB, airport, DVD/CD-RW Gentoo PPC
PC specs: MSI K8N Neo4/SLI, A64 X2 3800+ @ 2.4GHz 2x1GB Corsair XMS DDR 400, Nvidia 7800GT
Top
blueworm
l33t
l33t
Posts: 962
Joined: Fri May 09, 2003 3:21 pm

  • Quote

Post by blueworm » Sat May 08, 2004 6:02 pm

mukwuknuk wrote:I've heard rumors that support for my Nvidia-Nforce ethernet card comes built into the 2.6 kernel (I'm runnning 2.6.5). Is this true?
forcedeth has been included in 2.6 kernel since 2.6.2
Top
harmonicace
n00b
n00b
Posts: 4
Joined: Tue Dec 30, 2003 1:01 am

  • Quote

Post by harmonicace » Wed May 12, 2004 6:08 pm

I had the same problem. I'll try the forcedeth thing. Is it because of this inclusion that emereg "nforce-net" doesn't work? I'm also haveing a very similar thing happen when I try to emerge "nforce-audio" how to I fix that?
Top
blueworm
l33t
l33t
Posts: 962
Joined: Fri May 09, 2003 3:21 pm

  • Quote

Post by blueworm » Wed May 12, 2004 6:19 pm

nvaudio is for 2.4 kernels only.
For 2.6 kernels use the alsa driver included in the kernel.
The module you need is allready selected by default.
just emerge alsa-lib and alsa-utils.
Top
harmonicace
n00b
n00b
Posts: 4
Joined: Tue Dec 30, 2003 1:01 am

  • Quote

Post by harmonicace » Thu May 13, 2004 4:13 am

I just recompiled my kernel including the "Reverse Engineered nForce . . ." and I have to type "ifconfig eth0 up" before ifconfig will show it and even then I can't ping any servers and emerge doesn't work. So, I only assume somthing isn't quite right. My kernel is the mm-sources (kernel-2.6.6-rc3-mm1).

Next time I boot off the livecd (I'm quiting for tonight and going back to windows :oops:) I'll emerge the alsa tools; I did include alsa in the kernel but haven't been able to check yet and see if it worked.
Top
mukwuknuk
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 80
Joined: Tue Dec 23, 2003 3:49 pm
Location: Colorado, USA

  • Quote

Post by mukwuknuk » Sat May 15, 2004 5:53 pm

OK "modprobe forcedeth" worked and "ifconfig eth0 up" worked (or at least it didn't give any error message)... but I still can't ping anything so I guess I'm not connected. Does anyone have an idea how I should diagnose the problem? Thanks for any help.
"If there are back-slashes in your path, you're heading down the wrong path ... backwards."
Top
mukwuknuk
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 80
Joined: Tue Dec 23, 2003 3:49 pm
Location: Colorado, USA

  • Quote

Post by mukwuknuk » Sat May 15, 2004 6:14 pm

On second thought, I guess my question is far too general. I do know that there are about half a dozen config files that have to be set correctly for network connectivity to succeed, and I did configure them, so I guess I'll just have to experiment with scores of settings until I find the problem. I suppose it's not practical to receive help on this.

But thanks for the "forcedeth" advice!!
"If there are back-slashes in your path, you're heading down the wrong path ... backwards."
Top
vonhelmet
l33t
l33t
Posts: 770
Joined: Tue Apr 06, 2004 12:18 pm
Location: Somewhere in a school
Contact:
Contact vonhelmet
Website

  • Quote

Post by vonhelmet » Sat May 15, 2004 10:59 pm

mukwuknuk wrote:On second thought, I guess my question is far too general. I do know that there are about half a dozen config files that have to be set correctly for network connectivity to succeed, and I did configure them, so I guess I'll just have to experiment with scores of settings until I find the problem. I suppose it's not practical to receive help on this.

But thanks for the "forcedeth" advice!!
Check your /etc/resolv.conf file. I don't know the structure of it, and can't check offhand as I'm not at my Gentoo box, but that is probably a good place to start.
Top
Bluesmoke
n00b
n00b
User avatar
Posts: 20
Joined: Fri May 14, 2004 6:05 am
Location: San Jose, CA
Contact:
Contact Bluesmoke
Website

  • Quote

Post by Bluesmoke » Sun May 16, 2004 7:02 pm

resolv.conf would be as follows:

nameserver < ipaddress of nameserver 1 >
nameserver < ipaddress of nameserver 2 >
search < name of your domain >



an alternate method would be just to enable DHCP if your on a network that has it. It would provide the info you need automaticaly.
Top
mukwuknuk
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 80
Joined: Tue Dec 23, 2003 3:49 pm
Location: Colorado, USA

  • Quote

Post by mukwuknuk » Mon May 17, 2004 3:30 am

resolv.conf looks good, thanks, but still can't connect.

I did notice I must do "modeprobe forcedeth" every time after a reboot. How can I install the module permanently?
"If there are back-slashes in your path, you're heading down the wrong path ... backwards."
Top
Admiral LSD
Guru
Guru
User avatar
Posts: 522
Joined: Fri Jun 27, 2003 3:53 am
Location: Northam, W.A., Australia

  • Quote

Post by Admiral LSD » Mon May 17, 2004 3:45 am

There are two ways you can make the forcedeth module (or any module for that matter) load at start up: The first, and probably the easiest is to simply emerge hotplug and then add the hotplug init script to the boot runlevel (rc-update add hotplug boot). Then, on subsequent boots, modules for all your installed hardware will be loaded automatically without any user intervention. The second way is to open up the /etc/modules.autoload.d/kernel-2.6 file (or, if using 2.4, the 2.4 version in the same directory) and add put an entry for forcedeth in there.

To avoid having to ifconfig eth0 up all the time simply add the net.eth0 init script to the default runlevel (rc-update add net.eth0 default).
Wasurenaide...
...watashi ga iru koto o.
Itsudatte soba ni iru yo.

Registered Linux user #319839
Top
raizyr
n00b
n00b
Posts: 7
Joined: Sun May 23, 2004 3:23 pm
Location: Atlanta, Ga
Contact:
Contact raizyr
Website

  • Quote

Post by raizyr » Thu May 27, 2004 2:58 am

I'm having the same problem with mm-sources both 2.6.6-r4 and 2.6.6-r5.

forcedeth loads, eth0 shows up in ifconfig but no ip. I use dhcp so it should be pulling an ip. it's not. I also tried setting the ip statically. I can not ping the .1 address of my network with the IP set static.

forcdeth works fine for me in gentoo-dev-sources 2.6.5-gentoo-r1
Top
FokeyJoe
n00b
n00b
Posts: 33
Joined: Fri Jun 04, 2004 12:06 am
Location: Oxford, UK

  • Quote

Post by FokeyJoe » Fri Jun 04, 2004 9:23 pm

Just to help anyone else looking at this thread to switch over to forcedeth, there may be an alias set to identify the module with the network interface. This is typically in the /etc/modules.d/aliases file, though could possibly be set in other files in this directory. Remember to run modules-update and then reboot.

HTH :)
Top
crazyweber
n00b
n00b
Posts: 58
Joined: Sun Feb 01, 2004 1:49 am
Location: Lawrence, KS

  • Quote

Post by crazyweber » Mon Jun 07, 2004 5:15 am

Okay i have a nforce2 motherboard and i can not get internet to work. See this thread:
http://forums.gentoo.org/viewtopic.php?t=179827

I have given up that it has anything to do with /etc/conf.d/net or /etc/resolv.conf

when i found this thread i checked to make sure I had forcedeth built as a module in my kernel and I do. Then I went ahead and checked to make sure it was in

Code: Select all

/lib/modules/2.6.5/kernel/drivers/net
it was in there as well

after that I then did

Code: Select all

modprobe forcedeth.ko
when I did this I recieve an error

Code: Select all

FATAL: Module forcedeth.ko not found.
could anybody help me with this......
Top
hw-tph
l33t
l33t
User avatar
Posts: 768
Joined: Thu Jan 08, 2004 12:06 am
Location: Uppsala, Sweden

  • Quote

Post by hw-tph » Mon Jun 07, 2004 9:12 am

crazyweber wrote:after that I then did

Code: Select all

modprobe forcedeth.ko
when I did this I recieve an error

Code: Select all

FATAL: Module forcedeth.ko not found.
could anybody help me with this......
You need to specify the module name. forcedeth.ko is the filename, the name of the module doesn't have a file extension. So type modprobe forcedeth and it should load properly. If it does, simply add "forcedeth" (without the quotes) to /etc/modules.autoload.d/kernel-2.6 and it will load on boot.


Håkan
Top
NightSpirit
n00b
n00b
User avatar
Posts: 71
Joined: Sat Sep 27, 2003 4:21 pm
Location: North London, UK
Contact:
Contact NightSpirit
Website

  • Quote

Post by NightSpirit » Tue Jun 22, 2004 9:38 pm

raizyr wrote:I'm having the same problem with mm-sources both 2.6.6-r4 and 2.6.6-r5.

forcedeth loads, eth0 shows up in ifconfig but no ip. I use dhcp so it should be pulling an ip. it's not. I also tried setting the ip statically. I can not ping the .1 address of my network with the IP set static.

forcdeth works fine for me in gentoo-dev-sources 2.6.5-gentoo-r1
Ditto, I have been using 2.6.5-mm6 fine with forcedeth for a while. Attempted to upgrade to 2.6.7-rc3-mm2 with make oldconfig and forcedeth refuses to work :(
Currently playing with Applescript ... hmmm
Top
coelho
n00b
n00b
Posts: 44
Joined: Wed Jun 23, 2004 12:54 pm

  • Quote

Post by coelho » Sat Jun 26, 2004 5:43 am

same problem !!!
Top
LynZ
Apprentice
Apprentice
User avatar
Posts: 220
Joined: Mon Jan 05, 2004 7:30 pm
Location: MIPT

  • Quote

Post by LynZ » Sat Jun 26, 2004 7:17 am

I'm using 2.6.7-gentoo-r5... forcedeth works just fine for me

Code: Select all

Device Drivers->

Networking support->      Ethernet (10 or 100Mbit)  ---><*>   Reverse Engineered nForce Ethernet support (EXPERIMENTAL)
Check if you have THIS switched on..... if true you don't even need do load a module

Btw. I thought forcedepth was added in 2.4 too
Athlon64 (Venice) 3200+ @ ABIT KN8 ULTRA
1 Gb DDR 400
ASUS GeForce 6200 64Mb PCI-X
2 x Samsung SpinPoint P80 80 Gb
SB Live! 5.1 Player
Sven IMHOO MT 5.1
Top
DawgG
l33t
l33t
User avatar
Posts: 880
Joined: Wed Sep 17, 2003 12:31 pm

similar prob w/ gbit :: doesn't work at all

  • Quote

Post by DawgG » Sun Jul 18, 2004 1:40 am

i have 2.6.8-rc1 on nforce3 gbit-lan and have support for forcedeth compiled directly inside the kernel (in the config forcedeth was mentioned only as a 100mbit-driver, but i enabled it anyway).
it doesn't work at all; and it's not even known to lspci. during boot there's a little msg that the driver is registering - that's it.
(luckily i have a spare nic - life sucks w/out network).

-will i have to patch the sources to be able to use the gbit-driver?
-is it better to compile the driver as a module?
Top
DawgG
l33t
l33t
User avatar
Posts: 880
Joined: Wed Sep 17, 2003 12:31 pm

SOLVED :: had to be patched

  • Quote

Post by DawgG » Sun Jul 18, 2004 2:18 am

could have read that earlier - had to be patched with http://www.hailfinger.org/carldani/linu ... t_try9.txt
patch applied ok - will test it later.
Top
russryder
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 133
Joined: Wed Aug 28, 2002 9:26 pm

  • Quote

Post by russryder » Sun Jul 18, 2004 2:40 am

I had the same problem with 2.6.7
The easy fix is to just install an earlier kernel.
For example I installed 2.6.5 and the forcedeth module works beautifully.

!!Until this is fixed nforce owners beware 2.6.7 bad!!
System Specs
Athlon XP 2500+
1.5g ram
GeForce FX 5700 Ultra
Soundblaster Live
200gb hdd
gentoo-dev-sources 2.6.9 r4
screenshot http://russbox.sytes.net/screenshot.png
Top
jonnevers
Veteran
Veteran
User avatar
Posts: 1594
Joined: Thu Jan 02, 2003 6:59 pm
Location: Gentoo64 land

  • Quote

Post by jonnevers » Sun Jul 18, 2004 4:34 am

after you bring eth0 up do you run dhcpd to get an IP and nameserver?
Top
DawgG
l33t
l33t
User avatar
Posts: 880
Joined: Wed Sep 17, 2003 12:31 pm

forcedeth w/ gbit

  • Quote

Post by DawgG » Mon Jul 19, 2004 12:50 pm

applied the patch and it runs now. gbit lan with nforce3.
might be a little confusing because with the patch the forcedeth-gbit-driver is still in the 100mbit-section, but who cares.
it's compiled directly in the kernel and it runs. haven't had a chance to REALLY check if it throughputs (?) 1 gbit, though.

btw, i use 2.6.8 (not MUCH choice with nforce3)
Top
solja
n00b
n00b
User avatar
Posts: 67
Joined: Tue Jul 20, 2004 12:18 am

  • Quote

Post by solja » Fri Aug 06, 2004 7:36 pm

this is wat worked for me:

Code: Select all

modprobe forcedeth

Code: Select all

dhcpcd eth1
if you have a nforce2 mb firewire is detected as your eth0 so you have to switch to eth1 instead.
Top
Post Reply

29 posts
  • 1
  • 2
  • Next

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic