Suggestion to simplify initial kmod-nvidia install (w/script
correction)
Neal Becker
ndbecker2 at gmail.com
Fri Dec 4 01:24:43 CET 2009
On Thursday 03 December 2009, Nicolas Chauvet wrote:
> 2009/12/3 Neal Becker <ndbecker2 at gmail.com>:
> > 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/nou
> >>vea 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/nouve
> >au.ko init
> >
> > [nbecker at nbecker1 jupiter]$ uname -r
> > 2.6.31.6-145.fc12.x86_64
>
> On usual initramfs generated after nvidia drivers got installed:
> $ lsinitrd /boot/initramfs-2.6.31.6-145.fc12.i686.img |grep blacklist
> -rw-r--r-- 1 root root 845 Jul 26 13:04
> etc/modprobe.d/blacklist.conf
> -rw-r--r-- 1 root root 185 Nov 14 22:34
> etc/modprobe.d/blacklist-nouveau.conf
> $ lsinitrd /boot/initramfs-2.6.31.6-145.fc12.i686.img |grep nouveau
> -rwxr-xr-x 1 root root 18828 Nov 5 04:14
> usr/lib/libdrm_nouveau.so.1.0.0
> lrwxrwxrwx 1 root root 32 Dec 3 20:37
> usr/lib/libdrm_nouveau.so.1 -> /usr/lib/libdrm_nouveau.so.1.0.0
> -rw-r--r-- 1 root root 185 Nov 14 22:34
> etc/modprobe.d/blacklist-nouveau.conf
> drwxr-xr-x 2 root root 0 Dec 3 20:38
> lib/modules/2.6.31.6-145.fc12.i686/kernel/drivers/gpu/drm/nouveau
> -rwxr--r-- 1 root root 573968 Dec 3 20:38
> lib/modules/2.6.31.6-145.fc12.i686/kernel/drivers/gpu/drm/nouveau/nouveau.k
> o init
> So nouveau remains present in the initramfs despite been de-activated
> automatically by the blacklist-nouveau.conf ?!
> I expected nouveau not to be present in the initrd for the F-11 case
> once blacklist-nouveau.conf is present.
>
> Nicolas (kwizart)
>
Present in initramfs, but not loaded into kernel. So, I believe rdblacklist
works.
More information about the rpmfusion-developers
mailing list