View previous topic :: View next topic |
Author |
Message |
vm63310 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Mar 2003 Posts: 6
|
Posted: Fri Mar 07, 2003 12:00 pm Post subject: Gentoo 1.4rc3 and problems with Realtek 8139too driver |
|
|
I've installed Gentoo 1.4rc3 using stage 3 tarballs. Everything went ok by following the instructions given. I've also downloaded 2.4.20r1 kernel using emerge sys-kernel/gentoo-sources. Compiling it went ok and booting it works ok too.. My nic is using Realtek 8139 chip and so I modprobed 8139too driver for my network card. Ifconfig shows that everything is ok (IP, gateway etc.) but pinging outside doesn't work.. I can only ping localhost.. There are no errors in any logs whatsoever. Also, I have problems using dhcpd to configure my nic. Dhcpd just quietly timeouts after 60 seconds giving no error message(s).. By using the Gentoo boot CD the network works perfectly.. It uses the same module and settings for the network as my own kernel..
Hmm.. Is this problem with the 2.4.20r1 (Gentoo patch) kernel or does it also affect 2.4.20 stock kernel? I've seen lots of posts about same kind of problems from people using Realtek chips.
Any suggestions?
--
Wellu |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ansalmo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Mar 2003 Posts: 3
|
Posted: Fri Mar 07, 2003 12:15 pm Post subject: |
|
|
I installed 1.4rc3 using the vanilla-sources with the 8139too, and haven't had any problems with it.
If you do a netstat -rn, does the routing table look sensible? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vm63310 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Mar 2003 Posts: 6
|
Posted: Fri Mar 07, 2003 12:31 pm Post subject: |
|
|
Can't verify the routing table right now but as far as I can remember the routing table seemed sensible.. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sn4ip3r Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/11520060124605a948cc090.jpg)
Joined: 14 Dec 2002 Posts: 325 Location: Tallinn, Estonia
|
Posted: Fri Mar 07, 2003 12:44 pm Post subject: |
|
|
what does "dmesg" show ? what is the IRQ of the nic ?
I have had the same problem a few times (I was unable to install gentoo using 1.4 liveCD because of that). I can't remember the exact thing that I did to fix the problem, but I know that you have to change something in kernel config. If you have APIC support enabled, try to disable it. Also, it's possible that you can fix the problem by changing some setting in BIOS, but that did not help me when I had this problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jcosters Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/770692929420931d53b77f.jpg)
Joined: 26 Feb 2003 Posts: 104 Location: Gent, Belgium
|
Posted: Fri Mar 07, 2003 3:30 pm Post subject: |
|
|
I've had no problems using the same 8139too driver in 1.4 rc3 compiled from scratch, using the gentoo kernel sources as well as the vanilla sources, but there are some options in the kernel config, some for more exotic revisions of the 8139.
Last edited by jcosters on Wed Sep 10, 2003 10:34 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tirantloblanc Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_deckard.gif)
Joined: 22 Oct 2002 Posts: 179 Location: Barcelona, ES
|
Posted: Fri Mar 07, 2003 4:10 pm Post subject: |
|
|
sn4ip3r wrote: | what does "dmesg" show ? what is the IRQ of the nic ?
I have had the same problem a few times (I was unable to install gentoo using 1.4 liveCD because of that). I can't remember the exact thing that I did to fix the problem, but I know that you have to change something in kernel config. If you have APIC support enabled, try to disable it. Also, it's possible that you can fix the problem by changing some setting in BIOS, but that did not help me when I had this problem. |
Yes, some Motherboards (ECS, Sis-based) have problem if APIC is enabled in kernel. I had the same problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zx Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 07 Mar 2003 Posts: 2
|
Posted: Fri Mar 07, 2003 5:39 pm Post subject: This is driving me nuts too |
|
|
I have the same problem. It detects and loads the 8139too module. I can't ping anything outside just like you. The only thing I've noticed is that along with loading the 8139too module, it also loads 8390 for some reason when it shouldn't. I have no idea why it is doing this but I think this might have something to do with the problem. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
JamesD n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Mar 2003 Posts: 7
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Woland Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Southpark/avatar23.gif)
Joined: 02 Aug 2002 Posts: 248 Location: Russian Jack, Alaska
|
Posted: Sun Mar 09, 2003 10:11 pm Post subject: |
|
|
I hate to be one of those "I just insatalled it and it worked fine" types, but I did, and it did. rc3 LiveCD located my 8139 card and inserted the module automagically, so I did not have to insmod or modprobe anything. Furthermore, I belive that ifconfig would return an error of you tried to bring up a card that just ain't there. The kernel support for this NIC seems very solid, the only problems I've ever had was when I tried using the other two options for the card which the kernel configuration presents. But then I just got a kernel panic on boot, so I knew right away where the problem lay.
I had a devil of a time with my new install. Nothing seemd to work. This was before I realized that I set the aderess of the NIC to the same adress as my gateway. Not everyone will make the same dumb mistake, but when I am seeing inexplicable errors, I am always concerned that the explination may be very embarassingly explicable.
However, don't be dicouraged, and if you are still having problems, post more error output. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Zarathustra[H] Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/79354631457878a5a5ced.jpg)
Joined: 30 Dec 2002 Posts: 389 Location: Cambridge, MA, USA
|
Posted: Mon Mar 10, 2003 9:02 am Post subject: |
|
|
I had the same problem, and here's how I fixed it.
Apparently all x86 2.4.20 kernels in the portage tree except the vanilla sources have some problem with the interaction betweeen ASPI and any Realtek 8139 nic. I dont know why this is, but everything seems to work fine by just disabling ASPI either at kernel compile time, or by using the noaspi switch in you favorite boot loader.
/Matt _________________ ----
Athlon 64 3000+ / 1Gb Kingston Hyperx PC3500 / MSI K8N Neo / Geforce 6800GT
---- |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vm63310 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Mar 2003 Posts: 6
|
Posted: Mon Mar 10, 2003 10:43 am Post subject: |
|
|
Well, I emerged Vanilla sources, compiled 8139too in the kernel (not as a module) and everything works now Hmm.. maybbe it had something to do with ACPI, dunno.. Have to test more.. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rcb1974 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/113305228445198698ac37b.jpg)
Joined: 12 Mar 2003 Posts: 56 Location: Ithaca, NY, USA
|
Posted: Thu Mar 13, 2003 12:09 am Post subject: 8139too breaks when APIC is enabled in kernel |
|
|
I experienced the same problem. 8139too wouldn't load properly when APIC was enabled on my SiS based motherboard (Gigabyte 8ST800-L)
WHen I disabled APIC, it worked. Also, I had trouble using 8139too and 3c59x simultaneously. But when I replaced the 3c59x with a via-rhine, both ethernet cards worked. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
elfarto n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/183090995142149f9e66a28.gif)
Joined: 27 Feb 2003 Posts: 26 Location: Argentina
|
Posted: Thu Mar 13, 2003 6:13 pm Post subject: |
|
|
Mnhh, what 8139 chip revision do you have ??? i had that trouble with an older revision chip. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|