summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-February/012179.html
blob: 33eaca385da85ed8ac04c53eccafafec9c438de5 (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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<!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%3A%20Please%20test&In-Reply-To=%3C4F43659B.3010204%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="012165.html">
   <LINK REL="Next"  HREF="012186.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%3A%20Please%20test&In-Reply-To=%3C4F43659B.3010204%40colin.guthr.ie%3E"
       TITLE="[Mageia-dev] New Dracut: Please test">mageia at colin.guthr.ie
       </A><BR>
    <I>Tue Feb 21 10:36:27 CET 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="012165.html">[Mageia-dev] New Dracut: Please test
</A></li>
        <LI>Next message: <A HREF="012186.html">[Mageia-dev] New Dracut: Please test
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#12179">[ date ]</a>
              <a href="thread.html#12179">[ thread ]</a>
              <a href="subject.html#12179">[ subject ]</a>
              <a href="author.html#12179">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>'Twas brillig, and Johnny A. Solbu at 20/02/12 23:24 did gyre and gimble:
&gt;<i> On Monday 20 February 2012 22:45, Colin Guthrie wrote:
</I>&gt;&gt;<i> Can you reliably reproduce this broken initrd (i.e. get the same results
</I>&gt;&gt;<i> from your lsinitrd-broken.txt?
</I>&gt;<i> 
</I>&gt;<i> And just how do I do that?
</I>&gt;<i> I got this problem simply by running &quot;urpmi --auto-update&quot; and rebooted.
</I>&gt;<i> 
</I>&gt;&gt;<i> I've had several reports about this (nothing in bin/ except two plymout
</I>&gt;&gt;<i> binaries), but I've not been able to get anyone who can then
</I>&gt;&gt;<i> subsequently recreate the problem running dracut manually...
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> If you can, please do get in touch.
</I>&gt;<i> 
</I>&gt;<i> I'm willing to try. :-)=
</I>&gt;<i> I just don't know what to do.
</I>
Basically boot into a working kernel+ramdisk. Then, as root:


dracut -f foo.img 3.2.6-desktop-3.mga2
lsinitrd foo.img | grep &quot; bin/&quot;

Then secondly:

mkinitrd -f foo.img 3.2.6-desktop-3.mga2
lsinitrd foo.img | grep &quot; bin/&quot;


Note that if things are working OK, both these commands should do
exactly the same thing. If the output looks different, then something is
wrong.



In a working system the output should look something like:

[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at jimmy</A> ~]# dracut -f foo.img 3.2.6-desktop-3.mga2
I: *** Including module: bootchart ***
I: *** Including module: dash ***
I: *** Including module: i18n ***
I: *** Including module: rpmversion ***
I: *** Including module: plymouth ***
I: *** Including module: dm ***
I: Skipping udev rule: 64-device-mapper.rules
I: *** Including module: kernel-modules ***
I: *** Including module: lvm ***
I: Skipping udev rule: 64-device-mapper.rules
I: *** Including module: resume ***
I: *** Including module: rootfs-block ***
I: *** Including module: terminfo ***
I: *** Including module: udev-rules ***
I: Skipping udev rule: 50-udev.rules
I: Skipping udev rule: 95-late.rules
I: Skipping udev rule: 50-firmware.rules
I: *** Including module: usrmount ***
I: *** Including module: base ***
I: *** Including module: fs-lib ***
I: *** Including module: shutdown ***
I: Skipping program kexec as it cannot be found and is flagged to be
optional
I: *** Including modules done ***
lsiniI: Wrote /root/foo.img:
I: -rw-r--r-- 1 root root 7154651 Feb 21 09:34 /root/foo.img
[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at jimmy</A> ~]# lsinitrd foo.img | grep &quot; bin/&quot;
-rwxr-xr-x   1 root     root       126128 Aug 27 10:58 bin/cp
-rwxr-xr-x   1 root     root        13040 Jul 21  2011 bin/kbd_mode
-rwxr-xr-x   1 root     root        14136 Jan 25 07:56 bin/flock
-rwxr-xr-x   1 root     root       830760 May  9  2011 bin/bash
-rwxr-xr-x   1 root     root        67872 Aug 27 10:58 bin/stty
-rwxr-xr-x   1 root     root        58560 Aug 27 10:58 bin/rm
-rwxr-xr-x   1 root     root        96096 Sep  8 22:22 bin/dash
-rwxr-xr-x   1 root     root        50304 Aug 27 10:58 bin/mkdir
-rwxr-xr-x   1 root     root       137272 Nov 18 19:28 bin/grep
-rwxr-xr-x   1 root     root        29664 Aug 27 10:58 bin/sleep
-rwxr-xr-x   1 root     root        20160 Jan 14  2011 bin/pkill
-rwxr-xr-x   1 root     root        42376 Jul 21  2011 bin/setfont
-rwxr-xr-x   1 root     root       114064 Jul 21  2011 bin/loadkeys
-rwxr-xr-x   1 root     root        50344 Aug 27 10:58 bin/ln
-rwxr-xr-x   1 root     root        50400 Aug 27 10:58 bin/cat
lrwxrwxrwx   1 root     root            4 Feb 21 09:33 bin/sh -&gt; dash
-rwxr-xr-x   1 root     root       116296 Aug 27 10:58 bin/mv
-rwxr-xr-x   1 root     root        22120 Jan 25 07:56 bin/dmesg
-rwxr-xr-x   1 root     root        39248 Dec 19 09:11 bin/plymouth
-rwxr-xr-x   1 root     root        29664 Aug 27 10:58 bin/uname
-rwxr-xr-x   1 root     root        37896 Aug 27 10:58 bin/[
-rwsr-xr-x   1 root     root        55216 Jan 25 07:56 bin/umount
-rwxr-xr-x   1 root     root       132280 Jan 12  2011 bin/sed
-rwxr-xr-x   1 root     root        29648 Aug 27 10:58 bin/basename
-rwxr-xr-x   1 root     root        33792 Aug 27 10:58 bin/mknod
-rwxr-xr-x   1 root     root       109960 Aug 27 10:58 bin/ls
-rwxr-xr-x   1 root     root        10328 Feb 16 14:10 bin/usleep
-rwsr-xr-x   1 root     root        72808 Jan 25 07:56 bin/mount
-rwxr-xr-x   1 root     root        83944 Dec 19 09:11 bin/plymouthd
-rwxr-xr-x   1 root     root        29648 Aug 27 10:58 bin/echo
[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at jimmy</A> ~]# mkinitrd -f foo.img 3.2.6-desktop-3.mga2
I: *** Including module: bootchart ***
I: *** Including module: dash ***
I: *** Including module: i18n ***
I: *** Including module: rpmversion ***
I: *** Including module: plymouth ***
I: *** Including module: dm ***
I: Skipping udev rule: 64-device-mapper.rules
I: *** Including module: kernel-modules ***
I: *** Including module: lvm ***
I: Skipping udev rule: 64-device-mapper.rules
I: *** Including module: resume ***
I: *** Including module: rootfs-block ***
I: *** Including module: terminfo ***
I: *** Including module: udev-rules ***
I: Skipping udev rule: 50-udev.rules
I: Skipping udev rule: 95-late.rules
I: Skipping udev rule: 50-firmware.rules
I: *** Including module: usrmount ***
I: *** Including module: base ***
I: *** Including module: fs-lib ***
I: *** Including module: shutdown ***
I: Skipping program kexec as it cannot be found and is flagged to be
optional
I: *** Including modules done ***
I: Wrote /root/foo.img:
I: -rw-r--r-- 1 root root 7154561 Feb 21 09:35 /root/foo.img
[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at jimmy</A> ~]# lsinitrd foo.img | grep &quot; bin/&quot;
-rwxr-xr-x   1 root     root       126128 Aug 27 10:58 bin/cp
-rwxr-xr-x   1 root     root        13040 Jul 21  2011 bin/kbd_mode
-rwxr-xr-x   1 root     root        14136 Jan 25 07:56 bin/flock
-rwxr-xr-x   1 root     root       830760 May  9  2011 bin/bash
-rwxr-xr-x   1 root     root        67872 Aug 27 10:58 bin/stty
-rwxr-xr-x   1 root     root        58560 Aug 27 10:58 bin/rm
-rwxr-xr-x   1 root     root        96096 Sep  8 22:22 bin/dash
-rwxr-xr-x   1 root     root        50304 Aug 27 10:58 bin/mkdir
-rwxr-xr-x   1 root     root       137272 Nov 18 19:28 bin/grep
-rwxr-xr-x   1 root     root        29664 Aug 27 10:58 bin/sleep
-rwxr-xr-x   1 root     root        20160 Jan 14  2011 bin/pkill
-rwxr-xr-x   1 root     root        42376 Jul 21  2011 bin/setfont
-rwxr-xr-x   1 root     root       114064 Jul 21  2011 bin/loadkeys
-rwxr-xr-x   1 root     root        50344 Aug 27 10:58 bin/ln
-rwxr-xr-x   1 root     root        50400 Aug 27 10:58 bin/cat
lrwxrwxrwx   1 root     root            4 Feb 21 09:35 bin/sh -&gt; dash
-rwxr-xr-x   1 root     root       116296 Aug 27 10:58 bin/mv
-rwxr-xr-x   1 root     root        22120 Jan 25 07:56 bin/dmesg
-rwxr-xr-x   1 root     root        39248 Dec 19 09:11 bin/plymouth
-rwxr-xr-x   1 root     root        29664 Aug 27 10:58 bin/uname
-rwxr-xr-x   1 root     root        37896 Aug 27 10:58 bin/[
-rwsr-xr-x   1 root     root        55216 Jan 25 07:56 bin/umount
-rwxr-xr-x   1 root     root       132280 Jan 12  2011 bin/sed
-rwxr-xr-x   1 root     root        29648 Aug 27 10:58 bin/basename
-rwxr-xr-x   1 root     root        33792 Aug 27 10:58 bin/mknod
-rwxr-xr-x   1 root     root       109960 Aug 27 10:58 bin/ls
-rwxr-xr-x   1 root     root        10328 Feb 16 14:10 bin/usleep
-rwsr-xr-x   1 root     root        72808 Jan 25 07:56 bin/mount
-rwxr-xr-x   1 root     root        83944 Dec 19 09:11 bin/plymouthd
-rwxr-xr-x   1 root     root        29648 Aug 27 10:58 bin/echo



Some more details here:
<A HREF="https://bugs.mageia.org/show_bug.cgi?id=4541">https://bugs.mageia.org/show_bug.cgi?id=4541</A>


-- 

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="012165.html">[Mageia-dev] New Dracut: Please test
</A></li>
	<LI>Next message: <A HREF="012186.html">[Mageia-dev] New Dracut: Please test
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#12179">[ date ]</a>
              <a href="thread.html#12179">[ thread ]</a>
              <a href="subject.html#12179">[ subject ]</a>
              <a href="author.html#12179">[ 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>