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] [day] [month] [year] [list]
Message-ID: <df393daf-c4c6-33b7-c2ab-6f6ccf0c8ebd@linux.intel.com>
Date: Fri, 7 Nov 2025 11:40:55 +0200 (EET)
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
cc: Alex Davis <alex47794@...il.com>, Stephen Rothwell <sfr@...b.auug.org.au>, 
    Borislav Petkov <bp@...en8.de>, 
    Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, 
    Greg Kroah-Hartman <gregkh@...uxfoundation.org>, 
    Jiri Slaby <jirislaby@...nel.org>, John Ogness <john.ogness@...utronix.de>, 
    linux-serial <linux-serial@...r.kernel.org>
Subject: Re: [Regression] depmod fails on kernel 6.17.1 rc1

On Fri, 7 Nov 2025, Andy Shevchenko wrote:

> On Thu, Nov 06, 2025 at 08:14:35PM +0200, Andy Shevchenko wrote:
> > On Thu, Nov 06, 2025 at 08:00:36PM +0200, Ilpo Järvinen wrote:
> > > On Thu, 6 Nov 2025, Ilpo Järvinen wrote:
> > > > On Thu, 6 Nov 2025, Borislav Petkov wrote:
> > > > > On Thu, Nov 06, 2025 at 06:15:57PM +0200, Andy Shevchenko wrote:
> > > > > > > So I'm seeing this with an allmodconfig build too:
> > > > > 			       ^^^^^^^^^^^^
> > > > > > > depmod: ERROR: Cycle detected: 8250 -> 8250_base -> 8250
> > > > > > > depmod: ERROR: Found 2 modules in dependency cycles!
> > > > > > 
> > > > > > I'm surprised it took so long to people to start complaining.
> > > > > > 
> > > > > > So, some of those are modules? Can you share the
> > > > > > 
> > > > > > 	grep 8250 .config
> > > > > > 
> > > > > > part?
> > > > > 
> > > > > See above.
> > > > 
> > > > https://lore.kernel.org/all/87frc3sd8d.fsf@posteo.net/
> > > > 
> > > > I wonder if 8250_rsa.o can be put into 8250_base.o where most of its 
> > > > callers are anyway?
> > > 
> > > This seems to resolve the build issue for me:
> > 
> > I prefer this solution to anything that suggests to merge the 8250_rsa in
> > another module.
> 
> Oh, I meant "merge the source of the 8250_rsa", and here we are talking about
> merging the object file, which is totally fine! Sorry for the confusion it
> might made.

The suggestion in that link was to merge the modules (8250.ko with 
8250_base.ko) and that certainly isn't a great idea.

My patch only moves 8250_rsa.o from 8250.ko to 8250_base.ko and breaks 
the symbol loop by passing what is needed from 8250.ko in function 
arguments instead of directly referencing them in 8250_rsa.o.

> > If it fixes for the reporters, feel free to add my
> > Reviewed-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
> 
> 

-- 
 i.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ