<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://support.qbpro.ru/index.php?action=history&amp;feed=atom&amp;title=Nvidia_bug</id>
	<title>Nvidia bug - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://support.qbpro.ru/index.php?action=history&amp;feed=atom&amp;title=Nvidia_bug"/>
	<link rel="alternate" type="text/html" href="https://support.qbpro.ru/index.php?title=Nvidia_bug&amp;action=history"/>
	<updated>2026-04-03T23:26:01Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.38.1</generator>
	<entry>
		<id>https://support.qbpro.ru/index.php?title=Nvidia_bug&amp;diff=979&amp;oldid=prev</id>
		<title>imported&gt;Vix: Новая страница: «==Исправление ошибки kernel source для nvidia-installer == Сообщение об ошибке:    &lt;nowiki&gt;ERROR: If you are using a Linux 2.…»</title>
		<link rel="alternate" type="text/html" href="https://support.qbpro.ru/index.php?title=Nvidia_bug&amp;diff=979&amp;oldid=prev"/>
		<updated>2013-09-09T20:23:36Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «==Исправление ошибки kernel source для nvidia-installer == Сообщение об ошибке:    &amp;lt;nowiki&amp;gt;ERROR: If you are using a Linux 2.…»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Исправление ошибки kernel source для nvidia-installer ==&lt;br /&gt;
Сообщение об ошибке:&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;nowiki&amp;gt;ERROR: If you are using a Linux 2.4 kernel, please make sure&lt;br /&gt;
   you either have configured kernel sources matching your&lt;br /&gt;
   kernel or the correct set of kernel headers installed&lt;br /&gt;
   on your system.&lt;br /&gt;
&lt;br /&gt;
   If you are using a Linux 2.6 kernel, please make sure&lt;br /&gt;
   you have configured kernel sources matching your kernel&lt;br /&gt;
   installed on your system. If you specified a separate&lt;br /&gt;
   output directory using either the &amp;quot;KBUILD_OUTPUT&amp;quot; or&lt;br /&gt;
   the &amp;quot;O&amp;quot; KBUILD parameter, make sure to specify this&lt;br /&gt;
   directory with the SYSOUT environment variable or with&lt;br /&gt;
   the equivalent nvidia-installer command line option.&lt;br /&gt;
&lt;br /&gt;
   Depending on where and how the kernel sources (or the&lt;br /&gt;
   kernel headers) were installed, you may need to specify&lt;br /&gt;
   their location with the SYSSRC environment variable or&lt;br /&gt;
   the equivalent nvidia-installer command line option.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Решение:&lt;br /&gt;
*Подправить исходники (nvidia-installer не может прочитать версию ядра)&lt;br /&gt;
 ln -s /usr/src/linux/include/generated/uapi/linux/version.h /usr/src/linux/include/linux/version.h&lt;br /&gt;
*Распаковать бинарник драйверов&lt;br /&gt;
 ./NVIDIA-Linux-x86_64-310.32.bin -x &lt;br /&gt;
*В папке с распакованным установщиком:&lt;br /&gt;
 ./nvidia-installer --kernel-source-path /home/source/kernel/linux-3.7.8&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Как вариант, но не сработало:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#!/bin/sh &lt;br /&gt;
cd /usr/src/linux&lt;br /&gt;
make cloneconfig&lt;br /&gt;
make prepare&lt;br /&gt;
cd /lib/modules/`uname -r`/source/arch/x86/include/&lt;br /&gt;
cp -v generated/asm/unistd*.h ./asm/&lt;br /&gt;
# the last line (below) must contain the correct path and file name&lt;br /&gt;
sh /root/NVIDIA-Linux-x86_64-295.33.run&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Vix</name></author>
	</entry>
</feed>