From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Horman Subject: Re: netconsole fun Date: Tue, 11 Dec 2012 09:30:04 -0500 Message-ID: <20121211143004.GA7481@neilslaptop.think-freely.org> References: <1355149033.3142.14.camel@thor> <1355235592.2694.5.camel@thor> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Cong Wang , netdev@vger.kernel.org To: Peter Hurley Return-path: Received: from charlotte.tuxdriver.com ([70.61.120.58]:50633 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753715Ab2LKOaY (ORCPT ); Tue, 11 Dec 2012 09:30:24 -0500 Content-Disposition: inline In-Reply-To: <1355235592.2694.5.camel@thor> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Dec 11, 2012 at 09:19:52AM -0500, Peter Hurley wrote: > On Tue, 2012-12-11 at 04:51 +0000, Cong Wang wrote: > > On Mon, 10 Dec 2012 at 14:17 GMT, Peter Hurley wrote: > > > Now that netpoll has been disabled for slaved devices, is there a > > > recommended method of running netconsole on a machine that has a slaved > > > device? > > > > > > > Yes, running it on the master device instead. > > Thanks for the suggestion, but: > > [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.7.0-rc8-xeon ...... netconsole=@192.168.10.99/br0,30000@192.168.10.100/xx:xx:xx:xx:xx:xx > ... > [ 5.289869] netpoll: netconsole: local port 6665 > [ 5.289885] netpoll: netconsole: local IP 192.168.10.99 > [ 5.289892] netpoll: netconsole: interface 'br0' > [ 5.289898] netpoll: netconsole: remote port 30000 > [ 5.289907] netpoll: netconsole: remote IP 192.168.10.100 > [ 5.289914] netpoll: netconsole: remote ethernet address xx:xx:xx:xx:xx:xx > [ 5.289922] netpoll: netconsole: br0 doesn't exist, aborting > [ 5.289929] netconsole: cleaning up > ... > [ 9.392291] Bridge firewalling registered > [ 9.396805] device eth1 entered promiscuous mode > [ 9.418350] eth1: setting full-duplex. > [ 9.421268] br0: port 1(eth1) entered forwarding state > [ 9.423354] br0: port 1(eth1) entered forwarding state > > > Is there a way to control or associate network device names prior to > udev renaming? > That looks like a systemd problem (or more specifically a boot dependency problem). You need to modify your netconsole unit/service file to start after all your networking is up. NetworkManager provides a dummy service file for this purpose, called networkmanager-wait-online.service Neil > Thanks again, > Peter > > -- > To unsubscribe from this list: send the line "unsubscribe netdev" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >