Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #66269 > unrolled thread

Bug#950324: /boot/vmlinuz-5.4.0-3-marvell: 5.4.0-3-marvell vmlinuz too large for QNAP TS119 mtd, "Not enough space for kernel" error

Started bySylvain LÉVÊQUE <sylvain.leveque+bugreport@gmail.com>
First post2020-01-31 12:30 +0100
Last post2020-01-31 16:10 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#950324: /boot/vmlinuz-5.4.0-3-marvell: 5.4.0-3-marvell vmlinuz too large for QNAP TS119 mtd, "Not enough space for kernel" error Sylvain LÉVÊQUE <sylvain.leveque+bugreport@gmail.com> - 2020-01-31 12:30 +0100
    Processed: Re: Bug#950324: /boot/vmlinuz-5.4.0-3-marvell:  5.4.0-3-marvell vmlinuz too large for QNAP TS119 mtd, "Not enough space  for kernel" error "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-01-31 16:10 +0100
    Bug#950324: /boot/vmlinuz-5.4.0-3-marvell: 5.4.0-3-marvell vmlinuz too large for QNAP TS119 mtd, "Not enough space for kernel" error Ben Hutchings <ben@decadent.org.uk> - 2020-01-31 16:10 +0100

#66269 — Bug#950324: /boot/vmlinuz-5.4.0-3-marvell: 5.4.0-3-marvell vmlinuz too large for QNAP TS119 mtd, "Not enough space for kernel" error

FromSylvain LÉVÊQUE <sylvain.leveque+bugreport@gmail.com>
Date2020-01-31 12:30 +0100
SubjectBug#950324: /boot/vmlinuz-5.4.0-3-marvell: 5.4.0-3-marvell vmlinuz too large for QNAP TS119 mtd, "Not enough space for kernel" error
Message-ID<zuCEN-8nD-13@gated-at.bofh.it>
Package: src:linux
Version: 5.4.13-1
Severity: important
File: /boot/vmlinuz-5.4.0-3-marvell

Dear Maintainer,

I tried updating from linux-image-4.19.0-5-marvell to linux-image-5.4.0-3-marvell.

During installation, the update fails with the following message:
update-initramfs: Generating /boot/initrd.img-5.4.0-3-marvell
cp: cannot stat '/lib/libnss_files*': No such file or directory
W: initramfs-tools configuration sets RESUME=UUID=e112d071-5e16-4f31-80eb-d3a16202ce4c
W: but no matching swap device is available.
I: The initramfs will attempt to resume from /dev/sda3
I: (UUID=fc5a8dda-223b-477a-9c72-16bcc25b6877)
I: Set the RESUME variable to override this.
kirkwood-qnap: machine: QNAP TS219 family
Using DTB: kirkwood-ts219-6281.dtb
Installing /usr/lib/linux-image-5.4.0-3-marvell/kirkwood-ts219-6281.dtb into /boot/dtbs/5.4.0-3-marvell/./kirkwood-ts219-6281.dtb
Taking backup of kirkwood-ts219-6281.dtb.
Installing new kirkwood-ts219-6281.dtb.
Installing /usr/lib/linux-image-5.4.0-3-marvell/kirkwood-ts219-6281.dtb into /boot/dtbs/5.4.0-3-marvell/./kirkwood-ts219-6281.dtb
Taking backup of kirkwood-ts219-6281.dtb.
Installing new kirkwood-ts219-6281.dtb.
flash-kernel: installing version 5.4.0-3-marvell
Not enough space for kernel in MTD 'Kernel' (need 2165432 but is actually 2097152).
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1

$ ls -lrt /boot/vmlinuz-*
-rw-r--r-- 1 root root 2042208 mars  15  2019 /boot/vmlinuz-4.19.0-4-marvell
-rw-r--r-- 1 root root 2043816 juil. 19  2019 /boot/vmlinuz-4.19.0-5-marvell
-rw-r--r-- 1 root root 2165432 janv. 19 10:22 /boot/vmlinuz-5.4.0-3-marvell

$ cat /sys/class/mtd/mtd1/size 
2097152

/boot/vmlinuz-5.4.0-3-marvell is too large and can't be flashed to /dev/mtd1.

Thank you
--
Sylvain


-- Package-specific info:
** Model information
Hardware	: Marvell Kirkwood (Flattened Device Tree)
Revision	: 0000
Device Tree model: QNAP TS219 family

** PCI devices:
00:01.0 PCI bridge [0604]: Marvell Technology Group Ltd. 88F6281 [Kirkwood] ARM SoC [11ab:6281] (rev 02) (prog-if 00 [Normal decode])
	Device tree node: /sys/firmware/devicetree/base/mbus@f1000000/pcie@82000000/pcie@1,0
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: [disabled]
	Memory behind bridge: [disabled]
	Prefetchable memory behind bridge: 00000000-000fffff [size=1M]
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport


** USB devices:
Bus 001 Device 005: ID 174c:55aa ASMedia Technology Inc. Name: ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
Bus 001 Device 004: ID 174c:55aa ASMedia Technology Inc. Name: ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable'), (40, 'experimental')
Architecture: armel (armv5tel)

Kernel: Linux 4.19.0-5-marvell
Kernel taint flags: TAINT_DIE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-5.4.0-3-marvell depends on:
ih  initramfs-tools [linux-initramfs-tool]  0.136
ii  kmod                                    26+20191223-1
ii  linux-base                              4.6

Versions of packages linux-image-5.4.0-3-marvell recommends:
pn  apparmor             <none>
pn  firmware-linux-free  <none>
ii  u-boot-tools         2020.01+dfsg-1

Versions of packages linux-image-5.4.0-3-marvell suggests:
pn  debian-kernel-handbook  <none>
pn  linux-doc-5.4           <none>

Versions of packages linux-image-5.4.0-3-marvell is related to:
pn  firmware-amd-graphics     <none>
pn  firmware-atheros          <none>
pn  firmware-bnx2             <none>
pn  firmware-bnx2x            <none>
pn  firmware-brcm80211        <none>
pn  firmware-cavium           <none>
pn  firmware-intel-sound      <none>
pn  firmware-intelwimax       <none>
pn  firmware-ipw2x00          <none>
pn  firmware-ivtv             <none>
pn  firmware-iwlwifi          <none>
pn  firmware-libertas         <none>
pn  firmware-linux-nonfree    <none>
pn  firmware-misc-nonfree     <none>
pn  firmware-myricom          <none>
pn  firmware-netxen           <none>
pn  firmware-qlogic           <none>
pn  firmware-realtek          <none>
pn  firmware-samsung          <none>
pn  firmware-siano            <none>
pn  firmware-ti-connectivity  <none>
pn  xen-hypervisor            <none>

-- no debconf information

[toc] | [next] | [standalone]


#66273 — Processed: Re: Bug#950324: /boot/vmlinuz-5.4.0-3-marvell: 5.4.0-3-marvell vmlinuz too large for QNAP TS119 mtd, "Not enough space for kernel" error

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2020-01-31 16:10 +0100
SubjectProcessed: Re: Bug#950324: /boot/vmlinuz-5.4.0-3-marvell: 5.4.0-3-marvell vmlinuz too large for QNAP TS119 mtd, "Not enough space for kernel" error
Message-ID<zuG5I-23k-23@gated-at.bofh.it>
In reply to#66269
Processing control commands:

> tag -1 wontfix
Bug #950324 [src:linux] /boot/vmlinuz-5.4.0-3-marvell: 5.4.0-3-marvell vmlinuz too large for QNAP TS119 mtd, "Not enough space for kernel" error
Added tag(s) wontfix.

-- 
950324: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950324
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#66274

FromBen Hutchings <ben@decadent.org.uk>
Date2020-01-31 16:10 +0100
Message-ID<zuG5H-23k-7@gated-at.bofh.it>
In reply to#66269

[Multipart message — attachments visible in raw view] — view raw

Control: tag -1 wontfix

Sorry, but we probably can't fix this.  This was documented in the
changelog for 5.2.7-1.

Ben.

-- 
Ben Hutchings
73.46% of all statistics are made up.


[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web