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: <aRIYGUzHa-8U85Ei@alpha.franken.de>
Date: Mon, 10 Nov 2025 17:51:37 +0100
From: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
To: Nick Bowler <nbowler@...conx.ca>
Cc: Jiaxun Yang <jiaxun.yang@...goat.com>, linux-kernel@...r.kernel.org,
	regressions@...ts.linux.dev,
	"linux-mips@...r.kernel.org" <linux-mips@...r.kernel.org>,
	"stable@...r.kernel.org" <stable@...r.kernel.org>
Subject: Re: PROBLEM: boot hang on Indy R4400SC (regression)

On Sat, Nov 08, 2025 at 03:02:17PM -0500, Nick Bowler wrote:
> On Fri, Nov 07, 2025 at 03:12:31PM -0500, Nick Bowler wrote:
> > On Fri, Nov 07, 2025 at 07:29:25PM +0000, Jiaxun Yang wrote:
> > > Unfortunately my Indy won't go over ARCS prom so I'm not in a position
> > > to debug this on my side. I have inspected the code again and I can't
> > > see anything preventing it to work on R4000 family.
> > 
> > I'll try adding some extra prints to at least figure out where it is
> > actually hanging.
> 
> I did not have much success with adding prints, but looking more closely
> at the console output it seems that what is ultimately failing is the
> SCSI bus enumeration which does not complete unless I revert commit
> 35ad7e181541.

the problem is the tlb_probe() r4k_tlb_uniquify(), if the TLB contains

Index:  0 pgmask=4kb va=80000000 asid=00
	[pa=00000000 c=0 d=0 v=0 g=0] [pa=00000000 c=0 d=0 v=0 g=0]
Index:  1 pgmask=4kb va=80000000 asid=00
	[pa=00000000 c=0 d=0 v=0 g=0] [pa=00000000 c=0 d=0 v=0 g=0]
Index:  2 pgmask=4kb va=80000000 asid=00
	[pa=00000000 c=0 d=0 v=0 g=0] [pa=00000000 c=0 d=0 v=0 g=0]
Index:  3 pgmask=4kb va=80000000 asid=00
	[pa=00000000 c=0 d=0 v=0 g=0] [pa=00000000 c=0 d=0 v=0 g=0]
Index:  4 pgmask=4kb va=80000000 asid=00
	[pa=00000000 c=0 d=0 v=0 g=0] [pa=00000000 c=0 d=0 v=0 g=0]
[...]

which is coming from the Indy PROM. I only tested this patch on an R5k
Indy and the R5000 CPU doesn't have a problem with this.

I'm working on a fix for this.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ