On Thu, Jan 05, 2006 at 07:34:18PM -0500, Eric Belanger wrote:
>
>On Thu, 5 Jan 2006, Magnus Therning wrote:
>
>> I've noticed some strange X-related stuff after the latest kernel
>> upgrade. Artefacts are appearing every now and then on my screen
>> (squares in different colours). Forcing a repaint in the area (e.g. by
>> moving a window over it) removes it...
>>
>> Could this be related to the fact that I have an absolutely massive
>> amount of kernel modules loaded. Many more than I could possibly need!
>>
>> I'm using hwdetect to load modules.
>
>I would doubt that your problem is caused by the large amount of
>modules loaded.  However, I'm not an expert on kernel stuff.  Did you
>upgrade your video drivers recently or use the xorg in testing?

I don't think it's the amount of modules either, but I suspect there
might be some FB module in there and my experience with FB is not very
good. I'm not using X from testing.

>If you want to reduce the amount of loaded modules, you could use a
>custom initrd and blacklist the modules for hardware you don't use.

Huh? Now I'm really confused. Here is what I thought was going on:

 Installing a (recent) kernel causes a ramdisk to be created. That
 ramdisk contains the minimal set of modules needed to bring _my_ system
 up to a state where hwd/hwdetect can be used to load more modules.

Your statement together with the massive amount of loaded modules
suggests that my ramdisk contains a hell of a lot more than what's
needed and it's all loaded (e.g. several filesystems I don't use are
loaded). Then hwd/hwdetect comes along just in case something is
missing.

It seems to me that hwd is doing a good job of loading modules, but it's
being sabotaged by a bloated ramdisk. Is there an easy way of creating a
smaller ramdisk?

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED]
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

If our ideas of intellectual property are wrong, we must change them,
improve them and return them to their original purpose. When
intellectual property rules diminish the supply of new ideas, they
steal from all of us.
     -- Andrew Brown, November 19, 2005, The Guardian

Attachment: pgpGJLLtt9R0O.pgp
Description: PGP signature

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to