WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Example of broken Network and related issues

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Example of broken Network and related issues
From: Ted Kaczmarek <tedkaz@xxxxxxxxxxxxx>
Date: Wed, 26 Oct 2005 20:35:44 -0400
Delivery-date: Thu, 27 Oct 2005 00:32:59 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
xen_changeset          : Wed Oct 26 11:59:13 2005 +0100
7500:20d1a79ebe31

UP P4 1.7 gig


This was fine with the changeset right after 2.6.12.5 patch was applied.

Somehow all my dom0's nics got reordered.

cat /etc/modprobe.conf

alias eth0 3c59x
alias eth1 e100
alias eth2 e1000

what should be eth2 is eth1 and vice versa.



[root@tarkus ~]# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      128     1 r-----    38.4
tdom1                              1       73     1 -b----    15.2
tdom2                              2      133     1 ------    13.0
tdom3                              4      409     1 -b----    15.7
[root@tarkus ~]# brctl show
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              peth0
                                                        vif0.0
[root@tarkus ~]# xm network-list tdom3
(0 ((backend-id 0) (mac AA:00:66:00:02:03) (handle 0)
(backend /local/domain/0/backend/vif/4/0) (tx-ring-ref 522) (rx-ring-ref
523) (event-channel 8)))
[root@tarkus ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0E:0C:51:20:9E
          inet addr:10.255.2.1  Bcast:10.255.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:197 errors:0 dropped:0 overruns:0 frame:0
          TX packets:157 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:20918 (20.4 KiB)  TX bytes:37052 (36.1 KiB)

eth1      Link encap:Ethernet  HWaddr 00:B0:D0:07:0A:D1
          inet addr:172.16.201.22  Bcast:172.16.201.23
Mask:255.255.255.248
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1541 errors:0 dropped:0 overruns:61 frame:0
          TX packets:1313 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:142072 (138.7 KiB)  TX bytes:122468 (119.5 KiB)
          Interrupt:18 Base address:0xe480

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:700 errors:0 dropped:0 overruns:0 frame:0
          TX packets:700 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:74534 (72.7 KiB)  TX bytes:74534 (72.7 KiB)

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:336 errors:0 dropped:0 overruns:0 frame:0
          TX packets:281 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:35277 (34.4 KiB)  TX bytes:53117 (51.8 KiB)
          Base address:0xe840 Memory:fe1a0000-fe1c0000

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:157 errors:0 dropped:0 overruns:0 frame:0
          TX packets:197 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:37052 (36.1 KiB)  TX bytes:20918 (20.4 KiB)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:71 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:4112 (4.0 KiB)  TX bytes:0 (0.0 b)

[root@tarkus ~]# brctl showmacs xenbr0
port no mac addr                is local?       ageing timer
  1     00:0e:0c:51:20:9e       no                 6.75
  2     00:e0:81:05:3c:6c       no                 1.86


  [root@tdom3 ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr AA:00:66:00:02:03
          inet addr:10.255.2.203  Bcast:10.255.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:588 (588.0 b)

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:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:911 (911.0 b)  TX bytes:911 (911.0 b)


[root@tarkus ~]# xm network-list tdom1
(0 ((backend-id 0) (mac aa:00:66:00:02:01) (handle 0)
(backend /local/domain/0/backend/vif/1/0) (tx-ring-ref 522) (rx-ring-ref
523) (event-channel 8)))
(1 ((backend-id 0) (mac aa:00:66:01:02:01) (handle 1)
(backend /local/domain/0/backend/vif/1/1) (tx-ring-ref 1036)
(rx-ring-ref 1037) (event-channel 9)))
(2 ((backend-id 0) (mac aa:00:66:02:02:01) (handle 2)
(backend /local/domain/0/backend/vif/1/2) (tx-ring-ref 1550)
(rx-ring-ref 1551) (event-channel 10)))

Three vifs when nics=1

[root@tarkus ~]# xm network-list tdom2
(0 ((backend-id 0) (mac AA:00:66:00:02:02) (handle 0)
(backend /local/domain/0/backend/vif/2/0) (tx-ring-ref 522) (rx-ring-ref
523) (event-channel 8)))

[root@tarkus ~]# xm network-list tdom3
(0 ((backend-id 0) (mac AA:00:66:00:02:03) (handle 0)
(backend /local/domain/0/backend/vif/4/0) (tx-ring-ref 522) (rx-ring-ref
523) (event-channel 8)))

[root@tarkus ~]# grep nics /etc/xen/tdom*
/etc/xen/tdom1:nics = 1
/etc/xen/tdom2:nics = 1
/etc/xen/tdom3:nics = 1


[root@tarkus xen]# md5sum xend-config.sxp
25e7cfe9faecf838135bbf95d75ed477  xend-config.sxp

default


Whatever happened somewhere around that 2.6.12.5 patch correctly applied
is wreaking havoc. I also still have APCI errors on my SMP Athlon with
anything after that at well.

Changeset 7396 was the last marginally usable changeset that worked on
both my UP P4 and SMP Athlon.



Regards,
Ted




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Example of broken Network and related issues, Ted Kaczmarek <=