Re: New Debian sparc64 test kernel for stack corruption issue

Riccardo Mottola <[email protected]> Fri, 28 Nov 2025 01:18:17 +0100
Newsgroups gmane.linux.debian.ports.sparc
Message-ID <[email protected]>
Hi Adrian,

sorry for the "delay"... had to kick some bugs in GNUstep application as 
well as getting NetBSD/ppc on iBook up-to-date as well as kicking out 
updates on NetBSD/sparc... which is now churning out binary packages 
again. Not Linux, but still in the nice Big Endian domain!

John Paul Adrian Glaubitz wrote:
> Hi,
>
> On Thu, 2025-11-13 at 00:46 +0100, Riccardo Mottola wrote:
> Which bug is this? The stack corruption issue? If yes, then yes:
>
> https://github.com/sparclinux/issues/issues/14

To me it appears different from the error log. Thus I opened a new Issue:

https://github.com/sparclinux/issues/issues/45

There I copied some of the information I have up to know and will post 
further information I try while tackling down the issue.

If it is a duplicate, we can mark that, relate or merge issues.

> I have posted instructions on how to cross-build and install your own kernel
> not too long ago, see:
>
> https://lists.debian.org/debian-sparc/2025/10/msg00103.html
>
> I don't think it's particularly hard.
>

Shouldn't be hard. I'll make attempts and let you know. My first step is 
to create a 6.14.11 kernel from kernel.org with config of debian 6.14 
and hope it boots. That would prove latest 6.14.11 works and that I can 
build a kernel, if that fails, back to 6.14.6 that I tested as debian 
packages.
This would gives us some fixed points to work on, including being able 
to build a bootable kernel.

Then build the first 6.15 series and see it fails or increase tag 
version until it fails.

Then start narrowing down, hoping we can do some smartness beyond 
bisecting brutally.

Riccardo

PS: I will document the steps myself on a blog entry!