I can not get the on-board LAN to work on my Linux machine and need assistance. I tried downloading and running the Linux drivers from ASUS but I keep getting an error about failing to compile a kernel and drive installation failure. For optimal performance over the Internet and for my work I need to be wired into my router which is about 18 inches form the computer. The computer is connected to the router via cat 5. I am completely new to Linux and this is my first instillation.
Operating System: Ubuntu Linux Release 9.10 (karmic)
Kernel 2.6.31-20-generic
GNOME 2.28.1
Motherboard: ASUS M2N-SLI Rev 1.00G
I am unsure of what other information might be needed or where to get it.
I have the file "NFORCE-Linux-x86-1.0-0310-pkg1.run" which other sources have indicated is the drivers that i need to install. But they will not install.
Below is what the installer's log came back with:
===============================================================================================
nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Wed Mar 17 19:04:59 2010
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 : (not specified)
net kernel install path : (not specified)
audio kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
Using: nvidia-installer ncurses user interface
-> Found package NVIDIA audio driver for Linux-x86
-> Found package NVIDIA network driver for Linux-x86
-> Please select packages for installation:
Selections:
NVIDIA audio driver for Linux-x86 (1.0-7)
NVIDIA network driver for Linux-x86 (1.0-13)
-> Starting install of NVIDIA audio driver for Linux-x86
-> Checking for loaded module nvsound
-> Checking for loaded module nvaudio
-> License accepted.
-> Skipping check for conflicting rpms.
-> /proc/version is Linux version 2.6.31-20-generic (buildd@palmer) (gcc
version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) ) #58-Ubuntu SMP Fri Mar 12 05:23:09
UTC 2010
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.31-20-generic/build'
-> Kernel output path: '/lib/modules/2.6.31-20-generic/build'
-> Performing cc_version_check with CC="cc".
-> running command /bin/grep "^PATCHLEVEL ="
/lib/modules/2.6.31-20-generic/build/Makefile | /usr/bin/cut -d " " -f 3
-> Kernel module filename is nvsound.ko
Cleaning kernel module build directory.
executing: 'cd ./nvsound/main; make clean'...
rm -f *.ko *mod.* *.cmd nv*.o *~ core
-> Building kernel module:
executing: 'cd ./nvsound/main; make module SYSSRC=/lib/modules/2.6.31-20-gen
eric/build SYSOUT=/lib/modules/2.6.31-20-generic/build'...
make -C /lib/modules/2.6.31-20-generic/build \
KBUILD_SRC=/usr/src/linux-headers-2.6.31-20-generic \
KBUILD_EXTMOD="/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main"
-f /usr/src/linux-headers-2.6.31-20-generic/Makefile \
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 mis
sing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.tmp_ve
rsions ; rm -f /tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.
tmp_versions/*
make -f /usr/src/linux-headers-2.6.31-20-generic/scripts/Makefile.build obj=
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main
cc -Wp,-MD,/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.nv
alinux.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.1/include -I/
usr/src/linux-headers-lbm- -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6
.31-20-generic/include -I/usr/src/linux-headers-2.6.31-20-generic/arch/x86/i
nclude -include include/linux/autoconf.h -Iubuntu/include -I/usr/src/linux-h
eaders-2.6.31-20-generic/ubuntu/include -I/tmp/selfgz8131/NFORCE-Linux-x86
-1.0-0310-pkg1/nvsound/main -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -
Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-dec
laration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msof
t-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=
i586 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -fstack-protector -f
stack-protector-all -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables
-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-fr
ame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-p
ointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -I/tmp/selfgz8131/NFO
RCE-Linux-x86-1.0-0310
-pkg1/nvsound/main -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-s
ubscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -Wno-c
ast-qual -Wno-error -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)
=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvalinux)" -D"KBUILD_MODNAME=KBUILD_STR(
nvsound)" -c -o /tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main
/.tmp_nvalinux.o /tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main
/nvalinux.c
In file included from include/linux/bitops.h:17,
from include/linux/kernel.h:15,
from /usr/src/linux-headers-2.6.31-20-generic/arch/x86/incl
ude/asm/percpu.h:45,
from /usr/src/linux-headers-2.6.31-20-generic/arch/x86/incl
ude/asm/current.h:5,
from /usr/src/linux-headers-2.6.31-20-generic/arch/x86/incl
ude/asm/processor.h:15,
from include/linux/prefetch.h:14,
from include/linux/list.h:6,
from include/linux/module.h:9,
from /tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvalinux.c:19:
/usr/src/linux-headers-2.6.31-20-generic/arch/x86/include/asm/bitops.h: In f
unction ‘set_bit’:
/usr/src/linux-headers-2.6.31-20-generic/arch/x86/include/asm/bitops.h:64: w
arning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.31-20-generic/arch/x86/include/asm/bitops.h: In f
unction ‘clear_bit’:
/usr/src/linux-headers-2.6.31-20-generic/arch/x86/include/asm/bitops.h:102:
warning: pointer of type ‘void *’ used in arithmetic
/usr/src/linux-headers-2.6.31-20-generic/arch/x86/include/asm/bitops.h: In f
unction ‘change_bit’:
/usr/src/linux-headers-2.6.31-20-generic/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/module.h:9,
from /tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvalinux.c:19:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from /tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvalinux.c:25:
/usr/src/linux-headers-2.6.31-20-generic/arch/x86/include/asm/io.h: In funct
ion ‘writeq’:
/usr/src/linux-headers-2.6.31-20-generic/arch/x86/include/asm/io.h:70: warni
ng: 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-headers-2.6.31-20-generic/arch/x86/incl
ude/asm/pci.h:129,
from include/linux/pci.h:1112,
from /tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvalinux.c:29:
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 /usr/src/linux-headers-2.6.31-20-generic/arch/x86/incl
ude/asm/dma-mapping.h:36,
from include/linux/dma-mapping.h:107,
from include/asm-generic/pci-dma-compat.h:7,
from /usr/src/linux-headers-2.6.31-20-generic/arch/x86/incl
ude/asm/pci.h:129,
from include/linux/pci.h:1112,
from /tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvalinux.c:29:
include/asm-generic/dma-mapping-common.h: In function ‘dma_map_page’:
include/asm-generic/dma-mapping-common.h:77: warning: pointer of type ‘voi
d *’ used in arithmetic
In file included from include/linux/interrupt.h:13,
from /tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvalinux.c:30:
include/linux/sched.h: In function ‘object_is_on_stack’:
include/linux/sched.h:2192: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from /tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvalinux.c:37:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:149: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:152: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from /usr/src/linux-headers-2.6.31-20-generic/arch/x86/incl
ude/asm/i387.h:15,
from /tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvalinux.c:47:
include/linux/regset.h: In function ‘user_regset_copyout’:
include/linux/regset.h:230: warning: pointer of type ‘void *’ used in ar
ithmetic
include/linux/regset.h:233: warning: pointer of type ‘void *’ used in ar
ithmetic
include/linux/regset.h:237: warning: pointer of type ‘void *’ used in ar
ithmetic
include/linux/regset.h: In function ‘user_regset_copyin’:
include/linux/regset.h:255: warning: pointer of type ‘void *’ used in ar
ithmetic
include/linux/regset.h:258: warning: pointer of type ‘void *’ used in ar
ithmetic
include/linux/regset.h:262: warning: pointer of type ‘void *’ used in ar
ithmetic
include/linux/regset.h: In function ‘user_regset_copyout_zero’:
include/linux/regset.h:287: warning: pointer of type ‘void *’ used in ar
ithmetic
include/linux/regset.h:291: warning: pointer of type ‘void *’ used in ar
ithmetic
include/linux/regset.h: In function ‘user_regset_copyin_ignore’:
include/linux/regset.h:312: warning: pointer of type ‘void *’ used in ar
ithmetic
include/linux/regset.h:314: warning: pointer of type ‘void *’ used in ar
ithmetic
In file included from /tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvalinux.c:49:
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.h: At t
op level:
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.h:46: e
rror: conflicting types for ‘uintptr_t’
include/linux/types.h:41: note: previous declaration of ‘uintptr_t’ was
here
In file included from /tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvalinux.c:69:
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvavm.h: In func
tion ‘nv_flush_caches’:
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvavm.h:215: err
or: implicit declaration of function ‘global_flush_tlb’
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvavm.h: In func
tion ‘NV_SET_PAGE_ATTRIB_UNCACHED’:
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvavm.h:234: err
or: implicit declaration of function ‘change_page_attr’
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c: In f
unction ‘AosFpuSave’:
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c:181:
error: ‘struct task_struct’ has no member named ‘thread_info’
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c:185:
error: ‘struct thread_struct’ has no member named ‘i387’
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c:189:
error: ‘struct thread_struct’ has no member named ‘i387’
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c:191:
error: ‘struct task_struct’ has no member named ‘thread_info’
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c:214:
error: ‘struct task_struct’ has no member named ‘thread_info’
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c: In f
unction ‘AosFpuRestore’:
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c:234:
error: ‘struct task_struct’ has no member named ‘thread_info’
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c:235:
error: ‘struct task_struct’ has no member named ‘thread_info’
make[4]: *** [/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nv
alinux.o] Error 1
make[3]: *** [_module_/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main] Error 2
make[2]: *** [sub-make] Error 2
-> Error.
ERROR: The NVIDIA kernel module was not created.
ERROR: Installation of the audio 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.
-> 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.
-> /proc/version is Linux version 2.6.31-20-generic (buildd@palmer) (gcc
version 4.4.1 (Ubuntu 4.4.1-4ubuntu8) ) #58-Ubuntu SMP Fri Mar 12 05:23:09
UTC 2010
-> 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 '/lib/modules/2.6.31-20-generic/build' as
specified by the '--kernel-source-path' commandline option.
-> Kernel source path: '/lib/modules/2.6.31-20-generic/build'
-> Using the kernel output path '/lib/modules/2.6.31-20-generic/build' as
specified by the '--kernel-output-path' commandline option.
-> Kernel output path: '/lib/modules/2.6.31-20-generic/build'
-> Performing cc_version_check with CC="cc".
-> running command /bin/grep "^PATCHLEVEL ="
/lib/modules/2.6.31-20-generic/build/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=/lib/modules/2.6.31-20-generic/bu
ild SYSOUT=/lib/modules/2.6.31-20-generic/build'...
make -C /lib/modules/2.6.31-20-generic/build \
KBUILD_SRC=/usr/src/linux-headers-2.6.31-20-generic \
KBUILD_EXTMOD="/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet" -f /us
r/src/linux-headers-2.6.31-20-generic/Makefile \
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 mis
sing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
."; \
echo; \
/bin/false)
mkdir -p /tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/.tmp_versions
; rm -f /tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/.tmp_versions/*
make -f /usr/src/linux-headers-2.6.31-20-generic/scripts/Makefile.build obj=
/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet
/usr/src/linux-headers-2.6.31-20-generic/scripts/Makefile.build:49: *** CFLA
GS was changed in "/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/Make
file". Fix it to use EXTRA_CFLAGS. Stop.
make[3]: *** [_module_/tmp/selfgz8131/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet]
Error 2
make[2]: *** [sub-make] Error 2
-> Error.
ERROR: The NVIDIA kernel module was not created.
===============================================================================================