LinuxForum.Fans
Тема

Gentoo Linux 12.1 LiveDVD

Автор: amid88 387 сообщений 36734 просмотров
#255906

Видео Intel, интегрированная, нетбук HP5101: дрова не собирал.

ut4nj@ut4nj-laptop:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 01)
08:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
20:00.0 Ethernet controller: Marvell Technology Group Ltd. Device 436c (rev 10)



make.conf

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
USE="nls"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
LINGUAS="ru"
VIDEO_CARDS="vesa fbdev intel v41"
ALSA_CARDS="hda-intel"
ACCEPT_KEYWORDS="x86"
INPUT_DEVICES="synaptics mouse keyboard evdev"
#CFLAGS="-march=atom -mtune=atom -mssse3 -mfpmath=sse -O2 -fomit-frame-pointer"

#255907

xorg.conf нет, создал пустой.

#255923

сделал # Xorg -configure, появилось сообщение open /dev/fb0 No such file or directory.

сделал X -config /root/xorg.conf.new , вверху на экране появились красные круги неправильной формы и все.

#255927

Видимо у меня не верно прописаны строчки в make.conf:

VIDEO_CARDS="vesa fbdev intel v41"
INPUT_DEVICES="synaptics mouse keyboard evdev"

Как мне удалить Х-сы и xfce, а затем исправить make.conf и уже по новой установить Х-сы?
И что указать в этих строчках?

#255931
"amid88" написал:
Как мне удалить Х-сы и xfce, а затем исправить make.conf и уже по новой установить Х-сы?

Не надо ничего удалять, просто измени строчки в make.conf и:

text
# emerge -avuDN system world
#255938

Чем отличается xorg-x11 от xorg-server?
При вводе команд emerge -pv xorg-x11 и emerge -pv xorg-server
я получаю разные выводы, первый для установки требует 68 пакетов, а второй установлен, какой мне нужен?

#255939
"amid88" написал:
Чем отличается xorg-x11 от xorg-server

xorg-x11 много лишнего поставит.

#255947
"amid88" написал:
Как мне удалить Х-сы и xfce, а затем исправить make.conf и уже по новой установить Х-сы?

Зачем удалять?

text
VIDEO_CARDS="vesa intel"
INPUT_DEVICES="synaptics evdev"

Затем

text

emerge -auDNv world
emerge -av --depclean

С последней командой осторожнее!

#256033

Благодарю, отпишусь.

#256038
"Lupo Alberto" написал:
VIDEO_CARDS="vesa intel"
INPUT_DEVICES="synaptics evdev"
Затем
emerge -auDNv world
emerge -av --depclean

Все выполнил, ничего не поменялось, после : X -config /root/xorg.conf.new
Х-сы не запустились, вышел в консоль, там 3 ошибки:

(EE) Query no Synaptics: 6003C8
(EE) SynPS/2 Synaptics TouchPad Unable to query/initialize Synaptics hardware
(EE) PreInit returned 11 for "SynPS/2 Synaptics TuchPad"

#256039
"amid88" написал:
Все выполнил, ничего не поменялось, после : X -config /root/xorg.conf.new

Покажите полученный файл.
P.S. Боюсь показаться навязчивым, но вы пробовали мой конфигурационный файл?

#256040
Показать
text

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/misc/" FontPath "/usr/share/fonts/TTF/" FontPath "/usr/share/fonts/OTF/" FontPath "/usr/share/fonts/Type1/" FontPath "/usr/share/fonts/100dpi/" FontPath "/usr/share/fonts/75dpi/" EndSection

Section "Module" Load "record" Load "dri2" Load "glx" Load "dbe" Load "dri" Load "extmod" EndSection

Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection

Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5 6 7" EndSection

Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection

Section "Monitor" Identifier "Monitor1" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection

Section "Device" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz", ### <percent>: "<f>%" ### [arg]: arg optional #Option "DRI" # [<bool>] #Option "ColorKey" # <i> #Option "VideoKey" # <i> #Option "FallbackDebug" # [<bool>] #Option "Tiling" # [<bool>] #Option "LinearFramebuffer" # [<bool>] #Option "Shadow" # [<bool>] #Option "SwapbuffersWait" # [<bool>] #Option "TripleBuffer" # [<bool>] #Option "XvMC" # [<bool>] #Option "XvPreferOverlay" # [<bool>] #Option "DebugFlushBatches" # [<bool>] #Option "DebugFlushCaches" # [<bool>] #Option "DebugWait" # [<bool>] #Option "HotPlug" # [<bool>] #Option "RelaxedFencing" # [<bool>] Identifier "Card0" Driver "intel" BusID "PCI:0:2:0" EndSection

Section "Device" ### Available Driver options are:- ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", ### <string>: "String", <freq>: "<f> Hz/kHz/MHz", ### <percent>: "<f>%" ### [arg]: arg optional #Option "ShadowFB" # [<bool>] #Option "DefaultRefresh" # [<bool>] #Option "ModeSetClearScreen" # [<bool>] Identifier "Card1" Driver "vesa" BusID "PCI:0:2:0" EndSection

Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection

Section "Screen" Identifier "Screen1" Device "Card1" Monitor "Monitor1" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection

Ваш конфигурационный файл еще вчера пробовал, результат тот же.

#256041

Покажите

text
qlist -I -C x11-drivers/

P.S. qlist — утилита из пакета app-portage/portage-utils.

Если не лень, покажите /var/log/Xorg.0.log после загрузки с моим конфигурационным файлом.
То есть попробуйте так:

text

emerge -av twm xterm

Теперь от пользователя

text

[ -f ~/.xinitrc ] && mv ~/.xinitrc{,.old}; echo -e 'xterm &\nexec twm' > ~/.xinitrc
text

startx

...и после этого покажите /var/log/Xorg.0.log

#256044
"Lupo Alberto" написал:
Теперь от пользователя
[ -f ~/.xinitrc ] && mv ~/.xinitrc{,.old}; echo -e 'xterm &\nexec twm' > ~/.xinitrc

Я пользователя еще не создавал, пока все от рута.

#256046
"amid88" написал:
Я пользователя еще не создавал, пока все от рута.

Можно и от root'а, но!... если нет возможности скопировать команду, просто создайте в каталоге /root файл .xinitrc следующего содержания

text

xterm &
exec twm
#256048

Прошу прощения, не получается, Gentoo сейчас без интернета, а надо emerge -av twm xterm, требует несколько пакетов, которых в моих distfiles нет.

А если я скопирую ваш xorg.conf в /root/xorg.conf.new и затем выполню X -config /root/xorg.conf.new ?

#256050
"amid88" написал:
А если я скопирую ваш xorg.conf в /root/xorg.conf.new и затем выполню X -config /root/xorg.conf.new ?

Так проще уж сразу в /etc/X11/xorg.conf.
Если после запуска

text

startx

останется только чёрный экран, попробуйте выйти обратно в консоль по Ctrl+Alt+←.

#256055

Все выполнил, Х-сы не загрузились, даже не было как раньше, вверху экрана цветных кругов, вывелись ошибки и автоматом вышел в консоль, что теперь лог выложить?

#256056
"amid88" написал:
что теперь лог выложить?

Да

Войдите или зарегистрируйтесь, чтобы ответить.