From: andriy <l.andriy@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] ядро 3.0 и драйверы nvidia
Date: Wed, 28 Sep 2011 10:06:24 +0300
Message-ID: <4E82C770.2070206@gmail.com> (raw)
In-Reply-To: <CAFv-R3dPpVpucEVKzktTUNS3-biMj+QyQEgW1bZPAgH0H-gbog@mail.gmail.com>
On 28.09.11 08:16, Константин Михайленко wrote:
> Добрый день, коллеги!
>
> Преамбула: использую текущий репозиторий p6 для работы, а для
> вычислений использую nVidia CUDA.
> Как показывает мой опыт, для того, чтобы CUDA нормально у меня
> устанавливалась, мне необходимо ставить их драйвер, который лежит у
> них на сайте (http://developer.nvidia.com/cuda-toolkit-40).
> Во всех ранее проходивших моих обновлениях приходилось
> перекомпилировать драйвер.
> Это немного раздражало, но не сильно напрягало.
>
> Однако сегодня я решил, что пора обновлять ядро (последнее стоявшее --
> 2.6.38-alt8.1) и установил текущее
> kernel-image-std-def-3.0.4-alt0.M60P.2
> И вот тут я получил проблему, так как драйвер отказался собираться по причине
> =================== /var/log/nvidia-installer.log ====================
> Using: nvidia-installer ncurses user interface
> -> License accepted.
> -> Installing NVIDIA driver version 270.41.19.
> -> There appears to already be a driver installed on your system (version: 270.
> 41.19). As part of installing this driver (version: 270.41.19), the existin
> g driver will be uninstalled. Are you sure you want to continue? ('no' will
> abort installation) (Answer: Yes)
> -> Performing CC sanity check with CC="cc".
> -> Performing CC version check with CC="cc".
> -> Kernel source path: '/lib/modules/3.0.4-std-def-alt0.M60P.2/build'
> -> Kernel output path: '/lib/modules/3.0.4-std-def-alt0.M60P.2/build'
> ERROR: If you are using a Linux 2.4 kernel, please make sure
> you either have configured kernel sources matching your
> kernel or the correct set of kernel headers installed
> on your system.
>
> If you are using a Linux 2.6 kernel, please make sure
> you have configured kernel sources matching your kernel
> installed on your system. If you specified a separate
> output directory using either the "KBUILD_OUTPUT" or
> the "O" KBUILD parameter, make sure to specify this
> directory with the SYSOUT environment variable or with
> the equivalent nvidia-installer command line option.
>
> Depending on where and how the kernel sources (or the
> kernel headers) were installed, you may need to specify
> their location with the SYSSRC environment variable or
> the equivalent nvidia-installer command line option.
> 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.
> =====================================================
>
> Попытки поставить исходники (зачем? на ядрах 2.6 этот же драйвер их у
> меня не требовал), а также скормить через параметры установки пути к
> исходникам и заголовкам ни к чему новому не привели.
>
> Очень прошу консультации о правильных действиях, которые мне
> необходимо предпринять.
>
> Спасибо!
Рецепт был где-то на сайте федоры.
http://forums.fedoraforum.org/showthread.php?t=268382
+
при инсталяции драйвера от Нвидии делал ним апдейт: при инсталяции он
конектится к их оф.сайту и что-то последнее скачивает (хотя я руками
скачивал последнюю версию). После чего все ок.
У меня работает CUDA на
.[andriy@Andriy ~]$ uname -a
Linux Andriy.localdomain 3.0.4-std-def-alt1 #1 SMP Wed Aug 31 07:24:16
UTC 2011 x86_64 GNU/Linux
next prev parent reply other threads:[~2011-09-28 7:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-28 5:16 Константин Михайленко
2011-09-28 7:06 ` andriy [this message]
2011-09-28 8:02 ` Константин Михайленко
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E82C770.2070206@gmail.com \
--to=l.andriy@gmail.com \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git