|
|
#13 | |
|
Registered User
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
|
SuSE 10.1, I rebooted on 2.6.18-rc1 to init 3, changed to /usr/src/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv (zander's patch applied), did "make install" , "init 5" and it's all working.
|
|
|
|
|
|
|
#14 | |
|
Registered User
Join Date: Jul 2006
Posts: 8
|
Script started on Thu 06 Jul 2006 02:58:25 PM PDT
root@XEONBOX:~# /usr/bin/ls -l /lib/modules/`uname -r` total 588 lrwxrwxrwx 1 root root 25 2006-07-06 10:36 build -> /usr/src/linux-2.6.18-rc1 drwxr-xr-x 9 root root 4096 2006-07-06 10:36 kernel -rw-r--r-- 1 root root 112612 2006-07-06 11:09 modules.alias -rw-r--r-- 1 root root 69 2006-07-06 11:09 modules.ccwmap -rw-r--r-- 1 root root 83641 2006-07-06 11:09 modules.dep -rw-r--r-- 1 root root 73 2006-07-06 11:09 modules.ieee1394map -rw-r--r-- 1 root root 141 2006-07-06 11:09 modules.inputmap -rw-r--r-- 1 root root 81 2006-07-06 11:09 modules.isapnpmap -rw-r--r-- 1 root root 74 2006-07-06 11:09 modules.ofmap -rw-r--r-- 1 root root 80634 2006-07-06 11:09 modules.pcimap -rw-r--r-- 1 root root 127 2006-07-06 11:09 modules.seriomap -rw-r--r-- 1 root root 36991 2006-07-06 11:09 modules.symbols -rw-r--r-- 1 root root 230421 2006-07-06 11:09 modules.usbmap lrwxrwxrwx 1 root root 25 2006-07-06 10:36 source -> /usr/src/linux-2.6.18-rc1 root@XEONBOX:~# root@XEONBOX:~# /usr/bin/ls -l /usr/src/ total 28 drwxrwxrwx 20 root root 4096 2006-03-22 15:03 linux-2.6.16 drwxrwxrwx 20 root root 4096 2006-06-26 13:17 linux-2.6.17 drwxrwxrwx 20 root root 4096 2006-06-06 16:31 linux-2.6.17-rc6 drwxrwxrwx 20 root root 4096 2006-07-06 10:36 linux-2.6.18-rc1 drwxr-xr-x 7 root root 4096 2003-10-28 22:08 rpm drwxr-xr-x 3 root root 4096 2006-06-26 03:25 slackbuilds drwxrwxrwx 7 root users 4096 2006-03-27 10:36 slackware root@XEONBOX:~# root@XEONBOX:~# uname -r 2.6.18-rc1 root@XEONBOX:~# exit exit Script done on Thu 06 Jul 2006 02:59:47 PM PDT |
|
|
|
|
|
|
#15 |
|
NVIDIA Corporation
Join Date: Dec 2004
Posts: 8,763
|
Are the contents of /usr/src/linux-2.6.18-rc1 the same as they were when you first built the kernel or have you made changes, or run additional commands which altered the source?
Thanks, -Lonni |
|
|
|
|
|
#16 | |
|
Registered User
Join Date: Jul 2006
Posts: 8
|
I have not made any changes. The content were created by make make modules and make modules_install
|
|
|
|
|
|
|
#17 |
|
NVIDIA Corporation
Join Date: Dec 2004
Posts: 8,763
|
What does the installer log look like if you do not specify the '--kernel-source-path' parameter when installing the driver?
-Lonni |
|
|
|
|
|
#18 | |
|
Registered User
Join Date: Jul 2006
Posts: 8
|
That was the log I attached. Without that, I would get:
-> Using the kernel source path '/lib/modules/2.6.18-rc1/source' as specified by the '--kernel-source-path' commandline option. ERROR: Unable to determine the version of the kernel sources located in '/usr/src/linux-2.6.18-rc1/'. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option. |
|
|
|
|
|
|
#19 |
|
NVIDIA Corporation
Join Date: Dec 2004
Posts: 8,763
|
I'm not clear which log you've attached, as the only log that I see was part of your post, and included:
##### -> Using the kernel source path '/usr/src/linux-2.6.18-rc1/' as specified by the '--kernel-source-path' commandline option. ##### Please install the driver without any options, and then attach the installer log. Thanks, Lonni |
|
|
|
|
|
#20 |
|
Registered User
Join Date: Jul 2006
Posts: 8
|
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Jul 6 15:35:47 2006 option status: license pre-accepted : false update : false force update : false expert : false uninstall : false driver info : false no precompiled interface: false no ncurses color : false query latest driver ver : false OpenGL header files : true no questions : false silent : 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 force tls : (not specified) force compat32 tls : (not specified) X install prefix : /usr/X11R6 OpenGL install prefix : /usr compat32 install prefix : (not specified) installer install prefix: /usr utility install prefix : /usr kernel name : (not specified) kernel include path : (not specified) kernel source path : (not specified) 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. -> There appears to already be a driver installed on your system (version: 1.0- 8762). As part of installing this driver (version: 1.0-8762), the existing driver will be uninstalled. Are you sure you want to continue? ('no' will a bort 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 test with CC="cc". ERROR: Unable to determine the version of the kernel sources located in '/lib/modules/2.6.18-rc1/source'. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' 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. |
|
|
|
|
|
#21 |
|
NVIDIA Corporation
Join Date: Dec 2004
Posts: 8,763
|
Here's the actual problem:
##### Unable to determine the version of the kernel sources located in '/lib/modules/2.6.18-rc1/source' #### This all points to a problem with the state of your kernel source for the kernel you're running. |
|
|
|
|
|
#22 |
|
#356906
Join Date: Feb 2004
Location: Lodz, Poland
Posts: 24
|
This can be Slackware specific error. I also have it.
Prevoiusly I think that was something wrong with source dir (I apply patches to get newer kernel), but I download vanilla kernel, add my config and run "make bzImage modules", and error still exists. I try run installer with/whithout latest patch, and with/without --krenel-source-path option under 2.6.18-rc1 kernel and with --kernel-version under 2.6.17 kernel. I attach my installer log but this is nothnig new. Edit: I found something that in strace: Code:
29395 write(2, "conftest29388.c: In function `ma"..., 36) = 36 29395 write(2, "\n", 1) = 1 29395 write(2, "conftest29388.c:4: error: `UTS_R"..., 79) = 79 29395 write(2, "\n", 1) = 1 29395 write(2, "conftest29388.c:4: error: (Each "..., 75) = 75 29395 write(2, "\n", 1) = 1 29395 write(2, "conftest29388.c:4: error: for ea"..., 59) = 59 Edit: I have right. I include patch that fix this problem
__________________
Hannibal@Slackware-current Last edited by Hannibal; 07-07-06 at 06:10 AM. |
|
|
|
|
|
#23 |
|
Registered User
Join Date: Nov 2006
Location: Novosibirsk, Siberia
Posts: 1
|
Had exactly the same problem, the patch solved the problem (also added #define UTS_RELEASE "2.6.18.2-default" to include/linux/version.h).
Btw, it all went well enough even without switching to runlevel 3 ![]() 10x |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Diablo 3 Wizard build guide | News | Latest Tech And Game Headlines | 0 | 05-30-12 02:40 PM |
| Build versus buy: One company's decision to go it alone | News | Latest Tech And Game Headlines | 0 | 05-13-12 08:40 PM |
| Diablo 3 build guide: Barbarian, Demon Hunter, Monk, Witch Doctor and Wizard | News | Latest Tech And Game Headlines | 0 | 05-12-12 12:00 PM |
| My source RPM won't build right! | z28Power | NVIDIA Linux | 5 | 09-18-02 11:55 AM |