summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-October/009191.html
blob: 69b5cb04d998eb50cf4f6d0ecb2c52f9f37aab9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!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=%3C20111029110328.GA5235%40shikamaru.fr%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="009111.html">
   <LINK REL="Next"  HREF="009199.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=%3C20111029110328.GA5235%40shikamaru.fr%3E"
       TITLE="[Mageia-dev] Please test dracut (mkinitrd replacement)">shikamaru at mageia.org
       </A><BR>
    <I>Sat Oct 29 13:03:28 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="009111.html">[Mageia-dev] Please test dracut (mkinitrd replacement)
</A></li>
        <LI>Next message: <A HREF="009199.html">[Mageia-dev] Please test dracut (mkinitrd replacement)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#9191">[ date ]</a>
              <a href="thread.html#9191">[ thread ]</a>
              <a href="subject.html#9191">[ subject ]</a>
              <a href="author.html#9191">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Sun, Oct 23, 2011 at 09:05:39PM +0200, Remy CLOUARD wrote:
&gt;<i> On Fri, Oct 21, 2011 at 12:29:46AM +0100, Colin Guthrie wrote:
</I>&gt;<i> &gt; Hi,
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; Due to upcoming changes to systemd and friends we'll likely need to use
</I>&gt;<i> &gt; dracut rather than mkinitrd for some setups (i.e. those with LVM volumes
</I>&gt;<i> &gt; defined in /etc/fstab)
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; It would be good if people here could test as we will likely make it the
</I>&gt;<i> &gt; default at some point in the not too distant future.
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; To test:
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; sudo -i (or su -)
</I>&gt;<i> &gt; urpmi dracut
</I>&gt;<i> &gt; cd /boot
</I>&gt;<i> &gt; mv initrd-3.1.0-desktop-0.rc10.1.mga2.img initrd-old.img
</I>&gt;<i> &gt; /sbin/installkernel -N 3.1.0-desktop-0.rc10.1.mga2
</I>&gt;<i> done.
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; This should install dracut, move the existing initrd out of the way, and
</I>&gt;<i> &gt; regenerate a new one using dracut. If you are using a different kernel
</I>&gt;<i> &gt; version then adjust the two commands accordingly to pick the right version.
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; Then just reboot. Hopefully all will go well and you won't notice much
</I>&gt;<i> &gt; difference :)
</I>&gt;<i> &gt; 
</I>&gt;<i> I'm sad to be the first to give bad news about that but:
</I>&gt;<i> when I rebooted it didn't work.
</I>&gt;<i> 
</I>&gt;<i> Here is the partitionning scheme I have:
</I>&gt;<i> /boot 256 MB
</I>&gt;<i> raid 0: 2x 60 GB
</I>&gt;<i> LVM on raid
</I>&gt;<i> / on logical volume, btrfs filesystem
</I>&gt;<i> 
</I>&gt;<i> When I boot with the dracut initrd I don't get my / mounted.
</I>&gt;<i> 
</I>&gt;<i> Instead, after a while plymouth disappears and I get the following
</I>&gt;<i> message, repeated all over the screen:
</I>&gt;<i> modprobe: FATAL: Error inserting btrfs
</I>&gt;<i> (/lib/modules/3.1.0-desktop-0.rc10.1.mga2/kernel/fs/btrfs/btrfs.ko.gz)
</I>&gt;<i> Unknown symbol in module, or unknown parameter (see dmesg)
</I>&gt;<i> 
</I>&gt;<i> When I run dmesg|less:
</I>&gt;<i> Everything is fine until my logical volumes are active and then I get
</I>&gt;<i> this message repeated over and over:
</I>&gt;<i> dracut: Checking, if btrfs device complete
</I>&gt;<i> 
</I>&gt;<i> and in the middle of this flood I get this:
</I>&gt;<i> scanning for all btrfs devices
</I>&gt;<i> failed to open /dev/btrfs_control skipping device registration
</I>&gt;<i> scanning devices md0 for LVM volume groups
</I>&gt;<i> Reading all physical volumes. This may take a while
</I>&gt;<i> Found volume group &quot;kaze&quot; using metadata type lvm2
</I>&gt;<i> Partial mode. Incomplete volumes will be processed
</I>&gt;<i> 5 logical volume(s) in volume group &quot;kaze&quot; now active
</I>&gt;<i> Autoassembling MDRaid.
</I>&gt;<i> 
</I>&gt;<i> and in the end I get
</I>&gt;<i> dracut: Warning: no root device &quot;block:/dev/kaze/cauldron&quot; found
</I>&gt;<i> 
</I>&gt;<i> So, to me the problem is neither raid nor LVM but btrfs
</I>&gt;<i> 
</I>&gt;<i> Any idea on how to solve this issue ?
</I>&gt;<i> 
</I>&gt;<i> In case it can be useful, here is the result of
</I>&gt;<i> lsinitrd-dracut /boot/initrd.img : <A HREF="http://pastebin.com/Xe5Jhj38">http://pastebin.com/Xe5Jhj38</A>
</I>[...]

I just opened a bug against dracut for this btrfs issue:
<A HREF="https://bugs.mageia.org/show_bug.cgi?id=3214">https://bugs.mageia.org/show_bug.cgi?id=3214</A>

I still got the problem with the new dracut and kernel.

Regards,
-- 
R&#233;my CLOUARD
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.og - against proprietary attachments
</PRE>








<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="009111.html">[Mageia-dev] Please test dracut (mkinitrd replacement)
</A></li>
	<LI>Next message: <A HREF="009199.html">[Mageia-dev] Please test dracut (mkinitrd replacement)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#9191">[ date ]</a>
              <a href="thread.html#9191">[ thread ]</a>
              <a href="subject.html#9191">[ subject ]</a>
              <a href="author.html#9191">[ 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>