Re: stack smashing detected

2023-02-05 Thread Stan Johnson
On 2/3/23 4:39 PM, Finn Thain wrote: Hi Finn, > On Wed, 1 Feb 2023, Stan Johnson wrote: > >> >> After logging the start and end of each script, I see that the "stack >> smashing detected" error often happens while running >> "/etc/rcS.d/S01mountkernfs.sh" (/etc/init.d/mountkernfs.sh). I'll try

Re: stack smashing detected

2023-02-05 Thread Michael Schmitz
Hi Stan, Am 02.02.2023 um 07:51 schrieb Michael Schmitz: But since we're touching on copy_to_user() here - the 'remove set_fs' patch set by Christoph Hellwig refactored the m68k inline helpers around July 2021. Can you test a kernel prior to those patches (5.15-rc2)? That's a lot of work on

Debian initramfs/initrd, was Re: stack smashing detected

2023-02-05 Thread Finn Thain
On Sun, 5 Feb 2023, Stan Johnson wrote: > > > > To save time, I recommend using QEMU and an up-to-date Debian/m68k SID > > virtual machine to produce the vmlinux and initrd files needed for use > > with Penguin on your slower machines. > > > > AFAIK, the initrd must be created on the system t

Re: Debian initramfs/initrd, was Re: stack smashing detected

2023-02-05 Thread John Paul Adrian Glaubitz
On Mon, 2023-02-06 at 09:29 +1100, Finn Thain wrote: > On Sun, 5 Feb 2023, Stan Johnson wrote: > > > > > > > To save time, I recommend using QEMU and an up-to-date Debian/m68k SID > > > virtual machine to produce the vmlinux and initrd files needed for use > > > with Penguin on your slower mach

Re: Debian initramfs/initrd, was Re: stack smashing detected

2023-02-05 Thread Stan Johnson
On 2/5/23 4:18 PM, John Paul Adrian Glaubitz wrote: > On Mon, 2023-02-06 at 09:29 +1100, Finn Thain wrote: >> ... > >> When you need to generate a valid Debian/m68k vmlinux/initrd combination >> that is also current, then you'll need a Debian/m68k system that is >> current. The quickest way to g

Re: Debian initramfs/initrd, was Re: stack smashing detected

2023-02-05 Thread Geert Uytterhoeven
Hi Stan, On Mon, Feb 6, 2023 at 4:42 AM Stan Johnson wrote: > On an SE/30 with 128 MiB memory, the latest Debian SID kernel > (vmlinux-6.1.0-2-m68k), using Debian SID modules, and with > initrd-6.1.0-2-m68k built on the SE/30, hangs after the initial > "ABCFGHIJK" (I tried it twice). If you get