LINUX.ORG.RU

Какая-то чушь с определением устройств, из-за этого не запускаются иксы в Gentoo.

 ,


0

1
localhost ~ # cat /var/log/Xorg.0.log
[    33.460] 
X.Org X Server 1.13.4
Release Date: 2013-04-17
[    33.463] X Protocol Version 11, Revision 0
[    33.463] Build Operating System: Linux 3.8.13-gentoo i686 Gentoo
[    33.464] Current Operating System: Linux localhost 3.8.13-gentoo #1 SMP Thu Jul 4 20:53:30 EEST 2013 i686
[    33.464] Kernel command line: root=/dev/sda3
[    33.465] Build Date: 09 July 2013  11:32:36PM
[    33.465]  
[    33.466] Current version of pixman: 0.28.0
[    33.467] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    33.467] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    33.471] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 10 12:24:53 2013
[    33.545] (==) Using config file: "/etc/X11/xorg.conf"
[    33.551] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    33.597] (==) ServerLayout "X.org Configured"
[    33.598] (**) |-->Screen "Screen0" (0)
[    33.598] (**) |   |-->Monitor "Monitor0"
[    33.614] (**) |   |-->Device "Card0"
[    33.614] (**) |-->Input Device "Mouse0"
[    33.614] (**) |-->Input Device "Keyboard0"
[    33.614] (==) Automatically adding devices
[    33.614] (==) Automatically enabling devices
[    33.614] (==) Automatically adding GPU devices
[    33.704] (**) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/,
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[    33.704] (**) ModulePath set to "/usr/lib/xorg/modules"
[    33.704] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    33.704] (WW) Disabling Mouse0
[    33.704] (WW) Disabling Keyboard0
[    33.725] (II) Loader magic: 0x826a620
[    33.725] (II) Module ABI versions:
[    33.725] 	X.Org ANSI C Emulation: 0.4
[    33.725] 	X.Org Video Driver: 13.1
[    33.725] 	X.Org XInput driver : 18.0
[    33.725] 	X.Org Server Extension : 7.0
[    33.735] (--) PCI:*(0:0:2:0) 80ee:beef:0000:0000 rev 0, Mem @ 0xe0000000/33554432
[    33.735] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    33.737] Initializing built-in extension Generic Event Extension
[    33.737] Initializing built-in extension SHAPE
[    33.738] Initializing built-in extension MIT-SHM
[    33.739] Initializing built-in extension XInputExtension
[    33.739] Initializing built-in extension XTEST
[    33.740] Initializing built-in extension BIG-REQUESTS
[    33.741] Initializing built-in extension SYNC
[    33.742] Initializing built-in extension XKEYBOARD
[    33.742] Initializing built-in extension XC-MISC
[    33.743] Initializing built-in extension XINERAMA
[    33.744] Initializing built-in extension XFIXES
[    33.744] Initializing built-in extension RENDER
[    33.745] Initializing built-in extension RANDR
[    33.746] Initializing built-in extension COMPOSITE
[    33.747] Initializing built-in extension DAMAGE
[    33.748] Initializing built-in extension MIT-SCREEN-SAVER
[    33.748] Initializing built-in extension DOUBLE-BUFFER
[    33.749] Initializing built-in extension RECORD
[    33.750] Initializing built-in extension DPMS
[    33.750] Initializing built-in extension X-Resource
[    33.751] Initializing built-in extension XVideo
[    33.752] Initializing built-in extension XVideo-MotionCompensation
[    33.753] Initializing built-in extension XFree86-VidModeExtension
[    33.753] Initializing built-in extension XFree86-DGA
[    33.754] Initializing built-in extension XFree86-DRI
[    33.755] Initializing built-in extension DRI2
[    33.755] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    33.755] (II) LoadModule: "glx"
[    33.877] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    33.917] (II) Module glx: vendor="X.Org Foundation"
[    33.917] 	compiled for 1.13.4, module version = 1.0.0
[    33.917] 	ABI class: X.Org Server Extension, version 7.0
[    33.917] (==) AIGLX enabled
[    33.921] Loading extension GLX
[    33.921] (II) LoadModule: "vboxvideo"
[    33.922] (WW) Warning, couldn't open module vboxvideo
[    33.922] (II) UnloadModule: "vboxvideo"
[    33.922] (II) Unloading vboxvideo
[    33.922] (EE) Failed to load module "vboxvideo" (module does not exist, 0)
[    33.922] (EE) No drivers available.
[    33.927] 
Fatal server error:
[    33.927] no screens found
[    33.929] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    33.939] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    33.942] (EE) 
★★★★★
localhost ~ # Xorg -configure

X.Org X Server 1.13.4
Release Date: 2013-04-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.8.13-gentoo i686 Gentoo
Current Operating System: Linux localhost 3.8.13-gentoo #1 SMP Thu Jul 4 20:53:30 EEST 2013 i686
Kernel command line: root=/dev/sda3
Build Date: 09 July 2013  11:32:36PM
 
Current version of pixman: 0.28.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 10 12:28:59 2013
List of video drivers:
	vmware
No devices to configure.  Configuration failed.
Server terminated with error (2). Closing log file.
Amet13 ★★★★★
() автор топика
Ответ на: комментарий от Amet13

У тебя драйверы не собраны.

Написано же:

 List of video drivers:
 vmware

Ты в этом списке видишь fgrlx, radeon, nvidia, nouveau итд? я вот, например, на вижу.

NeverLoved ★★★★★
()
Ответ на: комментарий от NeverLoved

Сие дело на виртуалке. vbox. До обновления «мира» все работало. Сейчас собирается

x11-base/xorg-drivers
x11-drivers/xf86-input-tslib
x11-drivers/xf86-video-virtualbox
x11-drivers/xf86-input-evdev
Так?

Amet13 ★★★★★
() автор топика
Ответ на: комментарий от harm
localhost ~ # cat /etc/portage/make.conf
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
USE="-kde -qt4 -qt3 -samba -acl -ldap -gnome perl smp threads webkit pam ssl gtk doc bash-completion dbus fontconfig python unicode alsa X"
MAKEOPTS="-j3"
LINGUAS="en ru"
AUTOCLEAN="yes"
INPUT_DEVICES="keyboard mouse synaptics evdev virtualbox"
VIDEO_CARDS="vesa virtualbox"
ALSA_CARDS="hda-intel virtualbox"
GENTOO_MIRRORS="rsync://gentoo.kiev.ua/gentoo-distfiles ftp://gentoo.kiev.ua/ http://gentoo.kiev.ua/ftp/ http://gentoo.iteam.net.ua/ ftp://portage.org.ua/ http://portage.org.ua/"
SYNC="rsync://rsync1.ua.gentoo.org/gentoo-portage"
Amet13 ★★★★★
() автор топика
Ответ на: комментарий от NeverLoved

eix -I --only-names -C x11-drivers
покажет установленные пакеты с дровами иксов.

NeverLoved ★★★★★
()
Ответ на: комментарий от NeverLoved

К сожалению ничего не выходит.

>>> Emerging (1 of 4) x11-drivers/xf86-video-virtualbox-4.1.26
 * VirtualBox-4.1.26.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                  [ ok ]
 * Determining the location of the kernel source code
 * Unable to find kernel sources at /usr/src/linux
 * Please make sure that /usr/src/linux points at your running kernel, 
 * (or the kernel you wish to build against).
 * Alternatively, set the KERNEL_DIR environment variable to the kernel sources location
 * Unable to calculate Linux Kernel version for build, attempting to use running version
 * Could not find a usable .config in the kernel source directory.
 * Please ensure that /usr/src/linux points to a configured set of Linux sources.
 * If you are using KBUILD_OUTPUT, please set the environment var so that
 * it points to the necessary object directory so that it might find .config.
 * ERROR: x11-drivers/xf86-video-virtualbox-4.1.26 failed (setup phase):
 *   Kernel not configured; no .config found in 
 * 
 * Call stack:
 *                             ebuild.sh, line  93:  Called pkg_setup
 *   xf86-video-virtualbox-4.1.26.ebuild, line  50:  Called linux-mod_pkg_setup
 *                      linux-mod.eclass, line 562:  Called require_configured_kernel
 *                     linux-info.eclass, line 294:  Called die
 * The specific snippet of code:
 *   		die "Kernel not configured; no .config found in ${KV_OUT_DIR}"
 * 
 * If you need support, post the output of `emerge --info '=x11-drivers/xf86-video-virtualbox-4.1.26'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/xf86-video-virtualbox-4.1.26'`.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.26/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.26/temp/die.env'.
 * Working directory: '/usr/lib/portage/pym'
 * S: '/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.26/work/VirtualBox-4.1.26'

>>> Failed to emerge x11-drivers/xf86-video-virtualbox-4.1.26, Log file:

>>>  '/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.26/temp/build.log'

 * Messages for package x11-drivers/xf86-video-virtualbox-4.1.26:

 * Unable to find kernel sources at /usr/src/linux
 * Unable to calculate Linux Kernel version for build, attempting to use running version
 * Could not find a usable .config in the kernel source directory.
 * Please ensure that /usr/src/linux points to a configured set of Linux sources.
 * If you are using KBUILD_OUTPUT, please set the environment var so that
 * it points to the necessary object directory so that it might find .config.
 * ERROR: x11-drivers/xf86-video-virtualbox-4.1.26 failed (setup phase):
 *   Kernel not configured; no .config found in 
 * 
 * Call stack:
 *                             ebuild.sh, line  93:  Called pkg_setup
 *   xf86-video-virtualbox-4.1.26.ebuild, line  50:  Called linux-mod_pkg_setup
 *                      linux-mod.eclass, line 562:  Called require_configured_kernel
 *                     linux-info.eclass, line 294:  Called die
 * The specific snippet of code:
 *   		die "Kernel not configured; no .config found in ${KV_OUT_DIR}"
 * 
 * If you need support, post the output of `emerge --info '=x11-drivers/xf86-video-virtualbox-4.1.26'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/xf86-video-virtualbox-4.1.26'`.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.26/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.26/temp/die.env'.
 * Working directory: '/usr/lib/portage/pym'
 * S: '/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.26/work/VirtualBox-4.1.26'
В /usr/src у меня пусто.

Amet13 ★★★★★
() автор топика
Ответ на: комментарий от NeverLoved

Прошу прощения, создал новый xorg.conf, иксы запустились. Но не работает awesome. Буду Дальше разбираться.

Oops, an error happened!
/usr/share/awesome/lib/awful/menu.lua:307: attempt to perform arithmetic on field "border_width" (a nil value)

Amet13 ★★★★★
() автор топика
Ответ на: комментарий от fragmentor

Да. Но потом где-то прочел, мол с /usr/src можно удалить все безболезненно для экономии места.

Amet13 ★★★★★
() автор топика
Ответ на: комментарий от NeverLoved

И опять прошу прощения. Баран, что скажешь, неправильный путь прописал в rc.lua. Исправил, все работает. Спасибо за помощь.

Amet13 ★★★★★
() автор топика
Ответ на: комментарий от Amet13

Не надо слушать убунтоидов с гуглоответов.

Исходники ядра в генте нужны для небольшой, но весьма важной группы пакетов: сторонних драйверов (nvidia, vmware, virtualbox), некоторых системных утилит, пакетов виртуализации. Нужно помнить, что в gentoo всё, как правило, собирается из исходников, поэтому то, что в бинарных дистрибутивах называется dev-пакетами и можно безболезненно удалить, в генте - важная часть системы.

fragmentor
()
Ответ на: комментарий от Amet13

не за что, рад был помочь. а вообще emerge gentoo sources, скорми текущий рабочий конфиг ядра и сделай make prepare
а то у тебя туча софта не соберется.

NeverLoved ★★★★★
()
Ответ на: комментарий от Amet13

Amet13

Да. Но потом где-то прочел, мол с /usr/src можно удалить все безболезненно для экономии места.

Так не нужно делать.

blackst0ne ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.