lkml.org 
[lkml]   [2004]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Nvidia drivers and 2.6.x kernel
From
On approximately Wed, Jan 21, 2004 at 06:24:10PM -0600, Paul Misner wrote:
> On Wednesday 21 January 2004 06:05 pm, Christian Unger wrote:
> > About module-init-tools ... dunno ... never heard of it, I'm on Slackware
> > 9.1 so ... dunno ... Not sure. But like you say, if i could not initalize
> > modules the nvidia module should be the least of my worries, plus
> > everything loads in 2.4.22
>
> The 2.6 kernel needs new tools to load the kernel modules, because they have a
> different format (not just a different extension with .ko).
> module-init-tools provides those necessary upgrades, and also aids in
> creating /etc/modprobe.conf, which is used instead of /etc/modules.conf under
> the 2.6 kernels for loading modules on startup. If you don't have
> module-init-tools, then I'm not surprised you are having problems. You
> probably need an updated mkinitrd as well if you are using an initrd on
> system startup.
>
> They should be at http://www.kernel.org/pub/linux/kernel/people/rusty/modules/
>
> You probably want to read a document that summarized the changes that happened
> in 2.6, which is where the link above was located. It is
> http://www.linux.org.uk/~davej/docs/post-halloween-2.6.txt
>
> Not knowing much about Slackware, I couldn't give you much help about where
> the best place to get your tools from might be, except for the source above.
>
> > > What messages do you get about what is going wrong? What happens when
> > > you so a modprobe nvidia? What does your log file from XFree show?
> >
> > on make install i get:
> > FATAL: Error inserting nvidia (/lib/modules/2.6.1/kernel/drivers/video/
> > nvidia.ko): Invalid module format
> >
> > That's the same thing that modprobe nvidia gets.
> > I'll check the nv thing out.
> >

My guess is you need to have a "built" kernel tree. Basically just
build the kernel, install, reboot, then without touching the kernel
tree you built rebuild the nvidia driver. I hope that makes sense.

--
Josh McKinney | Webmaster: http://joshandangie.org
--------------------------------------------------------------------------
| They that can give up essential liberty
Linux, the choice -o) | to obtain a little temporary safety deserve
of the GNU generation /\ | neither liberty or safety.
_\_v | -Benjamin Franklin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.069 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site