Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Another RealTek 8139too Module Network Error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
fizzleboink
n00b
n00b


Joined: 05 Jul 2004
Posts: 15

PostPosted: Mon Jul 05, 2004 2:34 am    Post subject: Another RealTek 8139too Module Network Error Reply with quote

Hello,

I've just decided to move to Gentoo after feeling that Mandrake and SuSE just didn't give me what I wanted. Both have given me tons of hardware problems, and it looks like Gentoo might as well.

I installed the 2.6.7-r7 kernel using the 2004.1 Live CD. The Live CD seemed to automatically find everything allright, including my internet connection through a router using dhcp. However, my actual installation has something wrong with the internet connection. I have found MANY topics on a very similar issue to mine which have provided valuable insight however none have solved the problem.

I get the following error message on boot-up:

Code:

 * Failed to bring eth0 up                                [ !! ]

 * ERROR:    Problem starting needed services.
 *                "netmount" was not started"


I have the Realtek RTL-8139/8139C/8139C+ Ethernet Controller on a nforce2 motherboard. ifconfig only brings up lo, and lsmod brings up nothing (even though I have the 8139too module loaded into /etc/modules.autoload.d/kernel-2.6 and the Live CD uses the 8139too module as well as mii)

I've tried modprobe, dhcpcd, disabling ACPI, various kernel networking configurations and none have gotten me any farther because no errors showed up. My /etc/conf.d/net file has iface_eth0="dhcp" and is the only line not commented.

Here's what /var/log/messages gives me:

Code:

eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timeout, status 0c 0005 c07f media10.
eth0: Tx queue start entry 4 dirty entry 0.
eth0:  Tx descriptor 0 is 0008a24e. (queue head)
eth0:  Tx descriptor 1 ...
eth0:  Tx descriptor 2 ...
eth0:  Tx descriptor 3 ...
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
dhcpcd[6321]: timed out waiting for a valid DHCP server response
rc-scripts: ERROR: Problem starting needed services.
rc-scripts:             "netmount" was not started.


Any help would be appreciated, if you need any more info just let me know.
Back to top
View user's profile Send private message
tumbak
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 230
Location: supposedly Palestine

PostPosted: Mon Jul 05, 2004 8:34 am    Post subject: Reply with quote

I dont know if this helps at all but check it out
Code:

*  net-misc/nforce-net
      Latest version available: 1.0.0256
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 73 kB
      Homepage:    http://www.nvidia.com/
      Description: Linux kernel module for the NVIDIA's nForce network chip

_________________
less QQ more pewpew!
Back to top
View user's profile Send private message
fizzleboink
n00b
n00b


Joined: 05 Jul 2004
Posts: 15

PostPosted: Mon Jul 05, 2004 1:25 pm    Post subject: Reply with quote

Thanks I'll give it a shot when I get home tonight. So I just "emerge nforce-net" using the Live CD and then update /etc/modules.autoload.d/kernel-2.6, then "modules update"?
Back to top
View user's profile Send private message
fizzleboink
n00b
n00b


Joined: 05 Jul 2004
Posts: 15

PostPosted: Tue Jul 06, 2004 2:28 am    Post subject: Reply with quote

Ok a bit of an update:

Those nvidia-net drivers don't work because I am using a 2.6 kernel. I tried the forcedeth module but my logs show "dhcpcd: ioctl * device not found" errors for it, even though other people have used it with success with the nforce2 boards.

Using the 8139too module (which works on the Live CD) gives me DHCP server timeouts.

Doing "cat /proc/interrupts" says that Nvidia nForce2 has an IRQ of 0 which seems like a problem to me, but I have no idea on how to fix it.

PLEASE help, I've been working on this for about 10 hours already.

Oh and ifconfig -a does show an eth0 with this info:

eth0 Link encap:Ethernet HWaddr 00:0D....
BROADCAST MULTICAST MTU:1500 Metric:1
......... etc.
Back to top
View user's profile Send private message
jknutson
n00b
n00b


Joined: 30 Apr 2004
Posts: 63

PostPosted: Tue Jul 06, 2004 3:29 am    Post subject: Reply with quote

From what I read I think this describes your situation:
Your install went fine with the 8139too module loaded (automatically), but now with the 2.6 kernel and the 8139too module in the autoload file for the 2.6 kernel it doesn't load and you get errors when the system tries to bring up eth0.

I know you mentioned something about trying different configurations and this may be a stupid question, but have you tried all the options under the 8139too kernel config? (Use PIO instead of MMIO, support for uncommon rev..., support for older 8129/8130, use older reset method).

Have you tried putting 8139too into "/etc/modules.autoload" ? (I usually do this since I only use 2.6 kernels and it seems to work well).

Do you get errors when the module is being loaded on boot? What do you get when you try
Code:
modprobe 8139too


You might try some of these things and post your results. If it doesn't help, maybe try using a 2.4 kernel. Also, consider posting the network device section of your kernel .config.

If it works on the live CD, it'll probably work in the 2.4 kernel...
Back to top
View user's profile Send private message
fizzleboink
n00b
n00b


Joined: 05 Jul 2004
Posts: 15

PostPosted: Tue Jul 06, 2004 3:50 am    Post subject: Reply with quote

You've got it pretty much right, except I think the eth0 does come up for a little while, but it dies when dhcpcd times out looking for a server.

Yup I've tried those other options under the 8139too kernel config, and yes I have the 8139too module listed in /etc/modules.autoload.d/kernel-2.6, and the module is loading.

"modprobe 8139too" doesn't make anything happen, no error message.

I was using the "smp" kernel (which was a 2.6 kernel I believe) on the Live CD, so it should also work on my installed 2.6.

And as for the kernel config file:
Code:

Ethernet
CONFIG_NET_ETHERNET=y
CONFIG_MII=y

Tulip family network device support
CONFIG_NET_PCI=y
CONFIG_8139too=m

Strange I don't see the forcedeth module listed anywhere, but it's definitely in /lib/modules/
Back to top
View user's profile Send private message
tuam
l33t
l33t


Joined: 04 May 2004
Posts: 765
Location: CGN, Germany

PostPosted: Tue Jul 06, 2004 11:28 am    Post subject: Reply with quote

fizzleboink wrote:
"modprobe 8139too" doesn't make anything happen, no error message.


No message normally means success. Watch the output of "lsmod" before and after. If the module is loaded, check the output of "dmesg".

FF,

Daniel
Back to top
View user's profile Send private message
fizzleboink
n00b
n00b


Joined: 05 Jul 2004
Posts: 15

PostPosted: Tue Jul 06, 2004 10:57 pm    Post subject: Reply with quote

The module is loaded automatically. dmesg gives me some useful info:

Code:

eth0: RealTek RTL8139 at 0x9000, 00:0d:61:11:03:65, IRQ 11
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
eth0: Transmit timeout, status 0c 0005 c07f media10.
eth0: Tx queue start entry 4 dirty entry 0.
eth0:  Tx descriptor 0 is 0008a24e. (queue head)
eth0:  Tx descriptor 1 ...
eth0:  Tx descriptor 2 ...
eth0:  Tx descriptor 3 ...
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1


And then when I scan /var/log/messages it gives me that additional:

Code:

dhcpcd[6321]: timed out waiting for a valid DHCP server response
rc-scripts: ERROR: Problem starting needed services.
rc-scripts:             "netmount" was not started.


What would cause dhcpcd to not get a response from the DHCP server? It HAS to be the right module, because eth0 does get loaded up, but dies when it can't find the DHCP server.
Back to top
View user's profile Send private message
fizzleboink
n00b
n00b


Joined: 05 Jul 2004
Posts: 15

PostPosted: Wed Jul 07, 2004 12:55 pm    Post subject: Reply with quote

I suppose I could just use genkernel... =\
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Jul 07, 2004 1:04 pm    Post subject: Reply with quote

fizzleboink wrote:
I suppose I could just use genkernel... =\
But that won't solve your dhcp problem.
What messages do you get when you try it manually?
# dhcpcd eth0
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
fizzleboink
n00b
n00b


Joined: 05 Jul 2004
Posts: 15

PostPosted: Wed Jul 07, 2004 1:42 pm    Post subject: Reply with quote

dhcpcd eht0 does nothing, but if I check the logs I see another timeout message.

genkernel apparantly detects the hardware just like the Live CD does, and the Live CD is successful in getting my internet connection to work. So I'm only assuming that genkernel should work as well.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Jul 07, 2004 1:57 pm    Post subject: Reply with quote

Does your dhcp server needs some options passed?
Your problem is not the kernel. The driver loads. The problem is the dhcp communication.
Is it possible to use a static ip?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
fizzleboink
n00b
n00b


Joined: 05 Jul 2004
Posts: 15

PostPosted: Wed Jul 07, 2004 2:09 pm    Post subject: Reply with quote

I don't know, I'm using the Linksys router for DHCP. I tried using a static IP, but that didn't seem to work either (I'm not sure if I put in the right info).
Back to top
View user's profile Send private message
fizzleboink
n00b
n00b


Joined: 05 Jul 2004
Posts: 15

PostPosted: Fri Jul 09, 2004 8:01 pm    Post subject: Reply with quote

I figured out what the problem was. Turns out my onboard NIC and USB controller were set to using the same IRQ (they're both physically close together on the motherboard). I disabled USB support from the kernel and poof, my internet works.

I'm considering just buying another NIC to dodge the issue and keep USB support, unless I can find a way to fix the IRQ conflict.
Back to top
View user's profile Send private message
kalisphoenix
Apprentice
Apprentice


Joined: 28 Sep 2003
Posts: 211
Location: Ohio

PostPosted: Wed Jul 14, 2004 8:01 am    Post subject: Reply with quote

Damn. I'm having the same problem. *watches carefully*
Back to top
View user's profile Send private message
kalisphoenix
Apprentice
Apprentice


Joined: 28 Sep 2003
Posts: 211
Location: Ohio

PostPosted: Wed Jul 14, 2004 6:03 pm    Post subject: Reply with quote

While researching this a bit more I found this thread.

https://forums.gentoo.org/viewtopic.php?t=197859

Hopefully that will help. I'm not quite sure how to manually patch the thing, but I guess I'll get to a howto on it sometime soon.

I tried putting another NIC in, but I guess the IRQ problem wasn't resolved because neither one of the damn things worked. I'm very n00b when it comes to these IRQ conflicts, so I don't quite know how to resolve them.
Back to top
View user's profile Send private message
theboywho
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2004
Posts: 110
Location: Birmingham, United Kingdom

PostPosted: Thu Sep 09, 2004 10:19 am    Post subject: Reply with quote

I had a similar problem appear when i removed a second network card and moved a USB controller card to another PCI slot. I switched card again, and the new card works. This problem only seems to exist with the RTL8139 (the other card is an RTL 8029)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum