sparclinux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Test kernel available - was: Re: 5.10.0-4-sparc64-smp #1 Debian 5.10.19-1 crashes on T2000
       [not found]               ` <a73a4541-46c4-3d37-b82e-db8d543aad92@web.de>
@ 2025-09-02 17:27                 ` John Paul Adrian Glaubitz
  0 siblings, 0 replies; only message in thread
From: John Paul Adrian Glaubitz @ 2025-09-02 17:27 UTC (permalink / raw)
  To: Frank Scheiner, Riccardo Mottola
  Cc: debian-sparc, Michael Karcher, sparclinux

Hi Frank and Ricardo,

On Wed, 2022-02-02 at 15:27 +0100, Frank Scheiner wrote:
> I yesterday found the time to give Linux 5.15.0-3 a try on my T1000
> (UltraSPARC T1) and V210 (US IIIi), but the boot issue is still there -
> at least for my use case: The klibc based tools inside of the initramfs
> are not able to mount the root FS over NFS (details further below).
> 
> But it's still good to see that mounting an on-disk root FS seems to
> work now for your T2000, though the instabilities during runtime are not
> reassuring.
> 
> For me the last good Debian kernel - at least for booting, more on that
> shortly - is 5.9.0-5. Both T1000 and V210 boot fine with it (incl.
> mounting the root FS via NFS(v3 BTW)). But during operation (tested with
> `apt upgrade` on a root FS replicated multiple times for testing from
> the same tarball) the V210 crashes (=> kernel panic), the T1000 does
> not. For the V210 I also see that for 5.8.0-3. Doing the same with
> kernel 4.19.0-5 running on the V210, no problems are seen, not even the
> messages below.
> 
> The crash when running 5.9.0-5 or 5.8.0-3 is usually "announced" (or at
> least accompanied) by one or more occurrence(s) of the following messages:
> ```
> [...]
> [  360.489852] CPU[0]: Cheetah+ D-cache parity error at
> TPC[00000000005b28c8]
> [  360.580300] TPC<bpf_check+0x1f68/0x34e0>
> [...]
> ```
> ...which should be familiar for UltraSPARC IIIi users with newer kernels
> (see for example [1] which shows it for 4.16.x). According to [2] this
> error should be recoverable (otherwise it would be followed by a panic
> and "Irrecoverable Cheetah+ parity error."), which seems to happen,
> until it is no longer, but I don't see that second message, so something
> else must happen.
> 
> [1]: https://www.spinics.net/lists/sparclinux/msg21019.html
> 
> [2]:
> https://github.com/torvalds/linux/blob/master/arch/sparc/kernel/traps_64.c#L1767..L1799
> 
> Of course our CPU's caches don't go pop magically. There is something
> broken in the newer kernels (> 4.19.x) for UltraSPARC IIIi (and most
> likely all the other related processors, too), apart from the mounting
> issues for NFS (see [3] for processors affected by this, update to that:
> US II is not affected, too).
> 
> [3]: https://lists.debian.org/debian-sparc/2021/12/msg00004.html
> 
> If I find the time and mood I'll try to bisect this US IIIi specific
> issue in the hope that we will eventually get a fix for it, also still
> hoping for a fix for [4].
> 
> [4]: https://lists.debian.org/debian-sparc/2021/03/msg00045.html

Can either of you test the following kernel packages on your T1000 or T2000:

https://people.debian.org/~glaubitz/sparc64/

These contain a potential fix for the crash you are seeing.

If the kernel works for you, please reply to the following message with a
"Tested-by":

https://lore.kernel.org/all/20250826160312.2070-4-kernel@mkarcher.dialup.fu-berlin.de/

If you are not subscribed to the sparclinux kernel mailing list, you can reply
to the message by downloading the following mbox file and importing it into
your mail client of choice, then reply to the imported mail:

https://lore.kernel.org/all/20250826160312.2070-4-kernel@mkarcher.dialup.fu-berlin.de/raw

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-09-02 17:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <22412473-c5e5-7edb-781e-247ad17d5bac@libero.it>
     [not found] ` <d40bf065-76a4-4b87-bed8-25ce3fc4ce7e@web.de>
     [not found]   ` <20c0adff-a7bb-68fc-dc84-5ea94fd49f91@libero.it>
     [not found]     ` <38af3187-a151-7b20-0971-b40c8bb008f0@physik.fu-berlin.de>
     [not found]       ` <1d00497f-cc96-313b-f3ba-5fb78db9a85e@libero.it>
     [not found]         ` <2bfd6c8c-e35e-e8e2-5a72-df74c813099d@physik.fu-berlin.de>
     [not found]           ` <6a48107e-3501-8f97-8e57-7148e0b73b26@libero.it>
     [not found]             ` <0b15f50a-afe2-f447-aea8-d82512a05c14@libero.it>
     [not found]               ` <a73a4541-46c4-3d37-b82e-db8d543aad92@web.de>
2025-09-02 17:27                 ` Test kernel available - was: Re: 5.10.0-4-sparc64-smp #1 Debian 5.10.19-1 crashes on T2000 John Paul Adrian Glaubitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).