Buster on nap TS-219p II

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Buster on nap TS-219p II

basti-3
Hello,
today I have try to upgrade my NAS to buster.
I get the following error:

flash-kernel: installing version 4.19.0-5-marvell

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
/etc/initramfs-tools/initramfs.conf and then run 'update-initramfs -u -k
4.19.0-5-marvell'

Not enough space for initrd in MTD 'RootFS1' (need 9881327 but is
actually 9437184).
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return
code 1

MODULES=dep is set in both files.

What should I do now?

Reply | Threaded
Open this post in threaded view
|

Re: Buster on nap TS-219p II

Martin Michlmayr
* basti <[hidden email]> [2019-07-23 21:45]:
> Not enough space for initrd in MTD 'RootFS1' (need 9881327 but is
> actually 9437184).
> run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return
> code 1
>
> MODULES=dep is set in both files.
>
> What should I do now?

Do you use RAID, LVM, LUKS and/or some unusual file system?

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

Reply | Threaded
Open this post in threaded view
|

Re: Buster on nap TS-219p II

basti-3
On 23.07.19 22:46, Martin Michlmayr wrote:

> * basti <[hidden email]> [2019-07-23 21:45]:
>> Not enough space for initrd in MTD 'RootFS1' (need 9881327 but is
>> actually 9437184).
>> run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return
>> code 1
>>
>> MODULES=dep is set in both files.
>>
>> What should I do now?
> Do you use RAID, LVM, LUKS and/or some unusual file system?
>

I use mdadm RAID, yes. I think this should be best practice for a NAS. I
have fixed by setting COMPRESS=xz |in
/etc/initramfs-tools/initramfs.conf for now. I'am looking forward what
will happen on newer kernels. Best Regards |

Reply | Threaded
Open this post in threaded view
|

Re: Buster on nap TS-219p II

Uwe Kleine-König-7
In reply to this post by basti-3
Hello,

On 7/23/19 9:45 PM, basti wrote:

> Hello,
> today I have try to upgrade my NAS to buster.
> I get the following error:
>
> flash-kernel: installing version 4.19.0-5-marvell
>
> 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
> /etc/initramfs-tools/initramfs.conf and then run 'update-initramfs -u -k
> 4.19.0-5-marvell'
>
> Not enough space for initrd in MTD 'RootFS1' (need 9881327 but is
> actually 9437184).
> run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return
> code 1
>
> MODULES=dep is set in both files.
>
> What should I do now?
>
Maybe this is #930752?

Best regards
Uwe


signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Buster on nap TS-219p II

Timo Jyrinki-4
In reply to this post by basti-3
ke 24. heinäk. 2019 klo 0.12 basti ([hidden email]) kirjoitti:
> I use mdadm RAID, yes. I think this should be best practice for a NAS. I
> have fixed by setting COMPRESS=xz |in
> /etc/initramfs-tools/initramfs.conf for now. I'am looking forward what
> will happen on newer kernels. Best Regards |

So to re-cap, other than that problem, you updated your TS-219P II
successfully from stretch to buster?

I'm looking forward to upgrading my TS-221 (with u-boot mem limited to
768MB) some day, no hurry though.

-Timo

Reply | Threaded
Open this post in threaded view
|

Re: Buster on nap TS-219p II

basti-3
Hello Timo,

not the RAM is the Problem.
It's the Flash (MTD). This is only a few MB.

But yes I have done with xz compressed initramfs.


Reply | Threaded
Open this post in threaded view
|

Re: Buster on nap TS-219p II

Timo Jyrinki-4
ti 27. elok. 2019 klo 14.00 basti ([hidden email]) kirjoitti:
> It's the Flash (MTD). This is only a few MB.
>
> But yes I have done with xz compressed initramfs.

Just reporting that likewise, with COMPRESS=xz Debian 10 has worked
flawlessly on my TS-221 for the last 1.5 months since I upgraded. It's
very nice that armel was able to be kept as a release architecture for
Debian 10 too.

Continuing to run with mem=768M.

-Timo

Reply | Threaded
Open this post in threaded view
|

Re: Buster on nap TS-219p II

Emanuele Olivetti
Is COMPRESS=xz the default option for initramfs.conf now in buster? If not, will it be soon?
I am waiting to upgrade to buster to avoid  issues like this one.

Best,

Emanuele
 

On Thu, Oct 24, 2019 at 6:30 PM Timo Jyrinki <[hidden email]> wrote:
ti 27. elok. 2019 klo 14.00 basti ([hidden email]) kirjoitti:
> It's the Flash (MTD). This is only a few MB.
>
> But yes I have done with xz compressed initramfs.

Just reporting that likewise, with COMPRESS=xz Debian 10 has worked
flawlessly on my TS-221 for the last 1.5 months since I upgraded. It's
very nice that armel was able to be kept as a release architecture for
Debian 10 too.

Continuing to run with mem=768M.

-Timo

Reply | Threaded
Open this post in threaded view
|

Re: Buster on nap TS-219p II

Timo Jyrinki-4
pe 25. lokak. 2019 klo 11.57 Emanuele Olivetti
([hidden email]) kirjoitti:
> Is COMPRESS=xz the default option for initramfs.conf now in buster? If not, will it be soon?
> I am waiting to upgrade to buster to avoid  issues like this one.

I don't think so, and it may not happen. Regardless, it's good to have
the option set already before starting the upgrading.

So the only thing I did before editing sources.list + apt update + apt
dist-upgrade (inside screen) was this:

--- /etc/initramfs-tools/initramfs.conf.dpkg-dist    2019-02-06
01:55:47.000000000 +0200
+++ /etc/initramfs-tools/initramfs.conf    2019-09-04 12:19:34.170996659 +0300
@@ -41,7 +41,9 @@
 # COMPRESS: [ gzip | bzip2 | lz4 | lzma | lzop | xz ]
 #

-COMPRESS=gzip
+#changed for buster, old gzip, new xz
+#COMPRESS=gzip
+COMPRESS=xz

 #
 # NFS Section of the config.

Reply | Threaded
Open this post in threaded view
|

Re: Buster on nap TS-219p II

Emanuele Olivetti
Timo, thanks a lot for the answer. I'll change my initramfs.conf as you did and then proceed to upgrade to buster.

Best,

Emanuele


On Wed, Nov 20, 2019 at 7:41 AM Timo Jyrinki <[hidden email]> wrote:
pe 25. lokak. 2019 klo 11.57 Emanuele Olivetti
([hidden email]) kirjoitti:
> Is COMPRESS=xz the default option for initramfs.conf now in buster? If not, will it be soon?
> I am waiting to upgrade to buster to avoid  issues like this one.

I don't think so, and it may not happen. Regardless, it's good to have
the option set already before starting the upgrading.

So the only thing I did before editing sources.list + apt update + apt
dist-upgrade (inside screen) was this:

--- /etc/initramfs-tools/initramfs.conf.dpkg-dist    2019-02-06
01:55:47.000000000 +0200
+++ /etc/initramfs-tools/initramfs.conf    2019-09-04 12:19:34.170996659 +0300
@@ -41,7 +41,9 @@
 # COMPRESS: [ gzip | bzip2 | lz4 | lzma | lzop | xz ]
 #

-COMPRESS=gzip
+#changed for buster, old gzip, new xz
+#COMPRESS=gzip
+COMPRESS=xz

 #
 # NFS Section of the config.