Re: netconsole fun
From: Neil Horman <nhorman@tuxdriver.com>
Date: 2012-12-11 14:30:24
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:quoted
On Mon, 10 Dec 2012 at 14:17 GMT, Peter Hurley [off-list ref] wrote:quoted
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