3 in 1 nv + bluetooth + testing

Автор blakcat, 27 февраля 2012, 18:14:39

« назад - далее »

0 Пользователи и 1 гость просматривают эту тему.

blakcat

Всем доброго дня уважаемые, у меня сразу три проблемы, две из которых с железом, поэтому я решил все объединить в один топик.
1)nvidia
Имею карту от nvidia, ни один из вариантов предложенных в FAQ мне почему то не подошел, иксы или ложатся или не устанавливается.
самым ожидаемым вышел sgfxi но и там проблемы, вот лог
Открыть содержимое (спойлер)
=========================================================
START sgfxi LOGGING:
=========================================================
Script started: 2012-02-27-05:15:34
Video Card Information: nVidia Corporation C61 [GeForce 6100 nForce 405] (rev a2)
Video Card Type: 10de
Video Card Number: 03d1
Xorg Version: 1.7
Installing driver to kernel: 2.6.32-5-686
sgfxi script version: 4.17.80
sgfxi start options:
SYSTEM_BASE: debian
SYSTEM_CODENAME: stable
DISTRIB_CODENAME: stable
DISTRIB_ID: debian
DISTRIB_RELEASE:
FG_DISTRIB_CODENAME: squeeze
FG_DISTRIB_ID: Debian
APT_TYPE: apt-get
=========================================================
X is Running: true
Current Runlevel: 2
Connection is live (0=true): 0
=========================================================
INSTALL_TO_KERNEL:
KERNEL_FULL: 2.6.32-5-686
KERNEL_BASE: 2.6
KERNEL_NUMBER: 2.6.32
KERNEL_MATH: 32
B_IS_XEN: false
Function: create_x_conf - Primary: Start
  xorg is present with xorg.conf file
Function: create_x_conf - Primary: End
Function: check_package_manager_updated - Utility: Start
  sizeWorking: 15
Function: check_package_manager_updated - Utility: End
Function: check_supported_driver - Utility: Start
Function: check_supported_driver - Utility: End
Function: set_cpu_data - Utility: Start
  BITS: 32 - arch:
Function: set_cpu_data - Utility: End
Function: set_driver_install_version - Primary: Start
Function: check_supported_driver - Utility: Start
  Args: last-check
Function: check_supported_driver - Utility: End
Function: print_information_continue - Utility: Start
  Args: standard The graphics installer will be installing the nvidia driver: 295.20
Function: print_information_continue - Utility: End
  Installing this driver: 295.20
Function: set_driver_install_version - Primary: End
Function: driver_support_tests - Utility: Start
  Args: supported-driver
Function: driver_support_tests - Utility: End
Function: check_kernel_headers - Utility: Start
Function: check_package_status - Utility: Start
  Args: linux-headers-2.6.32-5-686 i
  Package Version: (none)
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: linux-headers-2.6.32-5-686 c
  Package Version: 2.6.32-41
Function: check_package_status - Utility: End
  headerName: linux-headers-2.6.32-5-686
headerInstalled: (none)
headerAvailable: 2.6.32-41
headerFile:
Function: check_kernel_headers - Utility: End
Function: check_run_package_tools - Primary: Start
Function: check_run_package_tools - Primary: End
Function: set_download_info - Primary: Start
  download url: ftp://download.nvidia.com/XFree86/Linux-x86/295.20/ - driver file: NVIDIA-Linux-x86-295.20
Function: set_download_info - Primary: End
Function: test_module_build_ok - Primary: Start
  Args: return
Function: list_installed_packages - Utility: Start
  Args: nvidia (modalias|libvdpau)
  packageList:
Function: list_installed_packages - Utility: End
  returnValue: 3
Error Data: No Installed Nvidia:
Function: download_extract_driver - Primary: Start
  Args: ftp://download.nvidia.com/XFree86/Linux-x86/295.20/ NVIDIA-Linux-x86-295.20
Function: pre_extract_clean_set_up - Utility: Start
  Args: NVIDIA-Linux-x86-295.20
Function: pre_extract_clean_set_up - Utility: End
Creating directory NVIDIA-Linux-x86-295.20
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 295.20...
Function: download_extract_driver - Primary: End
  Function: set_install_directory - set to: /usr/src/sgfxi-downloads/NVIDIA-Linux-x86-295.20
Function: run_driver_patches - Primary: Start
Function: misc_fixes - Utility: Start
  Args: linux-generated-patch
  outcome: /usr/src/2.6.32-5-686/include/generated/ or /lib/modules/2.6.32-5-686/build/include/generated/ do not exist
Function: misc_fixes - Utility: End
Function: run_driver_patches - Primary: End
Function: x_start_stop_master - Primary: Start
  Args: stop
Function: start_stop_x - Utility: Start
  Args: stop
  default runlevel: 2
current runlevel: 2
  dmanCommand: service gdm3 stop
Function: x_is_running - Utility: Start
  xIsRunning: true
Function: x_is_running - Utility: End
  Final X kill reports worked: true
Function: x_is_running - Utility: Start
  xIsRunning: false
Function: x_is_running - Utility: End
Function: start_stop_x - Utility: End
Function: x_start_stop_master - Primary: End
Function: check_driver_install_tools - Primary: Start
Function: check_package_status - Utility: Start
  Args: module-assistant i
  Package Version: (none)
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: build-essential i
  Package Version: 11.5
Function: check_package_status - Utility: End
Function: check_driver_install_tools - Primary: End
Function: prep_install - Primary: Start
Function: prep_install - Primary: End
Function: preinstall_cleanup - Primary: Start
  Pre Remove: nvidia.ko files:

Function: list_installed_packages - Utility: Start
  Args: nvidia (modalias|libvdpau|nvidia-bl-dkms|nvidia-cg-toolkit)
  packageList:
Function: list_installed_packages - Utility: End
  Post Purge/Remove: nvidia.ko files:

Function: remove_module - Primary: Start
  Args: nvidia
  operation outcome: unset
Function: remove_module - Primary: End
Function: remove_module - Primary: Start
  Args: nouveau
  operation outcome: unset
Function: set_modesetting_off - Primary: End
Function: add_grub_nomodeset_blacklist_item - Utility: Start
  Args: nouveau
Function: get_active_grub_files - Utility: Start
  grub files:  /boot/grub/grub.cfg /etc/default/grub
Function: get_active_grub_files - Utility: End
Function: add_grub_nomodeset_blacklist_item - Utility: End
Function: add_modprobe_d_blacklist_item - Utility: Start
  Args: nouveau
Function: add_modprobe_d_blacklist_item - Utility: End
Function: set_modesetting_off - Primary: Start
  Args: nouveau unset
Function: remove_module - Primary: End
Function: list_installed_packages - Utility: Start
  Args: fglrx modalias
  packageList:
Function: list_installed_packages - Utility: End
Function: remove_module - Primary: Start
  Args: fglrx
  operation outcome: unset
Function: remove_module - Primary: End
Function: clean_dkms - Primary: Start
Function: clean_dkms - Primary: End
Function: preinstall_cleanup - Primary: End
Function: run_driver_installer - Primary: Start
  driver: 295.20

ERROR: Unable to find the kernel source tree for the currently running
       kernel.  Please make sure you have installed the kernel source files
       for your kernel and that they are properly configured; on Red Hat
       Linux systems, for example, be sure you have the 'kernel-source' or
       'kernel-devel' RPM installed.  If you know the correct kernel source
       files are installed, you may specify the kernel source path with the
       '--kernel-source-path' 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.

Function: apply_module_patch - Primary: Start
  Args: post
Function: apply_module_patch - Primary: End
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Error logs from nvidia install:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Feb 27 05:15:40 2012
installer version: 295.20

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

nvidia-installer command line:
    ./nvidia-installer
    -s
    -N
    --x-module-path=/usr/lib/xorg/modules
    --x-library-path=/usr/lib
    -k
    2.6.32-5-686

Using built-in stream user interface
-> License accepted by command line option.
-> Installing NVIDIA driver version 295.20.
-> Not probing for precompiled kernel interfaces.
-> Performing CC sanity check with CC="/usr/bin/gcc-4.3".
ERROR: Unable to find the kernel source tree for the currently running kernel.  Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed.  If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' 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.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  ERROR: (245) The nvidia installer exited with the error: 1
A copy of this driver installer error log is also here: /var/log/sgfxi/sgfxi.log
[свернуть]
2) звук.
немного пошаманил с bluetooth наушниками, звук вроде есть, но есть везде кроме браузера. Если ставить Alsa для обычной звуковухи то звук на колонки дает, но если давать звук на pulse (только через него работают наушники) то звук есть везде кроме бразера
3)в конце концов объясните как обновиться до testing, поставил реп, но после apt-get dist-upgrade открываться текстовый документ
Открыть содержимое (спойлер)
eglibc (2.13-25) unstable; urgency=medium

Starting with the eglibc package version 2.13-5, the libraries are
shipped in the multiarch directory /lib/<triplet> instead of the more
traditional /lib, where <triplet> is the multiarch triplet and can be
retrieved with 'dpkg-architecture -qDEB_HOST_MULTIARCH'. Similarly the
includes are now shipped in /usr/include/<triplet> instead of the more
traditional /usr/include.

The toolchain in Debian has been updated to cope with that, and most
build systems should be unaffected. If you are using a non-Debian
toolchain to build your software and it is not able to cope with
multiarch, you might try to pass the following options to your
compiler:

-B/usr/lib/<triplet> -I/usr/include/<triplet>
[свернуть]
и далее по списку, видимо я чтото не понимаю как делать. В чем трабла?
Заранее спасибо за ответы

Malaheenee

Вообще, так делать не стоит. Один вопрос - одна тема. Легче потом будет разобраться идущим по Вашим следам.
Все мы где-то, когда-то и в чем-то были новичками.

Udachnik

По поводу sgfxi - почитай возможные проблемы, особенно третий пункт.

blakcat

Malaheenee, да, но так же и вам проще и мне
Udachnik,  прочитал, сделал как написано, ничего хорошего из этого не вышло

vladimir_ar

Цитата: blakcat от 27 февраля 2012, 18:58:43ничего хорошего из этого не вышло
А что вышло? Вам так мало помогут, если вы информации не даете. С сайта нвидиа дрова ставили?
Debian Testing, kernel 3.16-2-amd64, OpenBox
AMD A8-3750 / 16Gb RAM / ATI HD6550D (onboard) / Sound ASUS Xonar - DS
_______________________________
Debian Testing, kernel 3.14-2-amd64, OpenBox
HP-655 AMD E1 / 8Gb RAM / ATI HD7310M

ihammers

Цитата: blakcat от 27 февраля 2012, 18:14:39
...
3)в конце концов объясните как обновиться до testing, поставил реп, но после apt-get dist-upgrade открываться текстовый документ
Открыть содержимое (спойлер)
eglibc (2.13-25) unstable; urgency=medium

Starting with the eglibc package version 2.13-5, the libraries are
shipped in the multiarch directory /lib/<triplet> instead of the more
traditional /lib, where <triplet> is the multiarch triplet and can be
retrieved with 'dpkg-architecture -qDEB_HOST_MULTIARCH'. Similarly the
includes are now shipped in /usr/include/<triplet> instead of the more
traditional /usr/include.

The toolchain in Debian has been updated to cope with that, and most
build systems should be unaffected. If you are using a non-Debian
toolchain to build your software and it is not able to cope with
multiarch, you might try to pass the following options to your
compiler:

-B/usr/lib/<triplet> -I/usr/include/<triplet>
[свернуть]
...
Достаточно нажать "q" и продолжиться обновление, но для начала обновите существующую систему. 

Покажите вывод: cat /etc/apt/sources.list
Debian GNU/Linux Bookworm, LXQt/OpenBox: AMD Ryzen 5 5600G / 64Gb RAM
_______________________________
Debian GNU/Linux Bookworm, без графики: AMD Phenon X4 / 16Gb RAM
_______________________________
Debian GNU/Linux Bookworm, LXQt/OpenBox: Acer Aspire One 722 AMD C60 / 8Gb RAM / ATI HD6290

Udachnik

Цитата: blakcat от 27 февраля 2012, 18:58:43Udachnik,  прочитал, сделал как написано, ничего хорошего из этого не вышло
Все так же пишет?
ЦитироватьUnable to find the kernel source tree for the currently running kernel
?
Это происходит потому что нет заголовочных файлов ядра. Установка linux-headers должна решать эту проблему. Хотя можно попробовать руками установить пакет module-assistant, хотя буквально три дня назад (обновлял драйвер до 295.20) он у меня устанавливался автоматически

blakcat

Udachnik, уважаемый, я же целый лог скинул, ошибка все та же
ERROR: (245) The nvidia installer exited with the error: 1

vladimir_ar, все та же ошибка. С сайта не пробовал, пробовал руками с менеджера пакетов, но у меня просто отвалились иксы.

ihammers,
Открыть содержимое (спойлер)
# Debian repository
deb http://ftp.ru.debian.org/debian/ squeeze main non-free contrib
deb-src http://ftp.ru.debian.org/debian/ squeeze main non-free contrib

    # Security fixes
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

    # Debian updates
deb http://ftp.debian.org/debian squeeze-updates main contrib non-free
deb-src http://ftp.debian.org/debian squeeze-updates main contrib non-free

    # Backports
deb http://backports.debian.org/debian-backports squeeze-backports main non-free contrib
deb-src http://backports.debian.org/debian-backports squeeze-backports main non-free contrib
deb http://ftp.debian.org/debian testing main contrib non-free
[свернуть]

Цитата: ihammers от 27 февраля 2012, 20:53:37

Достаточно нажать "q"
не работает

duletant

Все-таки хотелось бы увидеть наличие linux-headers. покажите вывод
aptitude show linux-headers-$(uname -r)

ihammers

Цитата: blakcat от 28 февраля 2012, 07:29:23
...
Цитата: ihammers от 27 февраля 2012, 20:53:37
Достаточно нажать "q"
не работает
Странно...

Когда будешь обновлять систему до testing, то замени на следующие строки:

### Wheezy
deb http://ftp.ru.debian.org/debian wheezy main contrib non-free
deb-src http://ftp.ru.debian.org/debian wheezy main contrib non-free
deb http://security.debian.org/debian-security wheezy/updates main contrib non-free
deb-src http://security.debian.org/debian-security wheezy/updates main contrib non-free
Debian GNU/Linux Bookworm, LXQt/OpenBox: AMD Ryzen 5 5600G / 64Gb RAM
_______________________________
Debian GNU/Linux Bookworm, без графики: AMD Phenon X4 / 16Gb RAM
_______________________________
Debian GNU/Linux Bookworm, LXQt/OpenBox: Acer Aspire One 722 AMD C60 / 8Gb RAM / ATI HD6290

blakcat

#10
duletant,
Открыть содержимое (спойлер)
Пакет: linux-headers-2.6.32-5-686               
Состояние: не установлен
Версия: 2.6.32-41
Приоритет: необязательный
Раздел: kernel
Сопровождающий: Debian Kernel Team <debian-kernel@lists.debian.org>
Размер в распакованном виде: 6 947 k
Зависимости: linux-headers-2.6.32-5-common (= 2.6.32-41), linux-kbuild-2.6.32,
                        gcc-4.3
Предоставляют: linux-headers, linux-headers-2.6
Описание: Header files for Linux 2.6.32-5-686
This package provides the architecture-specific kernel header files for Linux
kernel 2.6.32-5-686, generally used for building out-of-tree kernel modules.
These files are going to be installed into /usr/src/linux-headers-2.6.32-5-686,
and can be used for building modules that load into the kernel provided by the
linux-image-2.6.32-5-686 package.
[свернуть]
ihammers, сейчас попробую


Сообщение объединено: 28 февраля 2012, 17:30:25

ihammers, добавил, тоже самое

duletant

Цитата: blakcat от 28 февраля 2012, 17:17:16Пакет: linux-headers-2.6.32-5-686               
Состояние: не установлен
Вот источник проблем, как и говорил Udachnik. Вам необходимо выполнить#aptitude install linux-headers-$(uname -r)

blakcat

duletant, сделал, но ничего не изменилось

duletant

#13
Цитата: blakcat от 28 февраля 2012, 18:32:37ничего не изменилось
как не изменилось!?) linux-headers то установили!) уже пол дела... А если серьезно, у меня была схожая проблема, решилась установкой следующих пакетов: linux-headers, binutils, pkg-config, build-essential, xserver-xorg-dev. После установки этих пакетов скрипт sgfxi успешно установил драйвер.

Сообщение объединено: 28 февраля 2012, 18:48:00

Открыть содержимое (спойлер)
Если что-то не так, прошу гуру поправить меня, дабы не вводить в заблуждение человека
[свернуть]

Brainey

Конференция форума в jabber: debianforum@conference.jabber.ru | Клуб кедоводов: kde@conference.jabber.ru