When I use 2.6.8-gentoo-r3 or r4 I get this problem with ifconfig. eth0 Link encap:Ethernet HWaddr 00:10:DC:DF:6B:D6 inet addr:xx.xx.xx.xx Bcast:xx.xx.xx.xx Mask:xx.xx.xx.xx UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:11 Base address:0xe000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) I have two systems with the exact same problem. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Can you see if you also experience the problem on development-sources?
It works fine with mm-sources and the vanilla sources from kernel.org. It only seems to be gentoo-dev-sources thats having the problem.
Odd, nothing we patch in jumps out at me. Which network hardware are you using? Does network work alright otherwise? Any clues in dmesg?
Please reopen with requested info.
I'm using a realtek 8139 and a Intel Etherexpress Pro 100 in the other server. Both are running at 100mbit. I see nothing abnormal in dmesg, I upgraded it recently to 2.6.8-gentoo-r8 and its still having this problem. The network is working fine otherwise. When I do cat /proc/net/dev it shows info, but ifconfig still says 0 bytes. Maybe its a problem with ifconfig its self?
I had the same problem on a dual AMD64 machine and NOT on a dual athlon (x86). I copied the ifconfig from the x86 to the amd64 and it worked.
Strange. Kevin, are you on amd64? Maybe CFLAGS affects this. Perhaps someone could try with just "-O1" and no other optimizations?
I've found the solution, one of the kernel headers between 2.6.6 and 2.6.8 changed something, just re-emerge net-tools and it should work again.
Hmm,ok.. Can't reproduce here, even on the header upgrade, assuming fixed..