Suggestion to simplify initial kmod-nvidia install (w/script correction)

Neal Becker ndbecker2 at gmail.com
Thu Dec 3 20:38:28 CET 2009


On Thursday 03 December 2009, Adam Williamson wrote:
> On Thu, 2009-12-03 at 07:32 -0500, Neal Becker wrote:
> > To be sure, this procedure could be retested on a new install, since I
> > can't prove that it isn't the initramfs caused by a kernel update that
> > makes it work here.
> 
> It's not too hard to check:
> 
> [root at adam shapefile]# lsinitrd
>  /boot/initramfs-2.6.31.6-145.fc12.x86_64.img  | grep nouveau drwxr-xr-x  
>  2 root     root            0 Nov 26 09:44
>  lib/modules/2.6.31.6-145.fc12.x86_64/kernel/drivers/gpu/drm/nouveau
>  -rwxr--r--   1 root     root       714040 Nov 26 09:44
>  lib/modules/2.6.31.6-145.fc12.x86_64/kernel/drivers/gpu/drm/nouveau/nouvea
> u.ko lrwxrwxrwx   1 root     root           34 Nov 26 09:44
>  usr/lib64/libdrm_nouveau.so.1 -> /usr/lib64/libdrm_nouveau.so.1.0.0
>  -rwxr-xr-x   1 root     root        20256 Nov 19 16:45
>  usr/lib64/libdrm_nouveau.so.1.0.0 init
> 
> i.e., use lsinitrd to see if your initramfs actually has a nouveau
> module in it. also, boot without the rdblacklist parameter and see if
> nouveau gets loaded.
> 

[nbecker at nbecker1 jupiter]$ lsinitrd /boot/initramfs-2.6.31.6-145.fc12.x86_64.img  | grep nouveau
-rw-r--r--   1 root     root          185 Nov  3 17:13 etc/modprobe.d/blacklist-nouveau.conf
-rwxr-xr-x   1 root     root        20256 Nov  4 22:14 usr/lib64/libdrm_nouveau.so.1.0.0
lrwxrwxrwx   1 root     root           34 Dec  1 14:16 usr/lib64/libdrm_nouveau.so.1 -> /usr/lib64/libdrm_nouveau.so.1.0.0
drwxr-xr-x   2 root     root            0 Dec  1 14:16 lib/modules/2.6.31.6-145.fc12.x86_64/kernel/drivers/gpu/drm/nouveau
-rwxr--r--   1 root     root       714040 Dec  1 14:16 lib/modules/2.6.31.6-145.fc12.x86_64/kernel/drivers/gpu/drm/nouveau/nouveau.ko
init

[nbecker at nbecker1 jupiter]$ uname -r
2.6.31.6-145.fc12.x86_64

So, it seems my current working initramfs DOES have nouveau.  However, having
the module present is not the same as having it loaded.  Doesn't kernel update
rebuild initramfs?  I see the data/time of /boot/initramfs is the same as the update
of grub.conf.


More information about the rpmfusion-developers mailing list