nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   BIG problem with ALL officials .run files on Debian-SID AMD64 (http://www.nvnews.net/vbulletin/showthread.php?t=55774)

Dark_Raziel 08-29-05 10:51 AM

BIG problem with ALL officials .run files on Debian-SID AMD64
 
Hi everybody,

First, sorry for my pathetic english, I really need to improve :D

I am very desapointed...I used Debian-SID AMD64 and since the 7174 release, I just CANNOT install driver form officiel .run :eek:

It always say end to the same...In the log, it just say there are no rules to make the nvidia.ko and now EVERY version of the driver say the same thing...

The most odd is when I use .deb package and compile the driver like this :
Quote:

cd /usr/src
tar zxfv nvidia-kernel-source.tar.gz
cd linux
make-kpkg modules-images
dpkg -i ../nvidia-kernel-2.6.12.5_1.0.7174-3+10.00.Custom_amd64.deb
It work like a charm !! :eek:

This is really weird and sad because the debian package are still at 7174 (It usually take some weeks or even a month or two to have Nvidia debian package) :(

Have you some way to solve this ?

--------------------------------------------------------------------------
Athlon64 2800+
1Go DDR Corsair
PNY Nvidia QuadroFX 1100
GNU/Linux Debian-SID AMD64 up-to-date
kernel 2.6.12.5 vanilla
Nvidia driver 7174 from debian package

Thunderbird 08-29-05 11:31 AM

Re: BIG problem with ALL officials .run files on Debian-SID AMD64
 
Just extract all the sources from the .run file using the '-x' switch and build it by hand.

Dark_Raziel 08-29-05 11:45 AM

Re: BIG problem with ALL officials .run files on Debian-SID AMD64
 
I will try, but it will only compile the Driver itself, how can I do for the glx ?

Thunderbird 08-29-05 12:05 PM

Re: BIG problem with ALL officials .run files on Debian-SID AMD64
 
When you use the -x option all files from the .run file get extracted both glx and kernel files. When you do make install it will try to build the kernel module and when done it installs it along with the glx modules.

Dark_Raziel 08-30-05 04:42 AM

Re: BIG problem with ALL officials .run files on Debian-SID AMD64
 
Complete failure :(

here is what it say :

Code:

NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.12.5/build KBUILD_VERBOSE=1 -C /lib/modules/2.6.12.5/source SUBDIRS=/home/raziel/Download/Drivers/AMD64/Chipset Nvidia/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv modules
make -C /lib/modules/2.6.12.5/build            \
KBUILD_SRC=/usr/src/linux-2.6.12.5          KBUILD_VERBOSE=1  \
KBUILD_CHECK= KBUILD_EXTMOD="/home/raziel/Download/Drivers/AMD64/Chipset"\
        -f /usr/src/linux-2.6.12.5/Makefile Nvidia/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv
make[3]: *** Pas de règle pour fabriquer la cible « Nvidia/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv ». Arrêt.
make[2]: *** [Nvidia/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv] Erreur 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Erreur 1
make: *** [install] Erreur 2

I do not anderstand...how can the debian package compile properly while the officiel .run files all crash ??

chunkey 08-30-05 05:46 AM

Re: BIG problem with ALL officials .run files on Debian-SID AMD64
 
Code:

/lib/modules/2.6.12.5/source SUBDIRS=/home/raziel/Download/Drivers/AMD64/Chipset Nvidia/NVIDIA-Linux-x86_64-1.0-7676-pkg2/usr/src/nv
Hmm, Je pense que tu devois éliminer la barre d'espacement entre Chipset et Nvidia...

(I know, my French isn't the best, but :D)

zander 08-30-05 05:56 AM

Re: BIG problem with ALL officials .run files on Debian-SID AMD64
 
1 Attachment(s)
My guess is that the Linux KBUILD build system can't handle the space in the path name /home/raziel/Download/Drivers/AMD64/Chipset Nvidia/. The problem should go away if you rename the directory in question to e.g. to ChipsetNvidia.

Please note, however, that the 1.0-7676 NVIDIA .run installer likely won't be able to install the X driver modules and OpenGL libraries in the correct location on your system, since Debian GNU/Linux doesn't follow the ../lib64 convention used by other vendors. This will be worked around in future `nvidia-installer` versions. If you want, you can give the attached replacement binary a try with 1.0-7676:

# sh /path/to/NVIDIA-Linux-x86_64-1.0-7676-pkg2.run --extract-only
# cd NVIDIA-Linux-x86_64-1.0-7676-pkg2
# unzip -ox /path/to/nvidia-installer.zip
# ./nvidia-installer -n

Dark_Raziel 08-30-05 07:53 AM

Re: BIG problem with ALL officials .run files on Debian-SID AMD64
 
First of all, I'm a morron and I apologize...It was so simple that I doesn't see the problem with the Space in my path.

Now It work very well (with the new installer), except for the ia-32 part that crash the install...I think It because I don't use the IA-32 package but a real IA32 chroot (It's located in /emul/ia32/)

So can you explain me how to install glx manualy in the chroot or perhaps there is a simple way to avoid it ?

ReimarD 08-30-05 08:59 AM

Re: BIG problem with ALL officials .run files on Debian-SID AMD64
 
It works very nice and simple when you have a 32/64 dualboot, if you can't boot into the 32bit chroot it will probably be more difficult.
First, install only the 64bit libs (you can download the pkg0 or pkg1 files next time).
Then download and install the 32bit package in the 32bit chroot. I think it will insist on creating a kernel module, so you might have to do some tricks to circumvent that (editing the Makefile or so).

zander 08-30-05 09:29 AM

Re: BIG problem with ALL officials .run files on Debian-SID AMD64
 
You could also experiment with the --compat32-prefix `nvidia-installer` option, i.e. instruct the installer to place the 32-bit compatibility libraries in a place other than /emul/ia32-linux/usr/lib (in your case, --compat32-prefix=/emul/ia32 might work).

myshkinbob 08-30-05 12:56 PM

Re: BIG problem with ALL officials .run files on Debian-SID AMD64
 
ln -s /emul/ia32 /emul/ia32-linux

That should make it easier on the installer, and anything else expecting the normal path from the ia32-libs package. Shouldn't cause any problems to your chroot either.

Debian Sid AMD64 here too btw. :)

Personally i just use the ia32-libs package instead of a chroot. The system defaults to 64-bit libraries, and only falls back to 32-bit libs for 32-bit apps, ld copes very well with the mixed environment. Occasionally i have problems with missing 32-bit libs, for things like Maya (still no 64 bit release yet), but that's easily fixed by unpacking the associated Sid i386 deb to the /emul/ia32-linux root dir.


All times are GMT -5. The time now is 10:57 PM.

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