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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHx5RXC44V-qsN9QiuhKrDdGZ4ppXpT_cQz3XNAa2aQnf7Pe5Q@mail.gmail.com>
Date: Wed, 15 May 2024 10:23:02 +0100
From: Stephen Langstaff <stephenlangstaff1@...il.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: Florian Fainelli <f.fainelli@...il.com>, linux-kernel@...r.kernel.org, OlteanV@...il.com
Subject: Re: drivers/net/dsa/dsa_loop_bdinfo.c build problems

On Tue, May 14, 2024 at 5:17 PM Andrew Lunn <andrew@...n.ch> wrote:
>
> On Tue, May 14, 2024 at 05:08:24PM +0100, Stephen Langstaff wrote:
> > If I sorted out building the dsa_loop_bdinfo.c code as a built-in do
> > you think that would solve the ordering issue?
>
> Probably.

Well, some minor progress... when dsa_loop and dsa_loop_bdinfo are
built-in to the kernel then it appears that, at least for this
configuration, the driver probe function is called:

[    0.053068] dsa_loop_bdinfo_init
[    1.509255] dsa_loop_init
[    1.513178] dsa_loop_drv_probe
[    2.633673] dsa_loop_drv_probe
..
[    3.273496] dsa_loop_drv_probe
[    3.276589] dsa_loop_get_protocol
[    3.281608] dsa-loop fixed-0:1f: skipping link registration for CPU port 5
[    3.288558]  (null): phylink: error: empty supported_interfaces
[    3.294500] error creating PHYLINK: -22
[    3.298343] dsa-loop fixed-0:1f lan1 (uninitialized): error -22
setting up PHY for tree 0, switch 0, port 0
[    3.308145]  (null): phylink: error: empty supported_interfaces
[    3.314070] error creating PHYLINK: -22
[    3.317907] dsa-loop fixed-0:1f lan2 (uninitialized): error -22
setting up PHY for tree 0, switch 0, port 1
[    3.327677]  (null): phylink: error: empty supported_interfaces
[    3.333609] error creating PHYLINK: -22
[    3.337449] dsa-loop fixed-0:1f lan3 (uninitialized): error -22
setting up PHY for tree 0, switch 0, port 2
[    3.347223]  (null): phylink: error: empty supported_interfaces
[    3.353145] error creating PHYLINK: -22
[    3.356983] dsa-loop fixed-0:1f lan4 (uninitialized): error -22
setting up PHY for tree 0, switch 0, port 3
[    3.366855] device eth0 entered promiscuous mode
[    3.371497] DSA: tree 0 setup
[    3.374474] dsa-loop fixed-0:1f: DSA mockup driver: 0x1f

The -22 error appears to be related to the issues mentioned here:
https://www.spinics.net/lists/netdev/msg922961.html so I will now try
to apply the suggested short-term fix.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ