I just did an apt-get upgrade to apply the DSA-3791-1 security update from two days ago, and flash-kernel produced this warning for both the kernel and initramfs:
File does not seem to match flash data. I'm now afraid to reboot this box (a QNAP TS-119P+ NAS) in case corrupt kernel and initrd images have been written to flash. The system has been running debian for several years now, and through dozens of kernel updates, I've never seen this before. Can someone advise on how to proceed? Here's the full output: $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: linux-image-3.16.0-4-kirkwood linux-libc-dev 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 20.4 MB of archives. After this operation, 1,024 B of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://security.debian.org/ jessie/updates/main linux-image-3.16.0-4-kirkwood armel 3.16.39-1+deb8u1 [19.4 MB] Get:2 http://security.debian.org/ jessie/updates/main linux-libc-dev armel 3.16.39-1+deb8u1 [1,027 kB] Fetched 20.4 MB in 11s (1,776 kB/s) Reading changelogs... Done Preconfiguring packages ... (Reading database ... 52407 files and directories currently installed.) Preparing to unpack .../linux-image-3.16.0-4-kirkwood_3.16.39-1+deb8u1_armel.deb ... Unpacking linux-image-3.16.0-4-kirkwood (3.16.39-1+deb8u1) over (3.16.39-1) ... Preparing to unpack .../linux-libc-dev_3.16.39-1+deb8u1_armel.deb ... Unpacking linux-libc-dev:armel (3.16.39-1+deb8u1) over (3.16.39-1) ... Setting up linux-image-3.16.0-4-kirkwood (3.16.39-1+deb8u1) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-3.16.0-4-kirkwood flash-kernel: deferring update (trigger activated) /etc/kernel/postinst.d/zz-flash-kernel: flash-kernel: deferring update (trigger activated) Setting up linux-libc-dev:armel (3.16.39-1+deb8u1) ... Processing triggers for flash-kernel (3.35+deb8u3) ... flash-kernel: installing version 3.16.0-4-kirkwood Generating kernel u-boot image... done. Flashing kernel (2073656/2097152 bytes)... File does not seem to match flash data. First mismatch at 0x00000000-0x00002800 done. Flashing initramfs (4000918/9437184 bytes)... File does not seem to match flash data. First mismatch at 0x00000000-0x00002800 done. $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.7 (jessie) Release: 8.7 Codename: jessie