[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] broken network-support for netBSD-domUs?


  • To: "Christopher R. K." <Feuerball_@xxxxxxx>
  • From: Dustin Marquess <dmarquess@xxxxxxxxx>
  • Date: Thu, 5 Aug 2010 09:47:16 -0500
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 05 Aug 2010 07:48:29 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=kNZXoH/FJsNHGMcUe0L2puWYMfJVm5jZ1HUo3BFJqJlWgmhtnEte9RMBwxarfYYyf0 ZGP3fDdPdWHpH46wg1UZXNkK1UmQR3EYA4m1TDz+rm3XmBSUWgVfYUjRVMKzNd2soF3z gMuBq51ndF5/VoM+ao2R7tl39Ug/m4ZWs05xY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

It could be completely unrelated, but it's known that NetBSD domUs are
broken under XenServer.  This is due to NetBSD using 'flipping' mode
in its network driver instead of 'copying' mode:

http://mail-index.netbsd.org/port-xen/2010/06/15/msg006105.html

-Dustin

On Wed, Aug 4, 2010 at 5:29 AM, Christopher R. K. <Feuerball_@xxxxxxx> wrote:
> Hello.
>
> I recently tried installing NetBSD-5 on xen-4.0.1-rc5, which resulted in no 
> network (xennet0 can't get IPs per dhclient and has no connectivity if set by 
> hand).
>
> Tried it with netBSD-5.1-RC3-1 i386 PAE & amd64, netBSD-5.0 and even 4, all 
> with the same result.
>
> On a older xen version (3.3.1) networking works fine, so I assume it's a xen 
> bug, and not a netBSD-kernel one.
>
> One server has a pv_ops kernel for Dom0, the other not.
>
> A debian test-VM can get a IP just fine per DHCP and connect to the internet.
>
> Network-type is briding.
>
>
> not working:
> host          : debnas
> release        Â: 2.6.32.16-kchris-xen
> version        Â: #1 SMP Tue Aug 3 08:08:11 CEST 2010
> machine        Â: x86_64
> nr_cpus        Â: 4
> nr_nodes        : 1
> cores_per_socket    : 2
> threads_per_core    : 2
> cpu_mhz        Â: 1666
> hw_caps        Â: 
> bfebfbff:20100800:00000000:00000940:0040e31d:00000000:00000001:00000000
> virt_caps       Â:
> total_memory      : 4079
> free_memory      Â: 581
> node_to_cpu      Â: node0:0-3
> node_to_memory     : node0:581
> node_to_dma32_mem   Â: node0:581
> max_node_id      Â: 0
> xen_major       Â: 4
> xen_minor       Â: 0
> xen_extra       Â: .1-rc5
> xen_caps        : xen-3.0-x86_64 xen-3.0-x86_32p
> xen_scheduler     Â: credit
> xen_pagesize      : 4096
> platform_params    Â: virt_start=0xffff800000000000
> xen_changeset     Â: Mon Aug 02 11:18:41 2010 +0100 21296:e7bd619f8aaa
> xen_commandline    Â:
> cc_compiler      Â: gcc version 4.3.2 (Debian 4.3.2-1.1)
> cc_compile_by     Â: root
> cc_compile_domain   Â:
> cc_compile_date    Â: Tue Aug Â3 09:11:28 CEST 2010
> xend_config_format   : 4
>
>
> working:
> host          : miami
> release        Â: 2.6.18-92.1.10.el5xen
> version        Â: #1 SMP Tue Aug 5 08:11:18 EDT 2008
> machine        Â: x86_64
> nr_cpus        Â: 4
> nr_nodes        : 1
> cores_per_socket    : 2
> threads_per_core    : 1
> cpu_mhz        Â: 2000
> hw_caps        Â: 
> 178bf3ff:ebd3fbff:00000000:00000010:00002001:00000000:0000001f:00000000
> virt_caps       Â: hvm
> total_memory      : 16383
> free_memory      Â: 1882
> node_to_cpu      Â: node0:0-3
> node_to_memory     : node0:1882
> xen_major       Â: 3
> xen_minor       Â: 3
> xen_extra       Â: .1
> xen_caps        : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 
> hvm-3.0-x86_32p hvm-3.0-x86_64
> xen_scheduler     Â: credit
> xen_pagesize      : 4096
> platform_params    Â: virt_start=0xffff800000000000
> xen_changeset     Â: unavailable
> cc_compiler      Â: gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
> cc_compile_by     Â: root
> cc_compile_domain   Â: gitco.tld
> cc_compile_date    Â: Tue Jan 20 23:00:48 CET 2009
> xend_config_format   : 4
>
> Installing from CD ISO works just fine, the resulting OS still isn't able to 
> connect to the network with any normal netBSD-provided xen domU kernel.
>
> # uname -a
> NetBSD Â5.1_RC3 NetBSD 5.1_RC3 (XEN3PAE_DOMU) #0: Sun Jun 13 03:18:12 UTC 
> 2010 Â
> builds@xxxxxxxxxxxxx:/home/builds/ab/netbsd-5-1-RC3/i386/201006130031Z-obj/home/builds/ab/netbsd-5-1-RC3/src/sys/arch/i386/compile/XEN3PAE_DOMU
>  i386
> # dhclient xennet0
> Internet Systems Consortium DHCP Client V3.0.3
> Copyright 2004-2005 Internet Systems Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/products/DHCP
>
> Listening on BPF/xennet0/00:16:3e:77:91:30
> Sending on  BPF/xennet0/00:16:3e:77:91:30
> Sending on  Socket/fallback
> DHCPDISCOVER on xennet0 to 255.255.255.255 port 67 interval 4
> DHCPDISCOVER on xennet0 to 255.255.255.255 port 67 interval 5
> DHCPDISCOVER on xennet0 to 255.255.255.255 port 67 interval 11
> DHCPDISCOVER on xennet0 to 255.255.255.255 port 67 interval 14
> DHCPDISCOVER on xennet0 to 255.255.255.255 port 67 interval 10
> DHCPDISCOVER on xennet0 to 255.255.255.255 port 67 interval 13
> DHCPDISCOVER on xennet0 to 255.255.255.255 port 67 interval 4
> No DHCPOFFERS received.
> No working leases in persistent database - sleeping.
> #
> # ifconfig xennet0 10.42.42.227
> # ifconfig xennet0 10.42.42.227 255.255.255.0
> # route add default 10.42.42.1
> add net default: gateway 10.42.42.1
> # ping 10.42.42.1
> PING 10.42.42.1 (10.42.42.1): 56 data bytes
> ^C
> ----10.42.42.1 PING Statistics----
> 3 packets transmitted, 0 packets received, 100.0% packet loss
> #
>
> =================================================================
>
> debnas:/mnt/data1/build/xen# ping 10.42.42.1
> PING 10.42.42.1 (10.42.42.1) 56(84) bytes of data.
> 64 bytes from 10.42.42.1: icmp_seq=1 ttl=64 time=2.28 ms
> 64 bytes from 10.42.42.1: icmp_seq=2 ttl=64 time=0.819 ms
> ^C
> --- 10.42.42.1 ping statistics ---
> 2 packets transmitted, 2 received, 0% packet loss, time 1001ms
> rtt min/avg/max/mdev = 0.819/1.553/2.288/0.735 ms
> debnas:/mnt/data1/build/xen#
>
> =================================================================
> Debian GNU/Linux 5.0 VM-001 console
>
> VM-001 login: root
> Last login: Fri May 29 00:04:27 UTC 1987 from ïÐÐÐÐ ÑÑÐÐÐÑÐÑÐÐ ÐÐÐÐÐÐÑÐ ÐÐÐ 
> ÐÐÐÐÐÐÐÐÑÑ ÑÑÑÑ, ÐÑÐÐÑÑÑÑÐÑÐÐÑ ÐÐÑ ÑÐÑÐÑÐÑ ÑÑÐÑÑÐÐÑ ÑÑÐÐÐÑÐÑ. ÐÐÑÐÑÑÑÐÐÑÑÑÐÐÐ 
> ÐÑÑÐÐÐÐÐÐ ÐÑÐÐÐÑ ÐÐ ÐÐÐÐÐ ÐÐÐ Âon ÐÑÑÑÐÐÐÐÑ X). ÐÑÑÐï
> Linux VM-001 2.6.32.16-kchris-xen #1 SMP Tue Aug 3 08:08:11 CEST 2010 x86_64
>
> VM-001:~# dhclient eth0
> Internet Systems Consortium DHCP Client V3.1.1
> Copyright 2004-2008 Internet Systems Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/sw/dhcp/
>
> Listening on LPF/eth0/00:16:3e:14:cd:2a
> Sending on  LPF/eth0/00:16:3e:14:cd:2a
> Sending on  Socket/fallback
> DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
> DHCPOFFER from 10.42.42.1
> DHCPREQUEST on eth0 to 255.255.255.255 port 67
> DHCPACK from 10.42.42.1
> bound to 10.42.42.184 -- renewal in 35198 seconds.
>
> VM-001:~# ping 10.42.42.1
> PING 10.42.42.1 (10.42.42.1) 56(84) bytes of data.
> 64 bytes from 10.42.42.1: icmp_seq=1 ttl=64 time=1.28 ms
>
> =================================================================
>
> (we have a internal network 10.42.42.0/24, 10.42.42.1 is the GW and 
> nameserver)
>
>
> Should I try using a non-pv_op kernel for starters?
> Does anyone experience the same error with netBSD?
>
> --
> GRATIS fÃr alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.