diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-October/009089.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-October/009089.html | 165 |
1 files changed, 165 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-October/009089.html b/zarb-ml/mageia-dev/2011-October/009089.html new file mode 100644 index 000000000..d56c3f65a --- /dev/null +++ b/zarb-ml/mageia-dev/2011-October/009089.html @@ -0,0 +1,165 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Please test dracut (mkinitrd replacement) + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Please%20test%20dracut%20%28mkinitrd%20replacement%29&In-Reply-To=%3C20111023190139.GA6624%40shikamaru.fr%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="009095.html"> + <LINK REL="Next" HREF="009090.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Please test dracut (mkinitrd replacement)</H1> + <B>Remy CLOUARD</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Please%20test%20dracut%20%28mkinitrd%20replacement%29&In-Reply-To=%3C20111023190139.GA6624%40shikamaru.fr%3E" + TITLE="[Mageia-dev] Please test dracut (mkinitrd replacement)">shikamaru at mageia.org + </A><BR> + <I>Sun Oct 23 21:05:39 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="009095.html">[Mageia-dev] IDE/SATA driver ordering [was Re: Please test dracut (mkinitrd replacement)] +</A></li> + <LI>Next message: <A HREF="009090.html">[Mageia-dev] Please test dracut (mkinitrd replacement) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#9089">[ date ]</a> + <a href="thread.html#9089">[ thread ]</a> + <a href="subject.html#9089">[ subject ]</a> + <a href="author.html#9089">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Fri, Oct 21, 2011 at 12:29:46AM +0100, Colin Guthrie wrote: +><i> Hi, +</I>><i> +</I>><i> Due to upcoming changes to systemd and friends we'll likely need to use +</I>><i> dracut rather than mkinitrd for some setups (i.e. those with LVM volumes +</I>><i> defined in /etc/fstab) +</I>><i> +</I>><i> It would be good if people here could test as we will likely make it the +</I>><i> default at some point in the not too distant future. +</I>><i> +</I>><i> To test: +</I>><i> +</I>><i> sudo -i (or su -) +</I>><i> urpmi dracut +</I>><i> cd /boot +</I>><i> mv initrd-3.1.0-desktop-0.rc10.1.mga2.img initrd-old.img +</I>><i> /sbin/installkernel -N 3.1.0-desktop-0.rc10.1.mga2 +</I>done. +><i> +</I>><i> +</I>><i> This should install dracut, move the existing initrd out of the way, and +</I>><i> regenerate a new one using dracut. If you are using a different kernel +</I>><i> version then adjust the two commands accordingly to pick the right version. +</I>><i> +</I>><i> Then just reboot. Hopefully all will go well and you won't notice much +</I>><i> difference :) +</I>><i> +</I>I'm sad to be the first to give bad news about that but: +when I rebooted it didn't work. + +Here is the partitionning scheme I have: +/boot 256 MB +raid 0: 2x 60 GB +LVM on raid +/ on logical volume, btrfs filesystem + +When I boot with the dracut initrd I don't get my / mounted. + +Instead, after a while plymouth disappears and I get the following +message, repeated all over the screen: +modprobe: FATAL: Error inserting btrfs +(/lib/modules/3.1.0-desktop-0.rc10.1.mga2/kernel/fs/btrfs/btrfs.ko.gz) +Unknown symbol in module, or unknown parameter (see dmesg) + +When I run dmesg|less: +Everything is fine until my logical volumes are active and then I get +this message repeated over and over: +dracut: Checking, if btrfs device complete + +and in the middle of this flood I get this: +scanning for all btrfs devices +failed to open /dev/btrfs_control skipping device registration +scanning devices md0 for LVM volume groups +Reading all physical volumes. This may take a while +Found volume group "kaze" using metadata type lvm2 +Partial mode. Incomplete volumes will be processed +5 logical volume(s) in volume group "kaze" now active +Autoassembling MDRaid. + +and in the end I get +dracut: Warning: no root device "block:/dev/kaze/cauldron" found + +So, to me the problem is neither raid nor LVM but btrfs + +Any idea on how to solve this issue ? + +In case it can be useful, here is the result of +lsinitrd-dracut /boot/initrd.img : <A HREF="http://pastebin.com/Xe5Jhj38">http://pastebin.com/Xe5Jhj38</A> +><i> If it fails you should still be able to use the previous initrd by +</I>><i> editing the grub command line and specifying the initrd-old.img file +</I>><i> manually. +</I>><i> +</I>Indeed, but does that mean that for the next kernel upgrade it will use +dracut by default ? Is there a way to generate the initrd the old way ? +><i> +</I>><i> Cheers +</I>><i> +</I>><i> Col +</I>><i> +</I>><i> -- +</I>><i> +</I>><i> Colin Guthrie +</I>><i> colin(at)mageia.org +</I>><i> <A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A> +</I>><i> +</I>><i> Day Job: +</I>><i> Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A> +</I>><i> Open Source: +</I>><i> Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A> +</I>><i> PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A> +</I>><i> Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A> +</I> +Thanks in advance, + +Regards, +-- +Rémy CLOUARD +() ascii ribbon campaign - against html e-mail +/\ www.asciiribbon.org - against proprietary attachments +</PRE> + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="009095.html">[Mageia-dev] IDE/SATA driver ordering [was Re: Please test dracut (mkinitrd replacement)] +</A></li> + <LI>Next message: <A HREF="009090.html">[Mageia-dev] Please test dracut (mkinitrd replacement) +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#9089">[ date ]</a> + <a href="thread.html#9089">[ thread ]</a> + <a href="subject.html#9089">[ subject ]</a> + <a href="author.html#9089">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |