[mythtv-users] Help! nvidia

Norm Dugas normdugas at yahoo.ca
Wed Oct 31 16:07:05 UTC 2007


Staffan Pettersson wrote:
> Hi!
>
> Nvidia gives me headaches! i cant seem to build the driver correct.
>
> My girlfriend went away for a couple of days and so i decided to buy
> som new parts for my mythtv system. My system consist of a backend
> server running an old pentium 4 processor and my new frontend is a
> core 2 duo system running in a diskless setup. Both the kernel on the
> backend and frontend are the same but the new machine is build with
> the core2 kernel option.
>
> Every time i try to build and insert the module, dmesg gives me this:
>
> nvidia: version magic '2.6.22-gentoo-r9 SMP mod_unload PENTIUM4
> 4KSTACKS ' should be '2.6.22-gentoo-r9 SMP mod_unload CORE2 4KSTACKS '
>
> Please help!
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>   
Looks like you've compiled the driver against a different kernel
source.  How do you build your kernel?  Here's how I do it:
- list and select the kernel
# eselect kernel list
Available kernel symlink targets:
  [1]   linux-2.6.22-gentoo-r2
  [2]   linux-2.6.22-gentoo-r3
  [3]   linux-2.6.22-gentoo-r4
  [4]   linux-2.6.22-gentoo-r5
  [5]   linux-2.6.22-gentoo-r6
  [6]   linux-2.6.22-gentoo-r7
  [7]   linux-2.6.22-gentoo-r8 *
  [8]   linux-2.6.23-gentoo
# eselect kernel set 8   <---This will ser the symlink to  2.6.26

- build a new kernel
# genkernel all   <--- builds the kernel, I usually use genkernel
--menuconfig all to select wanted drivers and remove unwanted drivers

- rebuild the modules, list them first
# module-rebuild list
** Packages which I will emerge are:
        =media-libs/svgalib-1.9.25
        =x11-drivers/nvidia-drivers-100.14.09
# module-rebuild rebuild

Make sure your kernel is in grub, then reboot.  That's how I do it since
the only time I rebuild the modules is after I build a new kernel.

Hope this helps

Norm


More information about the mythtv-users mailing list