Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-13-03, 11:51 AM   #1
stuartlevy
Registered User
 
Join Date: May 2003
Location: flat, steamy Champaign, IL
Posts: 36
Default New installer vs. 2.4.20: nvidia.o (graphics) = nvidia.o (nForce IDE)

Puzzled why our new Linux machine with NV30 (Quadro 2000 FX?),
RH 7.2, XF86 4.2.0, NVidia 4349 from new installer, didn't work:
claiming it couldn't initialize the
kernel driver even though lsmod listed
"nvidia" as loaded!

Finally noticed: I'd built the 2.4.20 kernel with
CONFIG_BLK_DEV_NFORCE, the
IDE driver for the NVidia motherboard chipset.
Our motherboard doesn't have
one, but I figured it was harmless to
enable it.

Not so: the name of that module is, yes,
"nvidia.o", the same name as the graphics
driver!! So when the kernel autoloaded
"modprobe nvidia", it got the wrong module.

So Nvidia installer designers, could you
maybe change the module name?
nvidiagfx.o, say? You might argue that it
wouldn't make sense
to plug an NVidia graphics card into an NForce motherboard,
but others (including software distro builders)
might do just what I did and
cause trouble.
stuartlevy is offline   Reply With Quote
Old 05-14-03, 08:24 AM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Or get the kernel developers to rename the IDE driver to nforceide instead of nvidia, since that's what it is.

Or, you could insmod /full/path/to/the/right/nvidia.o instead.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-14-03, 10:29 AM   #3
stuartlevy
Registered User
 
Join Date: May 2003
Location: flat, steamy Champaign, IL
Posts: 36
Default

Given that the kernel developers generally
consider binary-only drivers as non-Kosher,
I wouldn't have much hope in asking them to
change one of the stock module's names to
accommodate a proprietary driver.

It's true, once an individual user knows what
the problem is, it would be easy to work around --
by modprobe'ing the full path,
or manually renaming the module file.
But the point is that a name collision is
hidden breakage: most of the difficulty
was in discovering why this setup, which
normally worked nicely, was failing this time
without any meaningful diagnostics appearing anywhere.

We need to make sure this doesn't happen!
So I ask the NVidia developers to help.

It might be a good idea (and the core
kernel people might like this) to make modprobe detect ambiguities:
if you "modprobe nvidia" it could have warned in the syslog that
it had found several nvidia.o's and chosen one.
This kind of thing will surely happen again in other contexts.
stuartlevy is offline   Reply With Quote
Old 05-14-03, 10:12 PM   #4
ripperda
NVIDIA Corporation
 
Join Date: Sep 2002
Posts: 24
Default

which kernel version is this? the standard 2.4.20 from kernel.org doesn't have this (that I can tell)
ripperda is offline   Reply With Quote
Old 05-14-03, 10:55 PM   #5
stuartlevy
Registered User
 
Join Date: May 2003
Location: flat, steamy Champaign, IL
Posts: 36
Default which kernel version -- oh yeah, it wasn't quite 2.4.20...

Quote:
Originally posted by ripperda
which kernel version is this? the standard 2.4.20 from kernel.org doesn't have this (that I can tell)
Ow -- you're right, I was withholding information.

Looking back, I'd assembled it from
stock 2.4.20 plus the 2.4.21-pre3 patch.

I just checked the latest kernel.org prerelease
of 2.4.21 (2.4.21-rc2). It no longer includes
any CONFIG_BLK_DEV_NVIDIA option --
the nForce IDE driver that was present in pre3
seems to be gone in rc2. So the nvidia.o collision is
probably a non-issue for everyone except
ham-handed tinkerers like me, who deserve what we get.
If somebody adds it back to the main kernel
line they'll probably give it a different name.
stuartlevy is offline   Reply With Quote
Old 05-14-03, 11:25 PM   #6
stuartlevy
Registered User
 
Join Date: May 2003
Location: flat, steamy Champaign, IL
Posts: 36
Default nForce ide, one more time: merged into amd74xx

Checking a bit more carefully, the 2.4.21-rc2 does still have an NVidia nForce
IDE tuning driver. But it's now part of another module:
CONFIG_BLK_DEV_AMD74XX, or amd74xx.o.
"make *config" lists it as "AMD and nVidia IDE support". So all's well, as far as I can tell.
stuartlevy is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thoughts from console owners on NVIDIA's GEFORCE GRID MikeC Console World 11 05-27-12 08:43 AM

All times are GMT -5. The time now is 11:08 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.