无法安装NV网卡驱动,求助
详见LOG文档nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Sat Mar 19 19:41:13 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 : (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 network driver for Linux-x86 (1.0-10)
-> 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.9 (root@MagicLinux) (gcc version 3.4.3
20041114 (Magic Linux 3.4.3-3)) #1 Thu Feb 3 17:17:08 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.
-> Kernel source path: '/usr/src/linux-2.6.9'
-> Kernel output path: '/usr/src/linux-2.6.9'
-> Performing cc_version_check with CC="cc".
-> running command /bin/grep "^PATCHLEVEL =" /usr/src/linux-2.6.9/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=/usr/src/linux-2.6.9 SYSOUT=/usr/
src/linux-2.6.9'...
make -C /usr/src/linux-2.6.9 \
KBUILD_SRC=/usr/src/linux-2.6.9 KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/
nvnet" \
-f /usr/src/linux-2.6.9/Makefile modules
/usr/src/linux-2.6.9/Makefile:461: .config: 没有那个文件或目录
mkdir -p /tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/nvnet/.tmp_versions
make -f /usr/src/linux-2.6.9/scripts/Makefile.build obj=/tmp/selfgz3025/NFOR
CE-Linux-x86-1.0-0292-pkg1/nvnet
cc -Wp,-MD,/tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/nvnet/.nvenet.o.
d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/sr
c/linux-2.6.9/include-I/tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/nvne
t -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-O2 -fomit-frame-pointer -Wdeclaration-after-statement -pipe -msoft-float -m
preferred-stack-boundary=2 -fno-unit-at-a-time -I/usr/src/linux-2.6.9/includ
e/asm-i386/mach-default -Iinclude/asm-i386/mach-default -DDRIVERVER=\"9999\"
-I/tmp/selfgz3025/N
FORCE-Linux-x86-1.0-0292-pkg1/nvnet -Wall -Wimplicit -Wreturn-type -Wswitch
-Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Wer
ror -O -MD -Wno-cast-qual -Wno-error -DREMAP_NEW -DMODULE -DKBUILD_BASENAME=
nvenet -DKBUILD_MODNAME=nvnet -c -o /tmp/selfgz3025/NFORCE-Linux-x86-1.0-029
2-pkg1/nvnet/nvenet.o /tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/nvnet/n
venet.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:18,
from include/linux/module.h:10,
from /tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/nvnet/n
venet.h:20,
from /tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/nvnet/n
venet.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:821,
from /tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/nvnet/n
venet.h:32,
from /tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/nvnet/n
venet.c:22:
include/asm/io.h: In function `check_signature':
include/asm/io.h:240: warning: wrong type argument to increment
/tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/nvnet/nvenet.c: In function `
nvenet_xmit':
/tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/nvnet/nvenet.c:1151: warning:
pointer of type `void *' used in arithmetic
/bin/sh: scripts/basic/fixdep: 没有那个文件或目录
make[4]: *** [/tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/nvnet/nvenet.o]
错误 1
make[3]: *** [_module_/tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/nvnet]
错误 2
make[2]: *** [modules] 错误 2
-> Error.
ERROR: The NVIDIA kernel module was not created.
ERROR: Installation of the network driver has failed.Please see the file
'/var/log/nvidia-nforce-installer.log' for details.You may find
suggestions onfixing installation problems in the README available on
the Linux driver download page at www.nvidia.com.
没一个人知道么..?
/bin/sh: scripts/basic/fixdep: 没有那个文件或目录
make[4]: *** [/tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/nvnet/nvenet.o]
错误 1
make[3]: *** [_module_/tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/nvnet]
错误 2
make[2]: *** [modules] 错误 2
因为你的kernel-source tree中没有scripts/basic/fixdep 这个工具。
cd $KERNEL_SOURCE_TREE
ln -s /boot/YOUR_KERNEL_CONFIG .config
make scripts/basic
如果没有错误的话,就可以了。许多需要用到kernel-source的软件都需要类似的步骤,如vmware等。 感谢你提出的这个问题,如果没有得到解决,请继续提出来。 谢谢楼上的兄弟,按照你给出的命令最后一步make scripts/basic会报错,提示没有足够的规则创建。郁闷~~... 哥哥帮你顶一下~~`` :P 谢谢楼上的兄弟,按照你给出的命令最后一步make scripts/basic会报错,提示没有足够的规则创建。郁闷~~...
是否做了连接,或是将/boot下内核的config拷贝到kernel-source-tree下,命名为.config。 可否说明的详细点?....小弟对内核编译这方面是一知半解,还望不吝赐教:)
是否做了连接,或是将/boot下内核的config拷贝到kernel-source-tree下,命名为.config。
照你说的做了,还是提示没有什么规则..
看到scripts/basic下有一个名为fixdep.c的文件,将其改名为fixdep后再运行make /scripts/basic/fixdep会提示“fixdep是最新的”
然后再安装驱动,这次log文件中提示“没有足够的权限”更晕了..... :( Sorry,看来是为新手。
建议:重新安装kernel-source
# rpm -e kernel-sourcecode
# rpm -ivh $YOUR_MGCCD1_/MagicLinux/packages/kernel-sourcecode-2.6.9-6mgc.rpm
然后:
# cd /usr/src/linux
# ln -s /boot/config .config
# make scripts/basic/
HOSTCCscripts/genksyms/genksyms.o
SHIPPED scripts/genksyms/lex.c
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
HOSTCCscripts/genksyms/lex.o
SHIPPED scripts/genksyms/parse.c
HOSTCCscripts/genksyms/parse.o
HOSTLDscripts/genksyms/genksyms
CC scripts/mod/empty.o
HOSTCCscripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCCscripts/mod/file2alias.o
HOSTCCscripts/mod/modpost.o
HOSTCCscripts/mod/sumversion.o
HOSTLDscripts/mod/modpost
HOSTCCscripts/conmakehash
HOSTCCscripts/bin2c
CHK include/linux/version.h
CC arch/i386/kernel/asm-offsets.s
CHK include/asm-i386/asm_offsets.h
#
DONE:) :) 重于有人问这个问题
首先你应该确认一下你安装的驱动版本,参考官方网站上面的最新版本
其次你应该确认一下你的内核版本 2.6.10 2.6.11内核需要补丁文件
还有就是搜索一下我发的有关NV显卡主板驱动的帖子
:oops: 昏......
楼上两位大大麻烦看清楚哦,我问的是nForce MCP的NV板载网卡的驱动问题
我也尝试了置顶帖中NV显卡驱动的方法,算是照猫画虎吧:)可惜不行~... cd /usr/src/linux
ln -sf /boot/config-2.6.9 .config
make oldconfig
make prepare-all
然后安装硬件驱动。 昏......
楼上两位大大麻烦看清楚哦,我问的是nForce MCP的NV板载网卡的驱动问题
我也尝试了置顶帖中NV显卡驱动的方法,算是照猫画虎吧:)可惜不行~...
你现在的问题不是没法编译么?
你现在的问题不是没法编译么?
呵呵~~~是呀~~~,按照兄弟你的方法我已经解决问题了,现在正在LINUX下上网呢~~:)
可惜不知道什么原因,打开公社的网站好慢的说,IPV6也关了,应该是服务器负担比较重吧~ :twisted:
下面把偶的过程发上来,希望对一些朋友有帮助
PS:顺便纠正baif兄的“口误”^_^
安装驱动出错,LOG文件提示 /bin/sh: scripts/basic/fixdep: 没有那个文件或目录
make[4]: *** [/tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/nvnet/nvenet.o]
错误 1
make[3]: *** [_module_/tmp/selfgz3025/NFORCE-Linux-x86-1.0-0292-pkg1/nvnet]
重新安装kernel-source
# rpm -e kernel-sourcecode
# rpm -ivh $YOUR_MGCCD1_/MagicLinux/packages/kernel-sourcecode-2.6.9-6mgc.i686.rpm
[root@MagicLinux MagicBooter]# cd /usr/src/linux
[root@MagicLinux linux]# ln -s /boot/config .config
提示已存在.config的文件,保险起见,rm .config,重新连接/boot下的config
[root@MagicLinux linux]# make scripts(baif兄弟给的目录名字为scripts/basic,可是我这里会提示nothing to be done)
HOSTCC scripts/genksyms/genksyms.o
SHIPPED scripts/genksyms/lex.c
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
HOSTCC scripts/genksyms/lex.o
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/conmakehash
HOSTCC scripts/bin2c
[root@MagicLinux linux]# make scripts/basic
CHK include/linux/version.h
CC arch/i386/kernel/asm-offsets.s
CHK include/asm-i386/asm_offsets.h
OK,DONE~:)
安装驱动,成功
在/etc/modprobe.conf中加入alias eth0 nvnet
重启,OK,尽情的去冲浪吧~~ -_-0 我的可以scripts/basic。
不过make scripts是个好主意。。。
页:
[1]
2