Re: Kernel versions 6.x don't boot on Amiga 4000

2023-02-27 Thread Finn Thain
On Mon, 27 Feb 2023, I wrote: > On Mon, 27 Feb 2023, Michael Schmitz wrote: > > > > > I wonder whether Finn's memtest patch merely exposed another MM bug > > > > A kernel patch may be easier than a bootloader patch (even if this is a > bootloader bug) particularly if it affects multiple pl

Re: Kernel versions 6.x don't boot on Amiga 4000

2023-02-27 Thread Geert Uytterhoeven
Hi Finn, FTR, here is the diff of the dmesg between good and bad: +initrd: 07f61166 - 0800 This is wrong (note the 6 trailing zeros), as phys_to_virt() is not working correctly yet (module_fixup() is called from paging_init()). Zone ranges: DMA [mem 0x0740-0

Re: Kernel versions 6.x don't boot on Amiga 4000

2023-02-27 Thread Eero Tamminen
Hi, On 27.2.2023 9.19, Michael Schmitz wrote: Am 27.02.2023 um 18:55 schrieb Finn Thain: On Mon, 27 Feb 2023, Michael Schmitz wrote: Bisected to commit 376e3fdecb0dcae2 ("m68k: Enable memtest functionality") in v5.17-rc1.  Reverting that on top of latest fixes the issue. Yes, I'm sorry to

Re: Kernel versions 6.x don't boot on Amiga 4000

2023-02-27 Thread Michael Schmitz
Hi Geert, adding Mike Rapoport to the recipient list who would know whether memblock_reserve() relies on paging_init() having run. Cheers, Michael Am 27.02.2023 um 21:26 schrieb Geert Uytterhoeven: Hi Finn, FTR, here is the diff of the dmesg between good and bad: +initrd: 07f6

Re: Kernel versions 6.x don't boot on Amiga 4000

2023-02-27 Thread Michael Schmitz
Eero, that issue (kernel running from TT-RAM) was fixed quite a few years ago (but maybe not in 2013), in the sense that ST-RAM could be used for drivers (SCSI, atafb). Using ST-RAM as normal VM should have been made a lot easier by changing to memblock, but AFAIR there are still some bits mi

Re: Kernel versions 6.x don't boot on Amiga 4000

2023-02-27 Thread Mike Rapoport
Hi, On Mon, Feb 27, 2023 at 10:42:34PM +1300, Michael Schmitz wrote: > Hi Geert, > > adding Mike Rapoport to the recipient list who would know whether > memblock_reserve() relies on paging_init() having run. > > Cheers, > > Michael > > Am 27.02.2023 um 21:26 schrieb Geert Uytterhoeven: >

Re: Kernel versions 6.x don't boot on Amiga 4000

2023-02-27 Thread Geert Uytterhoeven
Hi Mike, On Mon, Feb 27, 2023 at 12:34 PM Mike Rapoport wrote: > On Mon, Feb 27, 2023 at 10:42:34PM +1300, Michael Schmitz wrote: > > Am 27.02.2023 um 21:26 schrieb Geert Uytterhoeven: > > > FTR, here is the diff of the dmesg between good and bad: > > > > > > +initrd: 07f61166 - 0800 > >

Re: Kernel versions 6.x don't boot on Amiga 4000

2023-02-27 Thread Mike Rapoport
Hi Geert, On Mon, Feb 27, 2023 at 01:31:23PM +0100, Geert Uytterhoeven wrote: > Hi Mike, > > On Mon, Feb 27, 2023 at 12:34 PM Mike Rapoport wrote: > > On Mon, Feb 27, 2023 at 10:42:34PM +1300, Michael Schmitz wrote: > > > Am 27.02.2023 um 21:26 schrieb Geert Uytterhoeven: > > > > > On Mon, 27 Fe