[opensuse-kernel] latest Kernel:stable update breaks mkinitrd+raid -> system unbootable
After adding the repo grep baseurl /etc/zypp/repos.d/KernelStandard.repo baseurl=http://download.opensuse.org/repositories/Kernel:/stable/standard/x86_64/ and upgrading zypper dup results in rpm -qa | grep -i kernel-desktop kernel-desktop-3.15.0-1.1.g9194b64.x86_64 kernel-desktop-devel-3.15.0-1.1.g9194b64.x86_64 but, mkinitrd fails to create the initrd mkinitrd Kernel image: /boot/vmlinuz-3.15.0-1.g9194b64-desktop Initrd image: /boot/initrd-3.15.0-1.g9194b64-desktop Root device: /dev/VG0/lvROOT (mounted on / as ext4) Device md127 not handled Script /lib/mkinitrd/setup/72-block.sh failed! There was an error generating the initrd (1) /dev/md127 is a RAID array which contains /dev/VG0/lvROOT. checking rpm -qa | grep -i mkinitrd mkinitrd-2.8.1-267.1.x86_64 zypper se -s | grep -i mkinitrd i | mkinitrd | package | 2.8.1-267.1 | x86_64 | KernelStandard v | mkinitrd | package | 2.8.1-267.1 | i586 | KernelStandard v | mkinitrd | package | 2.8.1-2.1 | x86_64 | OS13-oss v | mkinitrd | package | 2.8.1-2.1 | i586 | OS13-oss disabling the KernelStandard repo, and switching to MY own builds grep baseurl /etc/zypp/repos.d/KernelCustom.repo baseurl=http://download.opensuse.org/repositories/home:/grantksupport:/Kernel:/stabl... the re-dup'ing zypper dup ... The following 4 NEW packages are going to be installed: dracut 037-180.1 hardlink 1.0-4.1.2 pigz 2.3-2.1.2 pixz 1.0.2-19.4 The following package is going to be REMOVED: mkinitrd 2.8.1-267.1 ... which mkinitrd /sbin/mkinitrd rpm -q --whatprovides /sbin/mkinitrd dracut-037-180.1.x86_64 now mkinitrd Creating initrd: /boot/initrd-3.14.5-3.gf1c1b51-desktop Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force --force-drivers "jbd2 raid0 raid1 raid10 raid456 ahci dm-mod dm-crypt dm-snapshot ext4 udf vfat aes sha1 sha256 sha512 dummy processor thermal ata_generic fan edd forcedeth" /boot/initrd-3.14.5-3.gf1c1b51-desktop 3.14.5-3.gf1c1b51-desktop ... *** Creating image file *** *** Creating image file done *** Update bootloader... is successful ls -atrl /boot/ | grep initrd | tail -n 3 lrwxrwxrwx 1 root root 32 Jun 11 13:54 initrd -> initrd-3.14.5-3.gf1c1b51-desktop -rw------- 1 root root 9.3M Jun 11 14:10 initrd-3.14.5-3.gf1c1b51-desktop and on reboot uname -a Linux grantkdesk 3.14.5-3.gf1c1b51-desktop #1 SMP PREEMPT Thu Jun 5 13:44:09 UTC 2014 (f1c1b51) x86_64 x86_64 x86_64 GNU/Linux -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 2014-06-11 14:15 (GMT-0700) grantksupport@operamail.com composed:
After adding the repo
grep baseurl /etc/zypp/repos.d/KernelStandard.repo baseurl=http://download.opensuse.org/repositories/Kernel:/stable/standard/x86_64/
and upgrading
zypper dup
results in
rpm -qa | grep -i kernel-desktop kernel-desktop-3.15.0-1.1.g9194b64.x86_64 kernel-desktop-devel-3.15.0-1.1.g9194b64.x86_64
but, mkinitrd fails to create the initrd
Factory has replaced mkinitrd with dracut. Maybe dracut is required for Kernel:/stable initrd builds? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Wed, Jun 11, 2014, at 02:23 PM, Felix Miata wrote:
Factory has replaced mkinitrd with dracut. Maybe dracut is required for Kernel:/stable initrd builds?
Perhaps the reqt's changed. It wasn't required in my branch of Kernel:stable a couple of days ago. It wasn't required in Kernel:stable a couple of weeks ago. It's not currently referenced @Kernel:stable at all. Instead, mkinitrd (still) is @ https://build.opensuse.org/project/show/Kernel:stable and in the spec https://build.opensuse.org/package/view_file/Kernel:stable/kernel-source/ker... ... %if %build_vanillaRequires(post): mkinitrd %else # Require a mkinitrd that can handle usbhid/hid-generic built-in (bnc#773559) Requires(post): mkinitrd >= 2.7.1 %endif ... -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Felix Miata <mrmazda@earthlink.net> writes:
Factory has replaced mkinitrd with dracut. Maybe dracut is required for Kernel:/stable initrd builds?
That would be wrong for non-Factory builds. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 2014-06-12 08:37 (GMT+0200) Andreas Schwab composed:
Felix Miata wrote:
Factory has replaced mkinitrd with dracut. Maybe dracut is required for Kernel:/stable initrd builds?
That would be wrong for non-Factory builds.
Or maybe that's how it has been since before dracut replacement in Factory, but got broken or changed purposely lately? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (3)
-
Andreas Schwab
-
Felix Miata
-
grantksupport@operamail.com