Donglai Zhang
2009-Jun-21 05:57 UTC
[Xen-users] Can''t get guest domain network working and what doe eth0:off mean
Hi, I can''t get the domU guest network working. I checked /var/log/xen/xend.log and found: [2009-06-19 12:52:30 4213] DEBUG (XendDomainInfo:3051) Storing VM details: {''on_xend_stop'': ''ignore'', ''shadow_memory'': ''0'', ''uuid'': ''1b5c4d5a-adfa-9315-6e49-ad6f6271027a'', ''on_reboot'': ''restart'', ''start_time'': ''1245381750.6'', ''on_poweroff'': ''destroy'', ''bootloader_args'': '''', ''on_xend_start'': ''ignore'', ''on_crash'': ''restart'', ''xend/restart_count'': ''0'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'', ''bootloader'': '''', ''image'': "(linux (kernel /boot/vmlinuz-2.6.18.8-xen-U) (ramdisk /boot/initrd-2.6.18.8-xen.img) (args ''root=/dev/sda8 ro ip=192.168.1.2:127 .0.255.255:192.168.1.1:255.255.255.0:domain-1.xeno:eth0:off 4 VMID=1'') (videoram 4) (notes (HV_START_LOW 4118806528) (FEATURES ''writable_page_tables|writable_descriptor_tables|auto_translated_physmap|pae_pgdir_above_4gb|supervisor_mode_kernel'') (VIRT_BASE 3221225472) (GUEST_VERSION 2.6) (PADDR_OFFSET 3221225472) (GUEST_OS linux) (HYPERCALL_PAGE 3222278144) (LOADER generic) (SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY 3222274048) (XEN_VERSION xen-3.0)))", ''name'': ''VM1''} Thre is eth0:off , would you please tell me what does this mean? Cheers, Donglai On Thu, Jun 18, 2009 at 5:36 PM, Donglai Zhang <dlzhangster@gmail.com>wrote:> Hi, > > Yes, I also tested with centos it has the same problem, it turns out that > the two interfaces is a problem with > my configuration file, I have changed that from: > vif = [ ''mac=00:16:3e:31:48:5f'', ''bridge=eth1'' ] > > To: > > vif = [ ''mac=00:16:3e:31:48:5f, bridge=eth0'' ] > and now it only show one interface in guest domain. > > > By copying the kernel and image file from Ubuntu to the dom0 and use them > to create a new guest domain got this message: > # xm create xm03dlzhang > Using config file "./xm03dlzhang". > Error: (2, ''Invalid kernel'', ''elf_xen_note_check: ERROR: Will only load > images built for the generic loader or Linux images''). > Any idea? > > > Thanks, > > Donglai > > > > Looks to me like this configuration file is trying to boot a Fedora Xen >> DomU kernel on an Ubuntu image? If so that would explain why you are >> having to copy over the kernel module files. >> >> I would suggest that you either copy the Ubuntu DomU kernel (and >> possibly the initrd) to the Dom0 file system somewhere and specify that >> in the kernel= line, or specifiy a >> >> > >> bootloader="/usr/bin/pygrub" >> >> line instead of the kernel= line so that Ubuntu Xen DomU kernel is >> loaded from the guest file system. The later is the better option in my >> opinion. >> >> It is odd that the DomU is showing 2 interfaces when only one is >> defined, but lets make sure that the correct kernel/modules are loaded >> first. >> >> Regards >> >> Mike >> >> > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users