Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64414 - ifconfig reports 0 bytes on Linux 2.6.8-gentoo-r4
Summary: ifconfig reports 0 bytes on Linux 2.6.8-gentoo-r4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-17 09:41 UTC by kevin
Modified: 2005-01-04 13:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kevin 2004-09-17 09:41:56 UTC
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.
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-09-17 11:44:26 UTC
Can you see if you also experience the problem on development-sources?
Comment 2 kevin 2004-09-17 15:18:37 UTC
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.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2004-09-29 02:08:52 UTC
Odd, nothing we patch in jumps out at me. Which network hardware are you using? Does network work alright otherwise? Any clues in dmesg?
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2004-10-11 11:31:42 UTC
Please reopen with requested info.
Comment 5 kevin 2004-10-11 15:33:01 UTC
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?
Comment 6 Chris 2005-01-04 09:33:52 UTC
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.
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2005-01-04 10:26:06 UTC
Strange. Kevin, are you on amd64?

Maybe CFLAGS affects this. Perhaps someone could try with just "-O1" and no other optimizations?
Comment 8 kevin 2005-01-04 12:18:53 UTC
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.
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2005-01-04 13:59:04 UTC
Hmm,ok.. Can't reproduce here, even on the header upgrade, assuming fixed..