LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 806|回复: 2

FC8下安装网卡失败?

[复制链接]
发表于 2008-5-8 01:13:01 | 显示全部楼层 |阅读模式
根据下面的文章安装网卡:
http://fedora.linuxsir.cn/main/?q=node/47
http://fedora.linuxsir.cn/main/node/49

安装主板驱动时出错:
NFORCE-Linux-x86-1.0-0310-pkg1.run

内核不匹配,重新编译,错误信息如Log所示。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
 楼主| 发表于 2008-5-8 01:13:49 | 显示全部楼层
nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Thu May  8 00:31:46 2008

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.23.1-42.fc8
   (kojibuilder@xenbuilder4.fedora.phx.redhat.com) (gcc version 4.1.2 20070925
   (Red Hat 4.1.2-33)) #1 SMP Tue Oct 30 13:55:12 EDT 2007
-> 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.23.1-42.fc8/source'
-> Kernel output path: '/lib/modules/2.6.23.1-42.fc8/build'
-> Performing cc_version_check with CC="cc".
-> running command /bin/grep "^PATCHLEVEL ="
   /lib/modules/2.6.23.1-42.fc8/source/Makefile | /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.23.1-42.f
   c8/source SYSOUT=/lib/modules/2.6.23.1-42.fc8/build'...
   make -C /lib/modules/2.6.23.1-42.fc8/build \
           KBUILD_SRC=/usr/src/kernels/2.6.23.1-42.fc8-i686 \
           KBUILD_EXTMOD="/tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main"
   -f /usr/src/kernels/2.6.23.1-42.fc8-i686/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/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.tmp_ve
   rsions
   rm -f /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.tmp_versi
   ons/*
   make -f /usr/src/kernels/2.6.23.1-42.fc8-i686/scripts/Makefile.build obj=/tm
   p/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main
     cc -Wp,-MD,/tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.nv
   alinux.o.d  -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include
   -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.23.1-42.fc8-i686/in
   clude -include include/linux/autoconf.h  -I/tmp/selfgz2883/NFORCE-Linux-x86-
   1.0-0310-pkg1/nvsound/main -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
   -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -
   pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary
   =2 -march=i586 -mtune=generic -mtune=generic -ffreestanding -maccumulate-out
   going-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/kerne
   ls/2.6.23.1-42.fc8-i686/include/asm-i386/mach-generic -Iinclude/asm-i386/mac
   h-generic -I/usr/src/kernels/2.6.23.1-42.fc8-i686/include/asm-i386/mach-defa
   ult -Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-prote
   ctor -Wdeclaration-after-statement -Wno-pointer-sign  -I/tmp/selfgz2883/NFOR
   CE-Linux-x86-1.0-0310-pkg1/nvsound/main -Wall -Wimplicit -Wreturn-type -Wswi
   tch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar
   -Werror -O -MD -Wno-cast-qual -Wno-err
   or -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BAS
   ENAME=KBUILD_STR(nvalinux)"  -D"KBUILD_MODNAME=KBUILD_STR(nvsound)" -c -o /t
   mp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.o /tmp/se
   lfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c
   In file included from include/linux/list.h:9,
                    from include/linux/module.h:10,
                    from /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
   /main/nvalinux.c:20:
   include/linux/prefetch.h: In function 鈥榩refetch_range鈥?
   include/linux/prefetch.h:62: 璀﹀憡锛氣€榲oid *鈥?鍨嬫寚閽堢敤鍦ㄤ簡绠楁湳?   〃杈惧紡涓?   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c: In f
   unction 鈥楢osFpuSave鈥?
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c:181:
   閿欒锛氣€榮truct task_struct鈥?娌℃湁鍚嶄负 鈥榯hread_info鈥?鐨勬垚鍛?   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c:191:
   閿欒锛氣€榮truct task_struct鈥?娌℃湁鍚嶄负 鈥榯hread_info鈥?鐨勬垚鍛?   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c:214:
   閿欒锛氣€榮truct task_struct鈥?娌℃湁鍚嶄负 鈥榯hread_info鈥?鐨勬垚鍛?   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c: In f
   unction 鈥楢osFpuRestore鈥?
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c:234:
   閿欒锛氣€榮truct task_struct鈥?娌℃湁鍚嶄负 鈥榯hread_info鈥?鐨勬垚鍛?   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvalinux.c:235:
   閿欒锛氣€榮truct task_struct鈥?娌℃湁鍚嶄负 鈥榯hread_info鈥?鐨勬垚鍛?   make[4]: *** [/tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nv
   alinux.o] 閿欒 1
   make[3]: *** [_module_/tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
   /main] 閿欒 2
   make[2]: *** [modules] 閿欒 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
-> Trying to remove loaded module forcedeth
-> License accepted.
-> Skipping check for conflicting rpms.
-> /proc/version is Linux version 2.6.23.1-42.fc8
   (kojibuilder@xenbuilder4.fedora.phx.redhat.com) (gcc version 4.1.2 20070925
   (Red Hat 4.1.2-33)) #1 SMP Tue Oct 30 13:55:12 EDT 2007
-> 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.23.1-42.fc8/source' as
   specified by the '--kernel-source-path' commandline option.
-> Kernel source path: '/lib/modules/2.6.23.1-42.fc8/source'
-> Using the kernel output path '/lib/modules/2.6.23.1-42.fc8/build' as
   specified by the '--kernel-output-path' commandline option.
-> Kernel output path: '/lib/modules/2.6.23.1-42.fc8/build'
-> Performing cc_version_check with CC="cc".
-> running command /bin/grep "^PATCHLEVEL ="
   /lib/modules/2.6.23.1-42.fc8/source/Makefile | /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.23.1-42.fc8/sour
   ce SYSOUT=/lib/modules/2.6.23.1-42.fc8/build'...
   make -C /lib/modules/2.6.23.1-42.fc8/build \
           KBUILD_SRC=/usr/src/kernels/2.6.23.1-42.fc8-i686 \
           KBUILD_EXTMOD="/tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet" -f /us
   r/src/kernels/2.6.23.1-42.fc8-i686/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/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/.tmp_versions
   rm -f /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/.tmp_versions/*
   make -f /usr/src/kernels/2.6.23.1-42.fc8-i686/scripts/Makefile.build obj=/tm
   p/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet
     cc -Wp,-MD,/tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/.nvenet.o.
   d  -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -D__KERNE
   L__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.23.1-42.fc8-i686/include -in
   clude include/linux/autoconf.h  -I/tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-
   pkg1/nvnet -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-alia
   sing -fno-common -Werror-implicit-function-declaration -Os -pipe -msoft-floa
   t -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -
   mtune=generic -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCON
   FIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/kernels/2.6.23.1-42.f
   c8-i686/include/asm-i386/mach-generic -Iinclude/asm-i386/mach-generic -I/usr
   /src/kernels/2.6.23.1-42.fc8-i686/include/asm-i386/mach-default -Iinclude/as
   m-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclarati
   on-after-statement -Wno-pointer-sign -DDRIVERVER=\"9999\"  -I/tmp/selfgz2883
   /NFORCE-Linux-x86-1.0-0310-pkg1/nvnet -Wall -Wimplicit -Wreturn-type -Wswitc
   h -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -W
   error -O -MD -Wno-cast-qual -Wno-error -DMODULE -D"KBUILD_STR(s)=#
   s" -D"KBUILD_BASENAME=KBUILD_STR(nvenet)"  -D"KBUILD_MODNAME=KBUILD_STR(nvne
   t)" -c -o /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.o /tmp
   /selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c
   In file included from include/linux/list.h:8,
                    from include/linux/module.h:9,
                    from /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/n
   venet.h:20,
                    from /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/n
   venet.c:22:
   include/linux/prefetch.h: In function 鈥榩refetch_range鈥?
   include/linux/prefetch.h:62: 璀﹀憡锛氣€榲oid *鈥?鍨嬫寚閽堢敤鍦ㄤ簡绠楁湳?   〃杈惧紡涓?   鍦ㄥ寘鍚嚜 /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c锛
   ?2 鐨勬枃浠朵腑:
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.h:21:26: 閿欒?   細linux/config.h锛氭病鏈夐偅涓枃浠舵垨鐩綍
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c: 鍦ㄩ《灞傦細
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:217: 閿欒锛?   expected 鈥?鈥?before string constant
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:220: 閿欒锛?   expected 鈥?鈥?before string constant
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:223: 閿欒锛?   expected 鈥?鈥?before string constant
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:226: 閿欒锛?   expected 鈥?鈥?before string constant
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:229: 閿欒锛?   expected 鈥?鈥?before string constant
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:232: 閿欒锛?   expected 鈥?鈥?before string constant
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:235: 閿欒锛?   expected 鈥?鈥?before string constant
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:238: 閿欒锛?   expected 鈥?鈥?before string constant
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:241: 閿欒锛?   expected 鈥?鈥?before string constant
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:244: 閿欒锛?   expected 鈥?鈥?before string constant
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:247: 閿欒锛?   expected 鈥?鈥?before string constant
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:250: 閿欒锛?   expected 鈥?鈥?before string constant
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:336: 璀﹀憡锛?   浠庝笉鍏煎鐨勬寚閽堢被鍨嬪垵濮嬪寲
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c: In function ?   €榥venet_open鈥?
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:738: 璀﹀憡锛?   鈥榙eprecated_irq_flag鈥?宸茶繃鏃?浜?include/linux/interrupt.h:64 澹版槑)
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:738: 璀﹀憡锛?   浼犻€掑弬鏁?2 (灞炰簬 鈥榬equest_irq鈥?鏃跺湪涓嶅吋瀹圭殑鎸囬拡绫诲瀷闂磋?   崲
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c: In function ?   €榥venet_xmit鈥?
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:1218: 閿欒锛
   氣€楥HECKSUM_HW鈥?鏈0鏄?(鍦ㄦ鍑芥暟鍐呯涓€娆′娇鐢?
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:1218: 閿欒锛
   ?鍗充娇鍦ㄤ竴涓嚱鏁板唴澶氭鍑虹幇锛屾瘡涓湭澹版槑鐨勬爣璇嗙鍦ㄥ叾
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:1218: 閿欒锛
   氭墍鍦ㄧ殑鍑芥暟鍐呭彧鎶ュ憡涓€娆°€?
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:1224:5: 璀﹀憡
   锛氣€淪KB_GSO_TCPV4鈥濇湭瀹氫箟
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c: In function ?   €榥venet_init_module鈥?
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:1325: 閿欒锛
   氶殣寮忓0鏄庡嚱鏁?鈥榩ci_module_init鈥?   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c: In function ?   €榩roc_fill_hardware_info鈥?
   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:3247: 璀﹀憡锛
   氭牸寮?鈥?f52618鈥?闇€瑕佺被鍨?鈥榣ong unsigned int鈥欙紝浣嗗疄鍙?6 鐨?   绫诲瀷涓?鈥榬esource_size_t鈥?   /tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:3250: 璀﹀憡锛
   氭牸寮?鈥?67061016鈥?闇€瑕佺被鍨?鈥榣ong int鈥欙紝浣嗗疄鍙?6 鐨勭被鍨嬩
   负 鈥榬esource_size_t鈥?   make[4]: *** [/tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.o]
   閿欒 1
   make[3]: *** [_module_/tmp/selfgz2883/NFORCE-Linux-x86-1.0-0310-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 on  fixing installation problems in the README available on
       the Linux driver download page at www.nvidia.com.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-10 19:04:52 | 显示全部楼层
搞定了。
是俺第一次用,原谅偶把
电信LAN,网卡dhcp失败,没有IP地址。

解决:
再创建一个连接xDSL,配好后激活就ok了。就是有时候连接上后DNS有问题,重新试就好了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表