[xenpreview-dev] xen guest up, network down.

John Summerfield debian at herakles.homelinux.org
Sat Oct 28 20:18:30 MDT 2006


My test machine is a Dell GX270:
processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
stepping        : 9
cpu MHz         : 2992.776
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe up cid xtpr
bogomips        : 7486.30

Note that's the second hyperthreading "CPU," the first is boringly similar.

It has this PCI hardware:
[root at rosella ~]# lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM 
Controller/Host-Hub Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated 
Graphics Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB 
UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB 
UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB 
UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB 
UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 
EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC 
Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE 
Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller 
(rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus 
Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER 
(ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:0c.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet 
Controller (rev 02)
[root at rosella ~]#

I have created this system:
memory = 128
name = "SUSE101"
cpus = ""         # leave to Xen to pick
vcpus = 1
vif = [ 'mac=00:16:3e:00:00:11, bridge=xenbr0, vifname=eth0' ]
disk = [ 'phy:hda5,hda5,w' ]
kernel = "/var/lib/xen/boot/vmlinuz-xenpae"
ramdisk = "/var/lib/xen/boot/initrd-xenpae"
dhcp="dhcp"
hostname='syse101'
root = "/dev/hda5"
extra = "vga=6 3"
[root at rosella ~]#

by installing SUSE10.1 outside of xen.

SUSE10.1 boots fine under RHEL5 Server Beta 1(well, sort of, there are 
some errors, but those are not of immediate concern), but has no network 
connectivity.

Investigation shows that when the guest boots, the host network goes 
down, and shutting down the guest doesn't get the network back up. Whats 
needed is to reload the driver!! which is e1000.

I have a less-working system on SLES:-(

on SUSE, results are as on RHEL5 beta, but I have noted that reloading 
the network driver restores the host (but not guest) network. However, 
the host network goes down again when the guest goes down.

This is the config on SUSE:

opoke:~ # egrep '^[^#]' /etc/xen/thefirst
memory = 128
name = "SLES10"
cpus = ""         # leave to Xen to pick
vcpus = 1
vif = [ 'mac=00:16:3e:00:00:11, bridge=xenbr0, vifname=eth0' ]
disk = [ 'phy:hda1,hda1,w' ]
bootloader = "/usr/lib/xen/boot/domUloader.py"
bootentry = "hda1:/boot/vmlinuz-xen,/boot/initrd-xen"
netmask="255.255.255.0"
address='192.168.9.40'
gateway='192.168.9.4'
hostname='sles10'
root = "/dev/hda1"
extra = "vga=6 3"
Mopoke:~ #



-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/

Please do not reply off-list


More information about the xenpreview-dev mailing list