Re: Nvidia drivers and 2.6.x kernel
From: Paul Misner
Date: Wed Jan 21 2004 - 19:25:21 EST
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.
>
> One interesting error / warning i get during boot is this (from /var/log/
> syslog) :
> Jan 22 10:43:08 stormcrow kernel: nvidia: version magic '2.6.1 preempt K7
> gcc-3.2' should be '2.6.1 preempt K7 gcc-3.3'
> Jan 22 10:46:15 stormcrow kernel: nvidia: version magic '2.6.1 preempt K7
> gcc-3.2' should be '2.6.1 preempt K7 gcc-3.3'
>
> Not sure what to make of this. I know that 4496 had issues with the gcc
> version i was running a while backed, and i had to hack the installer
> script to ignore that (though i'm sure there is a switch for this stuff ...
> i was over reading at that point).
>
> As for the XFree log ... i don't have that one ...
/var/log/XFree86.0.log would be the place. I don't think there will be
anything interesting there until you get your module-init-tools installed.
I hope this has helped.
Paul
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/