LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   nvidia driver on smp kernel (https://www.linuxquestions.org/questions/linux-hardware-18/nvidia-driver-on-smp-kernel-621364/)

fiz 02-19-2008 05:48 PM

Solution
 
Alright, firstival i want to thank all of you for your kind help!

And now i want to share my dirty-solution with other helpseekers:
i did the nvidia-installer --sanity check as chrashmeister suggested, and it said:
Code:

ERROR: The installed file '/usr/lib/tls/libnvidia-tls.so.169.09' no longer
      exists.


ERROR: The installed symbolic link '/usr/lib/libGL.so' no longer exists.


ERROR: The installed symbolic link '/usr/lib/tls/libnvidia-tls.so.1' no
      longer exists.

i started to wonder: "wasn't there something about tls in the init scripts?"
so i restarted my box and found a strange line:
Code:

Removing NVIDIA TLS links...
this is strange isn't it? what to remove on startup? i searched in /etc/init.d and found nvidia-glx which contains that line
so this stupid script is removing vital nvidia-glx files! my guess is that USE_TLS is set the wrong way, but i don't care at all, so i just replaced the script with a blank file, reinstalled the driver, and this works great :)

i you come up with a better solution please let me know, but afais this script make no sence at all

so now the last thing to fix is my sound driver, and then my new box is as shiny as it should be :)

thanks again folks!

crashmeister 02-20-2008 02:48 AM

Good to hear you got it working.

Dunno where that file in init.d comes form - I got nothing in there.
find: nvidia-glx: No such file or directory

I'd just get rid of the file altogether.

rg.viza 02-20-2008 11:40 AM

to avoid conflicts you should compile a kernel without any nvidia modules:

http://gentoo-wiki.com/NVidia

I know you aren't running gentoo, but it's the same kernel with the same menuconfig script and same system code so will work for you.

The nvidia drivers in the kernel will conflict with the vendor supplied drivers and ideally should not be on your system. Even if you don't want to compile your kernel, there are a lot of great nvidia tips here.

Just substitute the nvidia installer where it tells you to emerge the 100.x nvidia driver. That's what I did and it works like a champion.

-Viz

crashmeister 02-20-2008 12:02 PM

Oh man - you distropushers just don't give up.

For your information:

The gentoo kernel is NOT the same as a debian kernel.The gentoo (gentoo-sources I assume)kernel is heavily patched to start with plus the whole thing is organized completely different between the distros and the debian kernel runs fine the way it is.
Even if you install vanilla in gentoo and debian default things will not match.

If you don't believe it do a google and look at stuff like 'compile your own kernel the debian way'.

The way to do this is a pain in the ass and if you don't do it that way the next update you do nothing will work anymore meaning you are screwed :confused:

Oh - and a debian install won't tell to emerge anything.
bash: emerge: command not found

rg.viza 02-20-2008 01:16 PM

Quote:

Originally Posted by crashmeister (Post 3063923)
Oh man - you distropushers just don't give up.

For your information:

The gentoo kernel is NOT the same as a debian kernel.The gentoo (gentoo-sources I assume)kernel is heavily patched to start with plus the whole thing is organized completely different between the distros and the debian kernel runs fine the way it is.
Even if you install vanilla in gentoo and debian default things will not match.

If you don't believe it do a google and look at stuff like 'compile your own kernel the debian way'.

The way to do this is a pain in the ass and if you don't do it that way the next update you do nothing will work anymore meaning you are screwed :confused:

Oh - and a debian install won't tell to emerge anything.
bash: emerge: command not found

whoo boy, I'd never recommend gentoo for anyone and am not trying to "push" anything. Hear that? DONT INSTALL GENTOO. IT TAKES FOREVER AND YOU NEED TO KNOW WHAT YOU ARE DOING.

There I'm not pushing gentoo. Happy?

Doesn't change the fact that xorg works the same on every distro, so does the vendor supplied nVidia driver.

I know because I've used the same driver on 4 distros. I've gotten info to fix problems from gentoo, ubuntu, redhat, and kernel.org, for my current gentoo system.

Good info is good info no matter where it comes from.

Edit: if you want to run emerge, grab the tarball and install it :P

-Viz

crashmeister 02-20-2008 01:21 PM

Quote:

Originally Posted by rg.viza (Post 3064012)
whoo boy, I'd never recommend gentoo for anyone and am not trying to "push" anything. Hear that? DONT INSTALL GENTOO. IT TAKES FOREVER AND YOU NEED TO KNOW WHAT YOU ARE DOING.

There I'm not pushing gentoo. Happy?

Doesn't change the fact that xorg works the same on every distro, so does the vendor supplied nVidia driver.

I know because I've used the same driver on 4 distros. I've gotten info to fix problems from gentoo, ubuntu, redhat, and kernel.org, for my current gentoo system.

Good info is good info no matter where it comes from.

Edit: if you want to run emerge, grab the tarball and install it :P

-Viz

Ok - cool!!!

where have you been all the time we had those problems?

Electro 02-20-2008 05:46 PM

Quote:

Originally Posted by crashmeister (Post 3063923)
Oh man - you distropushers just don't give up.

For your information:

The gentoo kernel is NOT the same as a debian kernel.The gentoo (gentoo-sources I assume)kernel is heavily patched to start with plus the whole thing is organized completely different between the distros and the debian kernel runs fine the way it is.
Even if you install vanilla in gentoo and debian default things will not match.

If you don't believe it do a google and look at stuff like 'compile your own kernel the debian way'.

The way to do this is a pain in the ass and if you don't do it that way the next update you do nothing will work anymore meaning you are screwed :confused:

Oh - and a debian install won't tell to emerge anything.
bash: emerge: command not found

Any Linux kernel for any distribution is the same. Each distribution patches it to suit their flavor. Debian uses proprietary ways of configuring the kernel and compiling it. I do not like Debian because it uses a non-standard way of setting up the kernel. Gentoo does the standard way even though it is patched. Other distributions does the standard way of setting it up.

The portage utility emerge simplifies the task of downloading, checking for file errors with checksums, unpacks, provides patches, runs ./configure if it needs to, compiles, and installs. Also runs depmod or ld to update the module and library database or cache at the end of installation process. It basically does what an admin does during the pre and post installation phase a program.

Like what rg.viza said use the good information to your advantage even though it is not for your distribution. Just do not use it verbatim. I also use Gentoo's package management to figure out what program is stable and which one is not stable even though the main developer saids it is stable when using other Linux distributions besides Gentoo.

Installing emerge on another distribution may not be easy. I suggest use Gentoo to use emerge. It is designed for it because that is what Gentoo uses. It can use deb and rpm files.

I push Gentoo because it provides a better sense of what Linux is all about. I believe that downloading programs in source code and compiling with certain features that I want shows what Linux is all about. Also config files that are formatted in text to edit in CLI with little knowledge. Gentoo provides all of this in a logical and stable way.


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