[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#890262: flash-kernel: QNAP TS109, Not enough space for initrd in MTD



* Gunnar Thorburn <gunnar.thorburn@gmail.com> [2018-02-12 17:52]:
> The initial ramdisk is too large. This is often due to the unnecessary inclusion
> of all kernel modules in the image. To fix this set MODULES=dep in one or both
> /etc/initramfs-tools/conf.d/driver-policy (if it exists) and

> Not enough space for initrd in MTD 'RootFS1' (need 4210887 but is
> actually 4194304).

Please check the various initramfs-tools configuration files to see if
you're using MODULES=dep.  Changing to MODULES=dep would be the fix.
However, given the size of your ramdisk, I fear you are already using
MODULES=dep.

Are you using RAID or LVM?  Unfortunately, since the MTD partition for
the ramdisk is very tiny on the TS-x09, you cannot use RAID or LVM.
(And this was possible in the past, which will lead to problems with
upgrades.)

> But given that TS-109 appears supported
>   http://www.cyrius.com/debian/orion/qnap/ts-109/install/
> and with no major issues
>   http://www.cyrius.com/debian/orion/qnap/ts-109/known-issues/
> I would not expect this problem well into the upgrade.

I have to document the LVM/RAID issue.  In fact, the installation page
currently says "You can use LVM and RAID and a number of filesystems",
which is definitely no longer true to due to the size issue (even with
MODULES=dep).

-- 
Martin Michlmayr
http://www.cyrius.com/


Reply to: