Your message dated Sun, 27 Dec 2015 23:00:15 +0000 with message-id <[email protected]> and subject line Bug#620814: fixed in initramfs-tools 0.121~rc2 has caused the Debian Bug report #620814, regarding initramfs-tools: fails to include essential module for other leg of md0 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 [email protected] immediately.) -- 620814: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620814 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: initramfs-tools Version: 0.98.8 Severity: normal (resending manually because exim hadn't been configured yet) This is a new Wheezy install on an old server machine. The machine has four PATA disks, tied to two controllers. The four disks are combined into a SW-raid volume using mdadm: ladmin@fury:/tmp$ sudo mdadm --detail /dev/md0|grep /dev/ /dev/md0: 0 8 36 0 active sync /dev/sdc4 1 8 52 1 active sync /dev/sdd4 2 8 4 2 active sync /dev/sda4 4 8 20 3 active sync /dev/sdb4 [ 1.145853] scsi0 : pata_sil680 [ 1.146143] scsi1 : pata_sil680 [ 1.147018] ata1: PATA max UDMA/133 cmd 0xc400 ctl 0xc000 bmdma 0xb000 irq 23 [ 1.147085] ata2: PATA max UDMA/133 cmd 0xb800 ctl 0xb400 bmdma 0xb008 irq 23 [ 1.148407] scsi2 : pata_serverworks [ 1.148835] scsi3 : pata_serverworks [ 1.156965] ata3: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xffa0 irq 14 [ 1.157034] ata4: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15 During installation, I configured initramfs-tools to determine the required modules automatically, which resulted in a non-booting system (notice that the sil680 module is missing): ladmin@fury:/tmp$ lsinitramfs /boot/initrd.img-2.6.32-5-686 |grep ata lib/udev/ata_id lib/modules/2.6.38-2-686/kernel/drivers/ata lib/modules/2.6.38-2-686/kernel/drivers/ata/ata_generic.ko lib/modules/2.6.38-2-686/kernel/drivers/ata/pata_serverworks.ko lib/modules/2.6.38-2-686/kernel/drivers/ata/libata.ko As a workaround, I've now added both pata_ modules to /e/i-t/modules, but that is about as far as my knowledge of initramfs-tools will go. I'll be glad to try other suggestions, or provide more info. -- (regarding the below: I apologize, I can get carried away sometimes... I'll leave solving this up to you :) From my reading of sh -x output, it appears that there is just one level too much indirection going on. We have a + readlink -f /dev/mapper/fury-root /dev/dm-0 Which finds the correct dm device. Following the trace, + ls -1 /sys/block/dm-0/slaves + block=md0 md0 is identified as the correct md device underlying the lvm VG. But this is also where it breaks down; the sed expression following it reduces /proc/mdstat to just a single block device: + block=sdc [...] + readlink -f /sys/block/sdc/device This code maps to dep_add_modules() in hook-functions, particularly the sed expression on line 288 (preceded by comment "lvm on md"). The code surely doesn't look like it's designed to handle more than one block device per invocation, but that is probably what's needed here. It's trivial to modify the sed expression to that end (replacing the last -e argument): sed [...] -e 's/\[[0-9]\+\]//g' -e '/^'${block}' :/s/^[^[]*\[ //p' But that still leaves the issue that the rest of the code expects $block to only represent a single block device. At the very least, the "#Error out" and "# sys walk ATA" code blocks (line 350+) would need a loop. -- Package-specific info: -- initramfs sizes -rw-r--r-- 1 root root 4.2M Apr 3 21:37 /boot/initrd.img-2.6.32-5-686 -rw-r--r-- 1 root root 4.3M Apr 3 21:37 /boot/initrd.img-2.6.38-2-686 -- /proc/cmdline BOOT_IMAGE=/vmlinuz-2.6.38-2-686 root=/dev/mapper/fury-root ro -- resume RESUME=/dev/mapper/sda3_crypt -- /proc/filesystems btrfs ext4 ext3 -- lsmod Module Size Used by ext3 98001 1 jbd 40818 1 ext3 dm_mirror 17249 1 dm_region_hash 13072 1 dm_mirror dm_log 13269 3 dm_mirror,dm_region_hash loop 17805 0 sha256_generic 16709 8 aes_i586 16608 16 aes_generic 37066 1 aes_i586 cbc 12659 8 dm_crypt 17809 4 snd_pcm 52774 0 snd_timer 22171 1 snd_pcm ohci_hcd 21928 0 ehci_hcd 34889 0 snd 38153 2 snd_pcm,snd_timer usbcore 99058 3 ohci_hcd,ehci_hcd soundcore 12878 1 snd snd_page_alloc 12841 1 snd_pcm tpm_tis 12949 0 tpm 17454 1 tpm_tis tg3 103807 0 pcspkr 12515 0 tpm_bios 12799 1 tpm aic7xxx 97720 0 i2c_piix4 12480 0 libphy 18279 1 tg3 evdev 13084 2 processor 26983 0 nls_base 12649 1 usbcore i2c_core 18989 1 i2c_piix4 thermal_sys 17667 1 processor scsi_transport_spi 19032 1 aic7xxx button 12866 0 ext4 251726 3 mbcache 12810 2 ext3,ext4 jbd2 55701 1 ext4 crc16 12327 1 ext4 dm_mod 56394 37 dm_mirror,dm_log,dm_crypt raid456 51595 1 async_raid6_recov 12459 1 raid456 async_pq 12503 2 raid456,async_raid6_recov raid6_pq 86733 2 async_raid6_recov,async_pq async_xor 12390 3 raid456,async_raid6_recov,async_pq xor 21454 1 async_xor async_memcpy 12363 2 raid456,async_raid6_recov async_tx 12510 5 raid456,async_raid6_recov,async_pq,async_xor,async_memcpy raid10 25891 1 md_mod 80674 4 raid456,raid10 btrfs 419245 1 zlib_deflate 21186 1 btrfs crc32c 12576 1 libcrc32c 12394 1 btrfs sd_mod 34941 20 crc_t10dif 12332 1 sd_mod ata_generic 12439 0 pata_serverworks 12869 8 pata_sil680 12646 8 libata 131904 3 ata_generic,pata_serverworks,pata_sil680 scsi_mod 134369 4 aic7xxx,scsi_transport_spi,sd_mod,libata -- /etc/initramfs-tools/modules pata_sil680 pata_serverworks -- /etc/kernel-img.conf # Kernel image management overrides # See kernel-img.conf(5) for details 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 BOOT=local DEVICE= NFSROOT=auto -- /etc/initramfs-tools/update-initramfs.conf update_initramfs=yes backup_initramfs=no -- /etc/crypttab sda3_crypt /dev/sda3 /dev/urandom cipher=aes-cbc-essiv:sha256,size=256,swap sdb3_crypt /dev/sdb3 /dev/urandom cipher=aes-cbc-essiv:sha256,size=256,swap sdc3_crypt /dev/sdc3 /dev/urandom cipher=aes-cbc-essiv:sha256,size=256,swap sdd3_crypt /dev/sdd3 /dev/urandom cipher=aes-cbc-essiv:sha256,size=256,swap -- /proc/mdstat Personalities : [raid10] [raid6] [raid5] [raid4] md1 : active raid10 sdc5[0] sdb5[3] sda5[2] sdd5[1] 307062784 blocks super 1.2 512K chunks 2 offset-copies [4/4] [UUUU] md0 : active raid5 sdc4[0] sdb4[4] sda4[2] sdd4[1] 18869760 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU] unused devices: <none> -- mkinitramfs hooks /etc/initramfs-tools/hooks/: /usr/share/initramfs-tools/hooks: btrfs busybox cryptgnupg cryptkeyctl cryptopenct cryptopensc cryptpassdev cryptroot dmsetup keymap klibc lvm2 mdadm thermal udev -- System Information: Debian Release: wheezy/sid APT prefers stable APT policy: (900, 'stable'), (600, 'testing'), (300, 'unstable'), (200, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.38-2-686 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages initramfs-tools depends on: ii cpio 2.11-7 GNU cpio -- a program to manage ar ii findutils 4.4.2-1+b1 utilities for finding files--find, ii klibc-utils 1.5.21-1 small utilities built with klibc f ii module-init-tools 3.12-1 tools for managing Linux kernel mo ii udev 166-1 /dev/ and hotplug management daemo Versions of packages initramfs-tools recommends: ii busybox 1:1.17.1-10 Tiny utilities for small and embed Versions of packages initramfs-tools suggests: ii bash-completion 1:1.3-1 programmable completion for the ba -- no debconf information
--- End Message ---
--- Begin Message ---Source: initramfs-tools Source-Version: 0.121~rc2 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Ben Hutchings <[email protected]> (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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Tue, 22 Dec 2015 22:07:42 +0000 Source: initramfs-tools Binary: initramfs-tools initramfs-tools-core Architecture: all source Version: 0.121~rc2 Distribution: experimental Urgency: medium Maintainer: Debian kernel team <[email protected]> Changed-By: Ben Hutchings <[email protected]> Closes: 588452 602331 620814 633582 696632 697017 747871 766920 770394 782641 783291 783410 783620 784234 785147 785564 790095 791754 792557 793786 795831 795832 795837 795839 797361 799443 801154 807000 807004 807256 Description: initramfs-tools-core - generic modular initramfs generator (core tools) initramfs-tools - generic modular initramfs generator (automation) Changes: initramfs-tools (0.121~rc2) experimental; urgency=medium . * Upload to experimental, not unstable . initramfs-tools (0.121~rc1) unstable; urgency=medium . [ Ben Hutchings ] * [da2159f] Add .gitignore files to exclude generated and backup files * [8ad7317] bash-completion: Install using dh_bash-completion * [31d21d6] Rename lintian override file so dh_lintian installs it automatically * [9d45599] debian/control: Update and shorten description * [2bf8c27] Split initramfs-tools binary packages into core and automation hooks * [6562e1b] debian/control,debian/copyright: Use canonical HTTP-S URLs for Alioth git repos * [76dab5a] hook-functions: Include soft-dependencies of all kernel modules (Closes: #588452) * [7285ffb] hooks/busybox: Fail if busybox is wanted but not found (Closes: #785564) * [852b9ab] scripts/functions: Use shell to create stamp file instead of 'touch' (Closes: #783291) * [9aea31d] sripts/local: Remove obsolete hint about ATA device renaming * [e0c8d03] hook-functions: Always use /proc/mounts, avoiding mangling of /dev/root (Closes: #766920) * [728f534] hook-functions: Fold sys_walk_modalias into sys_walk_mod_add * [d122ab6] hook-functions: Split block device sysfs lookup into a separate function * [aff5209] hook-functions: Remove loop-aes support * [3cb744c] hook-functions: Rewrite block device sysfs lookup to be generic (Closes: #747871, #785147, #807004, #807256) * [8ac52dc] hook-functions: Include modules for all components of a multi-disk device (Closes: #620814) * [c69313d] parse_numeric: Tighten check for whether 'root' parameter is a number (Closes: #697017) * [8062189] parse_numeric: Add support for 20-bit minor numbers in 'root' parameter * [88f98b5] parse_numeric: Replace numeric root with canonical device name * [28e5a0a] update-initramfs: Use linux-version command to sort versions (Closes: #770394, #795837) * [4b4e578] lsinitramfs.8: Update the BUGS section to note fix for #717805 (Closes: #790095) * [fa82bf1] hooks/fsck: Stop copying sulogin, which is no longer used * [95beada] Only run fsck if enabled in /etc/fstab (pass != 0) (Closes: #797361) * [371221b] hooks/fsck: Use 'command' to find fsck.<type> (Closes: #784234) * [e352b94] scripts/functions: Use blkid to resolve LABEL= and UUID= block device IDs * [7469eee] scripts/functions: Handle PARTLABEL= and PARTUUID= block device IDs using blkid (Closes: #801154) * [fe30453] hook-functions: Include drivers/nvme in block driver modules (Closes: #807000) * [fa1985b] update-initramfs: Run 'sync' after writing the initramfs (Closes: #783620) * [6a40a89] hook-functions: Introduce copy_file function * [a7fc630] Use copy_file to copy config files and firmware, instead of copy_exec * [52ae50c] hook-functions: Use copy_file to install modules * [b215c18] Support multiple break points using a comma delimiter (Closes: #795832) * [b2dfbeb] Set emacs local variables to implement our shell coding style * [b1dc049] hook-functions: Preserve symlinks when copying files (Closes: #799443) * [319b141] hooks/fsck: Simplify by letting copy_exec handle symlinks * [143b9ef] maintainer-notes.html: Update changelog command lines to use 'gbp dch' * [f01cdd4] debian/control: Ensure lockstep upgrade of initramfs-tools and -core * [88f7bb6] debian/TODO: Update for released and pending changes * [d136f22] scripts/local: Remove residual support for separate /etc filesystem * [14913b2] scripts/local: Name parameters to local_device_setup * [3080087] Defer resolving block device IDs to local_device_setup * [3574b56] scripts/functions: Stop resolving symlinks in resolve_device (Closes: #791754) . [ Laurent Bigonville ] * [27405fc] Support fsck.mode= and fsck.repair= parameters as known by systemd-fsck (Closes: #783410, #792557) * [8a2f298] Run new panic scripts just before dropping to a shell (Closes: #602331) . [ Boris Egorov ] * [c14d661] mkinitramfs: fix bashism in script (Closes: #633582) . [ Salvatore Bonaccorso ] * [f78c9a9] scripts/nfs: Check return value from nfs_mount_root_impl (Closes: #782641) . [ Roger Shimizu ] * [50aa8e2] advance the timing of insmod netconsole * [3acddcc] redirect debug info to netconsole (Closes: #793786) . [ Andy Whitcroft ] * [4ba741b] Add 2>&1 to the run-init line (Closes: #795831) * [1f5c193] When adding i8042 also add psmouse as some keyboards are behind the mouse (Closes: #795839) . [ Roger Leigh ] * [6a8d18b] init: Always migrate /run to the rootfs (Closes: #696632) Checksums-Sha1: 637879afd5e58783b459e5d143925c36e6b3fd38 1827 initramfs-tools_0.121~rc2.dsc ae8241178fec79ee313b7047b895d11cb7841678 81796 initramfs-tools_0.121~rc2.tar.xz ca77d0e7dcee3156cfa17068d6d5b141c1cd8c19 91304 initramfs-tools-core_0.121~rc2_all.deb 5c816122c238ea6c85e536dbd146e5bf42e1277d 61984 initramfs-tools_0.121~rc2_all.deb Checksums-Sha256: a843f037d009a716a05608e53358a91882acfee5abecd34d8b05370e6a75f60c 1827 initramfs-tools_0.121~rc2.dsc 692f46cdb3d98463a39a24b3d6b73e90e1f8644f47898c42c9dfe421b0e17e1a 81796 initramfs-tools_0.121~rc2.tar.xz 136b2361c60146f48473c074e0ab9322bb985fead530b7ff5c2047c2f37ad9f2 91304 initramfs-tools-core_0.121~rc2_all.deb 0c95877a21a1d8518218e7790d90840f2fa1a8acf71c7862a49e10645852db0e 61984 initramfs-tools_0.121~rc2_all.deb Files: 5a088b0402a552cb25a3d526b378b298 1827 utils optional initramfs-tools_0.121~rc2.dsc ee04e46be524b9dabe82422373e4f69d 81796 utils optional initramfs-tools_0.121~rc2.tar.xz 4a5f88c08bca7db8f3bea5a2a0654042 91304 utils optional initramfs-tools-core_0.121~rc2_all.deb ba9a71555f1e2695e933984954f05946 61984 utils optional initramfs-tools_0.121~rc2_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIVAwUBVnnV7+e/yOyVhhEJAQoBJhAAkjSQFmokaADTzpf6tOlHsw1Zr9xOUV/T hiOxn7eAP1Az/HfMSs5FQtZfoP8FN89/vcGc0+2uAe7YGNRNPR3QM5ryWU1aGDL6 RaAaoUoFqUAGasH05b0/6O7UD8w5ZGBzj5V6sQgSXO5R+nzOsU90K7/XehLLwEWH iccC8jl3zK+CEF8klqXuAMG4/pFb+Dr7bE29V/K7ST90EdOKIggXaUkp5KXMuIbA p6QJcgVQFxJ4FIYko5N42oqb78p5BqsA2BLe8d7u1DO+YboLOpDG40w8GPRFAgyF e7lb62nwayIN8zdSrLwdwvxYftyMz1SdH3//cybWbZ0+O+MvBwvg5Tq+fkpD2j7V USxL+WHpoMO8bhGao/Dp6XYrr+dU1vYWIgwarbObqynAtj9WLzAfzNnovr//qKvc VzNYvplo3T0YYSwK0vBx7Vte4N/FJarFkbiTiGQYZyZ/ok9irphqy2tVoJ2m9Wb3 QbqjV7ujBzXSgFShm09uAMxpGZrrUZMrpsRM6CvRBe+ZmUXh3+r8TiNjoT1/XEEd xXrHGyexLqVzHmQsvnBL7JyF3iigKMO9URNiZIbWGIiNyq3wDL7/u0u//iARO9aQ ii+oJfi+eR8HrrEAlmrMCTFz0RRM559hEG/zK6tevtGyezXSy04gRm/TCHuEeltR sUFVzGtDzn8= =0u0e -----END PGP SIGNATURE-----
--- End Message ---

