summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-December/010401.html
blob: 4a829cdf6310c35e50424e098461cc5c34ca926b (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
<!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=%3C4EE7F204.1070407%40mageia.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="010136.html">
   <LINK REL="Next"  HREF="010426.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] RFC: Drop mkinitrd completely in favour of dracut.</H1>
    <B>Anssi Hannula</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=%3C4EE7F204.1070407%40mageia.org%3E"
       TITLE="[Mageia-dev] RFC: Drop mkinitrd completely in favour of dracut.">anssi at mageia.org
       </A><BR>
    <I>Wed Dec 14 01:47:00 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="010136.html">[Mageia-dev] RFC: Drop mkinitrd completely in favour of dracut.
</A></li>
        <LI>Next message: <A HREF="010426.html">[Mageia-dev] RFC: Drop mkinitrd completely in favour of dracut.
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#10401">[ date ]</a>
              <a href="thread.html#10401">[ thread ]</a>
              <a href="subject.html#10401">[ subject ]</a>
              <a href="author.html#10401">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On 03.12.2011 16:39, Anssi Hannula wrote:
&gt;<i> On 03.12.2011 08:05, Thomas Backlund wrote:
</I>&gt;&gt;<i> Anssi Hannula skrev 3.12.2011 01:06:
</I>&gt;&gt;&gt;<i> On 03.12.2011 00:18, Thomas Backlund wrote:
</I>&gt;&gt;&gt;&gt;<i> Anssi Hannula skrev 2.12.2011 23:17:
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> Patch attached. I guess this would remain as a Mageia specific patch as
</I>&gt;&gt;&gt;&gt;&gt;<i> the wanted behavior is dependant on how the distribution handles driver
</I>&gt;&gt;&gt;&gt;&gt;<i> switching etc...
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Speaking of driver switching...
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> Is it possible to detect missing radeon firmware in initrd in early
</I>&gt;&gt;&gt;&gt;<i> boot, and then switch to loading radeon with modeset=0 ?
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Seems doable (if a bit hacky), but unfortunately new radeon cards (at
</I>&gt;&gt;&gt;<i> least cayman/northern islands) do not work without KMS at all (while
</I>&gt;&gt;&gt;<i> slightly older cards like Evergreen mostly work but without any kind of
</I>&gt;&gt;&gt;<i> 2d/3d acceleration).
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Yeah, I started thinking about those too after my post...
</I>&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> This also means that X server will fail to start since it doesn't
</I>&gt;&gt;&gt;<i> fallback to autodetection (and therefore vesa) when the card is
</I>&gt;&gt;&gt;<i> explicitely listed in xorg.conf.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Not quite sure what is the best way forward.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Hm, so we would need a split in detection for nonkms capable cards
</I>&gt;&gt;<i> and the rest...
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> or take the easy way out and boot everyone on vesa until radeon firmware
</I>&gt;&gt;<i> is available...
</I>&gt;<i> 
</I>&gt;<i> Does loading of radeon modesetting kernel driver without firmware break
</I>&gt;<i> the boot completely, or does it just make X.org server fail to start?
</I>
Does anyone know?

&gt;&gt;&gt;<i> BTW, shouldn't we regenerate initrds when installing radeon-firmware for
</I>&gt;&gt;&gt;<i> the first time?
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> Yeah, I've been thinking the same, but haven't gotten around to doing it
</I>&gt;&gt;<i> yet.
</I>
One possibility is to make dracut record the missing firmware files
somewhere, and then in %post or in filetrigger (for /lib/firmware) check
if missing firmware got installed, and in that case run
bootloader-config --action rebuild-initrds.

&gt;&gt;<i> and what about nvidia* and fglrx, should they do the same ?
</I>&gt;<i> 
</I>&gt;<i> Well, currently we always include the KMS drivers in initrd, and when
</I>&gt;<i> nvidia* or fglrx is enabled we simply add nokmsboot (mga/mdv specific)
</I>&gt;<i> kernel parameter to avoid initrd rebuild.
</I>&gt;<i> 
</I>&gt;&gt;<i> and for a dkms related issue, I've also been thinking we whould
</I>&gt;&gt;<i> trigger dkms rebuild on kernel install to save time on next bootup.
</I>&gt;<i> 
</I>&gt;<i> That would seem reasonable, it would just be a matter of
</I>&gt;<i> [ -x /usr/sbin/dkms_autoinstaller ] &amp;&amp; \
</I>&gt;<i> 	/usr/sbin/dkms_autoinstaller start %kernelver || :
</I>&gt;<i> in kernel %post AFAICS...
</I>&gt;<i> 
</I>

-- 
Anssi Hannula
</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="010136.html">[Mageia-dev] RFC: Drop mkinitrd completely in favour of dracut.
</A></li>
	<LI>Next message: <A HREF="010426.html">[Mageia-dev] RFC: Drop mkinitrd completely in favour of dracut.
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#10401">[ date ]</a>
              <a href="thread.html#10401">[ thread ]</a>
              <a href="subject.html#10401">[ subject ]</a>
              <a href="author.html#10401">[ 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>