LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-04-2009, 06:25 AM   #1
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Rep: Reputation: 18
recompiling kernel and nvidia drivers


hi people,

i installed 12.2 and then compiled 2.6.30.1 kernel. it seemed to go ok and now i'm trying to rebuild the nvidia-kernel package from sbo, but the nvidia installer cannot find the new kernel modules.

i'm getting this sort of messages

Code:
echo "  ERROR: Kernel configuration is invalid.";               \
echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";      \
echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
any ideas on what i can do?

Last edited by zoran119; 07-04-2009 at 08:23 AM.
 
Old 07-04-2009, 07:38 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
To start with, you realise you cannot recompile a binary driver?
But it sounds like you have not installed the kernel development packages - these contain the header files.
 
Old 07-04-2009, 08:20 AM   #3
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by Simon Bridge View Post
To start with, you realise you cannot recompile a binary driver?
yeah... bad choice of words...

Quote:
Originally Posted by Simon Bridge View Post
But it sounds like you have not installed the kernel development packages - these contain the header files.
but i did build the nvidia-kernel package on the 2.6.27.7 stock kernel with no problems... it's only the new kernel that i cannot build it agaist./var/log/packages/kernel-firmware-2.6.27.7-noarch-1

Code:
$ ls /var/log/packages/*kernel*
/var/log/packages/kernel-generic-2.6.27.7-i486-1
/var/log/packages/kernel-generic-smp-2.6.27.7_smp-i686-1
/var/log/packages/kernel-headers-2.6.27.7_smp-x86-1
/var/log/packages/kernel-huge-2.6.27.7-i486-1
/var/log/packages/kernel-huge-smp-2.6.27.7_smp-i686-1
/var/log/packages/kernel-modules-2.6.27.7-i486-1
/var/log/packages/kernel-modules-smp-2.6.27.7_smp-i686-1
/var/log/packages/kernel-source-2.6.27.7_smp-noarch-1
/var/log/packages/nvidia-kernel-180.29_2.6.27.7_smp-i486-1_SBo
 
Old 07-04-2009, 08:45 AM   #4
XGizzmo
Member
 
Registered: Mar 2007
Distribution: Slackware
Posts: 264

Rep: Reputation: 69
Quote:
Originally Posted by Simon Bridge View Post
But it sounds like you have not installed the kernel development packages - these contain the header files.
Slackware does not split its packages into normal and -devel packages.

zoran119 its sounds like a problem with your kernel source.
Did you install your new kernel source in /usr/src/linux-2.6.30.1 and compile it from there?

Also I am not sure but the Nvidia driver may need the /usr/src/linux
symlink to point to the kernel source you want to build against also

Last edited by XGizzmo; 07-04-2009 at 08:48 AM.
 
Old 07-04-2009, 08:49 AM   #5
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
I get that message too. I dont remember if it happened earlier since its been a while i hadnt recompiled the nvidia driver,
but the bottom line is the nvidia-kernel module works fine.
Just ignore the messages.
 
Old 07-04-2009, 08:51 AM   #6
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by XGizzmo View Post
zoran119 its sounds like a problem with your kernel source.
Did you install your new kernel source in /usr/src/linux-2.6.30.1 and compile it from there?

Also I am not sure but the Nvidia driver may need the /usr/src/linux
symlink to point to the kernel source you want to build against also
yeah... that's how i did it

Code:
root@helios:~# ls -la /usr/src/
total 58112
drwxr-xr-x  5 root  root      4096 2009-07-04 01:05 ./
drwxr-xr-x 18 root  root      4096 2009-07-04 01:34 ../
lrwxrwxrwx  1 root  root        14 2009-07-04 01:04 linux -> linux-2.6.30.1/
drwxr-xr-x 23 root  root      4096 2008-11-21 15:12 linux-2.6.27.7/
drwxrwxr-x 23 root  root      4096 2009-07-04 21:12 linux-2.6.30.1/
-rw-r--r--  1 zoran users 59416602 2009-07-04 00:58 linux-2.6.30.1.tar.bz2
drwxr-xr-x  7 root  root      4096 2008-10-23 09:02 rpm/
 
Old 07-04-2009, 08:51 AM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Huh distro > slackware ... how did I miss that... <grizzle>
Um ... what they said.

Last edited by Simon Bridge; 07-04-2009 at 08:54 AM.
 
Old 07-04-2009, 09:27 PM   #8
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Original Poster
Rep: Reputation: 18
no one knows?
 
Old 07-04-2009, 11:59 PM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Missing headers means exactly that. In other distros, the headers are in a seperate package so it's quite common that the package is not installed. In your case, have you verified the existence of the headers?

Sakho suggests that the compilation is fine anyway, and it is safe to ignore the errors you report.

Since your build environment looks good, and Sakho is incorrect in your case, you should try the suggestion in the error message:

make oldconfig && make prepare
 
Old 07-05-2009, 12:14 AM   #10
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
This error pops up when the nVidia installer can not find the correct .config file for your running kernel.

Check that /usr/src/linux does not have a different .config file than the one used to compile your kernel, and /boot/config is either your kernel .config file, or a symlink to it. Not sure if that last step is 100% necessary.

Also make sure you are actually running the newly compiled kernel There's been some late nights that lasted far too long, simply because I forgot to run/update lilo

Last edited by disturbed1; 07-05-2009 at 12:16 AM.
 
Old 07-05-2009, 12:36 AM   #11
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,771

Rep: Reputation: 538Reputation: 538Reputation: 538Reputation: 538Reputation: 538Reputation: 538
Also make sure you are actually running the newly compiled kernel There's been some late nights that lasted far too long, simply because I forgot to run/update lilo

LOL, I know that feeling all too well
 
Old 07-05-2009, 04:49 AM   #12
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by disturbed1 View Post
This error pops up when the nVidia installer can not find the correct .config file for your running kernel.

Check that /usr/src/linux does not have a different .config file than the one used to compile your kernel, and /boot/config is either your kernel .config file, or a symlink to it. Not sure if that last step is 100% necessary.

Also make sure you are actually running the newly compiled kernel There's been some late nights that lasted far too long, simply because I forgot to run/update lilo
ok... i checked your suggestions, recompiled the kernel again (with make prepare as nvidia suggests) and still no go...

can anyone see anyting wrong here... i did boot into the new kernel (checked with uname -r) when i was trying to build nvidia package.

thanks all

Code:
root@helios:~# ls -la /boot/
total 25112
drwxr-xr-x  4 root root    4096 2009-07-05 19:28 ./
drwxr-xr-x 20 root root    4096 2009-07-05 01:18 ../
lrwxrwxrwx  1 root root      37 2009-07-03 19:58 README.initrd -> /usr/doc/mkinitrd-1.3.3/README.initrd
lrwxrwxrwx  1 root root      26 2009-07-05 18:16 System.map -> System.map-custom-2.6.30.1
-rw-r--r--  1 root root 1069480 2009-07-05 19:26 System.map-custom-2.6.30.1
-rw-r--r--  1 root root  927553 2008-11-21 16:01 System.map-generic-2.6.27.7
-rw-r--r--  1 root root  965704 2008-11-21 15:20 System.map-generic-smp-2.6.27.7-smp
-rw-r--r--  1 root root 1393024 2008-11-21 16:20 System.map-huge-2.6.27.7
-rw-r--r--  1 root root 1432921 2008-11-21 15:33 System.map-huge-smp-2.6.27.7-smp
-rw-r--r--  1 root root     512 2009-07-03 04:40 boot.0800
-rw-r--r--  1 root root     168 2009-07-03 04:40 boot_message.txt
lrwxrwxrwx  1 root root      22 2009-07-05 18:07 config -> config-custom-2.6.30.1
-rw-r--r--  1 root root   99513 2009-07-05 19:26 config-custom-2.6.30.1
-rw-r--r--  1 root root   89202 2008-11-21 16:01 config-generic-2.6.27.7
-rw-r--r--  1 root root   89505 2008-11-21 15:20 config-generic-smp-2.6.27.7-smp
-rw-r--r--  1 root root   89081 2008-11-21 16:20 config-huge-2.6.27.7
-rw-r--r--  1 root root   89384 2008-11-21 15:33 config-huge-smp-2.6.27.7-smp
-rw-r--r--  1 root root    5040 2008-11-30 05:43 diag1.img
-rw-r--r--  1 root root 1403140 2009-07-05 19:28 initrd-custom-2.6.30.1.gz
drwxr-xr-x 10 root root    4096 2009-07-05 19:28 initrd-tree/
-rw-r--r--  1 root root 1401763 2009-07-04 04:43 initrd.gz
drwx------  2 root root   16384 2009-07-03 02:46 lost+found/
-rw-------  1 root root  109056 2009-07-05 19:28 map
-rw-r--r--  1 root root   15754 2008-02-22 11:08 slack.bmp
lrwxrwxrwx  1 root root      23 2009-07-05 18:16 vmlinuz -> vmlinuz-custom-2.6.30.1
-rw-r--r--  1 root root 2529792 2009-07-05 19:26 vmlinuz-custom-2.6.30.1
-rw-r--r--  1 root root 2220880 2008-11-21 16:01 vmlinuz-generic-2.6.27.7
-rw-r--r--  1 root root 2347888 2008-11-21 15:20 vmlinuz-generic-smp-2.6.27.7-smp
-rw-r--r--  1 root root 4540208 2008-11-21 16:20 vmlinuz-huge-2.6.27.7
-rw-r--r--  1 root root 4727664 2008-11-21 15:33 vmlinuz-huge-smp-2.6.27.7-smp
Code:
root@helios:~# ls -la /usr/src/
total 58112
drwxr-xr-x  5 root  root      4096 2009-07-05 18:45 ./
drwxr-xr-x 18 root  root      4096 2009-07-05 01:18 ../
lrwxrwxrwx  1 root  root        14 2009-07-05 18:45 linux -> linux-2.6.30.1/
drwxr-xr-x 23 root  root      4096 2008-11-21 15:12 linux-2.6.27.7/
drwxrwxr-x 23 root  root      4096 2009-07-05 19:25 linux-2.6.30.1/
-rw-r--r--  1 zoran users 59416602 2009-07-04 00:58 linux-2.6.30.1.tar.bz2
drwxr-xr-x  7 root  root      4096 2008-10-23 09:02 rpm/
Code:
root@helios:~# md5sum /usr/src/linux/.config && md5sum /boot/config
94177de657261ffc7b08306b622a7f9d  /usr/src/linux/.config
94177de657261ffc7b08306b622a7f9d  /boot/config
and this the whole error that i'm getting
Code:
root@helios:~# cat /tmp/nvidia/nvidia_kernel/nvidia-kernel/aaa 
Creating directory NVIDIA-Linux-x86-180.29-pkg0
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 180.29................................................................................................................................................
NVIDIA: calling KBUILD...
make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.30.1-smp/build SUBDIRS=/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (            \
        echo;                                                           \
        echo "  ERROR: Kernel configuration is invalid.";               \
        echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
        echo;                                                           \
        /bin/false)
mkdir -p /tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/.tmp_versions ; rm -f /tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv
  cc -Wp,-MD,/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.2.4/include -Iinclude  -I/usr/src/linux-2.6.30.1/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -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 -fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -I/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"180.29\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.o /tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c
In file included from include/linux/bitops.h:17,
                 from include/linux/kernel.h:15,
                 from include/linux/sched.h:52,
                 from include/linux/utsname.h:35,
                 from /tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv-linux.h:19,
                 from /tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:14:
/usr/src/linux-2.6.30.1/arch/x86/include/asm/bitops.h: In function 'set_bit':
/usr/src/linux-2.6.30.1/arch/x86/include/asm/bitops.h:64: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-2.6.30.1/arch/x86/include/asm/bitops.h: In function 'clear_bit':
/usr/src/linux-2.6.30.1/arch/x86/include/asm/bitops.h:102: warning: pointer of type 'void *' used in arithmetic
/usr/src/linux-2.6.30.1/arch/x86/include/asm/bitops.h: In function 'change_bit':
/usr/src/linux-2.6.30.1/arch/x86/include/asm/bitops.h:178: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/list.h:6,
                 from include/linux/preempt.h:11,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:8,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:54,
                 from include/linux/utsname.h:35,
                 from /tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv-linux.h:19,
                 from /tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:14:
include/linux/prefetch.h: In function 'prefetch_range':
include/linux/prefetch.h:57: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/utsname.h:35,
                 from /tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv-linux.h:19,
                 from /tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:14:
include/linux/sched.h: In function 'object_is_on_stack':
include/linux/sched.h:2120: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/io.h:22,
                 from include/linux/pci.h:54,
                 from /tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv-linux.h:86,
                 from /tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:14:
/usr/src/linux-2.6.30.1/arch/x86/include/asm/io.h: In function 'writeq':
/usr/src/linux-2.6.30.1/arch/x86/include/asm/io.h:70: warning: pointer of type 'void *' used in arithmetic
In file included from include/linux/dma-mapping.h:7,
                 from include/asm-generic/pci-dma-compat.h:7,
                 from /usr/src/linux-2.6.30.1/arch/x86/include/asm/pci.h:129,
                 from include/linux/pci.h:1098,
                 from /tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv-linux.h:86,
                 from /tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:14:
include/linux/scatterlist.h: In function 'sg_virt':
include/linux/scatterlist.h:199: warning: pointer of type 'void *' used in arithmetic
In file included from /tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv-linux.h:113,
                 from /tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:14:
include/linux/highmem.h: In function 'zero_user_segments':
include/linux/highmem.h:147: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:147: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:147: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:147: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:150: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:150: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:150: warning: pointer of type 'void *' used in arithmetic
include/linux/highmem.h:150: warning: pointer of type 'void *' used in arithmetic
/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c: In function 'nvos_proc_create':
/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:596: error: 'struct proc_dir_entry' has no member named 'owner'
/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:597: error: 'struct proc_dir_entry' has no member named 'owner'
/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:598: error: 'struct proc_dir_entry' has no member named 'owner'
/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:618: error: 'struct proc_dir_entry' has no member named 'owner'
/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:632: error: 'struct proc_dir_entry' has no member named 'owner'
/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:643: error: 'struct proc_dir_entry' has no member named 'owner'
/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:653: error: 'struct proc_dir_entry' has no member named 'owner'
/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:663: error: 'struct proc_dir_entry' has no member named 'owner'
/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:674: error: 'struct proc_dir_entry' has no member named 'owner'
/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:681: error: 'struct proc_dir_entry' has no member named 'owner'
/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c: In function 'nvos_proc_add_warning_file':
/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.c:708: error: 'struct proc_dir_entry' has no member named 'owner'
make[3]: *** [/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv/nv.o] Error 1
make[2]: *** [_module_/tmp/SBo/NVIDIA-Linux-x86-180.29-pkg0/usr/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
Code:
root@helios:~# tail -12 /etc/lilo.conf
# Linux bootable partition config begins
image = /boot/vmlinuz-custom-2.6.30.1
  initrd = /boot/initrd-custom-2.6.30.1.gz
  root = /dev/vg0/root
  label = LinuxCustom
  read-only
image = /boot/vmlinuz-generic-smp-2.6.27.7-smp
  initrd = /boot/initrd.gz
  root = /dev/vg0/root
  label = Linux
  read-only
# Linux bootable partition config ends
and this is some of the history relevant to the kernel recompile... the symlinks in /boot already existed (from previous compile)
Code:
  311  tar xvfj linux-2.6.30.1.tar.bz2 
  312  ln -s linux-2.6.30.1 linux
  313  cd linux
  314  cp /home/zoran/config-generic-smp-2.6.29.5-smp .config
  315  make oldconfig && make prepare
  316  make prepare
  317  DISPLAY=:0.0
  318  make xconfig
  319  make all
  320  make modules_install
  321  cp arch/x86/boot/bzImage /boot/vmlinuz-custom-2.6.30.1
  322  cp System.map /boot/System.map-custom-2.6.30.1
  323  cp .config /boot/config-custom-2.6.30.1
  324  cd /boot/
  327  rm initrd-custom-2.6.30.1.gz 
  329  mkinitrd -c -k 2.6.30.1-smp -m ext3 -f ext3 -o initrd-custom-2.6.30.1.gz -r /dev/vg0/root -L
  330  lilo
 
Old 07-05-2009, 08:16 AM   #13
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121
I remember reading about some headers being pulled from kernel after last 2.6.28.x*. That was the case when I tried compiling Catalyst for 2.6.29... Any relation?

*sorry, don't remember the exact version.

Last edited by BrZ; 07-05-2009 at 08:18 AM.
 
Old 07-05-2009, 08:33 AM   #14
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 818

Rep: Reputation: 55
zoran119,
So long as I can see what you get is not an error message, but simply output from the compilation. See it is quotes ...
 
Old 07-05-2009, 08:52 AM   #15
XGizzmo
Member
 
Registered: Mar 2007
Distribution: Slackware
Posts: 264

Rep: Reputation: 69
It looks as if that version of the nvidia driver will not build on 2.6.30+
I found this blurb on the interweb. I have no idea if the fix works.

Code:
According to lkml.org [1] proc_dir_entry::owner field was removed in
2.6.30, so for now you can fix it by simply removing or commenting all
the lines using proc_dir_entry::owner in nv.c.

Krzesimir Nowak

[1] http://lkml.org/lkml/2009/1/26/342

Last edited by XGizzmo; 07-05-2009 at 08:53 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to apt-get ati drivers w/o recompiling kernel? jon_k Debian 5 06-16-2005 02:54 AM
Help with recompiling Kernel with Orinoco Patched Mointor Mode Drivers. Please Help bigbadbaugh Linux - Newbie 3 08-30-2004 07:48 PM
New nvidia drivers that works without recompiling kernel for fc2 rejser Fedora 2 07-06-2004 07:01 AM
Catch-22 installing Nvidia drivers, recompiling kernel, etc dleidlein Red Hat 2 02-10-2004 10:16 AM
After recompiling the kernel the sound and graphics drivers are not loaded Menestrel Linux - Newbie 1 11-19-2003 06:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration