summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-December/010481.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2011-December/010481.html
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-1be510f9529cb082f802408b472a77d074b394c0.tar
archives-1be510f9529cb082f802408b472a77d074b394c0.tar.gz
archives-1be510f9529cb082f802408b472a77d074b394c0.tar.bz2
archives-1be510f9529cb082f802408b472a77d074b394c0.tar.xz
archives-1be510f9529cb082f802408b472a77d074b394c0.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-dev/2011-December/010481.html')
-rw-r--r--zarb-ml/mageia-dev/2011-December/010481.html160
1 files changed, 160 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-December/010481.html b/zarb-ml/mageia-dev/2011-December/010481.html
new file mode 100644
index 000000000..9d27ae337
--- /dev/null
+++ b/zarb-ml/mageia-dev/2011-December/010481.html
@@ -0,0 +1,160 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] RFC: Drop mkinitrd completely in favour of dracut.
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20RFC%3A%20Drop%20mkinitrd%20completely%20in%20favour%20of%20dracut.&In-Reply-To=%3C4EEA0531.4050905%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="010476.html">
+ <LINK REL="Next" HREF="010486.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] RFC: Drop mkinitrd completely in favour of dracut.</H1>
+ <B>Colin Guthrie</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20RFC%3A%20Drop%20mkinitrd%20completely%20in%20favour%20of%20dracut.&In-Reply-To=%3C4EEA0531.4050905%40colin.guthr.ie%3E"
+ TITLE="[Mageia-dev] RFC: Drop mkinitrd completely in favour of dracut.">mageia at colin.guthr.ie
+ </A><BR>
+ <I>Thu Dec 15 15:33:21 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="010476.html">[Mageia-dev] RFC: Drop mkinitrd completely in favour of dracut.
+</A></li>
+ <LI>Next message: <A HREF="010486.html">[Mageia-dev] RFC: Drop mkinitrd completely in favour of dracut.
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#10481">[ date ]</a>
+ <a href="thread.html#10481">[ thread ]</a>
+ <a href="subject.html#10481">[ subject ]</a>
+ <a href="author.html#10481">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>'Twas brillig, and Anssi Hannula at 15/12/11 13:07 did gyre and gimble:
+&gt;<i> On 05.12.2011 22:37, Colin Guthrie wrote:
+</I>&gt;&gt;<i> 'Twas brillig, and Anssi Hannula at 02/12/11 21:17 did gyre and gimble:
+</I>&gt;&gt;&gt;<i> On 02.12.2011 15:57, Anssi Hannula wrote:
+</I>&gt;&gt;&gt;&gt;<i> On 02.12.2011 13:28, Colin Guthrie wrote:
+</I>&gt;&gt;&gt;&gt;&gt;<i> Hi,
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> Just a suggestion! Should we move wholesale to dracut?
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> It's very easy to hack on, and Harald Hoyer has been very helpful and
+</I>&gt;&gt;&gt;&gt;&gt;<i> has merged some of the patches we carried locally (which I mostly copied
+</I>&gt;&gt;&gt;&gt;&gt;<i> from Mandriva). Not sure why they were not upstreamed before.
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> There are still a couple patches we carry locally (soon to be less when
+</I>&gt;&gt;&gt;&gt;&gt;<i> Harald pushes his git repo and I rebase), but they are pretty trivial,
+</I>&gt;&gt;&gt;&gt;&gt;<i> understandable and easily maintainable (mostly they will be stylistic
+</I>&gt;&gt;&gt;&gt;&gt;<i> tweaks and naming variations - i.e. very minor).
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> Modprobe rules are included even in the initrd so tweaks there follow
+</I>&gt;&gt;&gt;&gt;&gt;<i> through.
+</I>&gt;&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;&gt;<i> I'm not necessarily against keeping mkinitrd, but I think we should take
+</I>&gt;&gt;&gt;&gt;&gt;<i> the time from now until the beta phase to obsolte mkinitrd and force
+</I>&gt;&gt;&gt;&gt;&gt;<i> everyone to use dracut in order to see if there are any issues and then
+</I>&gt;&gt;&gt;&gt;&gt;<i> make the call before next beta or rc.
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> +1
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> One thing that doesn't work with dracut yet is that it only includes the
+</I>&gt;&gt;&gt;&gt;<i> KMS drivers into initramfs if they are loaded at the time of initramfs
+</I>&gt;&gt;&gt;&gt;<i> creation, causing unoptimal boot screen when a) initramfs created by the
+</I>&gt;&gt;&gt;&gt;<i> installer (I guess), and when b) user has switched a driver non-kms -&gt; kms.
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> This can probably be solved by some patching of
+</I>&gt;&gt;&gt;&gt;<i> modules.d/50plymouth/module-setup.sh, but I haven't looked at it closely
+</I>&gt;&gt;&gt;&gt;<i> yet.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Patch attached. I guess this would remain as a Mageia specific patch as
+</I>&gt;&gt;&gt;<i> the wanted behavior is dependant on how the distribution handles driver
+</I>&gt;&gt;&gt;<i> switching etc...
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Shall I apply it?
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Just to pick up on this patch, here is a conversation I just had with
+</I>&gt;&gt;<i> Harald on #dracut IRC:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> coling&gt; haraldh, the &quot;more interesting&quot; question (for various values of
+</I>&gt;&gt;<i> &quot;more interesting&quot;) was about a how hostonly works.... at the moment it
+</I>&gt;&gt;<i> only includes modules that are already loaded... but in some cases you
+</I>&gt;&gt;<i> want to include modules that are not currently loaded but do belong on
+</I>&gt;&gt;<i> the h/w in question.
+</I>&gt;&gt;<i> &lt;coling&gt; haraldh, one of the patches (that we believe might just have to
+</I>&gt;&gt;<i> be a local one for the way we do things) is here:
+</I>&gt;&gt;<i> <A HREF="http://svnweb.mageia.org/packages/cauldron/dracut/current/SOURCES/0508-plymouth-Include-kms-modules-even-if-they-are-not-cu.patch?revision=175507&amp;view=markup">http://svnweb.mageia.org/packages/cauldron/dracut/current/SOURCES/0508-plymouth-Include-kms-modules-even-if-they-are-not-cu.patch?revision=175507&amp;view=markup</A>
+</I>&gt;&gt;<i> &lt;coling&gt; It checks the module aliases against the current h/w. We do
+</I>&gt;&gt;<i> this when we generate the initrd from the installer and include the KMS
+</I>&gt;&gt;<i> modules even although they are not currently loaded.
+</I>&gt;&gt;<i> &lt;coling&gt; I'm not sure if this is a mechanism you want to consider
+</I>&gt;&gt;<i> supporting? e.g. perhaps &quot;hostonly&quot; mode could change to do things this
+</I>&gt;&gt;<i> way (via modaliases) and a new &quot;loadedonly&quot; mode could suppliment
+</I>&gt;&gt;<i> hostonly to give the current behaviour?
+</I>&gt;&gt;<i> &lt;coling&gt; Or perhaps you could make hostonly={no|yes|loaded|hardware}
+</I>&gt;&gt;<i> where yes is just a synonym for &quot;loaded&quot;.
+</I>&gt;&gt;<i> &lt;coling&gt; (I didn't write that patch by the way, so i'm just picking up
+</I>&gt;&gt;<i> on the general principal with a view to seeing if the general concept
+</I>&gt;&gt;<i> can be upstreamed)
+</I>&gt;&gt;<i> &lt;haraldh&gt; hostonly, hmm, yes, greping for currently used modules was the
+</I>&gt;&gt;<i> easiest and fastest way
+</I>&gt;&gt;<i> &lt;haraldh&gt; to be more correct, we should do it with the aliases like in
+</I>&gt;&gt;<i> your patch
+</I>&gt;&gt;<i> &lt;haraldh&gt; but that is costly and takes a lot of time
+</I>&gt;&gt;<i> &lt;haraldh&gt; and also the modprobe.conf.d is something one would want
+</I>&gt;&gt;<i> &lt;haraldh&gt; and also install possible helper tools there
+</I>&gt;&gt;<i> &lt;haraldh&gt; so, if you want to factor that one out in a module filter
+</I>&gt;&gt;<i> function, send it to the initramfs mailing list
+</I>&gt;&gt;<i> &lt;haraldh&gt; any help in that area is appreciated and most likely merged :)
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> So if you fancy working on this, I'm sure it'll get upstreamed :)
+</I>&gt;<i>
+</I>&gt;<i> I might take a look at this.
+</I>&gt;<i>
+</I>&gt;<i> Though, as Harald says, it might prove to be slow, since we'd have to
+</I>&gt;<i> compare every alias of every module considered by dracut against the
+</I>&gt;<i> system modalias list... Well, I guess we'll see.
+</I>
+Yeah I guess it would be good to have the this cached into some kind of
+matrix, but that might be a bit tricky in sh...
+
+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="010476.html">[Mageia-dev] RFC: Drop mkinitrd completely in favour of dracut.
+</A></li>
+ <LI>Next message: <A HREF="010486.html">[Mageia-dev] RFC: Drop mkinitrd completely in favour of dracut.
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#10481">[ date ]</a>
+ <a href="thread.html#10481">[ thread ]</a>
+ <a href="subject.html#10481">[ subject ]</a>
+ <a href="author.html#10481">[ 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>