Hello list, I ''m new on the mailing list. I''ve been using Xen for several years, but always with basic configurations and it worked for me, also i have several Debian/Xen servers working on production stages and they work really fine. But now i have some big trouble that i cannot solve, i''ll give you some info to see if someone can give me a hand: Server: Sun x86 OS: Debian Lenny Xen Hypervisor: 3.4.22 I need to configure two Nics eth0 and eth1 eth0 is a public network(Internet) eth1 is a private network (local) Right now i have the following configuration: /etc/network/interfases ### Static Mode ############### # The primary network interface #allow-hotplug eth0 auto eth0 iface eth0 inet static address 10.10.10.145 netmask 255.255.255.240 network 10.10.10.144 broadcast 10.10.10.159 gateway 10.10.10.158 #allow-hotplug eth1 auto eth1 iface eth1 inet static address 192.168.10.10 netmask 255.255.255.0 network 192.168.10.0 broadcast 192.168.10.255 #gateway 192.168.10.1 /etc/xen/xend-config.sxp (network-script network-bridge-wrapper) (vif-script vif-bridge) /etc/xen/scripts/network- bridge-wrapper #!/bin/sh dir=$(dirname "$0") "$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0 "$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1 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) peth0 Link encap:Ethernet HWaddr 00:14:4f:ca:47:b8 inet6 addr: fe80::214:4fff:feca:47b8/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6292 errors:0 dropped:0 overruns:0 frame:0 TX packets:6414 errors:8 dropped:0 overruns:0 carrier:8 collisions:19 txqueuelen:100 RX bytes:580331 (566.7 KiB) TX bytes:3437154 (3.2 MiB) Memory:fbee0000-fbf00000 peth1 Link encap:Ethernet HWaddr 00:14:4f:ca:47:b9 inet6 addr: fe80::214:4fff:feca:47b9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:202 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:12120 (11.8 KiB) TX bytes:846 (846.0 B) Memory:fbe60000-fbe80000 xenbr0 Link encap:Ethernet HWaddr 00:14:4f:ca:47:b8 inet addr:10.10.10.145 Bcast:0.0.0.0 Mask:255.255.255.240 inet6 addr: fe80::214:4fff:feca:47b8/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:6084 errors:0 dropped:0 overruns:0 frame:0 TX packets:6401 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:482561 (471.2 KiB) TX bytes:3436112 (3.2 MiB) xenbr1 Link encap:Ethernet HWaddr 00:14:4f:ca:47:b9 inet addr:192.168.10.10 Bcast:0.0.0.0 Mask:255.255.255.0 inet6 addr: fe80::214:4fff:feca:47b9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:468 (468.0 B) And when i want to run a virtual machine, it halts when it''s booting NET: Registered protocol family 10 lo: Disabled Privacy Extensions IPv6 over IPv4 tunneling driver and it doesn''t continue! Has anyone have any idea of what am I doing wrong? Thank you! -- Martin Aceto _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Dennis Storm - Drecomm BV
2009-Nov-27 17:07 UTC
Re: [Xen-users] Problem creating vm with two nics
Do you have any logging from Xen you could paste to the list? Might help to see where the issues are. Met vriendelijke groet, Dennis Storm - Senior Systeembeheerder Telefoon: (050) 577 58 22 (toestel 9701) Mobiel: 06 4141 0181 E-mail: d.storm@drecomm.nl Drecomm BV "Internet Intelligence" Opensource Internet Oplossingen Vestiging Groningen: Hoendiep 208 9745 ED Groningen T: +31 (0)50 577 58 22 F: +31 (0)50 577 58 23 Vestiging Rotterdam, Walenburgerweg 46, 3033 AD Rotterdam Vestiging Amersfoort, Bergstraat 25, 3811 NE Amersfoort Martin Aceto wrote:> Hello list, > > I ''m new on the mailing list. I''ve been using Xen for several years, but > always with basic configurations and it worked for me, also i have > several Debian/Xen servers working on production stages and they work > really fine. > But now i have some big trouble that i cannot solve, i''ll give you some > info to see if someone can give me a hand: > > Server: Sun x86 > OS: Debian Lenny > Xen Hypervisor: 3.4.22 > > I need to configure two Nics eth0 and eth1 > > eth0 is a public network(Internet) > eth1 is a private network (local) > > Right now i have the following configuration: > > /etc/network/interfases > > ### Static Mode ############### > # The primary network interface > #allow-hotplug eth0 > auto eth0 > iface eth0 inet static > address 10.10.10.145 > netmask 255.255.255.240 > network 10.10.10.144 > broadcast 10.10.10.159 > gateway 10.10.10.158 > > #allow-hotplug eth1 > auto eth1 > iface eth1 inet static > address 192.168.10.10 > netmask 255.255.255.0 > network 192.168.10.0 > broadcast 192.168.10.255 > #gateway 192.168.10.1 > > /etc/xen/xend-config.sxp > > (network-script network-bridge-wrapper) > (vif-script vif-bridge) > > /etc/xen/scripts/network- > bridge-wrapper > > #!/bin/sh > dir=$(dirname "$0") > "$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0 > "$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1 > > > 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) > > peth0 Link encap:Ethernet HWaddr 00:14:4f:ca:47:b8 > inet6 addr: fe80::214:4fff:feca:47b8/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:6292 errors:0 dropped:0 overruns:0 frame:0 > TX packets:6414 errors:8 dropped:0 overruns:0 carrier:8 > collisions:19 txqueuelen:100 > RX bytes:580331 (566.7 KiB) TX bytes:3437154 (3.2 MiB) > Memory:fbee0000-fbf00000 > > peth1 Link encap:Ethernet HWaddr 00:14:4f:ca:47:b9 > inet6 addr: fe80::214:4fff:feca:47b9/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:202 errors:0 dropped:0 overruns:0 frame:0 > TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > RX bytes:12120 (11.8 KiB) TX bytes:846 (846.0 B) > Memory:fbe60000-fbe80000 > > xenbr0 Link encap:Ethernet HWaddr 00:14:4f:ca:47:b8 > inet addr:10.10.10.145 Bcast:0.0.0.0 Mask:255.255.255.240 > inet6 addr: fe80::214:4fff:feca:47b8/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:6084 errors:0 dropped:0 overruns:0 frame:0 > TX packets:6401 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:482561 (471.2 KiB) TX bytes:3436112 (3.2 MiB) > > xenbr1 Link encap:Ethernet HWaddr 00:14:4f:ca:47:b9 > inet addr:192.168.10.10 Bcast:0.0.0.0 Mask:255.255.255.0 > inet6 addr: fe80::214:4fff:feca:47b9/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:468 (468.0 B) > > > And when i want to run a virtual machine, it halts when it''s booting > > NET: Registered protocol family 10 > lo: Disabled Privacy Extensions > IPv6 over IPv4 tunneling driver > > and it doesn''t continue! Has anyone have any idea of what am I doing wrong? > > Thank you! > > -- > Martin Aceto > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, Nov 28, 2009 at 12:04 AM, Martin Aceto <martin.aceto@gmail.com> wrote:> I need to configure two Nics eth0 and eth1> /etc/xen/scripts/network- > bridge-wrapper > > #!/bin/sh > dir=$(dirname "$0") > "$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0 > "$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1> And when i want to run a virtual machine, it halts when it''s booting > > NET: Registered protocol family 10 > lo: Disabled Privacy Extensions > IPv6 over IPv4 tunneling driver > > and it doesn''t continue! Has anyone have any idea of what am I doing wrong?Does it work when using /etc/xen/scripts/network-bridge-wrapper, but with single NIC? Are you using "quiet" on domU kernel command line? If so, you''d get more useful message by removing it. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Fajar I not use "quite" command line, on domU kernel, Probe with one alone Nic /etc/xen/scripts/network-bridge-wrapper #!/bin/sh dir=$(dirname "$0") "$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0 but make the same think, not boot. My config vm file is, see something wrong? # # Kernel + memory size # #kernel = ''/boot/vmlinuz-2.6-xenU'' kernel = ''/boot/vmlinuz-2.6.18.8-xen'' ramdisk = ''/boot/initrd.img-2.6.18.8-xen'' memory = ''1024'' # # CPUs # vcpus = 2 cpus = "0,1" # # Disk device(s). # root = ''/dev/sda1 ro'' disk = [ ''phy:/dev/vg0/vm4.domain.com-disk,sda1,w'', ''phy:/dev/vg0/vm4.domain.com-swap,sda2,w'' ] # # Hostname # name = ''vm4'' hostname = ''vm4.domain.com'' # # Networking # vif = [ ''ip=10.10.10.150,mac=00:16:3e:11:c3:7c,bridge=xenbr0'', ''ip=192.168.10.15,mac=00:16:3e:24:87:ae,bridge=xenbr1'' ] # # Behaviour # on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' In the log I found these Warnings, perhaps may be the problem? [2009-11-30 10:46:43 3862] WARNING (XendAPI:701) API call: session.get_all_records not found [2009-11-30 10:46:43 3862] WARNING (XendAPI:701) API call: event.get_record not found [2009-11-30 10:46:43 3862] WARNING (XendAPI:701) API call: event.get_all not found [2009-11-30 10:46:43 3862] WARNING (XendAPI:701) API call: VIF.get_network not found [2009-11-30 10:46:43 3862] WARNING (XendAPI:701) API call: VIF.set_device not found [2009-11-30 10:46:43 3862] WARNING (XendAPI:701) API call: VIF.set_MAC not found [2009-11-30 10:46:43 3862] WARNING (XendAPI:701) API call: VIF.set_MTU not found [2009-11-30 10:46:43 3862] WARNING (XendAPI:701) API call: debug.get_all not found and when I create the vm this [2009-11-30 11:32:46 3879] DEBUG (XendDomainInfo:92) XendDomainInfo.create([''vm'', [''name'', ''vm4.backing''], [''memory'', ''1024''], [''on_poweroff'', ''destroy''], [''on_reboot'', ''restart''], [''on_crash'', ''restart''], [''vcpus'', 2], [''on_xend_start'', ''ignore''], [ ''on_xend_stop'', ''ignore''], [''cpus'', ''0,1''], [''image'', [''linux'', [''kernel'', ''/boot/vmlinuz-2.6.18.8-xen''], [''ramdisk'', ''/boot/initrd.img-2.6.18.8-xen''], [''root'', ''/dev/sda1 ro''], [''videoram'', 4]]], [''s3_integrity'', 1], [''device'', [''vbd'', [''uname'', ''ph y:/dev/vg0/vm4.backing-online.com.ar-disk''], [''dev'', ''sda1''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''phy:/dev/vg0/vm4.backing-online.com.ar-swap''], [''dev'', ''sda2''], [''mode'', ''w'']]], [''device'', [''vif'', [''ip'', ''10.10.10.150''], [''mac'', ''00:16: 3e:11:c3:7c''], [''bridge'', ''xenbr0'']]], [''device'', [''vif'', [''ip'', ''192.168.10.15''], [''mac'', ''00:16:3e:24:87:ae''], [''bridge'', ''xenbr1'']]]]) [2009-11-30 11:32:46 3879] DEBUG (XendDomainInfo:2304) XendDomainInfo.constructDomain [2009-11-30 11:32:46 3879] DEBUG (balloon:166) Balloon: 3936832 KiB free; need 4096; done. [2009-11-30 11:32:46 3879] DEBUG (XendDomain:453) Adding Domain: 1 [2009-11-30 11:32:46 3879] DEBUG (XendDomainInfo:2505) XendDomainInfo.initDomain: 1 256 [2009-11-30 11:32:46 3879] DEBUG (XendDomainInfo:2529) _initDomain:shadow_memory=0x0, memory_static_max=0x40000000, memory_static_min=0x0. [2009-11-30 11:32:46 3879] DEBUG (balloon:166) Balloon: 3936832 KiB free; need 1052672; done. [2009-11-30 11:32:46 3879] INFO (image:173) buildDomain os=linux dom=1 vcpus=2 [2009-11-30 11:32:46 3879] DEBUG (image:663) domid = 1 [2009-11-30 11:32:46 3879] DEBUG (image:664) memsize = 1024 [2009-11-30 11:32:46 3879] DEBUG (image:665) image /boot/vmlinuz-2.6.18.8-xen [2009-11-30 11:32:46 3879] DEBUG (image:666) store_evtchn = 1 [2009-11-30 11:32:46 3879] DEBUG (image:667) console_evtchn = 2 [2009-11-30 11:32:46 3879] DEBUG (image:668) cmdline = root=/dev/sda1 ro [2009-11-30 11:32:46 3879] DEBUG (image:669) ramdisk /boot/initrd.img-2.6.18.8-xen [2009-11-30 11:32:46 3879] DEBUG (image:670) vcpus = 2 [2009-11-30 11:32:46 3879] DEBUG (image:671) features [2009-11-30 11:32:46 3879] DEBUG (image:672) flags = 0 [2009-11-30 11:32:46 3879] INFO (XendDomainInfo:2168) createDevice: vbd : {''uuid'': ''57d9e9ed-cdba-64c4-0899-4368a9bf4e8f'', ''bootable'': 1, ''driver'': ''paravirtualised'', ''dev'': ''sda1'', ''uname'': ''phy:/dev/vg0/vm4.backing-online.com.ar-disk'', ''mode'': ''w''} [2009-11-30 11:32:46 3879] DEBUG (DevController:95) DevController: writing {''virtual-device'': ''2049'', ''device-type'': ''disk'', ''protocol'': ''x86_32-abi'', ''backend-id'': ''0'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/1/2049''} to /local/domain/ 1/device/vbd/2049. [2009-11-30 11:32:46 3879] DEBUG (DevController:97) DevController: writing {''domain'': ''vm4.backing'', ''frontend'': ''/local/domain/1/device/vbd/2049'', ''uuid'': ''57d9e9ed-cdba-64c4-0899-4368a9bf4e8f'', ''bootable'': ''1'', ''dev'': ''sda1'', ''state'': ''1'', ''params'' : ''/dev/vg0/vm4.backing-online.com.ar-disk'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''1'', ''type'': ''phy''} to /local/domain/0/backend/vbd/1/2049. [2009-11-30 11:32:46 3879] INFO (XendDomainInfo:2168) createDevice: vbd : {''uuid'': ''2acd2a81-aecd-979d-2393-e970445cf4aa'', ''bootable'': 0, ''driver'': ''paravirtualised'', ''dev'': ''sda2'', ''uname'': ''phy:/dev/vg0/vm4.backing-online.com.ar-swap'', ''mode'': ''w''} [2009-11-30 11:32:46 3879] DEBUG (DevController:95) DevController: writing {''virtual-device'': ''2050'', ''device-type'': ''disk'', ''protocol'': ''x86_32-abi'', ''backend-id'': ''0'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/1/2050''} to /local/domain/ 1/device/vbd/2050. [2009-11-30 11:32:46 3879] DEBUG (DevController:97) DevController: writing {''domain'': ''vm4.backing'', ''frontend'': ''/local/domain/1/device/vbd/2050'', ''uuid'': ''2acd2a81-aecd-979d-2393-e970445cf4aa'', ''bootable'': ''0'', ''dev'': ''sda2'', ''state'': ''1'', ''params'' : ''/dev/vg0/vm4.backing-online.com.ar-swap'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''1'', ''type'': ''phy''} to /local/domain/0/backend/vbd/1/2050. [2009-11-30 11:32:46 3879] INFO (XendDomainInfo:2168) createDevice: vif : {''ip'': ''10.10.10.150'', ''mac'': ''00:16:3e:11:c3:7c'', ''uuid'': ''81813407-d280-383a-2966-bb7797e67470'', ''bridge'': ''xenbr0''} [2009-11-30 11:32:46 3879] DEBUG (DevController:95) DevController: writing {''mac'': ''00:16:3e:11:c3:7c'', ''handle'': ''0'', ''protocol'': ''x86_32-abi'', ''backend-id'': ''0'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vif/1/0''} to /local/domain/1/device/ vif/0. [2009-11-30 11:32:46 3879] DEBUG (DevController:97) DevController: writing {''bridge'': ''xenbr0'', ''domain'': ''vm4.backing'', ''handle'': ''0'', ''uuid'': ''81813407-d280-383a-2966-bb7797e67470'', ''script'': ''/etc/xen/scripts/vif-bridge'', ''ip'': ''10.10.10.150'', '' mac'': ''00:16:3e:11:c3:7c'', ''frontend-id'': ''1'', ''state'': ''1'', ''online'': ''1'', ''frontend'': ''/local/domain/1/device/vif/0''} to /local/domain/0/backend/vif/1/0. [2009-11-30 11:32:46 3879] INFO (XendDomainInfo:2168) createDevice: vif : {''ip'': ''192.168.10.15'', ''mac'': ''00:16:3e:24:87:ae'', ''uuid'': ''938300e9-6966-78d3-f0cd-9db92a99a605'', ''bridge'': ''xenbr1''} [2009-11-30 11:32:46 3879] DEBUG (DevController:95) DevController: writing {''mac'': ''00:16:3e:24:87:ae'', ''handle'': ''1'', ''protocol'': ''x86_32-abi'', ''backend-id'': ''0'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vif/1/1''} to /local/domain/1/device/ vif/1. [2009-11-30 11:32:46 3879] DEBUG (DevController:97) DevController: writing {''bridge'': ''xenbr1'', ''domain'': ''vm4.backing'', ''handle'': ''1'', ''uuid'': ''938300e9-6966-78d3-f0cd-9db92a99a605'', ''script'': ''/etc/xen/scripts/vif-bridge'', ''ip'': ''192.168.10.15'', ''m ac'': ''00:16:3e:24:87:ae'', ''frontend-id'': ''1'', ''state'': ''1'', ''online'': ''1'', ''frontend'': ''/local/domain/1/device/vif/1''} to /local/domain/0/backend/vif/1/1. [2009-11-30 11:32:46 3879] DEBUG (XendDomainInfo:3060) Storing VM details: {''on_xend_stop'': ''ignore'', ''shadow_memory'': ''0'', ''uuid'': ''0b691bb6-389d-28ed-fc74-08f5aaa86917'', ''on_reboot'': ''restart'', ''start_time'': ''1259587966.89'', ''on_poweroff'': ''destroy '', ''bootloader_args'': '''', ''on_xend_start'': ''ignore'', ''on_crash'': ''restart'', ''xend/restart_count'': ''0'', ''vcpus'': ''2'', ''vcpu_avail'': ''3'', ''bootloader'': '''', ''image'': "(linux (kernel /boot/vmlinuz-2.6.18.8-xen) (ramdisk /boot/initrd.img-2.6.18.8-xen) (ar gs ''root=/dev/sda1 ro '') (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_O FFSET 3221225472) (GUEST_OS linux) (HYPERCALL_PAGE 3222278144) (LOADER generic) (SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY 3222274048) (XEN_VERSION xen-3.0)))", ''name'': ''vm4.backing''} [2009-11-30 11:32:46 3879] DEBUG (XendDomainInfo:1622) Storing domain details: {''console/ring-ref'': ''1298512'', ''image/entry'': ''3222274048'', ''console/port'': ''2'', ''store/ring-ref'': ''1298513'', ''image/loader'': ''generic'', ''vm'': ''/vm/0b691bb6-389d-28ed-fc7 4-08f5aaa86917'', ''control/platform-feature-multiprocessor-suspend'': ''1'', ''image/hv-start-low'': ''4118806528'', ''image/guest-os'': ''linux'', ''cpu/1/availability'': ''online'', ''image/features/writable-descriptor-tables'': ''1'', ''image/virt-base'': ''3221225472'', ''memory/target'': ''1048576'', ''image/guest-version'': ''2.6'', ''image/features/supervisor-mode-kernel'': ''1'', ''image/pae-mode'': ''yes'', ''console/limit'': ''1048576'', ''image/paddr-offset'': ''3221225472'', ''image/hypercall-page'': ''3222278144'', ''image/suspend-can cel'': ''1'', ''cpu/0/availability'': ''online'', ''image/features/pae-pgdir-above-4gb'': ''1'', ''image/features/writable-page-tables'': ''1'', ''console/type'': ''xenconsoled'', ''image/features/auto-translated-physmap'': ''1'', ''name'': ''vm4.backing'', ''domid'': ''1'', ''imag e/xen-version'': ''xen-3.0'', ''store/port'': ''1''} [2009-11-30 11:32:46 3879] DEBUG (DevController:95) DevController: writing {''protocol'': ''x86_32-abi'', ''state'': ''1'', ''backend-id'': ''0'', ''backend'': ''/local/domain/0/backend/console/1/0''} to /local/domain/1/device/console/0. [2009-11-30 11:32:46 3879] DEBUG (DevController:97) DevController: writing {''domain'': ''vm4.backing'', ''frontend'': ''/local/domain/1/device/console/0'', ''uuid'': ''70396127-1888-757d-fb42-f439bd5b9949'', ''frontend-id'': ''1'', ''state'': ''1'', ''location'': ''2'', ''o nline'': ''1'', ''protocol'': ''vt100''} to /local/domain/0/backend/console/1/0. [2009-11-30 11:32:46 3879] DEBUG (XendDomainInfo:1709) XendDomainInfo.handleShutdownWatch [2009-11-30 11:32:46 3879] DEBUG (DevController:139) Waiting for devices vif. [2009-11-30 11:32:46 3879] DEBUG (DevController:144) Waiting for 0. [2009-11-30 11:32:46 3879] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status. [2009-11-30 11:32:47 3879] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status. [2009-11-30 11:32:47 3879] DEBUG (DevController:643) hotplugStatusCallback 1. but I see nothing wrong... Any idea ? Thank You -- Martin On Sat, Nov 28, 2009 at 3:31 AM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Sat, Nov 28, 2009 at 12:04 AM, Martin Aceto <martin.aceto@gmail.com> > wrote: > > > I need to configure two Nics eth0 and eth1 > > > /etc/xen/scripts/network- > > bridge-wrapper > > > > #!/bin/sh > > dir=$(dirname "$0") > > "$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0 > > "$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1 > > > > And when i want to run a virtual machine, it halts when it''s booting > > > > NET: Registered protocol family 10 > > lo: Disabled Privacy Extensions > > IPv6 over IPv4 tunneling driver > > > > and it doesn''t continue! Has anyone have any idea of what am I doing > wrong? > > Does it work when using /etc/xen/scripts/network-bridge-wrapper, but > with single NIC? > Are you using "quiet" on domU kernel command line? If so, you''d get > more useful message by removing it. > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Nov 30, 2009 at 8:53 PM, Martin Aceto <maceto@backing-online.com> wrote:> Probe with one alone Nic > > /etc/xen/scripts/network-bridge-wrapper > > #!/bin/sh > dir=$(dirname "$0") > "$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0 > > but make the same think, not boot.If it didn''t work with one NIC and network-bridge-wrapper, then most likely the problem is in the wrapper. Perhaps some things have changed from previous versions. You might have better luck setting up bridges manually or using OS scripts (like /etc/sysconfig/network-scripts/ifcfg-* on RHEL/Centos) and comment out xen''s network-script on xend-config.sxp> vif = [ ''ip=10.10.10.150,mac=00:16:3e:11:c3:7c,bridge=xenbr0'', > ''ip=192.168.10.15,mac=00:16:3e:24:87:ae,bridge=xenbr1'' ]Errr... you DID remove the vif entry referencing xenbr1 while testing it with only one bridge, right? Another thing to check, make sure udevd is running on dom0. Sometimes it''s dead for unknown reasons. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users