|
|
#13 | |
|
Registered User
|
indeed the patch works
also on my x86 machine! thanks !! ![]() |
|
|
|
|
|
|
#14 | |
|
Registered User
Join Date: Apr 2008
Posts: 49
|
x86_64 can't get it to build.
There's an error generated during the kernel build but it is NOT included in the log file. I did go into /usr/src/nv and try make -f Makefile.kbuild module that was useless. There is no "Makefile" (just a "makefile") Do I have a corrupt 177.80 or is all this stuff for x86 (not _64)? E |
|
|
|
|
|
|
#15 | |
|
Registered User
|
Quote:
and Makefile.kbuild is present here Code:
/177.80/NVIDIA-Linux-x86-177.80-pkg1/usr/src/nv/makefile /177.80/NVIDIA-Linux-x86-177.80-pkg1/usr/src/nv/Makefile.kbuild /177.80/NVIDIA-Linux-x86-177.80-pkg1/usr/src/nv/Makefile.nvidia Code:
/177.80/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/makefile /177.80/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/Makefile.kbuild /177.80/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/Makefile.nvidia |
|
|
|
|
|
|
#16 | |
|
Registered User
Join Date: Apr 2008
Posts: 49
|
I am at a loss to figure out what I'm doing wrong. Can you assist?
Code:
root@egxps:/usr/local/src# ./NVIDIA-Linux-x86_64-177.80-pkg2.run -x
Creating directory NVIDIA-Linux-x86_64-177.80-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 177.80............................................................................................................................................
root@egxps:/usr/local/src# cd NVIDIA-Linux-x86_64-177.80-pkg2
root@egxps:/usr/local/src/NVIDIA-Linux-x86_64-177.80-pkg2# patch -p1 < ../patch-NVIDIA-2.6.28
patching file usr/src/nv/nvacpi.c
root@egxps:/usr/local/src/NVIDIA-Linux-x86_64-177.80-pkg2# ./nvidia-installer --no-x-check --no-runlevel-check --kernel-name="2.6.28-rc1-20081026" -sKN
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.
If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.
Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find
suggestions on fixing installation problems in the README available on the Linux driver download page at
www.nvidia.com.
root@egxps:/usr/local/src/NVIDIA-Linux-x86_64-177.80-pkg2# tail /var/log/nvidia-installer.log
the equivalent nvidia-installer command line option.
Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
Bitops.h references asm/bitops.h but it's actually in arch/[arch]/asm/bitops.h. Is there a quick patch for this or shall I just wait for rc2 E |
|
|
|
|
|
|
#18 | |
|
Registered User
Join Date: Apr 2008
Posts: 49
|
Quote:
Yes I think I did so correctly. See below. E Code:
gavron@egxps:/home/2.6.28/rc1/include$ pwd /home/2.6.28/rc1/include gavron@egxps:/home/2.6.28/rc1/include$ ls -al | grep asm drwxr-xr-x 4 root root 4096 2008-10-09 15:13 asm-arm drwxr-xr-x 4 root root 4096 2008-10-24 17:28 asm-cris drwxr-xr-x 2 root root 4096 2008-10-24 17:28 asm-frv drwxr-xr-x 3 root root 4096 2008-10-24 17:28 asm-generic drwxr-xr-x 2 root root 4096 2008-10-24 17:28 asm-h8300 drwxr-xr-x 7 root root 4096 2008-10-24 17:28 asm-m32r drwxr-xr-x 2 root root 4096 2008-10-24 17:28 asm-m68k drwxr-xr-x 5 root root 4096 2008-10-24 17:28 asm-mn10300 lrwxrwxrwx 1 root root 38 2008-10-26 15:05 asm-x86 -> /home/2.6.28/rc1/arch/x86/include/asm/ drwxr-xr-x 5 root root 4096 2008-10-24 17:28 asm-xtensa |
|
|
|
|
|
|
#19 | |
|
Great Old One
Join Date: Sep 2002
Posts: 124
|
Quote:
Code:
cd <kernel src dir>/include mv asm-x86/asm-offsets.h ../arch/x86/include/asm rmdir asm-x86 ln -s ../arch/x86/include/asm asm-x86
__________________
Desktop: Asus P5B Deluxe, Core2Duo E8500, 2GB Corsair 800MHz CL4, Gigabyte GTX460 1024MB HTPC: Asus P5B-E, Core2Duo 6300, 1GB Corsair 533MHz, Asus 9500GT w/ 512MB DDR3 Server: Gigabyte D510UD, Atom D510, 2GB Corsair 800MHz, Hauppauge NOVA-T500 dual DVB-T tuner, 4x 2TB Samsung F3EG (RAID5) Laptop: Asus U6V, Core2Duo P8400, 3GB DDR2, 9300M GS OS on all: Gentoo Linux Bought a computer bundled with windows? Don't want to use windows? Demand a refund! |
|
|
|
|
|
|
#20 |
|
Registered User
Join Date: Oct 2008
Posts: 7
|
can someone post the 32 bit version patch?
|
|
|
|
|
|
#21 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
The adventurous of you are also welcome to try the patch below (provided as-is, please use it at your own risk). It can be applied using the .run installer's --apply-patch option.
|
|
|
|
|
|
#22 |
|
Registered User
Join Date: Feb 2008
Posts: 19
|
Thanks zander, you guys do a great job.
|
|
|
|
|
|
#23 | |
|
Registered User
Join Date: Oct 2008
Posts: 7
|
Quote:
![]() ![]() I've compiled the kernel 2.6.28-rc2 without any problem, downloaded the NVIDIA-Linux-x86-177.80-pkg1.run file, applied the patch with the command ./NVIDIA-Linux-x86-177.80-pkg1.run --apply-patch NVIDIA_kernel-177.80-2990799.diff.txt and so created the file NVIDIA-Linux-x86-177.80-pkg1-custom.run, executed with the command ./NVIDIA-Linux-x86-177.80-pkg1-custom.run in the terminal after stopped gdm, under kernel 2.6.27-7. The installation finishes without any error and all is ok. But when i restart booting the 2.6.28-rc2 kernel it says, (EE) Failed to load module "type 1" (module does not exist, 0) (EE) NVIDIA(0): Failed to load the NVIDIA kernel module! (EE) NVIDIA(0): *** Aborting *** (EE) Screen(s) found, but none have a usable configuration so i've entered in the console, stopped the gdm and reinstalled the drivers into the 2.6.28-rc2 kernel using the ./NVIDIA-Linux-x86-177.80-pkg1-custom.run command. But now if i start gdm i've got black screen and nothing else... Any idea?? my xorg.conf file is # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (buildmeister@builder63) Wed Oct 1 15:09:35 PDT 2008 Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "Files" EndSection Section "Module" Load "dbe" Load "extmod" Load "type1" Load "freetype" Load "glx" EndSection Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Unknown" HorizSync 30.0 - 110.0 VertRefresh 50.0 - 150.0 Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 EndSubSection EndSection |
|
|
|
|
|
|
#24 |
|
Registered User
Join Date: Feb 2007
Posts: 113
|
U should show us the /var/log/nvidia-installer.log
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Random crashes, NVRM Xid messages | Iesos | NVIDIA Linux | 90 | 10-04-12 03:27 AM |
| Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) | gbailey | NVIDIA Linux | 1 | 06-27-12 10:24 AM |
| UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... | interzoneuk | NVIDIA Linux | 0 | 06-26-12 04:51 AM |
| xorg locks-up with newest nvidia drivers w/ vdpau. | theroot | NVIDIA Linux | 1 | 06-24-12 11:04 AM |
| Crash when logout from X | TGL | NVIDIA Linux | 10 | 09-13-02 08:22 PM |