public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rik van Riel <riel@redhat.com>
To: Cong Wang <amwang@redhat.com>
Cc: Linux kernel Mailing List <linux-kernel@vger.kernel.org>,
	Neil Horman <nhorman@redhat.com>,
	"David S. Miller" <davem@davemloft.net>
Subject: Re: netconsole regression w/ 8d8fc29d
Date: Wed, 15 Jun 2011 10:05:54 -0400	[thread overview]
Message-ID: <4DF8BC42.4050508@redhat.com> (raw)
In-Reply-To: <4DF868DE.9000402@redhat.com>

On 06/15/2011 04:10 AM, Cong Wang wrote:
> 于 2011年06月15日 15:58, Rik van Riel 写道:
>> After commit 8d8fc29d02a33e4bd5f4fa47823c1fd386346093
>> (netpoll: disable netpoll when enslave a device), it is
>> no longer possible to use netconsole together with bridged
>> KVM guests.
>>
>> I can see why the change looked reasonable from a networking
>> point of view, but this has completely disabled netconsole
>> functionality for a common KVM use case.
>>
>> After the change, netconsole refuses to bind to eth0.
>>
>> Since the bridge interface does not support polling,
>> netconsole cannot use that, either.
>
>
> Bridge does support polling now. :) You can just setup
> netconsole on a bridge device.

This turns out to be mutually exclusive with attaching
virtual interfaces (for KVM guests) to a bridge.

If I start netconsole first, my KVM guests won't start.

If I start the KVM guests first, netconsole won't start,
and fails with these errors:

netconsole:: inserting netconsole module with arguments 
netconsole=6666@74.92.59.68/br0,514@74.92.59.66/00:13:72:17:4A:9C
kernel: [ 1020.927240] netconsole: local port 6666
kernel: [ 1020.927243] netconsole: local IP 74.92.59.68
kernel: [ 1020.927245] netconsole: interface 'br0'
kernel: [ 1020.927246] netconsole: remote port 514
kernel: [ 1020.927247] netconsole: remote IP 74.92.59.66
kernel: [ 1020.927252] netconsole: remote ethernet address 00:13:72:17:4a:9c
kernel: [ 1020.927256] (null):  doesn't support polling, aborting.
kernel: [ 1020.927258] netconsole: cleaning up
systemd[1]: netconsole.service: control process exited, code=exited status=1
systemd[1]: Unit netconsole.service entered failed state.

In short, I am still not able to use netconsole and bridged
KVM guests at the same time...

# brctl show
bridge name	bridge id		STP enabled	interfaces
br0		8000.0024e838995c	no		eth0
							vnet0
							vnet1
							vnet2


-- 
All rights reversed

  reply	other threads:[~2011-06-15 14:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-15  7:58 netconsole regression w/ 8d8fc29d Rik van Riel
2011-06-15  8:10 ` Cong Wang
2011-06-15 14:05   ` Rik van Riel [this message]
2011-06-15 14:16     ` Neil Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DF8BC42.4050508@redhat.com \
    --to=riel@redhat.com \
    --cc=amwang@redhat.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nhorman@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox