summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-December/010542.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2011-December/010542.html')
-rw-r--r--zarb-ml/mageia-dev/2011-December/010542.html166
1 files changed, 166 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-December/010542.html b/zarb-ml/mageia-dev/2011-December/010542.html
new file mode 100644
index 000000000..886bd085f
--- /dev/null
+++ b/zarb-ml/mageia-dev/2011-December/010542.html
@@ -0,0 +1,166 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Issues with dracut
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Issues%20with%20dracut&In-Reply-To=%3C4EEBD1DA.7010600%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="010540.html">
+ <LINK REL="Next" HREF="010541.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Issues with dracut</H1>
+ <B>Colin Guthrie</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Issues%20with%20dracut&In-Reply-To=%3C4EEBD1DA.7010600%40colin.guthr.ie%3E"
+ TITLE="[Mageia-dev] Issues with dracut">mageia at colin.guthr.ie
+ </A><BR>
+ <I>Sat Dec 17 00:18:50 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="010540.html">[Mageia-dev] Issues with dracut
+</A></li>
+ <LI>Next message: <A HREF="010541.html">[Mageia-dev] Issues with dracut
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#10542">[ date ]</a>
+ <a href="thread.html#10542">[ thread ]</a>
+ <a href="subject.html#10542">[ subject ]</a>
+ <a href="author.html#10542">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>'Twas brillig, and JA Magallon at 16/12/11 22:52 did gyre and gimble:
+&gt;<i> On Fri, 16 Dec 2011 12:35:22 +0000
+</I>&gt;<i> Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
+</I>&gt;<i>
+</I>&gt;&gt;<i> Hiya,
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> 'Twas brillig, and JA Magallon at 16/12/11 12:06 did gyre and gimble:
+</I>&gt;&gt;&gt;<i> After those couple previous thread it looks like move to dracut is
+</I>&gt;&gt;&gt;<i> ongoing, so I decided to try it.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Good! This is exactly the kind of feedback we need!
+</I>&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> I found a couple problems:
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> - dracut inists on loading nouveau driver. With mknitrd, just booting with nokmsboot
+</I>&gt;&gt;&gt;<i> works. Booting with a dracut generated initrd ignores that. I think it is plymouth
+</I>&gt;&gt;&gt;<i> that forces it, even if I added 'blacklist nouveau' in a .conf file in modprobe.d:
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> dracut -f:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I'll include it but if it's blacklisted, it shouldn't ultimately be used
+</I>&gt;&gt;<i> in the ramfs even if it's included. That said, it's clearly inefficient
+</I>&gt;&gt;<i> to include it if it is blacklisted so we should try and fix that. Anssi,
+</I>&gt;&gt;<i> could this be your code to detect the h/w that causes it to bypass any
+</I>&gt;&gt;<i> blacklist checks (not sure if there are actually any blacklist checks
+</I>&gt;&gt;<i> when building the initrd... not relaly looked at it much)&#231;
+</I>&gt;<i>
+</I>&gt;<i> Clue...
+</I>&gt;<i> Let's state all my findings. As 'nokmsboot' was ignored, i remembered CentOS
+</I>&gt;<i> where the nvidia installer achived the same blacklisting nouveau.
+</I>&gt;<i> I added the blacklist in /etc/modprobe.d/display-driver.conf, which is a
+</I>&gt;<i> symlink to /etc/nvidia-current/modprobe.conf. It didn't work.
+</I>&gt;<i> After the fiasco with symlinks in systemd, i tried creting a new file.
+</I>&gt;<i> And it worked. So there is something strange with symlinked files...
+</I>
+That's interesting... The code in question:
+
+./modules.d/90kernel-modules/module-setup.sh: for i in $(find
+/etc/modprobe.d/ -type f -name '*.conf'); do
+
+So it only finds files.
+
+If I change &quot;find&quot; to &quot;find -L&quot; this should fix up this problem (when
+the files are installed, links are dereferenced so that won't be a problem).
+
+This should avoid any such similar problems.
+
+Also I believe it's pointless to go into any subfolders here, so adding
+also a -maxdepth 1 should cut down on unnecessary includes.
+
+&gt;&gt;&gt;<i> - initrd from dracut fails to detect one of my drives, and booting stops:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> OK, this is more interesting.
+</I>...
+&gt;<i>
+</I>&gt;<i> I found the problem:
+</I>&gt;<i>
+</I>&gt;<i> lsscsi:
+</I>&gt;<i> werewolf:~/dr# cat lsscsi*
+</I>&gt;<i> [0:0:0:0] disk ATA ST3250310AS 3.AA /dev/sda
+</I>&gt;<i> [1:0:0:0] disk ATA WDC WD3200AVJS-6 12.0 /dev/sdb
+</I>&gt;<i> [2:0:0:0] disk ATA ST3320620AS 3.AA /dev/sdc
+</I>&gt;<i> [3:0:0:0] disk ATA ST3500418AS CC38 /dev/sdh
+</I>&gt;<i> [5:0:0:0] cd/dvd HL-DT-ST DVDRAM GH22NS50 TN01 /dev/sr0
+</I>&gt;<i> [6:0:0:0] disk Generic USB CF Reader 0.00 /dev/sdd
+</I>&gt;<i> [6:0:0:1] disk Generic USB SD Reader 0.00 /dev/sde
+</I>&gt;<i> [6:0:0:2] disk Generic USB MS Reader 0.00 /dev/sdf
+</I>&gt;<i> [6:0:0:3] disk Generic USB SM Reader 0.00 /dev/sdg
+</I>&gt;<i>
+</I>&gt;<i> The disk has been renamed as sdh
+</I>
+&gt;<i> I changed the mounting points from devices to labels and all worked fine.
+</I>&gt;<i>
+</I>&gt;<i> This will probably not be an issue with standard install, using UUIDs,
+</I>&gt;<i> but the real problem is that drive name asssignment is even more random
+</I>&gt;<i> (well, interlaced ;)).
+</I>
+Hmm, interesting. Not quite sure why it's doing that but as it's using
+udev rather than any manual driver loading, it's likely a more
+predicable system overall in the long term.
+
+
+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="010540.html">[Mageia-dev] Issues with dracut
+</A></li>
+ <LI>Next message: <A HREF="010541.html">[Mageia-dev] Issues with dracut
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#10542">[ date ]</a>
+ <a href="thread.html#10542">[ thread ]</a>
+ <a href="subject.html#10542">[ subject ]</a>
+ <a href="author.html#10542">[ 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>