Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't get rtl8139 to work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pr0vidence
n00b
n00b


Joined: 12 Apr 2002
Posts: 47
Location: Connecticut

PostPosted: Fri Apr 26, 2002 2:57 pm    Post subject: Reply with quote

I had a similar problem with my 8139.

when I booted off the gentoo CD and it probed my NIC it found (what seemed like) 2 cards (even though there was only one) an "8139too" and a "mii" first I tried to modprobe just "8139too" and that sort of worked, I was able to ping anything on the internet (by the way I have dhcp, so I just did a 'dhcpcd eth0' to get an IP), but as soon as I chroot-ed to the gentoo installation the nic was cut off and I could not access the internet.

Then I tried it again but this time modprobe-ed "mii" and that worked perfectly thoughout the entire installation process.

Try it with only "modprobe mii" and see if that works.

note that once I compiled the kernel and the installation was complete the module I use now when I boot my gentoo system is "8139too" NOT "mii"
Back to top
View user's profile Send private message
DiskDoc
Apprentice
Apprentice


Joined: 25 Apr 2002
Posts: 196
Location: Finland

PostPosted: Fri Apr 26, 2002 9:02 pm    Post subject: 8139too experience Reply with quote

I use a Reaktek 8139 card (and the 8139too driver) and had no problems during the initial install like the ones you describe. Everything worked sweetly..with DHCP anyway.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Sat Apr 27, 2002 6:26 pm    Post subject: Reply with quote

Since your having that problem trevor, why don't you go ahead and just compile your NIC driver into the kernel instead of having it as a module. I have a feeling that might solve your problem, also don't forget if you do that to take out the 8139too from /etc/modules.autoload.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
fuji
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2002
Posts: 111

PostPosted: Sat Apr 27, 2002 11:14 pm    Post subject: Reply with quote

I had no problems with the 8139too drivers as well. Here's some basic info in case you want to compare:

I compiled the driver into my kernel
I run kernel 2.4.18
I use a static ip while connecting through a router (linksys)

AutoBot may be correct with his suggestion to compile it into the kernel.

Hope it all works out for you.
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Sun Apr 28, 2002 9:54 am    Post subject: Reply with quote

what network do you run at home ?

is it 100 mb full duplex?

often the speed setting causes problems.

if you are running a 10 mbit half duplex network, then no way your card is going to work
Back to top
View user's profile Send private message
niyogi
Apprentice
Apprentice


Joined: 10 Apr 2002
Posts: 199
Location: Austin, TX

PostPosted: Sun Apr 28, 2002 8:32 pm    Post subject: Reply with quote

1) ignore mii during installation.. but add it to modules.autoload BEFORE 8139too

2) change pci slots and see if that does anything (it can)

just do insmod 8139too as the first command when gentoo installation boots up

-S
Back to top
View user's profile Send private message
Trevor_
Guest





PostPosted: Sat May 04, 2002 6:14 am    Post subject: Reply with quote

Sorry for the late reply - I was on a holiday :)
I tried compiling the driver into the kernel, but that doesn't help. I noticed some unusual output when I try to use the card (ping). Here are the lines from dmesg:
Code:

NETDEV WATCHDOG: eth0: transmit timed out
eth0: Tx queue start entry 4 dirty entry 0
eth0: Tx descriptor 0 is 000020000 (queue head)
eth0: Tx descriptor 1 is 000020000
eth0: Tx descriptor 2 is 000020000
eth0: Tx descriptor 3 is 000020000
eth0: Setting 100mbps full duplex based on auto-negotiated partner ability 45e1.


The network is OK, I'm connected to a 100mbps switch (I'm on my campus LAN) so the 100mpbs duplex part is OK

-Trevor
Back to top
Guest






PostPosted: Tue May 07, 2002 3:07 pm    Post subject: Reply with quote

I do not know how much this will help but I have that card running very well...

<y server (desktop is gentoo) is running slackware 8 with stock 2.4.18 kernel. I chose 8139too as module with no other "sub-options" enabled.The machine has 4 of those cards (and a NE2000 ISA).

3 of them are running at 10Mbit/hd and 4th one in 100Mbit/FD. (It you wonder, the machine is a bridge and a router w/ firewall)

I only had a problem once. The card was proben and was giving "strange" pci errors or invalid ids. I replaced it.

Again, I do not know how much this helps, but I can at least say that the card works perfectly on bare 2.4.18 kernel.
Back to top
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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