|
|
#1 | |
|
Great Old One
Join Date: Sep 2002
Posts: 124
|
Since I've got a fairly recent laptop (Asus U6V), I've been testing the lastest kernels to get everything working (HDMI audio especially).
Today I've built and booted a 2.6.28-rc1 kernel with success. Unfortunately I couldn't install the nVidia X.org driver since compilation of the kernel module fails. The kernel team has moved architecture specific headers from include/asm-x86 to arch/x86/include/asm, and thus compilation of conftest (and the actual kernel module itself) fails. Do you have a patch to enable 2.6.28 support or is there a new beta with 2.6.28 support in the works? In case of the latter, can you perhaps reveal an ETA? Thanks in advance Cthulhu
__________________
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! |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Feb 2008
Posts: 19
|
This happens every kernel release, give it a few days and someone will probably post a hacked up patch to get 177.80 working with it.
I will probably have a poke it myself before the weekend is out. Atm i'm using 2.6.28-rc1+(git patch for NCQ bug) and the free nv driver. |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Feb 2007
Posts: 112
|
Look in your include/asm and you know, why the driver not work.
Make a symlink from arch/x86/include/asm to include /asm-x86 and the driver will build. |
|
|
|
|
|
#4 | |
|
François
Join Date: Dec 2007
Posts: 8
|
I created the symlink you suggested. At least, the build starts but it ends with the following error:
Code:
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-177.80/work/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/.nvacpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include -D__KERNEL__ -Iinclude -I/usr/src/linux-2.6.28/arch/x86/include -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m64 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iarch/x86/include/asm/mach-default -fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -I/var/tmp/portage/x11-drivers/nvidia-drivers-177.80/work/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"177.80\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvacpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-177.80/work/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/nvacpi.o /var/tmp/portage/x11-drivers/nvidia-drivers-177.80/work/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/nvacpi.c distcc[21136] ERROR: compile /var/tmp/ccache/nvacpi.tmp.pc-francois.21132.i on localhost failed /var/tmp/portage/x11-drivers/nvidia-drivers-177.80/work/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/nvacpi.c: In function ‘nv_acpi_add’: /var/tmp/portage/x11-drivers/nvidia-drivers-177.80/work/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/nvacpi.c:161: erreur: membre gauche de l'affectation invalide /var/tmp/portage/x11-drivers/nvidia-drivers-177.80/work/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/nvacpi.c:178: attention : passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type /var/tmp/portage/x11-drivers/nvidia-drivers-177.80/work/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/nvacpi.c: In function ‘nv_acpi_event’: /var/tmp/portage/x11-drivers/nvidia-drivers-177.80/work/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/nvacpi.c:319: attention : passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type /var/tmp/portage/x11-drivers/nvidia-drivers-177.80/work/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/nvacpi.c:334: attention : passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type /var/tmp/portage/x11-drivers/nvidia-drivers-177.80/work/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/nvacpi.c:349: attention : passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type /var/tmp/portage/x11-drivers/nvidia-drivers-177.80/work/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/nvacpi.c:364: attention : passing argument 4 of ‘acpi_evaluate_integer’ from incompatible pointer type make[3]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-177.80/work/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv/nvacpi.o] Erreur 1 make[2]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-177.80/work/NVIDIA-Linux-x86_64-177.80-pkg2/usr/src/nv] Erreur 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Erreur 1 make: *** [module] Erreur 2 Thanks for your help. |
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Feb 2007
Posts: 112
|
Here is the /var/log/nvidia-installer.log from the test, i have made:
http://rafb.net/p/kKxeW470.html |
|
|
|
|
|
#6 | |
|
François
Join Date: Dec 2007
Posts: 8
|
It seems you are running an x86 machine. I try to compile it on a 64 bit system and it fails.
|
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Feb 2007
Posts: 112
|
For 64bit i have no clue, only tryed for 32 bit.
|
|
|
|
|
|
#8 |
|
Registered User
|
After linking the asm dir, as suggested here, the building process starts but fails on my x86 machine here
complete installer logfile any further ideas or do we just have to wait ? greetz agent5 |
|
|
|
|
|
#9 |
|
Registered User
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 124
|
Doesn't start to build here either. Hoping the symlink here is correct, x86_64 target.
tindog:/usr/src/linux-2.6.28-rc1-git1/arch/x86/include/asm # l -d asm lrwxrwxrwx 1 root root 27 2008-10-25 20:27 asm -> ../../../../include/asm-x86/ nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Sat Oct 25 19:45:26 2008 installer version: 1.0.7 option status: license pre-accepted : false update : false force update : false expert : false uninstall : false driver info : false precompiled interfaces : true no ncurses color : false query latest version : false OpenGL header files : true no questions : false silent : false no recursion : false no backup : false kernel module only : false sanity : false add this kernel : false no runlevel check : false no network : false no ABI note : false no RPMs : false no kernel module : false force SELinux : default no X server check : false no cc version check : false force tls : (not specified) force compat32 tls : (not specified) X install prefix : (not specified) X library install path : (not specified) X module install path : (not specified) OpenGL install prefix : (not specified) OpenGL install libdir : (not specified) compat32 install chroot : (not specified) compat32 install prefix : (not specified) compat32 install libdir : (not specified) utility install prefix : (not specified) utility install libdir : (not specified) doc install prefix : (not specified) kernel name : (not specified) kernel include path : (not specified) kernel source path : /usr/src/linux-2.6.28-rc1-git1 kernel output path : (not specified) kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /tmp ftp mirror : ftp://download.nvidia.com RPM file list : (not specified) Using: nvidia-installer ncurses user interface -> License accepted. -> Installing NVIDIA driver version 177.80. -> There appears to already be a driver installed on your system (version: 177. 80). As part of installing this driver (version: 177.80), the existing driv er will be uninstalled. Are you sure you want to continue? ('no' will abort installation) (Answer: Yes) -> No precompiled kernel interface was found to match your kernel; would you li ke the installer to attempt to download a kernel interface for your kernel f rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes) -> No matching precompiled kernel interface was found on the NVIDIA ftp site; this means that the installer will need to compile a kernel interface for your kernel. -> Performing CC sanity check with CC="cc". -> Performing CC version check with CC="cc". -> Using the kernel source path '/usr/src/linux-2.6.28-rc1-git1' as specified by the '--kernel-source-path' commandline option. -> Kernel source path: '/usr/src/linux-2.6.28-rc1-git1' -> Kernel output path: '/usr/src/linux-2.6.28-rc1-git1' 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. |
|
|
|
|
|
#10 |
|
Registered User
Join Date: Feb 2007
Posts: 112
|
Code:
~/kernel/linux-2.6.28-rc1/include towo:Defiant> ls -al asm-x86 lrwxrwxrwx 1 towo towo 59 24. Okt 22:44 asm-x86 -> /home/towo/kernel/linux-2.6.28-rc1/arch/x86/include/asm |
|
|
|
|
|
#11 |
|
Registered User
Join Date: Feb 2008
Posts: 19
|
Patched, working and lightly tested here:
Edit: Patch mirror here |
|
|
|
|
|
#12 | |
|
Registered User
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 124
|
Quote:
|
|
|
|
|
![]() |
| 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 |