Package: initramfs-tools Version: 0.120 Severity: normal Dear Maintainer,
I tried creating an initrd on a system with an NVMe SSD PCIe card. The card is supported using the nvme kernel module and with the 4.2 kernel I was successfully able to boot the system. However, the upcoming 4.4 kernel includes a commit that moves the nvme module from drivers/block/nvme into its own directory drivers/nvme (see https://github.com/torvalds/linux/commit/57dacad5f2288e3de91f99b29f07b4a2793446d2), therefore preventing it from being automatically added to the list of modules included in the initrd. Adding the module manually to the initramfs configuration solves the issue. Here's a patch that adds the module again to the 'most' set: ----- --- hook-functions 2015-12-03 23:14:12.150731429 +0100 +++ hook-functions.new 2015-12-03 23:14:02.758856723 +0100 @@ -526,6 +526,7 @@ modules="$modules nfs nfsv2 nfsv3 nfsv4" modules="$modules af_packet atkbd i8042" modules="$modules virtio_pci virtio_mmio" + modules="$modules nvme" # Include all HID drivers unless we're sure they # don't support keyboards. hid-*ff covers various ----- Thanks, Philipp -- Package-specific info: -- initramfs sizes -rw-r--r-- 1 root root 19M Oct 7 17:39 /boot/initrd.img-4.2.0-1-amd64 -rw-r--r-- 1 root root 20M Dec 3 22:32 /boot/initrd.img-4.4.0-rc3 -- /proc/cmdline BOOT_IMAGE=/vmlinuz-4.4.0-rc3 root=/dev/mapper/Debian-root ro quiet -- resume RESUME=/dev/mapper/Debian-swap_1 -- /proc/filesystems ext3 ext2 ext4 vfat fuseblk -- lsmod Module Size Used by fuse 94208 3 rfcomm 69632 2 bnep 20480 2 joydev 20480 0 snd_hda_codec_hdmi 49152 1 dell_wmi 16384 0 dell_laptop 20480 0 dcdbas 16384 1 dell_laptop dell_led 16384 1 sparse_keymap 16384 1 dell_wmi intel_rapl 20480 0 x86_pkg_temp_thermal 16384 0 intel_powerclamp 16384 0 nls_utf8 16384 1 coretemp 16384 0 kvm_intel 167936 0 nls_cp437 20480 1 kvm 507904 1 kvm_intel vfat 20480 1 fat 69632 1 vfat snd_hda_codec_realtek 81920 1 irqbypass 16384 1 kvm snd_hda_codec_generic 73728 1 snd_hda_codec_realtek efi_pstore 16384 0 snd_hda_intel 36864 6 psmouse 118784 0 pcspkr 16384 0 serio_raw 16384 0 efivars 20480 1 efi_pstore snd_hda_codec 131072 4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel snd_hda_core 65536 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel snd_hwdep 16384 1 snd_hda_codec brcmfmac 233472 0 snd_pcm 102400 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_core snd_timer 32768 1 snd_pcm brcmutil 16384 1 brcmfmac snd 81920 20 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel uvcvideo 90112 0 soundcore 16384 1 snd i2c_i801 20480 0 rtsx_pci_ms 20480 0 cfg80211 528384 1 brcmfmac videobuf2_vmalloc 16384 1 uvcvideo videobuf2_memops 16384 1 videobuf2_vmalloc memstick 20480 1 rtsx_pci_ms videobuf2_v4l2 28672 1 uvcvideo videobuf2_core 32768 2 uvcvideo,videobuf2_v4l2 v4l2_common 16384 1 videobuf2_v4l2 videodev 167936 4 uvcvideo,v4l2_common,videobuf2_core,videobuf2_v4l2 media 24576 2 uvcvideo,videodev shpchp 36864 0 btusb 45056 0 btrtl 16384 1 btusb mei_me 28672 0 mei 94208 1 mei_me processor_thermal_device 16384 0 intel_soc_dts_iosf 16384 1 processor_thermal_device iosf_mbi 16384 2 intel_soc_dts_iosf,intel_rapl wmi 16384 2 dell_led,dell_wmi battery 16384 0 hci_uart 73728 0 btbcm 16384 2 btusb,hci_uart btintel 16384 2 btusb,hci_uart bluetooth 503808 30 bnep,btbcm,btrtl,btusb,hci_uart,rfcomm,btintel evdev 24576 15 rfkill 24576 7 cfg80211,bluetooth,dell_laptop tpm_tis 20480 0 tpm 45056 1 tpm_tis int3400_thermal 16384 0 processor 36864 0 acpi_thermal_rel 16384 1 int3400_thermal int3403_thermal 16384 0 int340x_thermal_zone 16384 2 processor_thermal_device,int3403_thermal ac 16384 0 acpi_pad 24576 0 efivarfs 16384 1 autofs4 40960 2 ext4 561152 2 crc16 16384 2 ext4,bluetooth mbcache 20480 1 ext4 jbd2 106496 1 ext4 algif_skcipher 20480 0 af_alg 16384 1 algif_skcipher dm_crypt 24576 1 dm_mod 106496 9 dm_crypt crct10dif_pclmul 16384 0 crc32_pclmul 16384 0 crc32c_intel 24576 0 jitterentropy_rng 16384 0 sha256_ssse3 32768 1 sha256_generic 24576 1 sha256_ssse3 hmac 16384 1 drbg 24576 1 rtsx_pci_sdmmc 24576 0 mmc_core 122880 2 brcmfmac,rtsx_pci_sdmmc ansi_cprng 16384 0 aesni_intel 167936 2 aes_x86_64 20480 1 aesni_intel lrw 16384 1 aesni_intel gf128mul 16384 1 lrw glue_helper 16384 1 aesni_intel ablk_helper 16384 1 aesni_intel cryptd 20480 3 aesni_intel,ablk_helper i915 1167360 7 i2c_algo_bit 16384 1 i915 nvme 53248 4 rtsx_pci 53248 2 rtsx_pci_ms,rtsx_pci_sdmmc xhci_pci 16384 0 drm_kms_helper 131072 1 i915 mfd_core 16384 1 rtsx_pci xhci_hcd 172032 1 xhci_pci usbcore 233472 5 btusb,brcmfmac,uvcvideo,xhci_hcd,xhci_pci drm 348160 8 i915,drm_kms_helper usb_common 16384 1 usbcore fan 16384 0 thermal 20480 0 i2c_hid 20480 0 hid 118784 1 i2c_hid video 36864 3 i915,dell_wmi,dell_laptop button 16384 1 i915 -- /etc/initramfs-tools/modules i915 nvme -- /etc/kernel-img.conf # This is a sample /etc/kernel-img.conf file # See kernel-img.conf(5) for details # If you want the symbolic link (or image, if move_image is set) to be # stored elsewhere than / set this variable to the dir where you # want the symbolic link. Please note that this is not a Boolean # variable. This may be of help to loadlin users, who may set both # this and move_image. Defaults to /. This can be used in conjunction # with all above options except link_in_boot, which would not make # sense. (If both image_dest and link_in_boot are set, link_in_boot # overrides). image_dest = / # This option manipulates the build link created by recent kernels. If # the link is a dangling link, and if a the corresponding kernel # headers appear to have been installed on the system, a new symlink # shall be created to point to them. #relink_build_link = YES # If set, the preinst shall silently try to move /lib/modules/version # out of the way if it is the same version as the image being # installed. Use at your own risk. #clobber_modules = NO # If set, does not prompt to continue after a depmod problem in the # postinstall script. This facilitates automated installs, though it # may mask a problem with the kernel image. A diag‐ nostic is still # issued. This is unset be default. # ignore_depmod_err = NO # These setting are for legacy postinst scripts only. newer postinst # scripts from the kenrel-package do not use them do_symlinks = yes do_bootloader = no do_initrd=yes link_in_boot=no -- /etc/initramfs-tools/initramfs.conf MODULES=most BUSYBOX=y KEYMAP=n COMPRESS=gzip DEVICE= NFSROOT=auto -- /etc/initramfs-tools/update-initramfs.conf update_initramfs=yes backup_initramfs=no -- /etc/crypttab nvme0n1p3_crypt UUID=dbdaf1e5-998b-4688-9d33-ecda2981de68 none luks -- mkinitramfs hooks /etc/initramfs-tools/hooks/: /usr/share/initramfs-tools/hooks: busybox cryptgnupg cryptkeyctl cryptopenct cryptopensc cryptpassdev cryptroot dmsetup fsck fuse keymap klibc kmod lvm2 resume thermal udev zz-busybox -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.4.0-rc3 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages initramfs-tools depends on: ii busybox 1:1.22.0-15 ii cpio 2.11+dfsg-4.1 ii klibc-utils 2.0.4-4 ii kmod 21-1 ii udev 228-2 Versions of packages initramfs-tools recommends: ii busybox 1:1.22.0-15 Versions of packages initramfs-tools suggests: ii bash-completion 1:2.1-4.2 -- no debconf information