diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-February/012398.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-February/012398.html | 140 |
1 files changed, 140 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-February/012398.html b/zarb-ml/mageia-dev/2012-February/012398.html new file mode 100644 index 000000000..25596318e --- /dev/null +++ b/zarb-ml/mageia-dev/2012-February/012398.html @@ -0,0 +1,140 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] New dracut - please test + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20New%20dracut%20-%20please%20test&In-Reply-To=%3C4F4B767D.9050307%40colin.guthr.ie%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="012368.html"> + <LINK REL="Next" HREF="012301.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] New dracut - please test</H1> + <B>Colin Guthrie</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20New%20dracut%20-%20please%20test&In-Reply-To=%3C4F4B767D.9050307%40colin.guthr.ie%3E" + TITLE="[Mageia-dev] New dracut - please test">mageia at colin.guthr.ie + </A><BR> + <I>Mon Feb 27 13:26:37 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="012368.html">[Mageia-dev] New dracut - please test +</A></li> + <LI>Next message: <A HREF="012301.html">[Mageia-dev] Update blocked on i586 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#12398">[ date ]</a> + <a href="thread.html#12398">[ thread ]</a> + <a href="subject.html#12398">[ subject ]</a> + <a href="author.html#12398">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>'Twas brillig, and Colin Guthrie at 25/02/12 10:59 did gyre and gimble: +><i> 'Twas brillig, and David W. Hodgins at 25/02/12 07:35 did gyre and gimble: +</I>>><i> On Fri, 24 Feb 2012 06:42:01 -0500, Colin Guthrie +</I>>><i> <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote: +</I>>><i> +</I>>>><i> The other big change here is to automatically generate a much bigger +</I>>>><i> initramfs when doing an upgrade from mga1. This will include a lot more +</I>>>><i> stuff (e.g. lvm, raid etc) that may or may not be needed on a given +</I>>>><i> setup, but until you boot with dracut you cannot generate an initramfs +</I>>>><i> that will be able to detect only what is needed for boot. +</I>>><i> +</I>>><i> Looking at the current version of the init script, it's clear +</I>>><i> what the problem is ... +</I>>><i> +</I>>><i> check_finished && break +</I>>><i> +</I>>><i> udevsettle +</I>>><i> +</I>>><i> check_finished && break +</I>>><i> +</I>>><i> The above statement will always be true on a single core +</I>>><i> system, so the following code never gets executed. +</I>><i> +</I>><i> As I've said before, I really do not think this is anything to do with +</I>><i> number of cores. I do see that there is a chicken and egg problem, but +</I>><i> why would the number of cores affect this? Nothing runs in the +</I>><i> background here. +</I>><i> +</I>><i> As stated earlier +</I>><i> (<A HREF="https://www.mageia.org/pipermail/mageia-dev/2012-February/011709.html">https://www.mageia.org/pipermail/mageia-dev/2012-February/011709.html</A>), +</I>><i> the problem is simply that there are no calls to wait_for_dev for the +</I>><i> lvm drives and thus the whole initqueue stuff just glosses over things +</I>><i> and doesn't ever activate them. +</I>><i> +</I>><i> What is different to the last time is that now for hostonly initrds (not +</I>><i> the one you generated), the wait_for_dev call WILL be added. I had hoped +</I>><i> this different approach would have fixed your problem. +</I>><i> +</I>><i> However, due to me now doing this fallback non-hostonly initrd, the +</I>><i> original problem still manifests itself. +</I>><i> +</I>><i> Can you test that generating a new initrd after booting via dracut (and +</I>><i> thus getting a hostonly one) does actually activate your usr partition? +</I>><i> I'm not 100% convinced there will not still be a problem with the +</I>><i> "resume" support and swap partitions, but it will hopefully give you a +</I>><i> smooth boot even if resume support is busted. +</I>><i> +</I>><i> The non-hostonly problem does need a fix and I'll see what can be done. +</I> +Just for reference, here is my conversation with Harald Hoyer (dracut +upstream guy): + +Me: haraldh, I've got a problem case with lvm again :) +Me: haraldh, It was the same problem I had before, but it was solved in +latest dracut with the specific cmdline files and specifically waiting +for the known needed lvms. +Me: haraldh, but sadly when building a non-hostonly initrd, no +wait_for_dev calls are put in for the lvms and it can lead to problems +when /usr is on lvm as the initqueue exits and no wait_for_dev for the +/usr partition is ever issues and it cannot be mounted. +Harald: coling, ah, yes... we have to redesign dracut there and put the +mount hook in the main loop + +He did have a work around suggestion too tho', which I'll have to think +about and code for, but on the surface it could provide a good stop gap +without too much re-engineering. + +Col + +-- + +Colin Guthrie +colin(at)mageia.org +<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A> + +Day Job: + Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A> +Open Source: + Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A> + PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A> + Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A> +</PRE> + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="012368.html">[Mageia-dev] New dracut - please test +</A></li> + <LI>Next message: <A HREF="012301.html">[Mageia-dev] Update blocked on i586 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#12398">[ date ]</a> + <a href="thread.html#12398">[ thread ]</a> + <a href="subject.html#12398">[ subject ]</a> + <a href="author.html#12398">[ 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> |