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-users

[Xen-users] Networking fails for all but one domU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Networking fails for all but one domU
From: Paul Waldo <pwaldo@xxxxxxxxxxxxx>
Date: Mon, 12 Nov 2007 08:45:56 -0500
Delivery-date: Mon, 12 Nov 2007 05:46:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
Hi all,

I've been doing some experimenting with Xen and have been happy with the results for my first domU (called gutsy); so much so I have decided to use Xen on my 4X core Xeon system. Unfortunately, I can't seem to get networking on any other domU (called mailtest). ANy help you could provide would be greatly appreciated!

Here is my relevant info:

GRUB menu.lst:
--------------------------------------------
[...]
title           Xen 3.1 / Ubuntu 7.10, kernel 2.6.22-14-xen
root            (hd0,0)
kernel          /xen-3.1.gz dom0_mem=262144
module /vmlinuz-2.6.22-14-xen root=/dev/mapper/hydra-root ro xencons=xvc console=xvc0 console=tty1
module          /initrd.img-2.6.22-14-xen
quiet
[...]

DOM0 NETWORK CONFIG
--------------------------------
root@hydra:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:11:43:0F:13:AC
         inet addr:10.0.0.7  Bcast:10.0.0.255  Mask:255.255.255.0
         inet6 addr: fe80::211:43ff:fe0f:13ac/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:166 errors:0 dropped:0 overruns:0 frame:0
         TX packets:131 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:18089 (17.6 KB)  TX bytes:16199 (15.8 KB)

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

peth0     Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
         UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
         RX packets:239 errors:0 dropped:0 overruns:0 frame:0
         TX packets:202 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:87456 (85.4 KB)  TX bytes:24023 (23.4 KB)
         Base address:0xdcc0 Memory:dfee0000-dff00000

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
         UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
         RX packets:131 errors:0 dropped:0 overruns:0 frame:0
         TX packets:167 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:16199 (15.8 KB)  TX bytes:18159 (17.7 KB)

vif1.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
         UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:8 errors:0 dropped:4 overruns:0 carrier:0
         collisions:0 txqueuelen:32
         RX bytes:0 (0.0 b)  TX bytes:463 (463.0 b)

xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
         UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
         RX packets:12 errors:0 dropped:0 overruns:0 frame:0
         TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:552 (552.0 b)  TX bytes:70 (70.0 b)

WORKING DOMU CONFIG
---------------------------------------------------------

#
# Configuration file for the Xen instance gutsy, created
# by xen-tools 3.5 on Mon Nov  5 13:39:24 2007.
#

#
#  Kernel + memory size
#
kernel      = '/boot/vmlinuz-2.6.22-14-xen'
ramdisk     = '/boot/initrd.img-2.6.22-14-xen'
memory      = '1024'
vcpus       = '4'
extra       = 'xencons=xvc'
pci         = ['05:00.0']

#
#  Disk device(s).
#
root        = '/dev/sda1 ro'
disk = [ 'file:/root/domains/gutsy/disk.img,sda1,w', 'file:/root/domains/gutsy/swap.img,sda2,w' ]

#
#  Hostname
#
name        = 'gutsy'

#
#  Networking
#
dhcp        = 'dhcp'
vif         = [ '' ]

#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'


BROKEN DOMU CONFIG
-------------------------------------------------
#
# Configuration file for the Xen instance mailtest, created
# by xen-tools 3.5 on Mon Nov 12 07:55:55 2007.
#

#
#  Kernel + memory size
#
kernel      = '/boot/vmlinuz-2.6.22-14-xen'
ramdisk     = '/boot/initrd.img-2.6.22-14-xen'
memory      = '256'
#extra       = 'xencons=xvc'
extra       = 'xencons=tty'

#
#  Disk device(s).
#
root        = '/dev/sda1 ro'
disk = [ 'file:/root/domains/mailtest/disk.img,sda1,w', 'file:/root/domains/mailtest/swap.img,sda2,w' ]

#
#  Hostname
#
name        = 'mailtest'

#
#  Networking
#
dhcp        = 'dhcp'
vif         = [ '' ]

#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'


ATTEMPT TO BRING UP NETWORK MANUALLY
--------------------------------------------------------
root@mailtest:~# ifconfig
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: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)

root@mailtest:~# ifup eth0
eth0: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.eth0.pid with pid 1
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth0.
root@mailtest:~# ifconfig -a
eth4      Link encap:Ethernet  HWaddr 00:16:3E:02:5B:14
         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)

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: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)

root@mailtest:~# ifup eth4
Ignoring unknown interface eth4=eth4.

MAILTEST DMESG OUTPUT
--------------------------------------------------------------
root@mailtest:~# dmesg
[ 0.000000] Linux version 2.6.22-14-xen (buildd@crested) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Sun Oct 14 23:20:20 GMT 2007 (Unofficial) [ 0.000000] Command line: root=/dev/sda1 ro ip=:1.2.3.4::::eth0:dhcp xencons=tty
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  Xen: 0000000000000000 - 0000000010800000 (usable)
[    0.000000] Entering add_active_range(0, 0, 67584) 0 entries of 256 used
[    0.000000] end_pfn_map = 67584
[  619.126988] Entering add_active_range(0, 0, 67584) 0 entries of 256 used
[  619.129287] Zone PFN ranges:
[  619.129292]   DMA             0 ->    67584
[  619.129294]   DMA32       67584 ->    67584
[  619.129296]   Normal      67584 ->    67584
[  619.129299] early_node_map[1] active PFN ranges
[  619.129301]     0:        0 ->    67584
[  619.129307] On node 0 totalpages: 67584
[  619.133403]   DMA zone: 924 pages used for memmap
[  619.133410]   DMA zone: 0 pages reserved
[  619.133414]   DMA zone: 66660 pages, LIFO batch:15
[  619.138134]   DMA32 zone: 0 pages used for memmap
[  619.138146]   Normal zone: 0 pages used for memmap
[  619.138171] No mptable found.
[  619.139236] PERCPU: Allocating 25096 bytes of per cpu data
[  619.139266] Built 1 zonelists.  Total pages: 66660
[ 619.139271] Kernel command line: root=/dev/sda1 ro ip=:1.2.3.4::::eth0:dhcp xencons=tty
[  619.139987] Initializing CPU#0
[  619.140311] PID hash table entries: 2048 (order: 11, 16384 bytes)
[  619.140361] Xen reported: 2793.180 MHz processor.
[  619.140396] Console: colour dummy device 80x25
[ 619.140755] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) [ 619.141069] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[  619.141159] Software IO TLB disabled
[ 619.143983] Memory: 230444k/270336k available (2343k kernel code, 31348k reserved, 1193k data, 208k init) [ 619.144056] SLUB: Genslabs=22, HWalign=64, Order=0-1, MinObjects=4, CPUs=1, Nodes=1 [ 619.208403] Calibrating delay using timer specific routine.. 5596.03 BogoMIPS (lpj=11192077)
[  619.208451] Security Framework v1.0.0 initialized
[  619.208466] SELinux:  Disabled at boot.
[  619.208497] Mount-cache hash table entries: 256
[  619.208735] CPU: Trace cache: 12K uops, L1 D cache: 16K
[  619.208753] CPU: L2 cache: 1024K
[  619.208772] CPU: Physical Processor ID: 3
[  619.208784] CPU: Processor Core ID: 0
[  619.208799] SMP alternatives: switching to UP code
[  619.209426] Freeing SMP alternatives: 23k freed
[  619.209662] Early unpacking initramfs... done
[  619.231924] Brought up 1 CPUs
[  619.232577] NET: Registered protocol family 16
[  619.233905] Brought up 1 CPUs
[  619.233925] PCI: Fatal: No config space access function found
[  619.233931] PCI: setting up Xen PCI frontend stub
[  619.234583] ACPI: Interpreter disabled.
[  619.234593] Linux Plug and Play Support v0.97 (c) Adam Belay
[  619.234605] pnp: PnP ACPI: disabled
[  619.234999] xen_mem: Initialising balloon driver.
[  619.237090] Setting mem allocation to 262144 kiB
[  619.237358] PCI: System does not support PCI
[  619.237369] PCI: System does not support PCI
[  619.237434] NET: Registered protocol family 8
[  619.237443] NET: Registered protocol family 20
[  619.238005] NET: Registered protocol family 2
[  619.241015] Time: xen clocksource has been installed.
[ 619.265051] IP route cache hash table entries: 4096 (order: 3, 32768 bytes) [ 619.265125] TCP established hash table entries: 16384 (order: 6, 393216 bytes)
[  619.265304] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[  619.265460] TCP: Hash tables configured (established 16384 bind 16384)
[  619.265471] TCP reno registered
[  619.277154] checking if image is initramfs... it is
[  619.300762] Freeing initrd memory: 21024k freed
[  619.314832] audit: initializing netlink socket (disabled)
[  619.314877] audit(1194875007.313:1): initialized
[  619.317328] VFS: Disk quotas dquot_6.5.1
[  619.317429] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[  619.317597] io scheduler noop registered
[  619.317605] io scheduler anticipatory registered
[  619.317612] io scheduler deadline registered
[  619.317780] io scheduler cfq registered (default)
[  619.342642] rtc: IRQ 8 is not free.
[  619.342792] Linux agpgart interface v0.102 (c) Dave Jones
[ 619.343520] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize [ 619.343807] input: Macintosh mouse button emulation as /class/input/input0
[  619.348255] Xen virtual console successfully installed as tty1
[  619.348404] Event-channel device installed.
[  619.372234] netfront: Initialising virtual ethernet driver.
[  619.373348] PNP: No PS/2 controller found. Probing ports directly.
[  619.374202] i8042.c: No controller found.
[  619.374449] mice: PS/2 mouse device common for all mice
[  619.374657] TCP cubic registered
[  619.374693] NET: Registered protocol family 1
[  619.375151] xen-vbd: registered block device major 8
[  619.375174] blkfront: sda1: barriers enabled
[  619.376323] blkfront: sda2: barriers enabled
[  619.381900] netfront: device eth0 has copying receive path.
[  619.473025] XENBUS: Device with no driver: device/console/0
[ 619.473039] /build/buildd/linux-source-2.6.22-2.6.22/debian/build/custom-source-xen/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[  619.473057] Freeing unused kernel memory: 208k freed
[ 619.791389] AppArmor: AppArmor initialized<5>audit(1194875007.789:2): type=1505 info="AppArmor initialized" pid=930
[  619.804207] fuse init (API version 7.8)
[ 619.814653] Failure registering capabilities with primary security module.
[  619.869604] thermal: Unknown symbol acpi_processor_set_thermal_limit
[ 619.889060] device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@xxxxxxxxxx
[  620.461021] EXT3-fs: INFO: recovery required on readonly filesystem.
[  620.461041] EXT3-fs: write access will be enabled during recovery.
[  621.019360] kjournald starting.  Commit interval 5 seconds
[  621.019402] EXT3-fs: recovery complete.
[  621.040947] EXT3-fs: mounted filesystem with ordered data mode.
[ 622.932684] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[  628.901998] EXT3 FS on sda1, internal journal
[  630.964324] NET: Registered protocol family 17
[  632.712705] NET: Registered protocol family 10
[  632.712806] lo: Disabled Privacy Extensions


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

<Prev in Thread] Current Thread [Next in Thread>