Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Odd ethernet connundrum.
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
Marajin
n00b
n00b


Joined: 03 Sep 2002
Posts: 62
Location: England

PostPosted: Sun May 25, 2003 9:02 pm    Post subject: Odd ethernet connundrum. Reply with quote

I recently put together Gentoo 1.4_RC4 box. It's an Athlon XP2200+ and all sorts of spiffy stuff, with an onboard ethernet controller....

Now the live CD was more than happy to pick it up, DHCP config 'n all and away I go on the 8139too module... I get to compiling my own kernel and shove it in, and plan to boot from gentoo itself instead of it's CD..

The Ethernet fails to come up. I prod the modules and ifconfig and it's seeing the card and loading the module without complaint, yet I can't get it to actually talk. Running dhcpcd in debug mode just tells me the mac address and naught else and I'm honestly stumped as to what's wrong.

I have vague ideas that I may have boo-boo'd something in the kernel or the CFLAGs are causing and issue, but the system seems to work just find otherwise.... I'm more than sure the network is up, the card works and the connection is peachy (Checked on the same machine using the live CD /and/ windowsXP/2003, also checked the connection with a totally different machine running Mandrake Linux 9.1 and Windows XP, all worked just fine...)

Has anyone ever heard of this before or have a clue where I might start looking for issues?

Edit: Btw, I've tried the Local APIC issue, this did nothing...
_________________
2.4Ghz P4 Laptop, 512Meg DDR, 40G drive, Radeon 9000, Gentoo!

1.8Ghz Athlon XP2200+ Desktop, 512Meg DDR, 60G drive, GeForceFX5600, WinXP

1.65Ghz Athlon XP2000+ Server, 512Meg DDR, Dual 120G drives, Sis onboard Graphics, Gentoo!
Back to top
View user's profile Send private message
Hellzone
Apprentice
Apprentice


Joined: 23 May 2003
Posts: 167

PostPosted: Sun May 25, 2003 10:28 pm    Post subject: Re: Reply with quote

When your actually in the system try typing:

Code:
dhcpcd eth0

and then type
Code:
ifconfig


any luck?
Back to top
View user's profile Send private message
Marajin
n00b
n00b


Joined: 03 Sep 2002
Posts: 62
Location: England

PostPosted: Mon May 26, 2003 4:34 pm    Post subject: Reply with quote

Not a hope.

I've already tried this several times, sorry if I didn't make it so obvious in my original post. I've also tried using the LiveCD to get a connection, then installing other DHCP clients, rebooting and trying them, but considering even static IPs don't work I think it's somewhat more sinister than a dicky DHCP client.

I really do not get this. I've installed Gentoo a dozen times over on several different computers from 1.2 to this current 1.4_RC4 and I've never had a problem remotely like this....

But thanks for your help, by the way.
_________________
2.4Ghz P4 Laptop, 512Meg DDR, 40G drive, Radeon 9000, Gentoo!

1.8Ghz Athlon XP2200+ Desktop, 512Meg DDR, 60G drive, GeForceFX5600, WinXP

1.65Ghz Athlon XP2000+ Server, 512Meg DDR, Dual 120G drives, Sis onboard Graphics, Gentoo!
Back to top
View user's profile Send private message
FlankerPhil
n00b
n00b


Joined: 29 Apr 2003
Posts: 7
Location: Birmingham, UK

PostPosted: Mon May 26, 2003 4:38 pm    Post subject: Reply with quote

Its not your gateways is it? I got into a problem where it though i was on the net and the reason it didnt work was cause all the gateways were nessed up? try:
Code:

route


Phil
_________________
Benefit of the doubt? - There is no such thing as Benefit of the doubt.
Back to top
View user's profile Send private message
Marajin
n00b
n00b


Joined: 03 Sep 2002
Posts: 62
Location: England

PostPosted: Mon May 26, 2003 4:52 pm    Post subject: Reply with quote

I somehow doubt this, it's not even capable of getting the internal network up and running. ifconfig just shows eth0 as present but totally unconfigured. No UP and RUNNING in there, no IPs nuffink.

As I said earlier, even feeding it a static IP is a nada. Can't ping or anything
_________________
2.4Ghz P4 Laptop, 512Meg DDR, 40G drive, Radeon 9000, Gentoo!

1.8Ghz Athlon XP2200+ Desktop, 512Meg DDR, 60G drive, GeForceFX5600, WinXP

1.65Ghz Athlon XP2000+ Server, 512Meg DDR, Dual 120G drives, Sis onboard Graphics, Gentoo!
Back to top
View user's profile Send private message
burmashave
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2002
Posts: 82

PostPosted: Mon May 26, 2003 5:38 pm    Post subject: NIC Drivers? Reply with quote

I had the same problem when I installed gentoo. The problem turned out to be the NIC driver. As I recall, the card came up fine while using the live CD, but then didn't work when I initially booted. I then went back to the live CD to see what driver it had either automatically detected or used. For me, the DEC tulip driver worked despite the fact that I I had originally found a better match in the NIC list.
Back to top
View user's profile Send private message
Marajin
n00b
n00b


Joined: 03 Sep 2002
Posts: 62
Location: England

PostPosted: Mon May 26, 2003 5:42 pm    Post subject: Reply with quote

8139too and mii are the modules that the LiveCD loaded, and 8139too and mii are the modules I'm loading at bootup....
_________________
2.4Ghz P4 Laptop, 512Meg DDR, 40G drive, Radeon 9000, Gentoo!

1.8Ghz Athlon XP2200+ Desktop, 512Meg DDR, 60G drive, GeForceFX5600, WinXP

1.65Ghz Athlon XP2000+ Server, 512Meg DDR, Dual 120G drives, Sis onboard Graphics, Gentoo!
Back to top
View user's profile Send private message
Marajin
n00b
n00b


Joined: 03 Sep 2002
Posts: 62
Location: England

PostPosted: Tue May 27, 2003 7:44 am    Post subject: Reply with quote

Hrm, after lots of reading around I accidentally found out that sometimes disabling ACPI can cause the ethernet to work when it was doing what mine is doing...

guess what?

acpi=off did exactly that. Gentoo picked up the card and DHCP configured it at bootup /instantly/

I'm rather annoyed at that though. Why has ACPI gotta be off? is this a kernel version specific bug?
_________________
2.4Ghz P4 Laptop, 512Meg DDR, 40G drive, Radeon 9000, Gentoo!

1.8Ghz Athlon XP2200+ Desktop, 512Meg DDR, 60G drive, GeForceFX5600, WinXP

1.65Ghz Athlon XP2000+ Server, 512Meg DDR, Dual 120G drives, Sis onboard Graphics, Gentoo!
Back to top
View user's profile Send private message
Marajin
n00b
n00b


Joined: 03 Sep 2002
Posts: 62
Location: England

PostPosted: Tue May 27, 2003 4:30 pm    Post subject: Reply with quote

OOokay, this is really not making sense now. I rebooted and the ethernet won't work anymore. Ran through everything again, but it doesn't work anymore
_________________
2.4Ghz P4 Laptop, 512Meg DDR, 40G drive, Radeon 9000, Gentoo!

1.8Ghz Athlon XP2200+ Desktop, 512Meg DDR, 60G drive, GeForceFX5600, WinXP

1.65Ghz Athlon XP2000+ Server, 512Meg DDR, Dual 120G drives, Sis onboard Graphics, Gentoo!
Back to top
View user's profile Send private message
Pondus
n00b
n00b


Joined: 28 May 2003
Posts: 3

PostPosted: Wed May 28, 2003 3:21 pm    Post subject: Reply with quote

I have the same problem. Realtek 8139 NIC. When I boot the Gentoo Live-cd, it loads the 8139too module, and the NIC gets ip from dhcp. I can use the internet.

When I boot from harddisk, it fails to contact the dhcp-server, and eth0 fails to start. If i assign network parameters manually in the /etc/conf.d/net, eth0 succsessfully loads, and get an ip-address. It also says UP and RUNNING, but I cant ping anything. Ping gives me this:

Pinging (192.168.1.1) 56 octets data: (if I remember correctly)
(nothing more happens)
--
When I press CTRL+C, it says:
x packets sent, 0 recieved (100% loss)

I tried both compiling the driver in the kernel, and loading it as a module. Both ways give the same result.

Then I noticed that the NIC gets different IRQ and BASE-adress settings. When I boot with cd, it gets IRQ=10 BASE=0x700. When I boot from harddisk it gets IRQ=17 BASE=0xd700.

Could this be it? If so, how do I set these manually?
_________________
---
Pondus
Back to top
View user's profile Send private message
Pondus
n00b
n00b


Joined: 28 May 2003
Posts: 3

PostPosted: Wed May 28, 2003 4:13 pm    Post subject: Reply with quote

I may have found a solution here:

https://forums.gentoo.org/viewtopic.php?t=53755&highlight=netmount

Seems you have to disable 'Local APIC support on uniprocessors' in the kernel, to get 8139too working.

(I haven't been able to test it, as I am not home atm)

Edit: Just noticed in your post that you allready tried this.. :D I hope it works for me...
_________________
---
Pondus
Back to top
View user's profile Send private message
Marajin
n00b
n00b


Joined: 03 Sep 2002
Posts: 62
Location: England

PostPosted: Wed May 28, 2003 6:39 pm    Post subject: Reply with quote

Quote:
IRQ=17 BASE=0xd700.


Um...are you sure? I'm gonna check this on mine now, but ya see...

IRQ=17 is //impossible// on a PC. A PC has only up to IRQ 15.......

Most than likely this is the problem, so the only answer is to force it to stop using IRQ 17?
_________________
2.4Ghz P4 Laptop, 512Meg DDR, 40G drive, Radeon 9000, Gentoo!

1.8Ghz Athlon XP2200+ Desktop, 512Meg DDR, 60G drive, GeForceFX5600, WinXP

1.65Ghz Athlon XP2000+ Server, 512Meg DDR, Dual 120G drives, Sis onboard Graphics, Gentoo!
Back to top
View user's profile Send private message
Pondus
n00b
n00b


Joined: 28 May 2003
Posts: 3

PostPosted: Wed May 28, 2003 7:23 pm    Post subject: Reply with quote

I am pretty sure it said 17, but I'm gonna check it as soon as I get home..

How do I force it to use another IRQ?
_________________
---
Pondus
Back to top
View user's profile Send private message
Marajin
n00b
n00b


Joined: 03 Sep 2002
Posts: 62
Location: England

PostPosted: Wed May 28, 2003 7:48 pm    Post subject: Reply with quote

AFAIK, if it's PnP PCI style stuff then you can't. It just gets it from the BIOS.....

Mine however is on interrupt 11 so that's not the issue..
_________________
2.4Ghz P4 Laptop, 512Meg DDR, 40G drive, Radeon 9000, Gentoo!

1.8Ghz Athlon XP2200+ Desktop, 512Meg DDR, 60G drive, GeForceFX5600, WinXP

1.65Ghz Athlon XP2000+ Server, 512Meg DDR, Dual 120G drives, Sis onboard Graphics, Gentoo!
Back to top
View user's profile Send private message
Marajin
n00b
n00b


Joined: 03 Sep 2002
Posts: 62
Location: England

PostPosted: Thu May 29, 2003 7:53 am    Post subject: Reply with quote

Hmmph...I noticed it WAS still loading ACPI stuff (thereby /ignoring/ the kernel line commands I was passing it...so I just recompiled my kernel without ACPI...the card is now working again)
_________________
2.4Ghz P4 Laptop, 512Meg DDR, 40G drive, Radeon 9000, Gentoo!

1.8Ghz Athlon XP2200+ Desktop, 512Meg DDR, 60G drive, GeForceFX5600, WinXP

1.65Ghz Athlon XP2000+ Server, 512Meg DDR, Dual 120G drives, Sis onboard Graphics, Gentoo!
Back to top
View user's profile Send private message
Beekster
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 268
Location: Sydney

PostPosted: Thu May 29, 2003 11:07 am    Post subject: Reply with quote

Marajin wrote:
Quote:
IRQ=17 BASE=0xd700.


Um...are you sure? I'm gonna check this on mine now, but ya see...

IRQ=17 is //impossible// on a PC. A PC has only up to IRQ 15.......

Most than likely this is the problem, so the only answer is to force it to stop using IRQ 17?

Later PC's with APIC (advanced programmable interrupt controller ??) do have more. My ifconfig:
Quote:
eth0 Link encap:Ethernet HWaddr 00:08:C7:2A:F1:52
inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2611517 errors:0 dropped:0 overruns:0 frame:0
TX packets:107522 errors:0 dropped:0 overruns:1 carrier:0
collisions:0 txqueuelen:100
RX bytes:268419704 (255.9 Mb) TX bytes:18763989 (17.8 Mb)
Interrupt:23 Base address:0xa000

eth1 Link encap:Ethernet HWaddr 00:A0:CC:79:60:DA
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:673269 errors:0 dropped:0 overruns:0 frame:0
TX packets:866504 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:132075059 (125.9 Mb) TX bytes:465510218 (443.9 Mb)
Interrupt:22 Base address:0xc000
Back to top
View user's profile Send private message
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