NetBSD Problem Report #44743
From www@NetBSD.org Sat Mar 19 16:12:20 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 27F5263B99D
for <gnats-bugs@gnats.NetBSD.org>; Sat, 19 Mar 2011 16:12:20 +0000 (UTC)
Message-Id: <20110319161218.9BE8363B8A9@www.NetBSD.org>
Date: Sat, 19 Mar 2011 16:12:18 +0000 (UTC)
From: bbartlomiej@gmail.com
Reply-To: bbartlomiej@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Network doesn't work on DomU NetBSD 5.1 which is run on Debian Squeeze Dom0 (Xen 4)
X-Send-Pr-Version: www-1.0
>Number: 44743
>Category: port-xen
>Synopsis: Network doesn't work on DomU NetBSD 5.1 which is run on Debian Squeeze Dom0 (Xen 4)
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-xen-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 19 16:15:00 +0000 2011
>Closed-Date: Sat Mar 19 18:09:06 +0000 2011
>Last-Modified: Sat Mar 19 18:09:06 +0000 2011
>Originator: Bartek Krawczyk
>Release: 5.1
>Organization:
>Environment:
NetBSD 5.1 netbsd-INSTALL_XEN3PAE_DOMU.gz
>Description:
Hi!
I've upgraded a Xen dom0 server from debian lenny (linux 2.6.26-i386) to squeeze (linux 2.6.32-5 with pvops, Xen 4) and can't netinstall a NetBSD 5.1 DomU. The network under netbsd domu just isn't working (other Linux DomUs work just fine). The vif on dom0 is created correctly (through network-bridge script from /etc/xen), the xennet0 is recognized in the netbsd-INSTALL_XEN3PAE_DOMU.gz, I can add an IP address to it and ping it (and 127.0.0.1) but nothing more. I've read that there was some problems with flip/copy mode on Xen 4 but it was fixed in 5.1 (according to CHANGELOG).
# ifconfig xennet0
xennet0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=2800<TCP4CSUM_Tx,UDP4CSUM_Tx>
enabled=0
address: 00:16:3e:28:7c:a1
inet 88.199.21.14 netmask 0xffffffe0 broadcast 88.199.21.31
inet6 fe80::216:3eff:fe28:7ca1%xennet0 prefixlen 64 scopeid 0x1
dmesg:
xennet0 at xenbus0 id 0: Xen Virtual Network Interface
xennet0: MAC address 00:16:3e:28:7c:a1
xennet0: using event channel 7
xen:/etc/xen/scripts# brctl show
bridge name bridge id STP enabled interfaces
eth0 8000.001422095e63 no peth0
vif1.0
vif2.0
vif3.0
vif4.0
vif5.0
vif7.0
eth1 8000.001422095e64 no peth1
vif4.1
there's also a warning in the netbsd dmesg:
WARNING: clock gained 132 days
WARNING: CHECK AND RESET THE DATE!
(and the timezone can't be set from the installer, it's UTC where it should be UTC+1)
xen:/etc/xen/scripts# xm network-list 7
Idx BE MAC Addr. handle state evt-ch tx-/rx-ring-ref BE-path
0 0 00:16:3e:28:7c:a1 0 4 7 509 /508 /local/domain/0/backend/vif/7/0
xen:/etc/xen/scripts# xm network-list 7 -l
(0
((mac 00:16:3e:28:7c:a1)
(handle 0)
(protocol x86_32-abi)
(backend-id 0)
(state 4)
(backend /local/domain/0/backend/vif/7/0)
(tx-ring-ref 509)
(rx-ring-ref 508)
(feature-rx-notify 1)
(event-channel 7)
)
)
Thanks in advance for any help.
>How-To-Repeat:
Try to netinstall a NetBSD 5.1 DomU on Debian Squeeze (linux 2.6.32-5 with pvops, Xen 4).
>Fix:
>Release-Note:
>Audit-Trail:
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: port-xen-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
netbsd-bugs@NetBSD.org
Subject: Re: port-xen/44743: Network doesn't work on DomU NetBSD 5.1 which is
run on Debian Squeeze Dom0 (Xen 4)
Date: Sat, 19 Mar 2011 17:43:18 +0100
On Sat, Mar 19, 2011 at 04:15:00PM +0000, bbartlomiej@gmail.com wrote:
> >Description:
> Hi!
> I've upgraded a Xen dom0 server from debian lenny (linux 2.6.26-i386) to squeeze (linux 2.6.32-5 with pvops, Xen 4) and can't netinstall a NetBSD 5.1 DomU. The network under netbsd domu just isn't working (other Linux DomUs work just fine). The vif on dom0 is created correctly (through network-bridge script from /etc/xen), the xennet0 is recognized in the netbsd-INSTALL_XEN3PAE_DOMU.gz, I can add an IP address to it and ping it (and 127.0.0.1) but nothing more. I've read that there was some problems with flip/copy mode on Xen 4 but it was fixed in 5.1 (according to CHANGELOG).
No, copy mode support was added to the backend (dom0) before 5.1, but
it was added to the frontend (domU) after 5.1 was released. So you need
something newer from the netbsd-5 branch.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
From: Bartek Krawczyk <bbartlomiej@gmail.com>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: port-xen/44743: Network doesn't work on DomU NetBSD 5.1 which
is run on Debian Squeeze Dom0 (Xen 4)
Date: Sat, 19 Mar 2011 18:48:29 +0100
On 19.03.2011 17:45, Manuel Bouyer wrote:
> The following reply was made to PR port-xen/44743; it has been noted by GNATS.
> No, copy mode support was added to the backend (dom0) before 5.1, but
> it was added to the frontend (domU) after 5.1 was released. So you need
> something newer from the netbsd-5 branch.
I must have got mixed up with kernels because I was sure I had checked
it yesterday and it was the same.
Now the kernel from
http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201103171400Z/i386 works
just fine.
Thanks.
--
Bartek Krawczyk
JID: bbartlomiej@jabster.pl
GG: 2094683
State-Changed-From-To: open->closed
State-Changed-By: bouyer@NetBSD.org
State-Changed-When: Sat, 19 Mar 2011 18:09:06 +0000
State-Changed-Why:
copy-mode was added post-5.1 to the frontend, so a newer kernel is needed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.