Автор Тема: Проблем с Back Track 5  (Прочетена 8850 пъти)

loshia21

  • Напреднали
  • *****
  • Публикации: 252
    • Профил
Re: Проблем с Back Track 5
« Отговор #15 -: Oct 29, 2011, 13:13 »
??? ??? ??? ???

loguot
Ctrl + Alt+ F1 ,системата е дебиан базирана
login през init1 с username root вършиш каквото вършиш и reboot

Така го правя,натискам  Ctrl + Alt+ F1.Влизам в конзолен режим и немога да изключа сървара.
Щом не можеш да спреш X-сървъра можеш да го игнорираш.Като изпълниш последната команда да не го взема под внимание,но не знам как ще се оправиш с свободния "nouveau" драйвър.Преди няколко дни си правих опити от любопитство.Деинсталирах всичко,което в името си имаше nouveau след това стартирах командата,но все нещо не му харесваше.Мисля,че искаше ново gcc и на мен ми писна и го оставих.А иначе командата без да си спрял X-сървъра изглежда така:
Код
GeSHi (Bash):
  1. cd /usr/src && sh NVIDIA-Linux-x86-190.53-pkg1.run -z --no-x-check
Код
GeSHi (Bash):
  1. -z # този флаг спира да се взема под внимание nouveau драйвъра
  2. --no-x-check # този пък спира да се взема под внимание X-сървъра
Надявам се тия мои писания да се ти от полза.Успех.

verifing archive integrity...ok
uncomressing NVIDIA Accelerated Graphics Driver for Linux-x86 190.53............/nvidia-installer:invalid option --'z'
Активен

radoshow

  • Напреднали
  • *****
  • Публикации: 1313
  • Distribution: Arch Linux
  • Window Manager: Gnome Shell
    • Профил
Re: Проблем с Back Track 5
« Отговор #16 -: Oct 29, 2011, 14:47 »
@loshia21 Изпълни тази команда в терминала и ще видиш всички опции,които ти предлага инсталатора:
Код
GeSHi (Bash):
  1. cd /usr/src
  2. sh NVIDIA-Linux-x86-190.53-pkg1.run -A
Активен

loshia21

  • Напреднали
  • *****
  • Публикации: 252
    • Профил
Re: Проблем с Back Track 5
« Отговор #17 -: Oct 29, 2011, 15:38 »
    cd /usr/src
    sh NVIDIA-Linux-x86-190.53-pkg1.run -A
Избирам --no-x-check


cd /usr/src && sh NVIDIA-Linux-x86-190.53-pkg1.run --no-x-check
До тук добре,избирам Accept

 The distribution-provided pre-install script failed!  Continue installation
  anyway?                                               
Избирам YES
Стига до 100% и пак същата грешка:

 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, or nouveau is present and prevents the
         NVIDIA kernel module from obtaining ownership of the NVIDIA graphics 
         device(s), or NVIDIA GPU installed in this system is not supported by
         this NVIDIA Linux graphics driver release.                           

         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.


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 http://www.nvidia.com.


Активен

radoshow

  • Напреднали
  • *****
  • Публикации: 1313
  • Distribution: Arch Linux
  • Window Manager: Gnome Shell
    • Профил
Re: Проблем с Back Track 5
« Отговор #18 -: Oct 29, 2011, 15:47 »
Разгледа ли лога?Там трябва да пише какво му е нужно.
Активен

loshia21

  • Напреднали
  • *****
  • Публикации: 252
    • Профил
Re: Проблем с Back Track 5
« Отговор #19 -: Oct 29, 2011, 16:12 »
Разгледа ли лога?Там трябва да пише какво му е нужно.


root@bt:~# cd /usr/src
root@bt:/usr/src# sh NVIDIA-Linux-x86-190.53-pkg1.run -A

NVIDIA-Linux-x86-190.53-pkg1.run [options]

This program will install the NVIDIA Accelerated Graphics Driver
for Linux-x86 190.53 by unpacking the embedded tarball and executing
the ./nvidia-installer  installation utility.

--info
  Print embedded info (title, default target directory) and exit.

--lsm
  Print embedded lsm entry (or no LSM) and exit.

--pkg-history
  Print the package history of this file and exit.

--list
  Print the list of files in the archive and exit.

--check
  Check integrity of the archive and exit.

-x, --extract-only
  Extract the contents of NVIDIA-Linux-x86-190.53-pkg1.run, but do not
  run 'nvidia-installer'.

--add-this-kernel
  Build a precompiled kernel interface for the currently running
  kernel and repackage the .run file to include this newly built
  precompiled kernel interface.  The new .run file will be placed
  in the current directory and the string "-custom" appended
  to its name, unless already present, to distinguish it from the
  original .run file.

--apply-patch [Patch]
  Apply the patch 'Patch' to the kernel interface files included
  in the .run file, remove any precompiled kernel interfaces
  and then repackage the .run file.  The new .run file will be
  placed in the current directory and the string "-custom"
  appended to its name, unless already present, to distinguish it
  from the original .run file.

--keep
  Do not delete target directory when done.

--target [NewDirectory]
  Extract contents in 'NewDirectory'


The following arguments will be passed on to the ./nvidia-installer
utility:

COMMON OPTIONS:

  -a, --accept-license
      Bypass the display and prompting for acceptance of the
      NVIDIA Software License Agreement.  By passing this option
      to nvidia-installer, you indicate that you have read and
      accept the License Agreement contained in the file
      'LICENSE' (in the top level directory of the driver
      package).

  --update
      Connect to the NVIDIA FTP server '
      ftp://download.nvidia.com ' and determine the latest
      available driver version.  If there is a more recent driver
      available, automatically download and install it.  Any
      other options given on the commandline will be passed on to
      the downloaded driver package when installing it.

  -v, --version
      Print the nvidia-installer version and exit.

  -h, --help
      Print usage information for the common commandline options
      and exit.

  -A, --advanced-options
      Print usage information for the common commandline options
      as well as the advanced options, and then exit.


ADVANCED OPTIONS:

  -a, --accept-license
      Bypass the display and prompting for acceptance of the
      NVIDIA Software License Agreement.  By passing this option
      to nvidia-installer, you indicate that you have read and
      accept the License Agreement contained in the file
      'LICENSE' (in the top level directory of the driver
      package).

  --update
      Connect to the NVIDIA FTP server '
      ftp://download.nvidia.com ' and determine the latest
      available driver version.  If there is a more recent driver
      available, automatically download and install it.  Any
      other options given on the commandline will be passed on to
      the downloaded driver package when installing it.

  -v, --version
      Print the nvidia-installer version and exit.

  -h, --help
      Print usage information for the common commandline options
      and exit.

  -A, --advanced-options
      Print usage information for the common commandline options
      as well as the advanced options, and then exit.

  -i, --driver-info
      Print information about the currently installed NVIDIA
      driver version.

  --uninstall
      Uninstall the currently installed NVIDIA driver.

  --sanity
      Perform basic sanity tests on an existing NVIDIA driver
      installation.

  -e, --expert
      Enable 'expert' installation mode; more detailed questions
      will be asked, and more verbose output will be printed;
      intended for expert users.  The questions may be suppressed
      with the '--no-questions' commandline option.

  -q, --no-questions
      Do not ask any questions; the default (normally 'yes') is
      assumed for all yes/no questions, and the default string is
      assumed in any situation where the user is prompted for
      string input.  The one question that is not bypassed by
      this option is license acceptance; the license may be
      accepted with the commandline option '--accept-license'.

  -s, --silent
      Run silently; no questions are asked and no output is
      printed, except for error messages to stderr.  This option
      implies '--ui=none --no-questions --accept-license'.

  --x-prefix=X-PREFIX
      The prefix under which the X components of the NVIDIA
      driver will be installed; the default is '/usr/X11R6'
      unless nvidia-installer detects that X.Org >= 7.0 is
      installed, in which case the default is '/usr'.  Only under
      rare circumstances should this option be used.

  --xfree86-prefix=XFREE86-PREFIX
      This is a deprecated synonym for --x-prefix.

  --x-module-path=X-MODULE-PATH
      The path under which the NVIDIA X server modules will be
      installed.  If this option is not specified,
      nvidia-installer uses the following search order and
      selects the first valid directory it finds: 1) `X
      -showDefaultModulePath`, 2) `pkg-config
      --variable=moduledir xorg-server`, or 3) the X library path
      (see the '--x-library-path' option) plus either 'modules'
      (for X servers older than X.Org 7.0) or 'xorg/modules' (for
      X.Org 7.0 or later).

  --x-library-path=X-LIBRARY-PATH
      The path under which the NVIDIA X libraries will be
      installed.  If this option is not specified,
      nvidia-installer uses the following search order and
      selects the first valid directory it finds: 1) `X
      -showDefaultLibPath`, 2) `pkg-config --variable=libdir
      xorg-server`, or 3) the X prefix (see the '--x-prefix'
      option) plus 'lib' on 32bit systems, and either 'lib64' or
      'lib' on 64bit systems, depending on the installed Linux
      distribution.

  --opengl-prefix=OPENGL-PREFIX
      The prefix under which the OpenGL components of the NVIDIA
      driver will be installed; the default is: '/usr'.  Only
      under rare circumstances should this option be used.  The
      Linux OpenGL ABI
      (http://oss.sgi.com/projects/ogl-sample/ABI/) mandates this
      default value.

  --opengl-libdir=OPENGL-LIBDIR
      The path relative to the OpenGL library installation prefix
      under which the NVIDIA OpenGL components will be installed.
      The default is 'lib' on 32bit systems, and 'lib64' or 'lib'
      on 64bit systems, depending on the installed Linux
      distribution.  Only under very rare circumstances should
      this option be used.

  --installer-prefix=INSTALLER-PREFIX
      The prefix under which the installer binary will be
      installed; the default is: '/usr'.  Note: please use the
      '--utility-prefix' option instead.

  --utility-prefix=UTILITY-PREFIX
      The prefix under which the NVIDIA utilities
      (nvidia-installer, nvidia-settings, nvidia-xconfig,
      nvidia-bug-report.sh) and the NVIDIA utility libraries will
      be installed; the default is: '/usr'.

  --utility-libdir=UTILITY-LIBDIR
      The path relative to the utility installation prefix under
      which the NVIDIA utility libraries will be installed.  The
      default is 'lib' on 32bit systems, and 'lib64' or 'lib' on
      64bit systems, depending on the installed Linux
      distribution.

  --documentation-prefix=DOCUMENTATION-PREFIX
      The prefix under which the documentation files for the
      NVIDIA driver will be installed.  The default is: '/usr'.

  --kernel-include-path=KERNEL-INCLUDE-PATH
      The directory containing the kernel include files that
      should be used when compiling the NVIDIA kernel module.
      This option is deprecated; please use
      '--kernel-source-path' instead.

  --kernel-source-path=KERNEL-SOURCE-PATH
      The directory containing the kernel source files that
      should be used when compiling the NVIDIA kernel module.
      When not specified, the installer will use
      '/lib/modules/`uname -r`/build', if that directory exists.
      Otherwise, it will use '/usr/src/linux'.

  --kernel-output-path=KERNEL-OUTPUT-PATH
      The directory containing any KBUILD output files if either
      one of the 'KBUILD_OUTPUT' or 'O' parameters were passed to
      KBUILD when building the kernel image/modules.  When not
      specified, the installer will assume that no separate
      output directory was used.

  --kernel-install-path=KERNEL-INSTALL-PATH
      The directory in which the NVIDIA kernel module should be
      installed.  The default value is either
      '/lib/modules/`uname -r`/kernel/drivers/video' (if
      '/lib/modules/`uname -r`/kernel' exists) or
      '/lib/modules/`uname -r`/video'.

  --proc-mount-point=PROC-MOUNT-POINT
      The mount point for the proc file system; if not specified,
      then this value defaults to '/proc' (which is normally
      correct).  The mount point of the proc filesystem is needed
      because the contents of '<proc filesystem>/version' is used
      when identifying if a precompiled kernel interface is
      available for the currently running kernel.  This option
      should only be needed in very rare circumstances.

  --log-file-name=LOG-FILE-NAME
      File name of the installation log file (the default is:
      '/var/log/nvidia-installer.log').

  --tmpdir=TMPDIR
      Use the specified directory as a temporary directory when
      downloading files from the NVIDIA ftp site; if not given,
      then the following list will be searched, and the first one
      that exists will be used: /tmp, /tmp, ., /root.

  -m, --ftp-mirror=FTP-MIRROR
      Use the specified FTP mirror rather than the default '
      ftp://download.nvidia.com ' when downloading driver
      updates.

  -l, --latest
      Connect to the NVIDIA FTP server '
      ftp://download.nvidia.com ' (or use the ftp mirror
      specified with the '--ftp-mirror' option) and query the
      most recent Linux-x86 driver version number.

  -f, --force-update
      Forces an update to proceed, even if the installer thinks
      the latest driver is already installed; this option implies
      '--update'.

  --ui=UI
      Specify what user interface to use, if available.  Valid
      values for UI are 'ncurses' (the default) or 'none'. If the
      ncurses interface fails to initialize, or 'none' is
      specified, then a simple printf/scanf interface will be
      used.

  -c, --no-ncurses-color
      Disable use of color in the ncurses user interface.

  --no-opengl-headers
      Normally, installation will install NVIDIA's OpenGL header
      files.  This option disables installation of the NVIDIA
      OpenGL header files.

  --force-tls=FORCE-TLS
      NVIDIA's OpenGL libraries are compiled with one of two
      different thread local storage (TLS) mechanisms: 'classic
      tls' which is used on systems with glibc 2.2 or older, and
      'new tls' which is used on systems with tls-enabled glibc
      2.3 or newer.  nvidia-installer will select the OpenGL
      libraries appropriate for your system; however, you may use
      this option to force the installer to install one library
      type or another.  Valid values for FORCE-TLS are 'new' and
      'classic'.

  -k, --kernel-name=KERNEL-NAME
      Build and install the NVIDIA kernel module for the
      non-running kernel specified by KERNEL-NAME (KERNEL-NAME
      should be the output of `uname -r` when the target kernel
      is actually running).  This option implies
      '--no-precompiled-interface'.  If the options
      '--kernel-install-path' and '--kernel-source-path' are not
      given, then they will be inferred from KERNEL-NAME; eg:
      '/lib/modules/KERNEL-NAME/kernel/drivers/video/' and
      '/lib/modules/KERNEL-NAME/build/', respectively.

  -n, --no-precompiled-interface
      Disable use of precompiled kernel interfaces.

  --no-runlevel-check
      Normally, the installer checks the current runlevel and
      warns users if they are in runlevel 1: in runlevel 1, some
      services that are normally active are disabled (such as
      devfs), making it difficult for the installer to properly
      setup the kernel module configuration files.  This option
      disables the runlevel check.

  --no-abi-note
      The NVIDIA OpenGL libraries contain an OS ABI note tag,
      which identifies the minimum kernel version needed to use
      the library.  This option causes the installer to remove
      this note from the OpenGL libraries during installation.

  --no-rpms
      Normally, the installer will check for several rpms that
      conflict with the driver (specifically: NVIDIA_GLX and
      NVIDIA_kernel), and remove them if present.  This option
      disables this check.

  -b, --no-backup
      During driver installation, conflicting files are backed
      up, so that they can be restored when the driver is
      uninstalled.  This option causes the installer to simply
      delete conflicting files, rather than back them up.

  -N, --no-network
      This option instructs the installer to not attempt to
      connect to the NVIDIA ftp site (for updated precompiled
      kernel interfaces, for example).

  --no-recursion
      Normally, nvidia-installer will recursively search for
      potentially conflicting libraries under the default OpenGL
      and X server installation locations.  With this option set,
      the installer will only search in the top-level
      directories.

  -K, --kernel-module-only
      Install a kernel module only, and do not uninstall the
      existing driver.  This is intended to be used to install
      kernel modules for additional kernels (in cases where you
      might boot between several different kernels).  To use this
      option, you must already have a driver installed, and the
      version of the installed driver must match the version of
      this kernel module.

  --no-kernel-module
      Install everything but the kernel module, and do not remove
      any existing, possibly conflicting kernel modules.  This
      can be useful in some DEBUG environments.  If you use this
      option, you must be careful to ensure that a NVIDIA kernel
      module matching this driver version is installed
      seperately.

  --no-x-check
      Do not abort the installation if nvidia-installer detects
      that an X server is running.  Only under very rare
      circumstances should this option be used.

  --precompiled-kernel-interfaces-path=PRECOMPILED-KERNEL-INTERFA
  CES-PATH
      Before searching for a precompiled kernel interface in the
      .run file, search in the specified directory.

  --precompiled-kernel-interfaces-url=PRECOMPILED-KERNEL-INTERFAC
  ES-URL
      If no precompiled kernel interfaces are found within the
      driver package or provided on the file system by the Linux
      distribution, check the specified URL for updates.  NVIDIA
      does not intend to provide updated precompiled kernel
      interfaces, but system administrators might use this for
      distributing precompiled kernel interfaces in a local area
      network.

  -X, --run-nvidia-xconfig
      nvidia-installer can optionally invoke the nvidia-xconfig
      utility.  This will update the system X configuration file
      so that the NVIDIA X driver is used.  The pre-existing X
      configuration file will be backed up.  At the end of
      installation, nvidia-installer will ask the user if they
      wish to run nvidia-xconfig; the default response is 'no'.
      Use this option to make the default response 'yes'.  This
      is useful with the '--no-questions' or '--silent' options,
      which assume the default values for all questions.

  --force-selinux=FORCE-SELINUX
      Linux installations using SELinux (Security-Enhanced Linux)
      require that the security type of all shared libraries be
      set to 'shlib_t' or 'textrel_shlib_t', depending on the
      distribution. nvidia-installer will detect when to set the
      security type, and set it using chcon(1) on the shared
      libraries it installs.  If the execstack(8) system utility
      is present, nvidia-installer will use it to also clear the
      executable stack flag of the libraries.  Use this option to
      override nvidia-installer's detection of when to set the
      security type.  Valid values for FORCE-SELINUX are 'yes'
      (force setting of the security type), 'no' (prevent setting
      of the security type), and 'default' (let nvidia-installer
      decide when to set the security type).

  --selinux-chcon-type=SELINUX-CHCON-TYPE
      When SELinux support is enabled, nvidia-installer will try
      to determine which chcon argument to use by first trying
      'textrel_shlib_t', then 'texrel_shlib_t', then 'shlib_t'.
      Use this option to override this detection logic.

  --no-sigwinch-workaround
      Normally, nvidia-installer ignores the SIGWINCH signal
      before it forks to execute commands, e.g. to build the
      kernel module, and restores the SIGWINCH signal handler
      after the child process has terminated.  This option
      disables this behavior.

  --no-cc-version-check
      The NVIDIA kernel module should be compiled with the same
      compiler that was used to compile the currently running
      kernel. The layout of some Linux kernel data structures may
      be dependent on the version of gcc used to compile it. The
      Linux 2.6 kernel modules are tagged with information about
      the compiler and the Linux kernel's module loader performs
      a strict version match check. nvidia-installer checks for
      mismatches prior to building the NVIDIA kernel module and
      aborts the installation in case of failures. Use this
      option to override this check.

  --no-distro-scripts
      Normally, nvidia-installer will run scripts from
      /usr/lib/nvidia before and after installing or uninstalling
      the driver.  Use this option to disable execution of these
      scripts.


root@bt:/usr/src#
Активен

radoshow

  • Напреднали
  • *****
  • Публикации: 1313
  • Distribution: Arch Linux
  • Window Manager: Gnome Shell
    • Профил
Re: Проблем с Back Track 5
« Отговор #20 -: Oct 29, 2011, 16:26 »
Питах те за лога:
Код
GeSHi (Bash):
  1. ERROR: Installation has failed.  Please see the file
  2.         '/var/log/nvidia-installer.log' for details.  You may find          
  3.         suggestions on fixing installation problems in the README available  
  4.         on the Linux driver download page at http://www.nvidia.com.
Отвори това дето е оцветено в червено.
Активен

loshia21

  • Напреднали
  • *****
  • Публикации: 252
    • Профил
Re: Проблем с Back Track 5
« Отговор #21 -: Oct 29, 2011, 18:05 »
root@bt:~# /var/log/nvidia-installer.log
bash: /var/log/nvidia-installer.log: Permission denied
root@bt:~#
Активен

b2l

  • Напреднали
  • *****
  • Публикации: 4786
  • Distribution: MCC Interim
  • Window Manager: - // - // -
  • ...sometimes I feel like screaming... || RTFM!
    • Профил
    • WWW
Re: Проблем с Back Track 5
« Отговор #22 -: Oct 29, 2011, 18:11 »
root@bt:~# /var/log/nvidia-installer.log
bash: /var/log/nvidia-installer.log: Permission denied
root@bt:~#

Код:
#cat /var/log/nvidia-installer.log
Активен

"Човекът е въже, опънато между звяра и свръхчовека, въже над пропаст. Човекът е нещо, което трябва да бъде превъзмогнато." - Фр. Ницше

Acho

  • Напреднали
  • *****
  • Публикации: 6926
  • Distribution: Slackware, MikroTik - сървърно
  • Window Manager: console only
    • Профил
    • WWW
Re: Проблем с Back Track 5
« Отговор #23 -: Oct 29, 2011, 18:11 »
Ами пусни и една команда преди това. За view.
Активен

CPU - Intel Quad-Core Q8400, 2.66 GHz; Fan - Intel Box; MB - Intel G41M-T2; RAM - DDR2-800, Kingston HyperX, 2X2048 MB; VC - onboard, Intel G41 Express Chipset; HDD - Toshiba, 500 GB, SATAII; SB - Realtek HD Audio; DVD-RW - TSSTcorp DVD-RW; LAN - Realtek PCI-E GBE Controller; PSU - Fortron 400 Watt.

loshia21

  • Напреднали
  • *****
  • Публикации: 252
    • Профил
Re: Проблем с Back Track 5
« Отговор #24 -: Oct 29, 2011, 18:12 »
root@bt:~# cat /var/log/nvidia-installer.log
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Oct 29 18:09:37 2011
installer version: 1.0.7

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       : true
  no cc version 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
-> The file '/tmp/.X0-lock' exists and appears to contain the process ID '1284'
   of a runnning X server.
-> Continuing per the '--no-x-check' option.
-> License accepted.
-> Installing NVIDIA driver version 190.53.
-> Running distribution scripts
   executing: '/usr/lib/nvidia/pre-install'...
-> done.
-> The distribution-provided pre-install script failed!  Continue installation
   anyway? (Answer: Yes)
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/usr/src/linux'
-> Kernel output path: '/usr/src/linux'
-> 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=/usr/src/linux SYSOUT=/usr/s
   rc/linux'...
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/tmp/selfgz13982/NVID
   IA-Linux-x86-190.53-pkg1/usr/src/nv modules
   test -e include/generated/autoconf.h -a -e include/config/auto.conf || (   \
      echo;                        \
      echo "  ERROR: Kernel configuration is invalid.";      \
      echo "         include/generated/autoconf.h or include/config/auto.conf are
   missing.";\
      echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
   .";   \
      echo;                        \
      /bin/false)
   mkdir -p /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/nv/.tmp_versi
   ons ; rm -f /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/nv/.tmp_ve
   rsions/*
   
     WARNING: Symbol version dump /usr/src/linux-source-2.6.38/Module.symvers
              is missing; modules will have no dependencies and modversions.
   
   make -f scripts/Makefile.build obj=/tmp/selfgz13982/NVIDIA-Linux-x86-190.53-
   pkg1/usr/src/nv
     cc -Wp,-MD,/tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/nv/.nv.o.
   d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.3/include -I/usr/src/l
   inux-source-2.6.38/arch/x86/include -Iinclude  -include include/generated/au
   toconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-
   strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-forma
   t-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3
   -freg-struct-return -mpreferred-stack-boundary=2 -march=i486 -maccumulate-ou
   tgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_A
   S_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno
   -sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -m
   no-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibl
   ing-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-ov
   erflow -fconserve-stack -I/tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/
   src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -W
   parentheses -Wpointer-arith -Wno-multichar -Werror -fno-defer-pop -MD -Wsign
   -compare -
   Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"
   190.53\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD
   _BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/
   selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/nv/nv.o /tmp/selfgz13982/NV
   IDIA-Linux-x86-190.53-pkg1/usr/src/nv/nv.c
   In file included from include/linux/bitops.h:22,
                    from include/linux/kernel.h:17,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv-linux.h:21,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv.c:14:
   /usr/src/linux-source-2.6.38/arch/x86/include/asm/bitops.h: In function ‘s
   et_bit’:
   /usr/src/linux-source-2.6.38/arch/x86/include/asm/bitops.h:64: warning: poin
   ter of type ‘void *’ used in arithmetic
   /usr/src/linux-source-2.6.38/arch/x86/include/asm/bitops.h: In function ‘c
   lear_bit’:
   /usr/src/linux-source-2.6.38/arch/x86/include/asm/bitops.h:102: warning: poi
   nter of type ‘void *’ used in arithmetic
   /usr/src/linux-source-2.6.38/arch/x86/include/asm/bitops.h: In function ‘c
   hange_bit’:
   /usr/src/linux-source-2.6.38/arch/x86/include/asm/bitops.h:178: warning: poi
   nter of type ‘void *’ used in arithmetic
   In file included from include/linux/kernel.h:17,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv-linux.h:21,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv.c:14:
   include/linux/bitops.h: In function ‘hweight_long’:
   include/linux/bitops.h:49: warning: signed and unsigned type in conditional
   expression
   In file included from include/linux/list.h:7,
                    from include/linux/preempt.h:11,
                    from include/linux/spinlock.h:50,
                    from include/linux/seqlock.h:29,
                    from include/linux/time.h:8,
                    from include/linux/timex.h:56,
                    from include/linux/sched.h:57,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv-linux.h:21,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-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 a
   rithmetic
   In file included from include/linux/preempt.h:11,
                    from include/linux/spinlock.h:50,
                    from include/linux/seqlock.h:29,
                    from include/linux/time.h:8,
                    from include/linux/timex.h:56,
                    from include/linux/sched.h:57,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv-linux.h:21,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv.c:14:
   include/linux/list.h: In function ‘list_del’:
   include/linux/list.h:107: warning: pointer of type ‘void *’ used in arit
   hmetic
   include/linux/list.h:108: warning: pointer of type ‘void *’ used in arit
   hmetic
   include/linux/list.h: In function ‘hlist_del’:
   include/linux/list.h:602: warning: pointer of type ‘void *’ used in arit
   hmetic
   include/linux/list.h:603: warning: pointer of type ‘void *’ used in arit
   hmetic
   In file included from include/linux/sched.h:82,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv-linux.h:21,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv.c:14:
   include/linux/rculist.h: In function ‘list_del_rcu’:
   include/linux/rculist.h:112: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/rculist.h: In function ‘list_replace_rcu’:
   include/linux/rculist.h:158: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/rculist.h: In function ‘hlist_del_rcu’:
   include/linux/rculist.h:312: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/rculist.h: In function ‘hlist_replace_rcu’:
   include/linux/rculist.h:332: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/utsname.h:35,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv-linux.h:21,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv.c:14:
   include/linux/sched.h: In function ‘object_is_on_stack’:
   include/linux/sched.h:2317: warning: pointer of type ‘void *’ used in ar
   ithmetic
   In file included from include/linux/rculist_bl.h:7,
                    from include/linux/dcache.h:7,
                    from include/linux/fs.h:383,
                    from include/linux/poll.h:12,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv-linux.h:81,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv.c:14:
   include/linux/list_bl.h: In function ‘hlist_bl_del’:
   include/linux/list_bl.h:105: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/list_bl.h:106: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/linux/dcache.h:7,
                    from include/linux/fs.h:383,
                    from include/linux/poll.h:12,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv-linux.h:81,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv.c:14:
   include/linux/rculist_bl.h: In function ‘hlist_bl_del_rcu’:
   include/linux/rculist_bl.h:76: warning: pointer of type ‘void *’ used in
   arithmetic
   In file included from /usr/src/linux-source-2.6.38/arch/x86/include/asm/uacc
   ess.h:571,
                    from include/linux/poll.h:14,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv-linux.h:81,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv.c:14:
   /usr/src/linux-source-2.6.38/arch/x86/include/asm/uaccess_32.h: In function
   ‘copy_from_user’:
   /usr/src/linux-source-2.6.38/arch/x86/include/asm/uaccess_32.h:209: warning:
   comparison between signed and unsigned integer expressions
   In file included from include/linux/io.h:22,
                    from include/linux/pci.h:54,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv-linux.h:92,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv.c:14:
   /usr/src/linux-source-2.6.38/arch/x86/include/asm/io.h: In function ‘write
   q’:
   /usr/src/linux-source-2.6.38/arch/x86/include/asm/io.h:106: warning: 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-source-2.6.38/arch/x86/include/asm/pci.
   h:141,
                    from include/linux/pci.h:1243,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv-linux.h:92,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv.c:14:
   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-source-2.6.38/arch/x86/include/asm/dma-
   mapping.h:43,
                    from include/linux/dma-mapping.h:93,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from /usr/src/linux-source-2.6.38/arch/x86/include/asm/pci.
   h:141,
                    from include/linux/pci.h:1243,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv-linux.h:92,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv.c:14:
   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 /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv-linux.h:119,
                    from /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv/nv.c:14:
   include/linux/highmem.h: In function ‘zero_user_segments’:
   include/linux/highmem.h:197: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:200: warning: pointer of type ‘void *’ used in a
   rithmetic
   /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/nv/nv.c: At top level:
   /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/nv/nv.c:417: error: un
   known field ‘ioctl’ specified in initializer
   /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/nv/nv.c:417: warning:
   initialization from incompatible pointer type
   /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/nv/nv.c: In function
   ��nv_kern_open’:
   /tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/nv/nv.c:2188: warning:
   initialization from incompatible pointer type
   make[3]: *** [/tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/nv/nv.o]
   Error 1
   make[2]: *** [_module_/tmp/selfgz13982/NVIDIA-Linux-x86-190.53-pkg1/usr/src/
   nv] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Error 1
   make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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 http://www.nvidia.com.
root@bt:~#
Активен

loshia21

  • Напреднали
  • *****
  • Публикации: 252
    • Профил
Re: Проблем с Back Track 5
« Отговор #25 -: Oct 29, 2011, 20:03 »
...изтрито...

Добре де мъча се да си инсталирам драйвера,какво лошо има.Защо да е малоумна темата
« Последна редакция: Oct 30, 2011, 11:25 от bop_bop_mara »
Активен

shoshon

  • Напреднали
  • *****
  • Публикации: 497
    • Профил
Re: Проблем с Back Track 5
« Отговор #26 -: Oct 29, 2011, 20:56 »
Не любезно ще ти отговоря:
1) http://distrowatch.com/ на кое място в Page Hit Ranking  виждаш Back Track ? Puppy, дето само може да си избършeш гъзъ с него е на стабилна позиция, но не.. трябва да е Back Track.
2) Не е нужно да компилираш драйвера - има други (очевидно и по-опитни) хора, които са го направили

Ся не ме питай "кво да прая".

Прощавай за езика. Такъв съм си, Може да ми дрънкаш по същия начин.
Активен

Odido

  • Напреднали
  • *****
  • Публикации: 627
  • Distribution: Arch Linux
  • Window Manager: Gnome
    • Профил
Re: Проблем с Back Track 5
« Отговор #27 -: Oct 30, 2011, 07:44 »
Някой път излиза по-лесно да си компилираш ядро отколкото някой драйвър....
Активен

"Congratulations, you broke the Internet
Look at what you did! Are you happy now?"