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

Re: [Xen-users] Fixed for me: 3.4.2: Device 0 (vif) could not be connect

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] Fixed for me: 3.4.2: Device 0 (vif) could not be connected. Hotplug scripts not working.
From: Christian Fischer <Christian.Fischer@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 8 Mar 2010 22:17:49 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 08 Mar 2010 13:19:08 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100308211410.GE2580@xxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <201003082143.17257.Christian.Fischer@xxxxxxxxxxxxxxxxxxx> <201003082159.57469.Christian.Fischer@xxxxxxxxxxxxxxxxxxx> <20100308211410.GE2580@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.10
On Monday 08 March 2010, Pasi Kärkkäinen wrote:
> On Mon, Mar 08, 2010 at 09:59:57PM +0100, Christian Fischer wrote:
> > On Monday 08 March 2010, Pasi Kärkkäinen wrote:
> > > On Mon, Mar 08, 2010 at 09:43:16PM +0100, Christian Fischer wrote:
> > > > Hi Folks,
> > > >
> > > > hope that helps a bit.
> > > >
> > > > Tried 3.4.2, gentoo xen-sources-2.6.31-r10, to ran into the heavy
> > > > discussed hotplug script bug.
> > > >
> > > > That's (in my case) not a udev or driver problem, the problem is
> > > > iptables. It hangs in frob_iptable() (vif-common.sh), the forward
> > > > state rule never returns.
> > > >
> > > > I've simply commented out the handle_iptable call in vif-bridge,
> > > > don't need that because I have shorewall running.
> > > >
> > > >
> > > > Confirmed with:
> > > >
> > > > xen-3.4.2
> > > > iptables-1.4.3.2
> > > > gentoo xen-sources-2.6.31-r10
> > > > gentoo xen-sources-2.6.29-r4
> > > > udev-146-r1
> > > >
> > > > nothing more checked.
> > >
> > > Can you paste the actual iptables rule/line that doesn't work for you?
> > >
> > > -- Pasi
> >
> > iptables "$c" FORWARD -m state --state RELATED,ESTABLISHED -m physdev \
> >     --physdev-out "$vif" -j ACCEPT 2>/dev/null
> >
> > which expands to
> >
> > iptables -I FORWARD -m state --state RELATED,ESTABLISHED -m physdev \
> >     --physdev-out vif32.0 -j ACCEPT 2>/dev/null
> >
> >
> > It returns immediately if I enter this on the command promt, running from
> > inside the script fails.
>
> Hmm.. do you get any errors about that iptables command in kernel "dmesg" ?
> I remember reading about that bridging + --physdev-out stuff being
> deprecated in newer kernels..
>
> -- Pasi

No, no errors.

Christian
--

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