* Nvidia drivers and 2.6.x kernel
@ 2004-01-21 23:04 Christian Unger
[not found] ` <400FB4AA.8000109@yahoo.com.br>
0 siblings, 1 reply; 24+ messages in thread
From: Christian Unger @ 2004-01-21 23:04 UTC (permalink / raw)
To: linux-kernel
Hi Everyone
I'm not sure if this has been done to death or not, but i can not get the 4496
and 5328 versions of the NVidia kernel to work on the 2.6.1 version of (you
guessed it) Linux.
I've googled about but not really found any great stuff. I did find this:
http://www.kerneltrap.org/node/view/1804
and from there the link to http://minion.de
I've tried it with both versions of the driver, with both versions of the
drivers Makefile (Makefile.nvidia and Makefile.kbuild).
With the installer and with just make install (make kernel_module_install).
The message i get is that the module is the wrong format.
The files that i can get to appear in:
/lib/modules/2.6.1/kernel/drivers/video are nvidia.ko & nvidia.o
Originally i thought they were the same file, but they have different sizes
(afterall)
chakkerz@stormcrow:/lib/modules/2.6.1/kernel/drivers/video$ ls -l
total 4648
-rw-rw-r-- 1 root root 2376880 Jan 21 12:14 nvidia.ko
-rw-rw-r-- 1 root root 2376702 Jan 21 12:15 nvidia.o
so: i've tried unpatched, patched, old and new drivers, installer and make,
make in the installers root, and it's sub director usr/src/nv ... oh yes, and
different versions of the patch.
could someone please tell me where to find out how to make this work, because
linux without GUI is little use to me.
In case it matters:
This is an AMD Athlon XP 2800+ on a Gigabyte GA-7N400 Pro2 MoBo (nforce2). The
FFX is an Abit Siluro GeForce 4 Ti4200 OTES. 2 sticks of 256 Corsair DDR in
dual channel. The kernel compiles i tried were with AGPGART integrated (and
the nforce/nforce2 also integrated) as well as AGPGART as a module. Most of
the stuff i tried with AGPGART as a module.
--
with kind regards,
Christian Unger
"You don't need eyes to see, you need vision" (Faithless - Reverence)
Mobile: 0402 268904
Internet: http://naiv.sourceforge.net
NAIV Status:
Stable Testing Development
0.2.3r2 0.3.0 0.3.1 - File Handling
"May there be mercy on man and machine for their sins" (Animatrix)
^ permalink raw reply [flat|nested] 24+ messages in thread* Nvidia drivers and 2.6.x kernel
@ 2004-01-21 23:12 Christian Unger
2004-01-21 23:19 ` Tomasz Torcz
` (2 more replies)
0 siblings, 3 replies; 24+ messages in thread
From: Christian Unger @ 2004-01-21 23:12 UTC (permalink / raw)
To: linux-kernel
Hi Everyone
I'm not sure if this has been done to death or not, but i can not get the 4496
and 5328 versions of the NVidia kernel to work on the 2.6.1 version of (you
guessed it) Linux.
I've googled about but not really found any great stuff. I did find this:
http://www.kerneltrap.org/node/view/1804
and from there the link to http://minion.de
I've tried it with both versions of the driver, with both versions of the
drivers Makefile (Makefile.nvidia and Makefile.kbuild).
With the installer and with just make install (make kernel_module_install).
The message i get is that the module is the wrong format.
The files that i can get to appear in:
/lib/modules/2.6.1/kernel/drivers/video are nvidia.ko & nvidia.o
Originally i thought they were the same file, but they have different sizes
(afterall)
chakkerz@stormcrow:/lib/modules/2.6.1/kernel/drivers/video$ ls -l
total 4648
-rw-rw-r-- 1 root root 2376880 Jan 21 12:14 nvidia.ko
-rw-rw-r-- 1 root root 2376702 Jan 21 12:15 nvidia.o
so: i've tried unpatched, patched, old and new drivers, installer and make,
make in the installers root, and it's sub director usr/src/nv ... oh yes, and
different versions of the patch.
could someone please tell me where to find out how to make this work, because
linux without GUI is little use to me.
In case it matters:
This is an AMD Athlon XP 2800+ on a Gigabyte GA-7N400 Pro2 MoBo (nforce2). The
FFX is an Abit Siluro GeForce 4 Ti4200 OTES. 2 sticks of 256 Corsair DDR in
dual channel. The kernel compiles i tried were with AGPGART integrated (and
the nforce/nforce2 also integrated) as well as AGPGART as a module. Most of
the stuff i tried with AGPGART as a module.
--
with kind regards,
Christian Unger
"You don't need eyes to see, you need vision" (Faithless - Reverence)
Mobile: 0402 268904
Internet: http://naiv.sourceforge.net
NAIV Status:
Stable Testing Development
0.2.3r2 0.3.0 0.3.1 - File Handling
"May there be mercy on man and machine for their sins" (Animatrix)
^ permalink raw reply [flat|nested] 24+ messages in thread* Re: Nvidia drivers and 2.6.x kernel
2004-01-21 23:12 Christian Unger
@ 2004-01-21 23:19 ` Tomasz Torcz
2004-01-21 23:28 ` Christian Unger
2004-01-21 23:28 ` Diego Calleja
2004-01-21 23:44 ` Paul Misner
2 siblings, 1 reply; 24+ messages in thread
From: Tomasz Torcz @ 2004-01-21 23:19 UTC (permalink / raw)
To: linux-kernel
On Thu, Jan 22, 2004 at 10:12:17AM +1100, Christian Unger wrote:
> I'm not sure if this has been done to death or not, but i can not get the 4496
> and 5328 versions of the NVidia kernel to work on the 2.6.1 version of (you
> guessed it) Linux.
Complain to nVidia.
--
Tomasz Torcz Only gods can safely risk perfection,
zdzichu@irc.-nie.spam-.pl it's a dangerous thing for a man. -- Alia
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Nvidia drivers and 2.6.x kernel
2004-01-21 23:19 ` Tomasz Torcz
@ 2004-01-21 23:28 ` Christian Unger
2004-01-22 8:38 ` Robin Rosenberg
0 siblings, 1 reply; 24+ messages in thread
From: Christian Unger @ 2004-01-21 23:28 UTC (permalink / raw)
To: linux-kernel
> Complain to nVidia.
yeah i did think about that, except
"
NVIDIA provides superior 3D graphics processors to the computer industry's
leading add-in card manufacturers and PC OEMs. We do not sell any products
directly to end users so we do not have a staff dedicated to end-user
technical support. If you are having a problem with any NVIDIA-based product,
please contact either the PC or board manufacturer of your product.
"
So who writes the drivers??
--
with kind regards,
Christian Unger
"You don't need eyes to see, you need vision" (Faithless - Reverence)
Mobile: 0402 268904
Internet: http://naiv.sourceforge.net
NAIV Status:
Stable Testing Development
0.2.3r2 0.3.0 0.3.1 - File Handling
"May there be mercy on man and machine for their sins" (Animatrix)
^ permalink raw reply [flat|nested] 24+ messages in thread* Re: Nvidia drivers and 2.6.x kernel
2004-01-21 23:28 ` Christian Unger
@ 2004-01-22 8:38 ` Robin Rosenberg
0 siblings, 0 replies; 24+ messages in thread
From: Robin Rosenberg @ 2004-01-22 8:38 UTC (permalink / raw)
To: chakkerz; +Cc: Linux kernel
torsdagen den 22 januari 2004 00.28 skrev Christian Unger:
> > Complain to nVidia.
>
> yeah i did think about that, except
> "
> NVIDIA provides superior 3D graphics processors to the computer industry's
> leading add-in card manufacturers and PC OEMs. We do not sell any products
> directly to end users so we do not have a staff dedicated to end-user
> technical support. If you are having a problem with any NVIDIA-based product,
> please contact either the PC or board manufacturer of your product.
> "
>
> So who writes the drivers??
NVidia does. Check the download link for Linux/FreeBSD drivers and in particular the link to the Nvidial Linux forum.
-- robin
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Nvidia drivers and 2.6.x kernel
2004-01-21 23:12 Christian Unger
2004-01-21 23:19 ` Tomasz Torcz
@ 2004-01-21 23:28 ` Diego Calleja
2004-01-21 23:44 ` Paul Misner
2 siblings, 0 replies; 24+ messages in thread
From: Diego Calleja @ 2004-01-21 23:28 UTC (permalink / raw)
To: chakkerz; +Cc: linux-kernel
El Thu, 22 Jan 2004 10:12:17 +1100 Christian Unger <chakkerz@optusnet.com.au> escribió:
Have you tried to contact Nvidia? If lots of people ask them for the
drivers they'll develop them faster, me thinks...
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Nvidia drivers and 2.6.x kernel
2004-01-21 23:12 Christian Unger
2004-01-21 23:19 ` Tomasz Torcz
2004-01-21 23:28 ` Diego Calleja
@ 2004-01-21 23:44 ` Paul Misner
2004-01-22 0:05 ` Christian Unger
2 siblings, 1 reply; 24+ messages in thread
From: Paul Misner @ 2004-01-21 23:44 UTC (permalink / raw)
To: linux-kernel
On Wednesday 21 January 2004 05:12 pm, Christian Unger wrote:
> Hi Everyone
>
> I'm not sure if this has been done to death or not, but i can not get the
> 4496 and 5328 versions of the NVidia kernel to work on the 2.6.1 version of
> (you guessed it) Linux.
>
> I've googled about but not really found any great stuff. I did find this:
>
> http://www.kerneltrap.org/node/view/1804
> and from there the link to http://minion.de
Did you try the installers from http://www.sh.nu/download/nvidia/ ?
http://minion.de refers to them, and they appear to work fine here.
>
> I've tried it with both versions of the driver, with both versions of the
> drivers Makefile (Makefile.nvidia and Makefile.kbuild).
>
> With the installer and with just make install (make kernel_module_install).
> The message i get is that the module is the wrong format.
Wrong (or no) module-init-tools? Mine currently is
module-init-tools-3.0-0.pre5.2mdk from the Mandrake cooker, although I've not
had trouble for some time with any version. The nvidia.ko file is the one
that will load under a 2.6 kernel. The wrong format message sounds like you
don't have module-init-tools installed, although I would expect getting your
nvidia card to run would be the least of your problems.
You could also switch over in your XFConfig-4 to the nv driver that is part of
the kernel build. That should get your system running with X, letting you
solve the nvidia driver problems later.
> The files that i can get to appear in:
> /lib/modules/2.6.1/kernel/drivers/video are nvidia.ko & nvidia.o
> Originally i thought they were the same file, but they have different sizes
> (afterall)
> chakkerz@stormcrow:/lib/modules/2.6.1/kernel/drivers/video$ ls -l
> total 4648
> -rw-rw-r-- 1 root root 2376880 Jan 21 12:14 nvidia.ko
> -rw-rw-r-- 1 root root 2376702 Jan 21 12:15 nvidia.o
>
> so: i've tried unpatched, patched, old and new drivers, installer and make,
> make in the installers root, and it's sub director usr/src/nv ... oh yes,
> and different versions of the patch.
>
> could someone please tell me where to find out how to make this work,
> because linux without GUI is little use to me.
>
> In case it matters:
> This is an AMD Athlon XP 2800+ on a Gigabyte GA-7N400 Pro2 MoBo (nforce2).
> The FFX is an Abit Siluro GeForce 4 Ti4200 OTES. 2 sticks of 256 Corsair
> DDR in dual channel. The kernel compiles i tried were with AGPGART
> integrated (and the nforce/nforce2 also integrated) as well as AGPGART as a
> module. Most of the stuff i tried with AGPGART as a module.
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?
Paul
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Nvidia drivers and 2.6.x kernel
2004-01-21 23:44 ` Paul Misner
@ 2004-01-22 0:05 ` Christian Unger
2004-01-22 0:24 ` Paul Misner
0 siblings, 1 reply; 24+ messages in thread
From: Christian Unger @ 2004-01-22 0:05 UTC (permalink / raw)
To: Paul Misner; +Cc: linux-kernel
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
>
> 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 ...
--
with kind regards,
Christian Unger
"You don't need eyes to see, you need vision" (Faithless - Reverence)
Mobile: 0402 268904
Internet: http://naiv.sourceforge.net
NAIV Status:
Stable Testing Development
0.2.3r2 0.3.0 0.3.1 - File Handling
"May there be mercy on man and machine for their sins" (Animatrix)
^ permalink raw reply [flat|nested] 24+ messages in thread* Re: Nvidia drivers and 2.6.x kernel
2004-01-22 0:05 ` Christian Unger
@ 2004-01-22 0:24 ` Paul Misner
2004-01-22 0:38 ` Rob Couto
2004-01-22 19:19 ` Josh McKinney
0 siblings, 2 replies; 24+ messages in thread
From: Paul Misner @ 2004-01-22 0:24 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Nvidia drivers and 2.6.x kernel
2004-01-22 0:24 ` Paul Misner
@ 2004-01-22 0:38 ` Rob Couto
2004-01-22 19:19 ` Josh McKinney
1 sibling, 0 replies; 24+ messages in thread
From: Rob Couto @ 2004-01-22 0:38 UTC (permalink / raw)
To: linux-kernel
On Wednesday 21 January 2004 19:24, 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
Slackware 9.1 comes with module-init-tools in anticipation of 2.6. did you run
a full install or select by hand?
--
Rob Couto
rpc@cafe4111.org
Rules for computing success:
1) Attitude is no substitute for competence.
2) Ease of use is no substitute for power.
3) Safety matters; use a static-free hammer.
--
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Nvidia drivers and 2.6.x kernel
2004-01-22 0:24 ` Paul Misner
2004-01-22 0:38 ` Rob Couto
@ 2004-01-22 19:19 ` Josh McKinney
1 sibling, 0 replies; 24+ messages in thread
From: Josh McKinney @ 2004-01-22 19:19 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Nvidia drivers and 2.6.x kernel
@ 2004-01-22 18:15 Bob Gill
0 siblings, 0 replies; 24+ messages in thread
From: Bob Gill @ 2004-01-22 18:15 UTC (permalink / raw)
To: Linux Kernel Mailing List
Hi. I also have an Nvidia Ti4200, running on Fedora Core with the
2.6.2-rc1 kernel. The easiest way to get the driver installed was to
grab a pre-built no-fuss installer from
http://www.sh.nu/download/nvidia/linux-2.6/ and after you build your new
kernel, boot into it, kill X and make sure it stays dead by modifying
/etc/inittab by changing
respawn:/etc/X11/prefdm -nodaemon
to
# x:5:respawn:/etc/X11/prefdm -nodaemon
(save) and type init q ...if X wasn't dead before, it is now. You
should now be able to install the driver (where ever you put it) by just
running >sh <drivername>
Assuming your XF86Config is still setup to deal with the binary nVidia
driver, when you uncomment the line in the /etc/inittab file and re-run
init q, X should start with an nvidia splash screen. Please be aware
that there are problems with agpgart on via chipsets (I don't have one,
I'm quoting from the minion page). And there is a procedure for getting
mesa (and optionally glut) installed alongside the binary nvidia driver
(and a bit more if you want tv with overscan).
^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2004-01-31 4:28 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-21 23:04 Nvidia drivers and 2.6.x kernel Christian Unger
[not found] ` <400FB4AA.8000109@yahoo.com.br>
2004-01-22 11:52 ` Christian Unger
2004-01-22 12:12 ` Kieran
2004-01-22 22:42 ` Christian Unger
[not found] ` <401052C6.7040500@ihateaol.co.uk>
2004-01-25 23:24 ` Christian Unger
2004-01-27 22:49 ` Charles Shannon Hendrix
2004-01-31 3:41 ` nVidia driver uses far less memory now, was " Charles Shannon Hendrix
2004-01-22 23:48 ` Charles Shannon Hendrix
2004-01-23 1:59 ` pci_alloc_consistent() Leonid Grossman
2004-01-23 8:50 ` pci_alloc_consistent() Jes Sorensen
2004-01-23 14:37 ` pci_alloc_consistent() Leonid Grossman
2004-01-23 18:11 ` pci_alloc_consistent() Alex Williamson
2004-01-22 23:40 ` Nvidia drivers and 2.6.x kernel Charles Shannon Hendrix
-- strict thread matches above, loose matches on Subject: below --
2004-01-21 23:12 Christian Unger
2004-01-21 23:19 ` Tomasz Torcz
2004-01-21 23:28 ` Christian Unger
2004-01-22 8:38 ` Robin Rosenberg
2004-01-21 23:28 ` Diego Calleja
2004-01-21 23:44 ` Paul Misner
2004-01-22 0:05 ` Christian Unger
2004-01-22 0:24 ` Paul Misner
2004-01-22 0:38 ` Rob Couto
2004-01-22 19:19 ` Josh McKinney
2004-01-22 18:15 Bob Gill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox