Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-06-06, 05:39 PM   #13
siddly
Registered User
 
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
Default Re: 8762 doesn't build under 2.6.17-git

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.
siddly is offline   Reply With Quote
Old 07-06-06, 06:04 PM   #14
jackson312
Registered User
 
Join Date: Jul 2006
Posts: 8
Default Re: 8762 doesn't build under 2.6.17-git

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
jackson312 is offline   Reply With Quote
Old 07-06-06, 06:24 PM   #15
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: 8762 doesn't build under 2.6.17-git

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
netllama is offline   Reply With Quote
Old 07-06-06, 06:28 PM   #16
jackson312
Registered User
 
Join Date: Jul 2006
Posts: 8
Default Re: 8762 doesn't build under 2.6.17-git

I have not made any changes. The content were created by make make modules and make modules_install
jackson312 is offline   Reply With Quote
Old 07-06-06, 06:30 PM   #17
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: 8762 doesn't build under 2.6.17-git

What does the installer log look like if you do not specify the '--kernel-source-path' parameter when installing the driver?

-Lonni
netllama is offline   Reply With Quote
Old 07-06-06, 06:40 PM   #18
jackson312
Registered User
 
Join Date: Jul 2006
Posts: 8
Default Re: 8762 doesn't build under 2.6.17-git

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.
jackson312 is offline   Reply With Quote
Old 07-06-06, 06:44 PM   #19
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: 8762 doesn't build under 2.6.17-git

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
netllama is offline   Reply With Quote
Old 07-06-06, 07:29 PM   #20
jackson312
Registered User
 
Join Date: Jul 2006
Posts: 8
Default Re: 8762 doesn't build under 2.6.17-git

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.
jackson312 is offline   Reply With Quote

Old 07-06-06, 09:46 PM   #21
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: 8762 doesn't build under 2.6.17-git

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.
netllama is offline   Reply With Quote
Old 07-07-06, 05:24 AM   #22
Hannibal
#356906
 
Hannibal's Avatar
 
Join Date: Feb 2004
Location: Lodz, Poland
Posts: 24
Default Re: 8762 doesn't build under 2.6.17-git

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
I think that, problem may by caused by moving "#define UTS_RELEASE" from version.h to utsrelease.h. I try change conftest.sh and test this.

Edit:
I have right. I include patch that fix this problem
Attached Files
File Type: log nvidia-installer.log (2.6 KB, 157 views)
File Type: txt nvidia-utsrelease.diff.txt (521 Bytes, 243 views)
__________________
Hannibal@Slackware-current

Last edited by Hannibal; 07-07-06 at 07:10 AM.
Hannibal is offline   Reply With Quote
Old 11-06-06, 12:58 PM   #23
ajaxas
Registered User
 
Join Date: Nov 2006
Location: Novosibirsk, Siberia
Posts: 1
Default Re: 8762 doesn't build under 2.6.17-git

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
ajaxas is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Diablo 3 Wizard build guide News Archived News Items 0 05-30-12 03:40 PM
Build versus buy: One company's decision to go it alone News Archived News Items 0 05-13-12 09:40 PM
Diablo 3 build guide: Barbarian, Demon Hunter, Monk, Witch Doctor and Wizard News Archived News Items 0 05-12-12 01:00 PM
My source RPM won't build right! z28Power NVIDIA Linux 5 09-18-02 12:55 PM

All times are GMT -5. The time now is 12:28 PM.


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