Hi,
What happened to the kernel-source at: ?? http://people.redhat.com/arjanv/2.6/RPMS.kernel/
I need this to recompile my NVIDIA drivers for
kernel-2.6.7-1.448
Thanks,
Le dim 27/06/2004 à 03:51, Ernest L. Williams Jr. a écrit :
Hi,
What happened to the kernel-source at: ?? http://people.redhat.com/arjanv/2.6/RPMS.kernel/
I need this to recompile my NVIDIA drivers for
kernel-2.6.7-1.448
Try rawhide : 2.6.7-1.456 http://mirrors.kernel.org/fedora/core/development/i386/Fedora/RPMS/
Perhaps kernel-source will be drop. http://www.redhat.com/archives/fedora-devel-list/2004-June/msg00863.html
Thanks,
Ernest L. Williams Jr. ernesto@ornl.gov
On Sat, 2004-06-26 at 23:20, Matias Feliciano wrote:
Le dim 27/06/2004 à 03:51, Ernest L. Williams Jr. a écrit :
Hi,
What happened to the kernel-source at: ?? http://people.redhat.com/arjanv/2.6/RPMS.kernel/
I need this to recompile my NVIDIA drivers for
kernel-2.6.7-1.448
Try rawhide : 2.6.7-1.456 http://mirrors.kernel.org/fedora/core/development/i386/Fedora/RPMS/
Perhaps kernel-source will be drop. http://www.redhat.com/archives/fedora-devel-list/2004-June/msg00863.html
Oops. I just got bit by this one when trying to install my NVIDIA drivers for the 448 kernel: ============================================================================ First: sh NVIDIA-Linux-x86-1.0-5336-pkg1.run --add-this-kernel Second: sh NVIDIA-Linux-x86-1.0-5336-pkg1-custom.run Then: Failure
I need to learn how to take the kernel.src.rpm and build it, I guess. How to do that? Can I get a quick reference?
Thanks,
Ernest L. Williams Jr. ernesto@ornl.gov
-- fedora-test-list mailing list fedora-test-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-test-list
On Sat, 2004-06-26 at 21:51 -0400, Ernest L. Williams Jr. wrote:
What happened to the kernel-source at: ?? http://people.redhat.com/arjanv/2.6/RPMS.kernel/
I need this to recompile my NVIDIA drivers for
kernel-2.6.7-1.448
Have been several recent threads on fedora-list about success with NVidia using generic 2.6.7 from kernel.org, or might want to get the src.rpm at http://people.redhat.com/arjanv/2.6/SRPMS.kernel/.
Phil
On Sun, 2004-06-27 at 03:51, Ernest L. Williams Jr. wrote:
Hi,
What happened to the kernel-source at: ?? http://people.redhat.com/arjanv/2.6/RPMS.kernel/
I need this to recompile my NVIDIA drivers for
kernel-2.6.7-1.448
you don't need (nor can use) kernel-sourcecode package for compiling drivers.... the normal rpms have all the needed info already.
On Sun, 2004-06-27 at 03:43, Arjan van de Ven wrote:
On Sun, 2004-06-27 at 03:51, Ernest L. Williams Jr. wrote:
Hi,
What happened to the kernel-source at: ?? http://people.redhat.com/arjanv/2.6/RPMS.kernel/
I need this to recompile my NVIDIA drivers for
kernel-2.6.7-1.448
you don't need (nor can use) kernel-sourcecode package for compiling drivers.... the normal rpms have all the needed info already.
NVIDIA suggests that kernel-source is indeed used.
Here is the error directly from the nvidia installer: =========================================================================== ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely because the kernel module was built using the wrong kernel source files. Please make sure you have installed the kernel source files for your kernel; 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' commandline option ==============================================================================
What is the kernel-sourcecode package used for?
Thanks, Ernest
-- fedora-test-list mailing list fedora-test-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-test-list
On Sun, Jun 27, 2004 at 07:31:45AM -0400, Ernest L. Williams Jr. wrote:
NVIDIA suggests that kernel-source is indeed used.
Here is the error directly from the nvidia installer:
ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely because the kernel module was built using the wrong kernel source files. Please make sure you have installed the kernel source files for your kernel; 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' commandline option ==============================================================================
--kernel-source-path should be /lib/modules/`uname -r`/build always... Their instructions seem to still be based on 2.4 kernel rpms not on the FC2 2.6 kernel rpms...
What is the kernel-sourcecode package used for?
for building your own custom kernel if you want a different .config file than we use..
On Sun, 2004-06-27 at 07:33, Arjan van de Ven wrote:
On Sun, Jun 27, 2004 at 07:31:45AM -0400, Ernest L. Williams Jr. wrote:
NVIDIA suggests that kernel-source is indeed used.
Here is the error directly from the nvidia installer:
ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely because the kernel module was built using the wrong kernel source files. Please make sure you have installed the kernel source files for your kernel; 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' commandline option ==============================================================================
--kernel-source-path should be /lib/modules/`uname -r`/build always... Their instructions seem to still be based on 2.4 kernel rpms not on the FC2 2.6 kernel rpms...
=================== From NVIDIA's installation manual ================== If no matching precompiled kernel interface is found, then the installer will compile the kernel interface for you. However, first it will check that you have the correct kernel headers intalled on your system. If the installer must compile the kernel interface, then you must install the kernel-sources package for your kernel.
--kernel-include-path=[KERNEL SOURCE PATH] The directory containing the kernel include files that should be used when compiling the NVIDIA kernel module. This option is deprecated; please use '--kernel-source-path' instead.
--kernel-source-path=[KERNEL SOURCE PATH] The directory containing the kernel source files that should be used when compiling the NVIDIA kernel module. When not specified, the installer will use '/lib/modules/`uname -r`/build', if that directory exists. Otherwise, it will use '/usr/src/linux'. ===========================================================================
I tried the following:
sh NVIDIA-Linux-x86-1.0-5336-pkg1.run --add-this-kernel \ --kernel-source-path /lib/modules/2.6.7-1.448/build
The above failed with the same error as before.
Details from the build log are shown below: =================================================== [root@localhost NVIDIA]# more /var/log/nvidia-installer.log nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Sun Jun 27 08:22:00 2004
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 : false no questions : false silent : false XFree86 install prefix : /usr/X11R6 OpenGL install prefix : /usr Installer install prefix: /usr kernel source path : (not specified) kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /tmp ftp site : ftp://download.nvidia.com
Using: nvidia-installer ncurses user interface -> License accepted. -> There appears to already be a driver installed on your system (version: 1.0- 5336). As part of installing this driver (version: 1.0-5336), the existing driver will be uninstalled. Are you sure you want to continue? ('no' will a bort installation) (Answer: Yes) -> A precompiled kernel interface for kernel 'Linux 2.6.7-1.448 #1 Tue Jun 22 11:53:21 EDT 2004 i686' has been found here: ./usr/src/nv/precompiled/precompiled-nv-linux.o-1.0-5336.1088338869. executing: 'cd ./usr/src/nv; /usr/bin/ld -d -r -o nvidia.ko precompiled-nv-l inux.o nv-kernel.o'... -> Kernel module linked successfully. ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely because the kernel module was built using the wrong kernel source files. Please make sure you have installed the kernel source files for your kernel; 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' commandline option. -> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko': -1 Invalid module format 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.
What is the kernel-sourcecode package used for?
for building your own custom kernel if you want a different .config file than we use..
On Sun, Jun 27, 2004 at 08:26:44AM -0400, Ernest L. Williams Jr. wrote:
inux.o nv-kernel.o'... -> Kernel module linked successfully. ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely
you do have gcc 3.4 installed, right ? mixing gcc versions between kernel and modules is a bad idea and will actually be prevented by the kernel...
On Sun, 2004-06-27 at 08:30, Arjan van de Ven wrote:
On Sun, Jun 27, 2004 at 08:26:44AM -0400, Ernest L. Williams Jr. wrote:
inux.o nv-kernel.o'... -> Kernel module linked successfully. ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely
you do have gcc 3.4 installed, right ? mixing gcc versions between kernel and modules is a bad idea and will actually be prevented by the kernel...
Yes, but I am not using gcc 3.4 ============================================================= [root@matrix 2.6-test-kernel]# rpm -q gcc34 gcc34-3.4.0-2 [root@matrix 2.6-test-kernel]# ==============================================================
I am using gcc 3.3.3 ============================================================================ [root@matrix 2.6-test-kernel]# gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --disable-libunwind-exceptions --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux Thread model: posix gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7) ===============================================================================
On Sun, Jun 27, 2004 at 08:45:45AM -0400, Ernest L. Williams Jr. wrote:
you do have gcc 3.4 installed, right ? mixing gcc versions between kernel and modules is a bad idea and will actually be prevented by the kernel...
Yes, but I am not using gcc 3.4
Arjan's rawhide and people/arjan kernels are built with gcc 3.4