Am Freitag, 6. Januar 2006 09:20 schrieb Magnus Therning:
> 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
Hi
i would still recommend hwdetect for module loading because it uses dynamic 
tables and not static tables to detect hardware, 
and initrd can be tweaked to use hwdetect too for modules.
check /etc/mkinitrd.conf for AUTODETECT=1 option
or check the arch wiki to find out more about mkinitrd tweaking
greetings
tpowa
-- 
Tobias Powalowski
Archlinux Package Maintainer (tpowa)
http://www.archlinux.org
[EMAIL PROTECTED]

Attachment: pgpdR2G6XrcKc.pgp
Description: PGP signature

_______________________________________________
arch mailing list
arch@archlinux.org
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to