On Wed, Sep 25, 2024 at 8:02 PM g4sra <g4sra@xxxxxxxxxxxxxx> wrote: > I am using a Marvell Kirkwood SoC plug device (the chip also used in > some NAS devices) which only has 512MB of memory. > The distribution I am running is based on Debian which is on kernel > version 6.1.0. > > However I use a custom kernel for efficiency. > > I cannot use anything above Kernel v6.7.9 as I get the following error > on mounting the rootfs filesystem which is f2fs on SDHC. > > mvsdio f1090000.mvsdio: ran out of scatter segments > > This appears to be related to your commit. Do you mean: commit 2761822c00e8c271f10a10affdbd4917d900d7ea "mmc: mvsdio: Use sg_miter for PIO" > Can you please provide me with some guidance as how to troubleshoot > your changes. Can you try to just revert the commit and rebuild and test the kernel without it? What happens? Yours, Linus Walleij