Hi Carsten,
My output looks similar to yours, but there are some differences (.11)
and I do not have the .config file.
Should I reinstall the kernel-source package? Note, first I installes
9.2 as a fresh install with format and everything, then I installed the
source package using yast, then I removed the source package and
installed it again. Between every step I tried installing the NVIDIA driver.
Another comment: I think there is something completely wrong with my
machine because I have other problems too. I cant get my onboard sound
device working (it works when booting into windows). When I had 9.1
video players only worked if I was root.
Anyway, here is the output:
zacharias:~ # l /usr/src
total 1
drwxr-xr-x 6 root root 240 Jan 28 19:15 ./
drwxr-xr-x 12 root root 344 Jan 28 00:00 ../
lrwxrwxrwx 1 root root 14 Jan 28 19:15 linux -> linux-2.6.8-24/
drwxr-xr-x 20 root root 712 Jan 28 19:15 linux-2.6.8-24/
drwxr-xr-x 3 root root 72 Oct 21 17:27 linux-2.6.8-24-obj/
drwxr-xr-x 3 root root 72 Jan 28 01:30 linux-2.6.8-24.11-obj/
lrwxrwxrwx 1 root root 18 Jan 28 19:15 linux-obj -> linux-2.6.8-24-obj/
drwxr-xr-x 7 root root 168 Jan 28 00:03 packages/
zacharias:~ # l /lib/modules/
total 4
drwxr-xr-x 9 root root 280 Jan 28 19:24 ./
drwxr-xr-x 12 root root 3256 Jan 28 01:31 ../
drwxr-xr-x 4 root root 96 Jan 28 19:24 2.6.8-24-bigsmp/
drwxr-xr-x 4 root root 96 Jan 28 01:31 2.6.8-24-default/
drwxr-xr-x 4 root root 96 Jan 28 19:24 2.6.8-24-smp/
drwxr-xr-x 4 root root 504 Jan 29 01:33 2.6.8-24.11-default/
drwxr-xr-x 2 root root 48 Jan 14 20:54 2.6.8-override-default/
drwxr-xr-x 3 root root 88 Jan 28 19:24 precompiled/
drwxr-xr-x 3 root root 104 Oct 21 17:27 scripts/
zacharias:~ # ls -la /usr/src/linux
linux/ linux-2.6.8-24-obj/ linux-obj/
linux-2.6.8-24/ linux-2.6.8-24.11-obj/
zacharias:~ # ls -la /usr/src/linux/
total 246
drwxr-xr-x 20 root root 712 Jan 28 19:15 .
drwxr-xr-x 6 root root 240 Jan 28 19:15 ..
-rw-r--r-- 1 root root 18691 Aug 14 07:36 COPYING
-rw-r--r-- 1 root root 87978 Oct 6 12:47 CREDITS
drwxr-xr-x 47 root root 4384 Jan 28 19:14 Documentation
-rw-r--r-- 1 root root 54294 Oct 6 12:47 MAINTAINERS
-rw-r--r-- 1 root root 42666 Oct 6 12:47 Makefile
-rw-r--r-- 1 root root 2091 Oct 6 11:24 Makefile.suse
-rw-r--r-- 1 root root 13970 Aug 14 07:37 README
lrwxrwxrwx 1 root root 50 Jan 28 19:14 README.SUSE ->
../../share/doc/packages/kernel-source/README.SUSE
-rw-r--r-- 1 root root 2815 Aug 14 07:36 REPORTING-BUGS
drwxr-xr-x 23 root root 560 Jan 28 19:14 arch
drwxr-xr-x 2 root root 896 Jan 28 19:14 crypto
drwxr-xr-x 47 root root 1208 Jan 28 19:14 drivers
drwxr-xr-x 56 root root 2968 Jan 28 19:14 fs
drwxr-xr-x 35 root root 944 Jan 30 10:53 include
drwxr-xr-x 2 root root 392 Jan 28 19:14 init
drwxr-xr-x 2 root root 304 Jan 28 19:14 ipc
drwxr-xr-x 3 root root 312 Jan 28 19:14 kdb
drwxr-xr-x 3 root root 1216 Jan 28 19:14 kernel
drwxr-xr-x 4 root root 960 Jan 28 19:14 lib
drwxr-xr-x 2 root root 1120 Jan 28 19:14 mm
drwxr-xr-x 32 root root 968 Jan 28 19:14 net
drwxr-xr-x 2 root root 72 Jan 28 19:14 rpmify
drwxr-xr-x 9 root root 1280 Jan 28 19:15 scripts
drwxr-xr-x 3 root root 272 Jan 28 19:15 security
drwxr-xr-x 15 root root 496 Jan 28 19:15 sound
drwxr-xr-x 2 root root 136 Jan 28 19:15 usr
zacharias:~ #
:)Bogi
Carsten Koch wrote:
> Bogi Mouritsen wrote:
>
>> Thanks for the quick reply.
>>
>> I need to use the --kernel-source parameter since my system has the
>> kernel-source placed outside the path and the nvidia-installer does
>> not find it.
>> I did not state the 'include' directory. I was writing from memory.
>>
>>
>> Anyway, I did the following now:
>> 1. init 3
>> 2. "sh NVIDIA.... --extract-only"
>> 3. cd <that-directory>
>> 4. make install
>>
>> This is the output I get:
>> If you are using Linux kernel 2.4 ....
>> If you are using Linux kernel 2.6, please make sure you have
>> configured kernel sources matching your kernel installed on your
>> system. If you specified a separate output directory using either
>> "KBUILD_OUTPUT .....
>>
>> *** Unable to determine the target kernel version ***
>> make[1]: *** [select_makefile] Error 1
>> make[1]: Leaving directory `/usr/local/NVIDIA....`
>> make: *** [kernel_module_install] Error 2
>>
>> That is it!
>> Any suggestions please?
>
>
> The above message is issued by the script
> NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/conftest.sh
> when it tries to determine which Makefile to use.
>
> The most likely reason for the message seems to be that
> it did not find a Makefile or a ".config" file in your
> kernel source tree.
>
> Run
> uname -r
> and
> ls -l /usr/src
> and
> ls -l /lib/modules
>
> uname -r should output something like
> 2.6.8-24.11-default
> and
> ls -l /usr/src
> should output something like
>
> lrwxrwxrwx 1 root root 17 Jan 23 18:44 linux -> linux-2.6.8-24.11
> drwxr-xr-x 20 root root 4096 Jan 23 18:43 linux-2.6.8-24.11
> drwxr-xr-x 3 root root 17 Jan 14 16:35 linux-2.6.8-24.11-obj
> lrwxrwxrwx 1 root root 21 Jan 23 18:44 linux-obj -> linux-2.6.8-24.11-obj
> drwxr-xr-x 7 root root 67 Nov 6 14:31 packages
>
> Note the matching names (version 2.6.8-24.11-default and directory
> linux-2.6.8-24.11)
> and the link linux -> linux-2.6.8-24.11!
>
> /usr/src/linux should contain a Makefile and a .config file.
>
> and
> ls -l /lib/modules
> should output something like
> drwxr-xr-x 4 root root 4096 Jan 25 21:30 2.6.8-24.11-default
> drwxr-xr-x 2 root root 6 Jan 14 20:54 2.6.8-override-default
> drwxr-xr-x 3 root root 32 Jan 23 18:42 precompiled
> drwxr-xr-x 3 root root 35 Jan 14 20:53 scripts
>
> Note the matching names again (version 2.6.8-24.11-default and
> directory 2.6.8-24.11-default)!
>
> If any of the above is not right, I suggest you reinstall your
> kernel-source package and run a Yast Online Update after that.
>
> Carsten.
>
>
>