Hi, m...@stro.at (2010-04-07 at 1952.55 +0200): > On Wed, Apr 07, 2010 at 07:30:03PM +0200, GSR wrote: > > Package: initramfs-tools > > Version: 0.94.1 > > Severity: important > > Tags: sid > > > > Last update to initrd.img left the system unbootable due to lack of > > sbin/mdadm and scripts/local-top/mdadm (even scripts/local-top/ is > > missing), as checked by manual inspection with zcat -d < > > /boot/initrd.img-... | cpio -i. Currently I am booting thanks to > > initrd backups. > > > > I looked at other bugs and found a suggestion to install lvm2 (I do > > not use it, RAID here is plain /dev/md*, but nothing to lose...), then > > local-top was added to the initrd, with lvm2 in it, but still no trace > > of mdadm. > > post output of: > update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.33-2-686 I reported the bug from 32 (as all other mails), but 33 was the one that failed to boot completly. In 32 I had to enable md[1-4] by hand (after fsck failure), but md0 worked automatically. With 33 it just was unable to find any md at all, failing earlier in boot. > dpkg -l mdadm rc mdadm 3.1.1-1 tool to administer Linux MD arrays (software Uh, I am surprised, it was removed!? That explains why I had to use the binary from old initrd to get 32 into multiuser. Sorry if it was my fault to let an upgrade remove such deb, I normally verify the list of packages to avoid bad conflicts. Reinstalled and 32 boots fine again. > mount | grep /tmp Yeah, tmpfs type. > if it is on tmpfs, please try > TMPDIR=mnt mkinitramfs -o /tmp/initramfs-test mktemp: failed to create directory via template `mnt/mkinitramfs_XXXXXX': No such file or directory With a TMPDIR pointing to a HDD backed directory, it generates /tmp/initramfs-test of 8265948 bytes. And as I had installed back mdadm (no conflicts, still no idea why it was removed), it managed to get the right mdadm files in sbin and scripts/local-top/. Renamed it into /boot/ and rebooted, now it complained about missing dep file, but I am not sure which path it was exactly. I have /lib/modules/2.6.32-3-686/ and /lib/modules/2.6.33-2-686/ on HDD with dep files in them, while the initramfs-test had lib/modules/2.6.32-3-686/ and no dep file (path 32 and booting kernel 33... I think it was an bad idea). So I put back one of the backups without mdadm then used uptdate-initramfs -u so it does not complain about "modified and unable to update". It seems it works then, now I am running 33 again, no manual fixes while booting. Thanks a lot for your patience. I looked in /var/log/dpkg to see when mdadm was removed, the dist-upgrade where it happened is: ---8<--- 2010-04-07 00:00:53 startup packages remove 2010-04-07 00:00:53 status installed mdadm 3.1.1-1 2010-04-07 00:01:09 remove mdadm 3.1.1-1 3.1.1-1 2010-04-07 00:01:09 status half-configured mdadm 3.1.1-1 2010-04-07 00:01:10 status half-installed mdadm 3.1.1-1 2010-04-07 00:01:10 status triggers-pending man-db 2.5.7-2 2010-04-07 00:01:10 status half-installed mdadm 3.1.1-1 2010-04-07 00:01:11 status triggers-pending initramfs-tools 0.94 2010-04-07 00:01:11 status config-files mdadm 3.1.1-1 2010-04-07 00:01:11 status config-files mdadm 3.1.1-1 2010-04-07 00:01:11 trigproc man-db 2.5.7-2 2.5.7-2 2010-04-07 00:01:11 status half-configured man-db 2.5.7-2 2010-04-07 00:01:16 status installed man-db 2.5.7-2 2010-04-07 00:01:16 trigproc initramfs-tools 0.94 0.94 2010-04-07 00:01:16 status half-configured initramfs-tools 0.94 2010-04-07 00:01:47 status installed initramfs-tools 0.94 2010-04-07 00:01:49 startup archives unpack 2010-04-07 00:02:12 upgrade x11proto-dri2-dev 2.2-2 2.3-1 2010-04-07 00:02:12 status half-configured x11proto-dri2-dev 2.2-2 2010-04-07 00:02:12 status unpacked x11proto-dri2-dev 2.2-2 2010-04-07 00:02:12 status half-installed x11proto-dri2-dev 2.2-2 2010-04-07 00:02:12 status half-installed x11proto-dri2-dev 2.2-2 2010-04-07 00:02:12 status unpacked x11proto-dri2-dev 2.3-1 2010-04-07 00:02:13 status unpacked x11proto-dri2-dev 2.3-1 2010-04-07 00:02:13 upgrade bsdmainutils 8.0.9 8.0.10 2010-04-07 00:02:13 status half-configured bsdmainutils 8.0.9 2010-04-07 00:02:13 status unpacked bsdmainutils 8.0.9 2010-04-07 00:02:13 status half-installed bsdmainutils 8.0.9 2010-04-07 00:02:14 status triggers-pending man-db 2.5.7-2 2010-04-07 00:02:14 status half-installed bsdmainutils 8.0.9 2010-04-07 00:02:16 status half-installed bsdmainutils 8.0.9 2010-04-07 00:02:16 status unpacked bsdmainutils 8.0.10 2010-04-07 00:02:16 status unpacked bsdmainutils 8.0.10 2010-04-07 00:02:16 upgrade cpio 2.11-1 2.11-2 2010-04-07 00:02:16 status half-configured cpio 2.11-1 2010-04-07 00:02:17 status unpacked cpio 2.11-1 2010-04-07 00:02:17 status half-installed cpio 2.11-1 2010-04-07 00:02:17 status triggers-pending install-info 4.13a.dfsg.1-5 2010-04-07 00:02:17 status half-installed cpio 2.11-1 2010-04-07 00:02:17 status half-installed cpio 2.11-1 2010-04-07 00:02:18 status half-installed cpio 2.11-1 2010-04-07 00:02:18 status unpacked cpio 2.11-2 2010-04-07 00:02:18 status unpacked cpio 2.11-2 2010-04-07 00:02:18 upgrade initramfs-tools 0.94 0.94.1 2010-04-07 00:02:18 status half-configured initramfs-tools 0.94 2010-04-07 00:02:18 status unpacked initramfs-tools 0.94 2010-04-07 00:02:18 status half-installed initramfs-tools 0.94 2010-04-07 00:02:18 status half-installed initramfs-tools 0.94 2010-04-07 00:02:19 status half-installed initramfs-tools 0.94 2010-04-07 00:02:20 status unpacked initramfs-tools 0.94.1 2010-04-07 00:02:20 status unpacked initramfs-tools 0.94.1 2010-04-07 00:02:20 upgrade libparted0 2.2-4 2.2-5 2010-04-07 00:02:20 status half-configured libparted0 2.2-4 2010-04-07 00:02:20 status unpacked libparted0 2.2-4 2010-04-07 00:02:20 status half-installed libparted0 2.2-4 2010-04-07 00:02:21 status half-installed libparted0 2.2-4 2010-04-07 00:02:21 status unpacked libparted0 2.2-5 2010-04-07 00:02:21 status unpacked libparted0 2.2-5 2010-04-07 00:02:21 upgrade libparted0debian1 2.2-4 2.2-5 2010-04-07 00:02:21 status half-configured libparted0debian1 2.2-4 2010-04-07 00:02:21 status unpacked libparted0debian1 2.2-4 2010-04-07 00:02:21 status half-installed libparted0debian1 2.2-4 2010-04-07 00:02:21 status half-installed libparted0debian1 2.2-4 2010-04-07 00:02:21 status unpacked libparted0debian1 2.2-5 2010-04-07 00:02:21 status unpacked libparted0debian1 2.2-5 2010-04-07 00:02:21 upgrade libpcap0.8 1.0.0-6 1.1.1-1 2010-04-07 00:02:21 status half-configured libpcap0.8 1.0.0-6 2010-04-07 00:02:21 status unpacked libpcap0.8 1.0.0-6 2010-04-07 00:02:21 status half-installed libpcap0.8 1.0.0-6 2010-04-07 00:02:21 status half-installed libpcap0.8 1.0.0-6 2010-04-07 00:02:22 status half-installed libpcap0.8 1.0.0-6 2010-04-07 00:02:22 status unpacked libpcap0.8 1.1.1-1 2010-04-07 00:02:22 status unpacked libpcap0.8 1.1.1-1 2010-04-07 00:02:22 upgrade linux-libc-dev 2.6.32-10 2.6.32-11 2010-04-07 00:02:22 status half-configured linux-libc-dev 2.6.32-10 2010-04-07 00:02:22 status unpacked linux-libc-dev 2.6.32-10 2010-04-07 00:02:22 status half-installed linux-libc-dev 2.6.32-10 2010-04-07 00:02:23 status half-installed linux-libc-dev 2.6.32-10 2010-04-07 00:02:23 status unpacked linux-libc-dev 2.6.32-11 2010-04-07 00:02:23 status unpacked linux-libc-dev 2.6.32-11 2010-04-07 00:02:23 upgrade parted 2.2-4 2.2-5 2010-04-07 00:02:23 status half-configured parted 2.2-4 2010-04-07 00:02:23 status unpacked parted 2.2-4 2010-04-07 00:02:23 status half-installed parted 2.2-4 2010-04-07 00:02:23 status half-installed parted 2.2-4 2010-04-07 00:02:23 status half-installed parted 2.2-4 2010-04-07 00:02:23 status unpacked parted 2.2-5 2010-04-07 00:02:24 status unpacked parted 2.2-5 2010-04-07 00:02:24 upgrade parted-doc 2.2-4 2.2-5 2010-04-07 00:02:24 status half-configured parted-doc 2.2-4 2010-04-07 00:02:24 status unpacked parted-doc 2.2-4 2010-04-07 00:02:24 status half-installed parted-doc 2.2-4 2010-04-07 00:02:24 status half-installed parted-doc 2.2-4 2010-04-07 00:02:24 status half-installed parted-doc 2.2-4 2010-04-07 00:02:24 status unpacked parted-doc 2.2-5 2010-04-07 00:02:24 status unpacked parted-doc 2.2-5 2010-04-07 00:02:24 upgrade tcpdump 4.0.0-6 4.1.1-1 2010-04-07 00:02:24 status half-configured tcpdump 4.0.0-6 2010-04-07 00:02:24 status unpacked tcpdump 4.0.0-6 2010-04-07 00:02:24 status half-installed tcpdump 4.0.0-6 2010-04-07 00:02:24 status half-installed tcpdump 4.0.0-6 2010-04-07 00:02:24 status half-installed tcpdump 4.0.0-6 2010-04-07 00:02:24 status unpacked tcpdump 4.1.1-1 2010-04-07 00:02:24 status unpacked tcpdump 4.1.1-1 2010-04-07 00:02:24 trigproc man-db 2.5.7-2 2.5.7-2 2010-04-07 00:02:24 status half-configured man-db 2.5.7-2 2010-04-07 00:02:30 status installed man-db 2.5.7-2 2010-04-07 00:02:30 trigproc install-info 4.13a.dfsg.1-5 4.13a.dfsg.1-5 2010-04-07 00:02:30 status half-configured install-info 4.13a.dfsg.1-5 2010-04-07 00:02:31 status installed install-info 4.13a.dfsg.1-5 2010-04-07 00:02:33 startup packages configure 2010-04-07 00:02:33 configure x11proto-dri2-dev 2.3-1 2.3-1 2010-04-07 00:02:33 status unpacked x11proto-dri2-dev 2.3-1 2010-04-07 00:02:33 status half-configured x11proto-dri2-dev 2.3-1 2010-04-07 00:02:33 status installed x11proto-dri2-dev 2.3-1 2010-04-07 00:02:33 configure bsdmainutils 8.0.10 8.0.10 2010-04-07 00:02:33 status unpacked bsdmainutils 8.0.10 2010-04-07 00:02:33 status unpacked bsdmainutils 8.0.10 2010-04-07 00:02:33 status unpacked bsdmainutils 8.0.10 2010-04-07 00:02:33 status half-configured bsdmainutils 8.0.10 2010-04-07 00:02:34 update-alternatives: run with --install /usr/bin/write write /usr/bin/bsd-write 100 --slave /usr/share/man/man1/write.1.gz write.1.gz /usr/share/man/man1/bsd-write.1.gz 2010-04-07 00:02:34 update-alternatives: run with --install /usr/bin/from from /usr/bin/bsd-from 10 --slave /usr/share/man/man1/from.1.gz from.1.gz /usr/share/man/man1/bsd-from.1.gz 2010-04-07 00:02:34 status installed bsdmainutils 8.0.10 2010-04-07 00:02:34 configure cpio 2.11-2 2.11-2 2010-04-07 00:02:34 status unpacked cpio 2.11-2 2010-04-07 00:02:34 status half-configured cpio 2.11-2 2010-04-07 00:02:35 update-alternatives: run with --install /bin/mt mt /bin/mt-gnu 10 --slave /usr/share/man/man1/mt.1.gz mt.1.gz /usr/share/man/man1/mt-gnu.1.gz 2010-04-07 00:02:35 status installed cpio 2.11-2 2010-04-07 00:02:35 configure initramfs-tools 0.94.1 0.94.1 2010-04-07 00:02:35 status unpacked initramfs-tools 0.94.1 2010-04-07 00:02:35 status unpacked initramfs-tools 0.94.1 2010-04-07 00:02:35 status unpacked initramfs-tools 0.94.1 2010-04-07 00:02:35 status unpacked initramfs-tools 0.94.1 2010-04-07 00:02:35 status unpacked initramfs-tools 0.94.1 2010-04-07 00:02:35 status half-configured initramfs-tools 0.94.1 2010-04-07 00:02:35 status installed initramfs-tools 0.94.1 2010-04-07 00:02:35 status triggers-pending initramfs-tools 0.94.1 2010-04-07 00:02:35 configure libparted0debian1 2.2-5 2.2-5 2010-04-07 00:02:35 status unpacked libparted0debian1 2.2-5 2010-04-07 00:02:35 status half-configured libparted0debian1 2.2-5 2010-04-07 00:02:35 status installed libparted0debian1 2.2-5 2010-04-07 00:02:35 configure libparted0 2.2-5 2.2-5 2010-04-07 00:02:35 status unpacked libparted0 2.2-5 2010-04-07 00:02:35 status half-configured libparted0 2.2-5 2010-04-07 00:02:35 status installed libparted0 2.2-5 2010-04-07 00:02:35 configure libpcap0.8 1.1.1-1 1.1.1-1 2010-04-07 00:02:35 status unpacked libpcap0.8 1.1.1-1 2010-04-07 00:02:35 status half-configured libpcap0.8 1.1.1-1 2010-04-07 00:02:36 status installed libpcap0.8 1.1.1-1 2010-04-07 00:02:36 configure linux-libc-dev 2.6.32-11 2.6.32-11 2010-04-07 00:02:36 status unpacked linux-libc-dev 2.6.32-11 2010-04-07 00:02:36 status half-configured linux-libc-dev 2.6.32-11 2010-04-07 00:02:36 status installed linux-libc-dev 2.6.32-11 2010-04-07 00:02:36 configure parted 2.2-5 2.2-5 2010-04-07 00:02:36 status unpacked parted 2.2-5 2010-04-07 00:02:36 status half-configured parted 2.2-5 2010-04-07 00:02:36 status installed parted 2.2-5 2010-04-07 00:02:36 configure parted-doc 2.2-5 2.2-5 2010-04-07 00:02:36 status unpacked parted-doc 2.2-5 2010-04-07 00:02:36 status half-configured parted-doc 2.2-5 2010-04-07 00:02:36 status installed parted-doc 2.2-5 2010-04-07 00:02:36 configure tcpdump 4.1.1-1 4.1.1-1 2010-04-07 00:02:36 status unpacked tcpdump 4.1.1-1 2010-04-07 00:02:36 status half-configured tcpdump 4.1.1-1 2010-04-07 00:02:36 status installed tcpdump 4.1.1-1 2010-04-07 00:02:36 trigproc initramfs-tools 0.94.1 0.94.1 2010-04-07 00:02:36 status half-configured initramfs-tools 0.94.1 2010-04-07 00:02:48 status installed initramfs-tools 0.94.1 --->8--- GSR -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org