summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-October/009089.html
blob: d56c3f65a2e15425b07799c2b33a1c991a9faa3d (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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
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:
&gt;<i> Hi,
</I>&gt;<i> 
</I>&gt;<i> Due to upcoming changes to systemd and friends we'll likely need to use
</I>&gt;<i> dracut rather than mkinitrd for some setups (i.e. those with LVM volumes
</I>&gt;<i> defined in /etc/fstab)
</I>&gt;<i> 
</I>&gt;<i> It would be good if people here could test as we will likely make it the
</I>&gt;<i> default at some point in the not too distant future.
</I>&gt;<i> 
</I>&gt;<i> To test:
</I>&gt;<i> 
</I>&gt;<i> sudo -i (or su -)
</I>&gt;<i> urpmi dracut
</I>&gt;<i> cd /boot
</I>&gt;<i> mv initrd-3.1.0-desktop-0.rc10.1.mga2.img initrd-old.img
</I>&gt;<i> /sbin/installkernel -N 3.1.0-desktop-0.rc10.1.mga2
</I>done.
&gt;<i> 
</I>&gt;<i> 
</I>&gt;<i> This should install dracut, move the existing initrd out of the way, and
</I>&gt;<i> regenerate a new one using dracut. If you are using a different kernel
</I>&gt;<i> version then adjust the two commands accordingly to pick the right version.
</I>&gt;<i> 
</I>&gt;<i> Then just reboot. Hopefully all will go well and you won't notice much
</I>&gt;<i> difference :)
</I>&gt;<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 &quot;kaze&quot; using metadata type lvm2
Partial mode. Incomplete volumes will be processed
5 logical volume(s) in volume group &quot;kaze&quot; now active
Autoassembling MDRaid.

and in the end I get
dracut: Warning: no root device &quot;block:/dev/kaze/cauldron&quot; 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>
&gt;<i> If it fails you should still be able to use the previous initrd by
</I>&gt;<i> editing the grub command line and specifying the initrd-old.img file
</I>&gt;<i> manually.
</I>&gt;<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 ?
&gt;<i> 
</I>&gt;<i> Cheers
</I>&gt;<i> 
</I>&gt;<i> Col
</I>&gt;<i> 
</I>&gt;<i> -- 
</I>&gt;<i> 
</I>&gt;<i> Colin Guthrie
</I>&gt;<i> colin(at)mageia.org
</I>&gt;<i> <A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>
</I>&gt;<i> 
</I>&gt;<i> Day Job:
</I>&gt;<i>   Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
</I>&gt;<i> Open Source:
</I>&gt;<i>   Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
</I>&gt;<i>   PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
</I>&gt;<i>   Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
</I>
Thanks in advance,

Regards,
-- 
R&#233;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>