This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/232] inet/bug-if1.c doesn't work with inactive interface


------- Additional Comments From sjmunroe at us dot ibm dot com  2004-06-22 13:25 -------
I am seeing this on PPC/PPC64 as well. In my case the machine has 2 eth/100s 
and a eth/1000. I am only using the eth/1000.

karst:~ # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:02:55:D3:46:1C
          inet addr:9.5.249.39  Bcast:9.5.249.255  Mask:255.255.255.0
          inet6 addr: fe80::202:55ff:fed3:461c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11075172 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5074024 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:14792379652 (14107.1 Mb)  TX bytes:389980053 (371.9 Mb)
          Base address:0xfc00 Memory:c0080000-c00a0000

eth1      Link encap:Ethernet  HWaddr 00:02:55:4F:5C:76
          BROADCAST 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)

eth2      Link encap:Ethernet  HWaddr 00:02:55:4F:5C:75
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25 errors:24 dropped:0 overruns:0 carrier:24
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:1522 (1.4 Kb)

The failure is reported as: 'invalid index returned result "eth1"'

In another case:

spokane1:~ # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:0A:95:B0:03:E8
          inet addr:9.10.86.22  Bcast:9.10.86.255  Mask:255.255.255.0
          inet6 addr: fe80::20a:95ff:feb0:3e8/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:630996 errors:0 dropped:0 overruns:0 frame:0
          TX packets:198531 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:84646820 (80.7 Mb)  TX bytes:123235995 (117.5 Mb)
          Interrupt:41 Base address:0xe800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:50 errors:0 dropped:0 overruns:0 frame:0
          TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3261 (3.1 Kb)  TX bytes:3261 (3.1 Kb)

sit0      Link encap:IPv6-in-IPv4
          NOARP  MTU:1480  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)

The failure is reported as: 'invalid index returned result "sit0"'

So the test fails on the first inactive interface it finds. In the later case 
on the IPCv6-in-IPCv4 encapsulated link. This is on a 2.6.5 kernel. 

Net: Between systems with multiple eth adapters, older systems with both eth 
and tr links, and new systems running the 2.6.5 kernel I don't have any 
systems that will pass this test as is.

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=232

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]