nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   NFORCE x86-1.0-0301 and kernel 2.6.11.2 issues. (http://www.nvnews.net/vbulletin/showthread.php?t=48353)

atari05 03-28-05 09:41 AM

NFORCE x86-1.0-0301 and kernel 2.6.11.2 issues.
 
Hello all,

I'm trying to install nvnet driver for my 2.6.11 kernel and I seem to be having an issue. Below is my log:

nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Mon Mar 28 04:34:16 2005

option status:
license pre-accepted : false
expert : false
uninstall : false
driver info : false
no precompiled interface : false
no ncurses color : false
no questions : false
silent : false
Installer install prefix : /usr
kernel source path : /src/linux-2.6.11.2
net kernel install path : /lib/modules/linux/kernel/drivers/net
audio kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp

Using: nvidia-installer ncurses user interface
-> Found package NVIDIA network driver for Linux-x86
-> Found package NVIDIA audio driver for Linux-x86
-> Please select packages for installation:
Selections:
NVIDIA network driver for Linux-x86 (1.0-11)
-> Starting install of NVIDIA network driver for Linux-x86
-> Checking for loaded module nvnet
-> Checking for loaded module forcedeth
-> License accepted.
-> Skipping check for conflicting rpms.
-> Kernel module installation path: /lib/modules/linux/kernel/drivers/net
-> /proc/version is Linux version 2.6.11.2 (atari@TRON) (gcc version 3.3.4) #6
SMP Thu Mar 24 22:56:27 EST 2005
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Using the kernel source path '/src/linux-2.6.11.2' as specified by the
'--kernel-source-path' commandline option.
-> Kernel source path: '/src/linux-2.6.11.2'
-> Kernel output path: '/lib/modules/2.6.11.2/build'
-> Performing cc_version_check with CC="cc".
-> running command /usr/bin/grep "^PATCHLEVEL =" /src/linux-2.6.11.2/Makefile |
/usr/bin/cut -d " " -f 3
-> Kernel module filename is nvnet.ko
Cleaning kernel module build directory.
executing: 'cd ./nvnet; make clean'...
rm -f *.ko *mod.* *.cmd nvenet.o nvenetif.o nvnet.o *~ core
-> Building kernel module:
executing: 'cd ./nvnet; make module SYSSRC=/src/linux-2.6.11.2 SYSOUT=/lib/m
odules/2.6.11.2/build'...
make -C /lib/modules/2.6.11.2/build \
KBUILD_SRC=/src/linux-2.6.11.2 KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1
/nvnet" \
-f /src/linux-2.6.11.2/Makefile modules
mkdir -p /tmp/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/.tmp_versions
make -f /src/linux-2.6.11.2/scripts/Makefile.build obj=/tmp/selfgz15437/NFOR
CE-Linux-x86-1.0-0301-pkg1/nvnet
cc -Wp,-MD,/tmp/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/.nvenet.o
.d -nostdinc -isystem /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include -D
__KERNEL__ -Iinclude -Iinclude2 -I/src/linux-2.6.11.2/include -I/tmp/selfgz
15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet -Wall -Wstrict-prototypes -Wno-tr
igraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-poi
nter -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i686 -I/src/linu
x-2.6.11.2/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -DD
RIVERVER=\"9999\" -I/tmp/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet -
W
all -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthes
es -Wpointer-arith -Wno-multichar -Werror -O -MD -Wno-cast-qual -Wno-error -
DMODULE -DKBUILD_BASENAME=nvenet -DKBUILD_MODNAME=nvnet -c -o /tmp/selfgz154
37/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/nvenet.o /tmp/selfgz15437/NFORCE-Lin
ux-x86-1.0-0301-pkg1/nvnet/nvenet.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:19,
from include/linux/module.h:10,
from /tmp/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/
nvenet.h:20,
from /tmp/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/
nvenet.c:22:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /tmp/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/
nvenet.h:32,
from /tmp/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/
nvenet.c:22:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
ld -m elf_i386 -d -r -o /tmp/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nv
net/nvnet.o /tmp/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/nvenetlib.
o /tmp/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/nvenet.o
Building modules, stage 2.
make -rR -f /src/linux-2.6.11.2/scripts/Makefile.modpost
scripts/mod/modpost -i /src/linux-2.6.11.2/Module.symvers vmlinux /tmp/s
elfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/nvnet.o
cc -Wp,-MD,/tmp/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/.nvnet.mo
d.o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include
-D__KERNEL__ -Iinclude -Iinclude2 -I/src/linux-2.6.11.2/include -I/src/linux
-2.6.11.2/ -I -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -ffreestandi
ng -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2
-march=i686 -I/src/linux-2.6.11.2/include/asm-i386/mach-default -Iinclude/as
m-i386/mach-default -DKBUILD_BASENAME=nvnet -DKBUILD_MODNAME=nvnet -DMODULE
-c -o /tmp/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/nvnet.mod.o /tmp
/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/nvnet.mod.c
ld -m elf_i386 -r -o /tmp/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet
/nvnet.ko /tmp/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/nvnet.o /tmp
/selfgz15437/NFORCE-Linux-x86-1.0-0301-pkg1/nvnet/nvnet.mod.o
-> done.
-> Kernel module compilation complete.
-> Testing kernel module:
-> Copying test module ./nvnet/nvnet.ko to
/lib/modules/linux/kernel/drivers/net/nvnet.ko
ERROR: Unable to load the kernel module 'nvnet.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: FATAL: Error inserting nvnet
(/lib/modules/2.6.11.2/kernel/drivers/net/nvnet.ko): Invalid module format
-> Testing completed.
ERROR: Installation of the network driver has failed. Please see the file
'/var/log/nvidia-nforce-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.


Now my source is in /src/linux-2.6.11.2

when I ran the config I did point it to that directory.

Am I missing something? Might it be wise to come up to the 2.6.11.6 kernel? (wouldn't think minor releases would make a huge impact)


On a side note, I usually just use the forcedeth driver inside 2.4 ( as I use slackware ). Yet I couldn't pin point the option that would make a forcedeth module for 2.6. So even that information would help.

chunkey 03-28-05 10:06 AM

Re: NFORCE x86-1.0-0301 and kernel 2.6.11.2 issues.
 
Quote:

Originally Posted by atari05
ERROR: Unable to load the kernel module 'nvnet.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: FATAL: Error inserting nvnet
(/lib/modules/2.6.11.2/kernel/drivers/net/nvnet.ko): Invalid module format

Please try it again... and then attach "dmesg" output here, so we see what's going wrong

Quote:

Originally Posted by atari05
On a side note, I usually just use the forcedeth driver inside 2.4 ( as I use slackware ). Yet I couldn't pin point the option that would make a forcedeth module for 2.6. So even that information would help.

run menuconfig or xconfig (or whatever you use to configure your kernel)

and choose:
"Device Drivers"->"Networking Support"->"Ethernet (10 or 100Mbit)"->"Reverse Engineered nForce Ethernet Support"

atari05 03-30-05 03:02 AM

Re: NFORCE x86-1.0-0301 and kernel 2.6.11.2 issues.
 
chunkey,

Thanks for you input on this. Oddly enough I wanted to get higher console rez support for my 2.6 kernel so while I was at work I fired up make menuconfig and added that support for vga= parameters, finshed recompiled and booted. Now, as you suggested, I tried the nforce installer again and it seems to have worked with no issue.

I'm not quiet forsure what I did, but it worked...and I will accept it lol.


Thank you though for responding.


All times are GMT -5. The time now is 11:23 AM.

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