lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <da422046-fc3e-9aba-88d1-e7a4d3a74843@gmail.com>
Date:   Sun, 18 Oct 2020 20:49:31 -0700
From:   Florian Fainelli <f.fainelli@...il.com>
To:     Vladimir Oltean <vladimir.oltean@....com>
Cc:     Heiner Kallweit <hkallweit1@...il.com>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "andrew@...n.ch" <andrew@...n.ch>,
        "vivien.didelot@...il.com" <vivien.didelot@...il.com>,
        "kuba@...nel.org" <kuba@...nel.org>,
        Christian Eggers <ceggers@...i.de>,
        Kurt Kanzenbach <kurt@...utronix.de>
Subject: Re: [RFC PATCH 01/13] net: dsa: add plumbing for custom netdev
 statistics



On 10/18/2020 5:21 PM, Vladimir Oltean wrote:
> On Sun, Oct 18, 2020 at 04:11:14PM -0700, Florian Fainelli wrote:
>> How about when used as a netconsole? We do support netconsole over DSA
>> interfaces.
> 
> How? Who is supposed to bring up the master interface, and when?
> 

You are right that this appears not to work when configured on the 
kernel command line:

[    6.836910] netpoll: netconsole: local port 4444
[    6.841553] netpoll: netconsole: local IPv4 address 192.168.1.10
[    6.847582] netpoll: netconsole: interface 'gphy'
[    6.852305] netpoll: netconsole: remote port 9353
[    6.857030] netpoll: netconsole: remote IPv4 address 192.168.1.254
[    6.863233] netpoll: netconsole: remote ethernet address 
b8:ac:6f:80:af:7e
[    6.870134] netpoll: netconsole: device gphy not up yet, forcing it
[    6.876428] netpoll: netconsole: failed to open gphy
[    6.881412] netconsole: cleaning up

looking at my test notes from 2015 when it was added, I had only tested 
dynamic netconsole while the network devices have already been brought 
up which is why I did not catch it. Let me see if I can fix that somehow.
-- 
Florian

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ