Bugzilla – Bug 146147
vlan disapears
Last modified: 2006-02-27 12:03:19 UTC
I have a OpenSuSE 10 installed on a intel server. The server has 6 network interfaces, 2 on board and 4 on PCI ports. 5 of the network interfaces have vlan on them. When the server is booted all works fine. After some undefined period of time the vlan interfaces cannot be accessed using ifconfig command. ifconfig vlan201 : error fetching interface information: Device not found The vlan still exists in the kernel. router:~ # find /sys -name vlan201 /sys/class/net/vlan201 router:~ # ls -l /sys/class/net/vlan201/ total 0 drwxr-xr-x 3 root root 0 2006-01-26 20:25 . drwxr-xr-x 38 root root 0 2006-01-26 20:25 .. -r--r--r-- 1 root root 4096 2006-01-26 20:25 address -r--r--r-- 1 root root 4096 2006-01-27 14:55 addr_len -r--r--r-- 1 root root 4096 2006-01-27 14:55 broadcast -r--r--r-- 1 root root 4096 2006-01-27 14:55 carrier -r--r--r-- 1 root root 4096 2006-01-27 14:55 features -rw-r--r-- 1 root root 4096 2006-01-27 14:55 flags -r--r--r-- 1 root root 4096 2006-01-26 20:25 ifindex -r--r--r-- 1 root root 4096 2006-01-27 14:55 iflink -rw-r--r-- 1 root root 4096 2006-01-27 14:55 mtu drwxr-xr-x 2 root root 0 2006-01-26 20:25 statistics -rw-r--r-- 1 root root 4096 2006-01-27 14:55 tx_queue_len -r--r--r-- 1 root root 4096 2006-01-27 14:55 type -rw-r--r-- 1 root root 4096 2006-01-27 14:55 weight I can use tcpdump -i vlan201 -n and I can see the traffic passing trough the vlan. The network traffic is working as expected, but any attempt to use ifconfig fails. From time to time, ifconfig segfaults. ifconfig vlan201 Segmentation fault The interesting part is that only the vlans passing trough the PCI connected network cards disapear. The ones passing trough the onboard network cards can be accessed by ifconfig command. I'll attach the file created by strace -o log ifconfig vlan201 .
Created attachment 65392 [details] strace log
I forgot to mention that the network driver is e1000 from the kernel that comes with the distro.
Maybe a overflow in some internal buffer of ifconfig. Can you attach the output of 'cat /proc/net/dev' in the failure state ? And which vlan interface did still work ? And please some more infos about the HW (maybe attach hwinfo).
Created attachment 65403 [details] output of hwinfo
Created attachment 65405 [details] output of cat /proc/net/dev/
All the vlan interfaces receive and transmit packets. At this moment I can use ifconfig only on vlan10.
Also not vlan11 ,vlan12 ? If vlan10 still works, please attach also a strace with this working device.
Created attachment 65408 [details] strace of ifconfig vlan10
Created attachment 65409 [details] ltrace of ifconfig vlan10
Created attachment 65411 [details] ltrace of ifconfig vlan11
ifconfig vlan11 and ifconfig vlan12 worked 2 hours ago. Now the vlans are not accesible for ifconfig .
Created attachment 65419 [details] new ifconfig Please test this ifconfig.
It works !! (old ifconfig) router:~ # /sbin/ifconfig vlan11 : error fetching interface information: Device not found (new ifconfig) router:~ # ./ifconfig vlan11 vlan11 Link encap:Ethernet HWaddr 00:04:23:C3:34:E6 inet addr:x.x.x.x Bcast:x.x.x.x Mask:x.x.x.x inet6 addr: fe80::204:23ff:fec3:34e6/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5006306 errors:0 dropped:0 overruns:0 frame:0 TX packets:5089087 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1583408129 (1510.0 Mb) TX bytes:623049237 (594.1 Mb) PS: I replaced the IP information with x.x.x.x from obvious reasons ;)
OK, then the issue is already known and fixed for SUSE Linux 10.1 (you can fetch the sources for the fixed net-tools package from the OSS factory tree http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/ Maybe we need an update for 10.0.
Let's suppose that I rebuild net-tools from the 10.1 sources. If something bad happend and you issue a update for net-tools from 10.0 what should I do ? Patch the file myself ? Make a mixed stuff ? I think is better that you create a update for the package. Maybe there are more people in my situation.
Andreas, can I please get a SWAMP ID for updating this for 9.1, 9.2, 9.3 and 10.0?
Maintenance-Tracker-3442
Updates submitted for all dists.
resubmitted 9.1
released