Re: netconsole breaks netpoll on bridge

From: Neil Horman
Date: Tue Jun 17 2014 - 07:35:51 EST


On Mon, Jun 16, 2014 at 11:05:57AM -0700, Cong Wang wrote:
> On Mon, Jun 16, 2014 at 5:51 AM, Stefan Priebe - Profihost AG
> <s.priebe@xxxxxxxxxxxx> wrote:
> > Hi,
> >
> > i'm using a vanilla 3.10.43 kernel and netconsole on top of a bridge.
> >
> > netconsole is used with vmbr0 (bridge) which is on top of bond0.
> >
> > If i want to add another bridge to vmbr0 is fails as long as netconsole
> > is in use.
> >
> > # brctl addif vmbr0 fwpr2004p0
> > can't add fwpr2004p0 to bridge vmbr0: Unknown error 524
> >
> > Kernel output:
> > netpoll: (null): fwpr2004p0 doesn't support polling, aborting
> >
> > If i do rmmod netconsole - everything is working fine again.
> >
>
> This is expected, you can't add an interface which doesn't support
> netpoll to a bridge which is running netpoll.
>
> You should stop netpoll before adding it.
Or alternatively, update the driver for the fwpr2004p0 to support netpoll, and
you'll be able to add it with netpoll running

Neil

> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/