Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] eth0 RX errors and Destination Host Unreachable
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
aeriform
n00b
n00b


Joined: 19 Jan 2006
Posts: 5

PostPosted: Wed Apr 12, 2006 6:42 am    Post subject: [solved] eth0 RX errors and Destination Host Unreachable Reply with quote

If I'm quick logging in after boot up, I'm able to view webpages via a www-client and ping named addresses outside my router within the first 10-15 seconds of dhcpcd starting up on boot up. After 10-15 seconds:

ifconfig eth0 shows that RUNNING is no longer present (it is present immediately after boot up) and I get a new error every 5-6 seconds

Code:
eth0      Link encap:Ethernet  HWaddr 00:08:A1:04:63:13
          inet addr:192.168.2.20  Bcast:255.255.255.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:2 dropped:0 overruns:0 carrier:2
          collisions:0 txqueuelen:1000
          RX bytes:1240 (1.2 Kb)  TX bytes:1414 (1.3 Kb)
          Interrupt:17 Base address:0xd800

turns into
Code:
eth0      Link encap:Ethernet  HWaddr 00:08:A1:04:63:13
          inet addr:192.168.2.20  Bcast:255.255.255.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:162 dropped:0 overruns:0 frame:0
          TX packets:2 errors:2 dropped:0 overruns:0 carrier:2
          collisions:0 txqueuelen:1000
          RX bytes:1240 (1.2 Kb)  TX bytes:1414 (1.3 Kb)
          Interrupt:17 Base address:0xd800



dmesg |grep eth0 gives me:

Code:
eth0: Davicom DM9102/DM9102A rev 49 at 0001d800, 00:08:A1:04:63:13, IRQ 17.
eth0: Setting full-duplex based on MII#1 link partner capability of 45e1.



setting dhcpcd_eth0="-d" gives me the following during boot:

Code:
Running dhcpcd ...
    dhcpcd: MAC address = 00:08:A1:04:63:13
    dhcpcd[6744]: broadcasting DHCP_REQUEST for 192.168.2.20
    dhcpcd[6744]: dhcpIPaddressTime=4294967295 in DHCP server response.
    dhcpcd[6744]: dhcpT1value is missing in DHCP server response. Assuming 2147483647 sec
    dhcpcd[6744]: dhcpT2value is missing in DHCP server response. Assuming 3758096383 sec
    dhcpcd[6744]: DHCP_ACK received from (192.168.2.1)
    dhcpcd: your IP address = 192.168.2.20
    dhcpcd[6744]: infinite IP address lease time. Exiting
eth0 received address 192.168.2.20
Mounting network filesystems ...



After the initial 10-15 seconds, pinging anything other than localhost (including pinging my router) gives something like:
Code:
From 192.168.2.20 icmp_seq=4 Destination Host Unreachable.

whereas initially if I ping immediately after boot up I'm able to ping.


My /etc/conf.d/net has:
Code:

config_eth0={"dhcp"}
dhcp_eth0="nodns nontp nonis"



When I boot up from livecd my connection is fine and stable. The only difference I can find between the livecd and regular boot up is that the interrupt found via ifconfig is 16 in livecd while it's 17 from a regular boot up. Any links or suggestions?


Last edited by aeriform on Thu Apr 20, 2006 2:33 am; edited 1 time in total
Back to top
View user's profile Send private message
cooljoe2003
n00b
n00b


Joined: 02 Apr 2004
Posts: 46
Location: Jamestown, NC

PostPosted: Fri Apr 14, 2006 2:52 pm    Post subject: Reply with quote

I have been having the EXACT same problem with the EXACT same chipset, (integrated on a Soyo P4I-845PE) works with the live cd, but not after install.

I have been asking for like over a year now, and nobody can tell me anything, so I have just been using a linksys nic.
_________________
Mount Jones [dot] Net

It has been my experience that there are two kinds of liars in the world:
The ones that say they don't masturbate, and
The ones that say they quit.
Back to top
View user's profile Send private message
aeriform
n00b
n00b


Joined: 19 Jan 2006
Posts: 5

PostPosted: Thu Apr 20, 2006 2:32 am    Post subject: Solved Reply with quote

For me anyway. Problem for me was that the "tulip" module doesn't work for my tulip compatible ethernet card. So in this case RX errors ==> bad or wrong driver.

Things I did:

Code:
mount /boot
cd /usr/src/linux
make menuconfig

Code:

Device Drivers --->
Network device support --->
[*] Networking Support
Ethernet (10 or 100Mbit) --->
[*] Ethernet (10 or 100Mbit)
Tulip family network device support --->
[*] "Tulip" family network device support
<M> Davicom DM910x/DM980x support

Code:
make && make modules_install
cp arch/i386/boot/bzImage /boot/linux-2.6.15-gentoo-r1
nano -w /etc/modules.autoload.d/kernel-2.6

Code:

#comments ...
dmfe mode=5
ip_tables

Code:
reboot


So I removed 'tulip' and inserted the 'dmfe mode=5' which isn't "needed" as described by the documentation in '/usr/src/linux/Documentation/networking/dmfe.txt' but is appropriate for my router and ethernet card.
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