Hi Seife, Le Thursday 06 June 2013 à 11:36 +0200, Stefan Seyfried a écrit :
Am 06.06.2013 10:13, schrieb Jean Delvare:
Well, how do you "blacklist drm" exactly? My understanding is that drm is only a common helper module for all drm drivers (radeon, i915 etc.) so a "blacklist drm" statement should have no effect, should it?
"find /lib/modules -name drm.ko | xargs --no-run-if-empty rm" :-)
And presumably running mkinitrd after that, otherwise it will not have an immediate effect.
This effectively fixes all attempts to load any kms module, because they all need drm.
That's a barbarian way to do it, but yes it shall work ;-)
Oh -- and drm is *big*, so that's another reason to have it as a module. Loading a module from disk once the kernel is running is probably much faster than loading the bigger kernel from disk / network via the BIOS routines the boot loader is using.
If drm isn't in the kernel, it will be in the initrd, so I don't think it makes any difference in terms of reading it from the disk. But anyway, it was already decided to keep drm and drm_kms_helper as modules so they can be overridden by KMPs. -- Jean Delvare Suse L3 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org