LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: bjsm

GENTOO笨菜鸟之一日三问。

[复制链接]
 楼主| 发表于 2008-5-30 22:38:20 | 显示全部楼层
Post by bjsm;1856586
正如您所说,E文不好就不要玩GENTOO,否则就会被GENTOO玩。本人暂退ARCH。
我这个错误提示我估计是我删除了一个包后出了错。就是我以前问的问题,两个包要BLOCK。我以前删除的是MASK。这个我想换个删,就删除了下面的那个。删除完就卡那里。我切到别的终端REBOOT。然后就...  ...




soreutils-6.10
回复 支持 反对

使用道具 举报

发表于 2008-5-30 23:26:07 | 显示全部楼层
Post by bjsm;1857026
soreutils-6.10

1. 您可能打错了,是 sys-apps/coreutils-6.10。
2. 如果真的是鄙人所说的情况,这个问题在置顶的每月一帖上有。您可能应该照做。
3. sys-apps/coreutils 是 Linux 下常用命令的提供者,不能卸载。现在冲突的有两个东西:util-linux 和 mktemp。前者用 emerge -1u util-linux 解决,后者因为是和 coreutils 中的一个组件提供了相同的功能,您应该 emerge -C mktemp。总之 coreutils 是最最不应该被卸载的。
4. 如果没有了这个包,如果您不想找麻烦了的话,直接重装吧!
5. 如果您认为置顶的帖子需要将理由解释清楚,鄙人愿意更新;如果您使用的是 2008.0_beta2 的 stage3 安装而且发现 util-linux 和 coreutils 冲突的问题,请您告诉我。

谢谢您的支持
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-31 02:07:45 | 显示全部楼层
Post by 亞利艾爾;1857051
1. 您可能打错了,是 sys-apps/coreutils-6.10。
2. 如果真的是鄙人所说的情况,这个问题在置顶的每月一帖上有。您可能应该照做。
3. sys-apps/coreutils 是 Linux 下常用命令的提供者,不能卸载。现在冲突的有两个东西:util-linux 和 mktemp。前者用 emerge -1u util-linux 解决,后者因为是和 coreutils 中的一个组件提供了相同的功能,您应该 emerge -C mktemp。总之 coreutils 是最最不应该被卸载的。
4. 如果没有了这个包,如果您不想找麻烦了的话,直接重装吧!
5. 如果您认为置顶的帖子需要将理由解释清楚,鄙人愿意更新;如果您使用的是 2008.0_beta2 的 stage3 安装而且发现 util-linux 和 coreutils 冲突的问题,请您告诉我。

谢谢您的支持


您太客气了,帮我解决问题居然还谢谢我。
对于这个COREUTILS,我不是很熟悉,我以前冲突全是删MKTEMP,我想这次删COREUTILS。谁知道,大麻烦。

今天我sh NVIDIA-Linux-x86-71.86.04-pkg1.run 安装TNT2显卡驱动
出错,提示:好象是没模块什么的。贴出nvidia-installer.log

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat May 31 01:07:04 2008

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files     : true
  no questions            : false
  silent                  : false
  no recursion            : false
  no backup               : false
  kernel module only      : false
  sanity                  : false
  add this kernel         : false
  no runlevel check       : false
  no network              : false
  no ABI note             : false
  no RPMs                 : false
  no kernel module        : false
  force SELinux           : default
  no X server check       : false
  force tls               : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  kernel name             : (not specified)
  kernel include path     : (not specified)
  kernel source path      : (not specified)
  kernel output path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp mirror              : ftp://download.nvidia.com
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
   ke the installer to attempt to download a kernel interface for your kernel f
   rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.24-gentoo-r7/source'
-> Kernel output path: '/lib/modules/2.6.24-gentoo-r7/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.24-gentoo-r
   7/source SYSOUT=/lib/modules/2.6.24-gentoo-r7/build'...
   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.24-gentoo-r7/build KBUILD_VERBOSE=
   1 -C /lib/modules/2.6.24-gentoo-r7/source SUBDIRS=/tmp/selfgz4692/NVIDIA-Lin
   ux-x86-71.86.04-pkg1/usr/src/nv modules
   make -C /lib/modules/2.6.24-gentoo-r7/build \
           KBUILD_SRC=/usr/src/linux-2.6.24-gentoo-r7 \
           KBUILD_EXTMOD="/tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv" -
   f /usr/src/linux-2.6.24-gentoo-r7/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/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/.tmp_vers
   ions ; rm -f /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/.tmp_
   versions/*
   make -f /usr/src/linux-2.6.24-gentoo-r7/scripts/Makefile.build obj=/tmp/self
   gz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv
     cc -Wp,-MD,/tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/.nv.o
   .d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -D__KERN
   EL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.24-gentoo-r7/include -include
   include/linux/autoconf.h  -I/tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/u
   sr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-alias
   ing -fno-common -Werror-implicit-function-declaration -Os -pipe -msoft-float
   -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=athlon -
   mtune=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCON
   FIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/linux-2.6.24-gentoo-r7/include/asm-x86/
   mach-generic -Iinclude/asm-x86/mach-generic -I/usr/src/linux-2.6.24-gentoo-r
   7/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fomit-frame-p
   ointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign
   -I/tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv -Wall
    -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
   -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wn
   o-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_
   LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_VERSION_STRING=\"71.86.04\" -D
   NV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DMOD
   ULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNA
   ME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/
   usr/src/nv/nv.o /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/nv
   .c
   In file included from include/linux/list.h:8,
                    from include/linux/preempt.h:11,
                    from include/linux/spinlock.h:49,
                    from include/linux/seqlock.h:29,
                    from include/linux/time.h:8,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:53,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/prefetch.h: In function 'prefetch_range':
   include/linux/prefetch.h:57: warning: pointer of type 'void *' used in arith
   metic
   In file included from include/asm/dma-mapping_32.h:5,
                    from include/asm/dma-mapping.h:2,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:88,
                    from include/linux/pci.h:796,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-linux.h:79,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv.c:14:
   include/linux/scatterlist.h: In function 'sg_virt':
   include/linux/scatterlist.h:293: warning: pointer of type 'void *' used in a
   rithmetic
   /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/nv.c: In function
   '__nv_setup_pat_entries':
   /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/nv.c:883: warning:
   comparison between signed and unsigned
   /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/nv.c: In function
   '__nv_restore_pat_entries':
   /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/nv.c:909: warning:
   comparison between signed and unsigned
   /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/nv.c: In function
   'nv_kern_cpu_callback':
   /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/nv.c:1220: warning
   : comparison between signed and unsigned
   /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/nv.c:1227: warning
   : comparison between signed and unsigned
     cc -Wp,-MD,/tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/.nv-v
   m.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -D__K
   ERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.24-gentoo-r7/include -incl
   ude include/linux/autoconf.h  -I/tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pk
   g1/usr/src/nv -Wall -Wundef -Wstrict-pro
   totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-fun
   ction-declaration -Os -pipe -msoft-float -mregparm=3 -freg-struct-return -mp
   referred-stack-boundary=2 -march=athlon -mtune=i686 -ffreestanding -maccumul
   ate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/sr
   c/linux-2.6.24-gentoo-r7/include/asm-x86/mach-generic -Iinclude/asm-x86/mach
   -generic -I/usr/src/linux-2.6.24-gentoo-r7/include/asm-x86/mach-default -Iin
   clude/asm-x86/mach-default -fomit-frame-pointer -fno-stack-protector -Wdecla
   ration-after-statement -Wno-pointer-sign  -I/tmp/selfgz4692/NVIDIA-Linux-x86
   -71.86.04-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -
   Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -W
   sign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -D
   MODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV
   _VERSION_STRING=\"71.86.04\" -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86
   -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -
   D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)"  -D"KBUILD_MODNAME
   =KBUILD_STR(nvidia)" -c -o /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/us
   r/src/nv/nv-vm.o /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/n
   v-vm.c
   In file included from include/linux/list.h:8,
                    from include/linux/preempt.h:11,
                    from include/linux/spinlock.h:49,
                    from include/linux/seqlock.h:29,
                    from include/linux/time.h:8,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:53,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-vm.c:14:
   include/linux/prefetch.h: In function 'prefetch_range':
   include/linux/prefetch.h:57: warning: pointer of type 'void *' used in arith
   metic
   In file included from include/asm/dma-mapping_32.h:5,
                    from include/asm/dma-mapping.h:2,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:88,
                    from include/linux/pci.h:796,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-linux.h:79,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-vm.c:14:
   include/linux/scatterlist.h: In function 'sg_virt':
   include/linux/scatterlist.h:293: warning: pointer of type 'void *' used in a
   rithmetic
     cc -Wp,-MD,/tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/.os-a
   gp.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -D__
   KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.24-gentoo-r7/include -inc
   lude include/linux/autoconf.h  -I/tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-p
   kg1/usr/src/nv -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=athlon -
   mtune=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCON
   FIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/linux-2.6.24-gentoo-r7/include/asm-x86/
   mach-generic -Iinclude/asm-x86/mach-generic -I/usr/src/linux-2.6.24-gentoo-r
   7/include/asm-x86/mach-default -Iinclude/asm-x86/mach-default -fomit-frame-p
   ointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign
   -I/tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv -Wall -Wimplicit
   -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar
   ith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_L
   OOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL
   _NAMES -D__KERNEL__ -DMODULE -DNV_VERSION_STRING=\"71.86.04\" -DNV_UNIX -DNV
   _LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUIL
   D_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)"  -D"KBUILD_MODNAME=KBUIL
   D_STR(nvidia)" -c -o /tmp/selfgz46
   92/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/os-agp.o /tmp/selfgz4692/NVIDIA
   -Linux-x86-71.86.04-pkg1/usr/src/nv/os-agp.c
   In file included from include/linux/list.h:8,
                    from include/linux/preempt.h:11,
                    from include/linux/spinlock.h:49,
                    from include/linux/seqlock.h:29,
                    from include/linux/time.h:8,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:53,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/os-agp.c:24:
   include/linux/prefetch.h: In function 'prefetch_range':
   include/linux/prefetch.h:57: warning: pointer of type 'void *' used in arith
   metic
   In file included from include/asm/dma-mapping_32.h:5,
                    from include/asm/dma-mapping.h:2,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:88,
                    from include/linux/pci.h:796,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-linux.h:79,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/os-agp.c:24:
   include/linux/scatterlist.h: In function 'sg_virt':
   include/linux/scatterlist.h:293: warning: pointer of type 'void *' used in a
   rithmetic
     cc -Wp,-MD,/tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/.os-i
   nterface.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/includ
   e -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.24-gentoo-r7/includ
   e -include include/linux/autoconf.h  -I/tmp/selfgz4692/NVIDIA-Linux-x86-71.8
   6.04-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-s
   trict-aliasing -fno-common -Werror-implicit-function-declaration -Os -pipe -
   msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -ma
   rch=athlon -mtune=i686 -ffreestanding -mac
   cumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/u
   sr/src/linux-2.6.24-gentoo-r7/include/asm-x86/mach-generic -Iinclude/asm-x86
   /mach-generic -I/usr/src/linux-2.6.24-gentoo-r7/include/asm-x86/mach-default
   -Iinclude/asm-x86/mach-default -fomit-frame-pointer -fno-stack-protector -Wd
   eclaration-after-statement -Wno-pointer-sign  -I/tmp/selfgz4692/NVIDIA-Linux
   -x86-71.86.04-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wform
   at -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -M
   D -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL_
   _ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
   -DNV_VERSION_STRING=\"71.86.04\" -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_
   X86 -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENA
   ME=KBUILD_STR(os_interface)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /t
   mp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/os-interface.o /tmp/
   selfgz4692/NVIDIA-Linux-x86-71.86.0
   4-pkg1/usr/src/nv/os-interface.c
   In file included from include/linux/list.h:8,
                    from include/linux/preempt.h:11,
                    from include/linux/spinlock.h:49,
                    from include/linux/seqlock.h:29,
                    from include/linux/time.h:8,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:53,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/os-interface.c:26:
   include/linux/prefetch.h: In function 'prefetch_range':
   include/linux/prefetch.h:57: warning: pointer of type 'void *' used in arith
   metic
   In file included from include/asm/dma-mapping_32.h:5,
                    from include/asm/dma-mapping.h:2,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:88,
                    from include/linux/pci.h:796,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-linux.h:79,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/os-interface.c:26:
   include/linux/scatterlist.h: In function 'sg_virt':
   include/linux/scatterlist.h:293: warning: pointer of type 'void *' used in a
   rithmetic
     cc -Wp,-MD,/tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/.os-r
   egistry.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include
   -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.24-gentoo-r7/include
   -include include/linux/autoconf.h  -I/tmp/selfgz4692/NVIDIA-Linux-x86-71.86.
   04-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-str
   ict-aliasing -fno-common -Werror-implicit-function-declaration -Os -pipe -ms
   oft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -marc
   h=athlon -mtune=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_C
   FI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/us
   r/src/linux-2.6.24-gentoo-r7/include/asm-x86/mach-generic -Iinclude/asm-x86/
   mach-generic -I/usr/src/linux-2.6.24-gentoo-r7/include/asm-x86/mach-default
   -Iinclude/asm-x86/mach-default -fomit-frame-pointer -fno-stack-protector -Wd
   eclaration-after-statement -Wno-pointer-sign  -I/tmp/selfgz4692/NVIDIA-Linux
   -x86-71.86.04-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wform
   at -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -M
   D -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL_
   _ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
   -DNV_VERSION_STRING=\"71.86.04\" -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_
   X86 -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENA
   ME=KBUILD_STR(os_registry)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tm
   p/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/os-registry.o /tmp/se
   lfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/os-registry.c
   In file included from include/linux/list.h:8,
                    from include/linux/preempt.h:11,
                    from include/linux/spinlock.h:49,
                    from include/linux/seqlock.h:29,
                    from include/linux/time.h:8,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:53,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/os-registry.c:14:
   include/linux/prefetch.h: In function 'prefetch_range':
   include/linux/prefetch.h:57: warning: pointer of type 'void *' used in arith
   metic
   In file included from include/asm/dma-mapping_32.h:5,
                    from include/asm/dma-mapping.h:2,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:88,
                    from include/linux/pci.h:796,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-linux.h:79,
                    from /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/os-registry.c:14:
   include/linux/scatterlist.h: In function 'sg_virt':
   include/linux/scatterlist.h:293: warning: pointer of type 'void *' used in a
   rithmetic
     ld -m elf_i386 -m elf_i386   -r -o /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.
   04-pkg1/usr/src/nv/nvidia.o /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/u
   sr/src/nv/nv-kernel.o /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv.o /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/nv-vm.o /
   tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/os-agp.o /tmp/selfg
   z4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/os-interface.o /tmp/selfgz46
   92/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/os-registry.o
     Building modules, stage 2.
   make -f /usr/src/linux-2.6.24-gentoo-r7/scripts/Makefile.modpost
     scripts/mod/modpost   -i /usr/src/linux-2.6.24-gentoo-r7/Module.symvers -I
   /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/Module.symvers -o
   /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/Module.symvers -w
   -s
     cc -Wp,-MD,/tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/.nvid
   ia.mod.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include
   -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.24-gentoo-r7/include
   -include include/linux/autoconf.h -I/usr/src/linux-2.6.24-gentoo-r7/ -I -Wal
   l -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-commo
   n -Werror-implicit-function-declaration -Os -pipe -msoft-float -mregparm=3 -
   freg-struct-return -mpreferred-stack-boundary=2 -march=athlon -mtune=i686 -f
   freestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SI
   GNAL_FRAME=1 -I/usr/src/linux-2.6.24-gentoo-r7/include/asm-x86/mach-generic
   -Iinclude/asm-x86/mach-generic -I/usr/src/linux-2.6.24-gentoo-r7/include/asm
   -x86/mach-default -Iinclude/asm-x86/mach-default -fomit-frame-pointer -fno-s
   tack-protector -Wdeclaration-after-statement -Wno-pointer-sign  -D"KBUILD_ST
   R(
   s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia.mod)"  -D"KBUILD_MODNAME=KBUILD_
   STR(nvidia)" -DMODULE -c -o /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/u
   sr/src/nv/nvidia.mod.o /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1/usr/sr
   c/nv/nvidia.mod.c
     ld -m elf_i386 -r -m elf_i386  --build-id -o /tmp/selfgz4692/NVIDIA-Linux-
   x86-71.86.04-pkg1/usr/src/nv/nvidia.ko /tmp/selfgz4692/NVIDIA-Linux-x86-71.8
   6.04-pkg1/usr/src/nv/nvidia.o /tmp/selfgz4692/NVIDIA-Linux-x86-71.86.04-pkg1
   /usr/src/nv/nvidia.mod.o
   NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'.  This happens most
       frequently when this kernel module was built against the wrong or
       improperly configured kernel sources, with a version of gcc that differs
       from the one used to build the target kernel, or if a driver such as
       rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
       obtaining ownership of the NVIDIA graphics device(s).
      
       Please see the log entries 'Kernel module load error' and 'Kernel
       messages' at the end of the file '/var/log/nvidia-installer.log' for
       more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
   -1 No such device
-> Kernel messages:
   rivafb: setting virtual Y resolution to 52428
   rivafb: PCI nVidia NV4 framebuffer ver 0.9.5b (32MB @ 0xD8000000)
   ACPI: PCI Interrupt Link [ALKC] BIOS reported IRQ 0, using IRQ 22
   ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22
   ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [ALKC] -> GSI 22 (level, low) ->
   IRQ 20
   PCI: Setting latency timer of device 0000:00:11.5 to 64
   EXT3 FS on sda1, internal journal
   kjournald starting.  Commit interval 5 seconds
   EXT3 FS on sda6, internal journal
   EXT3-fs: mounted filesystem with ordered data mode.
   Adding 1951856k swap on /dev/sda7.  Priority:-1 extents:1 across:1951856k
   eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
   mtrr: no MTRR for d8000000,400000 found
   mtrr: no MTRR for d8000000,400000 found
   warning: process `nvidia-installe' used the deprecated sysctl system call
   with 1.23.
   warning: process `nvidia-installe' used the deprecated sysctl system call
   with 1.23.
   nvidia: module license 'NVIDIA' taints kernel.
   NVRM: The NVIDIA probe routine was not called for 1 device(s).
   NVRM: This can occur when a driver such as rivafb, nvidiafb or
   NVRM: rivatv was loaded and obtained ownership of the NVIDIA
   NVRM: device(s).
   NVRM: Try unloading the rivafb, nvidiafb or rivatv kernel module
   NVRM: (and/or reconfigure your kernel without rivafb/nvidiafb
   NVRM: support), then try loading the NVIDIA kernel module again.
   NVRM: No NVIDIA graphics adapter probed!
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.




/lib/modules/2.6.24-gentoo-r7/video下的nvidia.so被我删了。

如何解决?


我还在GENTOO下,这次是第9次安装成功。我都不怎么敢乱搞了,太脆弱了,一不小心就挂。
回复 支持 反对

使用道具 举报

发表于 2008-5-31 02:36:33 | 显示全部楼层
Post by bjsm;1855793
2008年5月28日早5:02。
问1:在gentoo中,WORLD是什么意思?SYSTEM又是什么意思?
emerge -avtuDN world是什么意思?
emerge -e system又是什么意思?



现在即使大家详细的解释了这个问题,但你不一定能明白,也记不住。 所以你就先用着,用着用着用久了,自然而然的就会明白了。
回复 支持 反对

使用道具 举报

发表于 2008-5-31 02:45:55 | 显示全部楼层
bjsm, 看一下我的板砖帖,就能解决这个问题了。
http://www.linuxsir.cn/bbs/showthread.php?t=328825&highlight=
那个刚开始下载的stage3-i686-2008.0_beta2.tar.bz2 文件建议先别删除,刚开始的新手估计会经常用到这个文件的。
回复 支持 反对

使用道具 举报

发表于 2008-5-31 12:35:52 | 显示全部楼层
nvidia驱动最好emerge
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-1 12:06:59 | 显示全部楼层
Post by zhllg;1857223
nvidia驱动最好emerge


EMERGE NVIDIA没有我的71XX,我是TNT2。
回复 支持 反对

使用道具 举报

发表于 2008-6-1 12:41:41 | 显示全部楼层
又不看文档……

http://www.gentoo.org/doc/zh_cn/nvidia-guide.xml
老的基于NV2x的显卡(如:TNT、TNT2、Geforce和GeForce 2)需要更老的71.x驱动(例如nvidia-drivers-71.86.01)。对于这类卡,你应该在/etc/portage/package.mask中屏蔽掉>=x11-drivers/nvidia-drivers-87.00
回复 支持 反对

使用道具 举报

发表于 2008-6-1 12:44:08 | 显示全部楼层
> EMERGE NVIDIA没有我的71XX,我是TNT2。

请阅读:
http://www.gentoo.org/doc/zh_cn/nvidia-guide.xml

版主好快,发重了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-6-1 17:59:22 | 显示全部楼层
老的基于NV2x的显卡(如:TNT、TNT2、Geforce和GeForce 2)需要更老的71.x驱动(例如nvidia-drivers-71.86.01)。对于这类卡,你应该在 /etc/portage/package.mask中屏蔽掉>=x11-drivers/nvidia-drivers-87.00
jon jon # ls /etc/portage/  
bin  postsync.d

我的/ETC/PORTAGE下没有PACKAGE。MASK  看来不好弄阿。
回复 支持 反对

使用道具 举报

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

本版积分规则

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