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

Bug#810808: marked as done (initramfs-tools: lvm on NVMe boot drives brakes mkinitramfs)



Your message dated Sun, 21 Feb 2016 00:17:08 +0000
with message-id <E1aXHi0-0006QT-Lx@franck.debian.org>
and subject line Bug#810808: fixed in initramfs-tools 0.120+deb8u1
has caused the Debian Bug report #810808,
regarding initramfs-tools: lvm on NVMe boot drives brakes mkinitramfs
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
810808: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810808
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.120
Severity: normal
Tags: d-i patch

Dear Maintainer,

while trying installing debian 8.2 onto a PCIe SSD (NVMe device) the
creation of the initrd is failing.

root@holodeck10:~# apt-get install -f.                                           
Reading package lists... Done                                                    
Building dependency tree.......                                                  
Reading state information... Done                                                
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.                   
3 not fully installed or removed.                                                
After this operation, 0 B of additional disk space will be used.                 
Setting up linux-image-3.16.0-4-amd64 (3.16.7-ckt20-1+deb8u2) ...                
/etc/kernel/postinst.d/initramfs-tools:                                          
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64                     
mkinitramfs: for device /dev/dm-0 missing nvme /sys/block/ entry                 
mkinitramfs: workaround is MODULES=most                                          
mkinitramfs: Error please report the bug                                         
update-initramfs: failed for /boot/initrd.img-3.16.0-4-amd64 with 1.             
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1      
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.16.0-4-amd64.postinst line 634.
dpkg: error processing package linux-image-3.16.0-4-amd64 (--configure):         
 subprocess installed post-installation script returned error exit status 1      

i found the missing support in /usr/share/initramfs-tools/hook-functions

This patch fixes the problem:

--- /usr/share/initramfs-tools/hook-functions   2016-01-12 14:36:21.471588490 +0100
+++ hook-functions.orig 2016-01-12 14:28:29.675566666 +0100                      
@@ -364,10 +364,9 @@                                                             
        if [ "${block#md}" != "${block}" ]; then                                 
            block=$(sed -ne 's/multipath/[/' -e 's/linear/[/' -e 's/raid[0-9][0-9]*/[/' -e 's/\([hs]d[a-z][a-z]*\)[0-9][0-9]*/\1/g' -e '/^'${block}'
:/s/^[^[]*\[ \([^\[]*\)\[.*$/\1/p' </proc/mdstat)
        fi                                                                       
-       # luks or lvm on cciss or ida or nvme                                    
+       # luks or lvm on cciss or ida                                            
        if [ "${block#cciss}" != "${block}" ] \                                  
-       || [ "${block#ida}" != "${block}" ] \                                    
-       || [ "${block#nvme}" != "${block}" ] ; then                              
+       || [ "${block#ida}" != "${block}" ]; then                                
            block="${block%p*}"                                                  
        else                                                                     
            block=${block%%[0-9]*}                                            

--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.120+deb8u1

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 810808@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ben Hutchings <ben@decadent.org.uk> (supplier of updated initramfs-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 20 Feb 2016 15:48:17 +0000
Source: initramfs-tools
Binary: initramfs-tools
Architecture: all source
Version: 0.120+deb8u1
Distribution: jessie
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Ben Hutchings <ben@decadent.org.uk>
Closes: 602331 633582 747871 781239 782641 783291 783410 783620 785147 792557 795839 810808
Description: 
 initramfs-tools - generic modular initramfs generator
Changes:
 initramfs-tools (0.120+deb8u1) jessie; urgency=medium
 .
   [ Ben Hutchings ]
   * [c367d7d] scripts/functions: Use shell to create stamp file instead of
     'touch' (Closes: #783291)
   * [d22b95b] update-initramfs: Run 'sync' after writing the initramfs
     (Closes: #783620)
   * [c22cefe] hook-functions: Add support for nvme devices with MODULES=dep
     (Closes: #785147)
   * [e0b23a1] hook-functions: Add support for LVM/LUKS on mmcblk and nvme
     devices with MODULES=dep (Closes: #747871, #810808)
   * [0e905aa] scripts/functions: Fix fsck display options (Closes: #781239)
 .
   [ Laurent Bigonville ]
   * [3c4b38a] Support fsck.mode= and fsck.repair= parameters as known by
     systemd-fsck (Closes: #783410, #792557)
   * [dcb0f0c] Run new panic scripts just before dropping to a shell
     (Closes: #602331)
 .
   [ Boris Egorov ]
   * [2c82cf4] mkinitramfs: fix bashism in script (Closes: #633582)
 .
   [ Andy Whitcroft ]
   * [97b664e] When adding i8042 also add psmouse as some keyboards are behind
     the mouse (Closes: #795839)
 .
   [ Salvatore Bonaccorso ]
   * [71e5b62] scripts/nfs: Check return value from nfs_mount_root_impl
     (Closes: #782641)
Checksums-Sha1: 
 c8a03ba2194f6018497f3692d4f73fdb63e2d050 1737 initramfs-tools_0.120+deb8u1.dsc
 cd44bf2f65c06c1b584c6b046152247aa93bb282 80796 initramfs-tools_0.120+deb8u1.tar.xz
 29f3057044c89cda194a1eeeb5870a02cf44de73 96230 initramfs-tools_0.120+deb8u1_all.deb
Checksums-Sha256: 
 8b65c0ec514cdba3f185c082b59611b85c7ef6702b54accb349e710910576d32 1737 initramfs-tools_0.120+deb8u1.dsc
 e9854b2a7d6effb94a40c8bff518b04cfe6eaed63725d95bcf36adf93df49d5b 80796 initramfs-tools_0.120+deb8u1.tar.xz
 ae92dbe2fa71f5fc4343f6e8e79ded6c7e4682490c846074dda15c84c26fda2e 96230 initramfs-tools_0.120+deb8u1_all.deb
Files: 
 2aacdc3f120356865e9d5355ee951ce9 1737 utils optional initramfs-tools_0.120+deb8u1.dsc
 c69e54ba096e63c28513a343c99a1f21 80796 utils optional initramfs-tools_0.120+deb8u1.tar.xz
 d12b70c15ad8ad6ce0476d5cb7a0b565 96230 utils optional initramfs-tools_0.120+deb8u1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVsiNxee/yOyVhhEJAQpoXxAAl591JNDogazcJsB46yCh08j+/flLo7zN
CxLdzELB4AINRE2Dku4LJGx0TNLy2E1fSlEpPzj/srVTq5g88vrXBihimBOCdaz5
wSyiKaiOR15rQchngt/KHtfyYGi1nzQtZl2mGvaXgaGHucZT9/CYhhMTM5vycQAM
FE8whUkhNvzjBe+wXryIAQq0Lcpk3eD23lhO+T7rHsAbXqDjMZ5I9n2R6NlANCzH
ZjaKve/z41TdVPebUc+fd3Dnb3UqdhBqXAUL+hTzKRKPGJVmGGVS4SAS+tU7GKNn
NY87dz1IG4FAeQOOb1r1mRo8Osrvh3iMYxMKxgQEDcvtlDsvXGbu+/uKv5u1s222
7q1DMnHoJQPXZpX9h6znwLfqgQOi6SlglSWKrglQ3AqV5e4nfCM/6b9BRoVY8sTJ
223SkvhVadaT9VipI+LjqHC9wPFxdw9ogzu7/6wDcQilpLsoCqExJ7GASiRfeRw5
w6VVJe9jpo+2jR8aQghm0bJX9Ljf1zZGsAJvdRXV2JReW0b+iZoP0u96qU7uyWbU
XX7ndFLys/FLpo9ADSD+jWv6Og8lSTd/OSahjDeKkZeNNM9oWcH2nIxsZVMo8B8v
Lov71Fugt9yx4IPpqXiXjcKoh1rDrBRsyFDip1pomCkAR7mKBY16sVMCzBXtHOzT
Hl03DbjNeXo=
=8oDS
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: