diff options
Diffstat (limited to 'zarb-ml/mageia-dev/20110416/004011.html')
-rw-r--r-- | zarb-ml/mageia-dev/20110416/004011.html | 154 |
1 files changed, 154 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110416/004011.html b/zarb-ml/mageia-dev/20110416/004011.html new file mode 100644 index 000000000..14e038ae0 --- /dev/null +++ b/zarb-ml/mageia-dev/20110416/004011.html @@ -0,0 +1,154 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Changes for dkms, dracut, drakx, drivers, initscripts, kms, mkinitrd, module-init-tools, udev + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Changes%20for%20dkms%2C%20dracut%2C%20drakx%2C%20drivers%2C%20initscripts%2C%0A%09kms%2C%20mkinitrd%2C%20module-init-tools%2C%20udev&In-Reply-To=%3C4DA9DDBD.2010603%40iki.fi%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="004010.html"> + <LINK REL="Next" HREF="004012.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Changes for dkms, dracut, drakx, drivers, initscripts, kms, mkinitrd, module-init-tools, udev</H1> + <B>Anssi Hannula</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Changes%20for%20dkms%2C%20dracut%2C%20drakx%2C%20drivers%2C%20initscripts%2C%0A%09kms%2C%20mkinitrd%2C%20module-init-tools%2C%20udev&In-Reply-To=%3C4DA9DDBD.2010603%40iki.fi%3E" + TITLE="[Mageia-dev] Changes for dkms, dracut, drakx, drivers, initscripts, kms, mkinitrd, module-init-tools, udev">anssi.hannula at iki.fi + </A><BR> + <I>Sat Apr 16 20:19:41 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="004010.html">[Mageia-dev] Seamonkey package +</A></li> + <LI>Next message: <A HREF="004012.html">[Mageia-dev] libnotify 0.7.2 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#4011">[ date ]</a> + <a href="thread.html#4011">[ thread ]</a> + <a href="subject.html#4011">[ subject ]</a> + <a href="author.html#4011">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi all! + +I've now completed the implementation of the points from my earlier "KMS ++ plymouth + DKMS + harddrake + speedboot + XFdrake + initrd stuff" RFC +at <A HREF="http://lists.mandriva.com/cooker/2011-01/msg00107.php.">http://lists.mandriva.com/cooker/2011-01/msg00107.php.</A> The only +notable difference is that instead of regenerating initrds a new +"nokmsboot" boot option flag is used instead. + +I'll do some final cleanups and testing before I start committing this +work; this message is mostly a heads-up in case someone spots something +that's not ok. + +The changes per package follow, feel free to comment: + +DKMS: +- use display_driver_helper for loading display modules - no functional + change, just needed due to the other changes + +Dracut: +- fix find commandline to find gzip compressed KMS kernel modules + +Drakx-kbd-mouse-x11: +- Added display_driver_helper script. +- Add/Remove "nokmsboot" boot option depending on selected driver. + display_driver_helper is used to detect if that is the case. +- Ask for reboot instead of X restart in the usual case, as this is + commonly required nowadays. Some checks could be added to allow + only to restart X when that is enough, but those are for later. + +Drakxtools (harddrake-service): +- Adapt splash handling for plymouth (i.e. hide splash when querying + user). +- Call drakx-kbd-mouse-x11 to add/remove nokmsboot boot option if + needed. Detection is done using display_driver_helper and by + checking for /dev/.late_kms which is created by display_driver_helper + when it is called from udev and the kms driver wasn't yet loaded by + initrd. +- If a reboot is needed due to a driver switch (i.e. boot was done + without nokmsboot but it is needed for the current driver), ask for + it (user is given 30 sec to abort). display_driver_helper is used to + detect this. +- On driver switch, load the new driver by calling udevadm. +- If X.org is already running when a driver change is initiated, + defer change to next boot and disable speedboot for the next boot + (note: irrelevant with systemd). +- Generalize the harddrake_confirm code a bit. + +Drakxtools (installer): +- When configuring bootloader after X is already configured (like One), + use display_driver_helper to determine if "nokmsboot" should be used. + +Initscripts (rc.sysinit / speedboot, not relevant with systemd): +- In very early boot, call display_driver_helper to check if there is a + pending dkms build (that may cause a wrong older binary dkms driver + to be loaded by X server) or a conflicting driver loaded by initrd + (which may cause graphical corruption / freeze when starting server) + and disable speedboot in those cases. +- Load display drivers before X when in speedboot. +- In speedboot mode, reopen file descriptors after X should've started. + This ensures that harddrake_service (and other sysinit output) is + shown to the user if the X startup failed. (plymouth grabs the output, + and when it shuts down the output is lost until descriptors are + reopened). + +Mkinitrd: +- Allow putting nouveau/radeon in initrd (currently only i915 is + allowed) +- Do not load display drivers if booted with nokmsboot. + +Module-init-tools: +- Remove now unneeded patch affecting blacklist behaviour. +- Remove now unwanted blacklist entries for DKMS and KMS drivers. + +Proprietary drivers: +- Remove modprobe.preload.d, udev now loads the drivers selectively + using display_driver_helper. This also fixes a wrong version of a + driver being loaded when during early boot there is an old binary + dkms driver present and a newer source dkms driver is not yet built. + +Proprietary NVIDIA drivers: +- Replace "alias" entry with "install" entry, to allow removal of a + patch in module-init-tools. + +Udev: +- Use display_driver_helper to load display drivers. It checks the + drivers it knows so that the X.org configuration is appropriate for + the driver before loading it. I.e. if "vesa" is enabled, no display + drivers are loaded, and if "fglrx" is enabled "radeon" is not loaded, + and vice versa, etc. Also, no wrong version dkms binary driver is + loaded if the correct dkms source driver is going to be built later + during this boot. +- When in initrd, instead of using display_driver_helper, instead check + for the nokmsboot boot parameter, and load drivers if that is not set + (note: initrds do not contain proprietary drivers). + +-- +Anssi Hannula +</PRE> + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="004010.html">[Mageia-dev] Seamonkey package +</A></li> + <LI>Next message: <A HREF="004012.html">[Mageia-dev] libnotify 0.7.2 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#4011">[ date ]</a> + <a href="thread.html#4011">[ thread ]</a> + <a href="subject.html#4011">[ subject ]</a> + <a href="author.html#4011">[ 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> |