View previous topic :: View next topic |
Author |
Message |
ial Apprentice

Joined: 27 Dec 2008 Posts: 161 Location: Warsaw (Warszawa)
|
Posted: Sat Apr 11, 2009 4:36 pm Post subject: HARDENED + xorg-1.5 = ALT, CTRL, SHIFT zwiecha [HALF-SOLVED] |
|
|
na os o profilu 'hardend' uaktualnilem xorg na 1.5 wraz z driver intel i evedev (mysz i klawiatura chodza poprzez evedev) i system chodzi pieknie gdyby nie dziwny problem, ze jakiekolwiek nacisniecie CTRL, ALT, SHIFT lub CAPSLOCK powoduje zamrozenie systemu, i pozostaje tylko power button...
W /var/log/debug takie nacisniecie oznacza nastepujacy komunikat:
Apr 9 22:26:06 Sea *** stack smashing detected ***: X - terminated
Apr 9 22:26:06 Sea X: stack smashing attack in function XkbHandleActions - terminated
Apr 9 22:26:07 Sea Report to https://bugs.gentoo.org/
Ciekawe, ze jesli uruchomie 'Xorg' zamiast 'startx' to wtedy problem z tymi klawiszami nie wystepuje!
Jeszcze dodam, ze zawsze po zamknieciu Iksow wyskakuje komunikat na konsoli tekstowej:
error setting MTRR (base = 0xd0000000, size = 0x03000000, type = 1) Invalid argument (22)
Czy ktos ma jakies pojecie co to moze byc?
Ten sam problem ktos inny takze opisal tu: https://forums.gentoo.org/viewtopic-t-753782.html
Tylko, ze mnie rekompilacja xorg-server, sterownikow intela, evdev, xinit, libdrm, mesa, xproto i innych, w trybie gcc-vanilla nic nie dalo... 
Last edited by ial on Sun Apr 12, 2009 3:19 pm; edited 1 time in total |
|
Back to top |
|
 |
SlashBeast Retired Dev


Joined: 23 May 2006 Posts: 2922
|
Posted: Sat Apr 11, 2009 6:55 pm Post subject: |
|
|
Skoro to profil hardened to pewnie i kernel hardened, ale sprawdz czy na gentoo-sources (bez grsec i pax) tak samo sie dzieje. |
|
Back to top |
|
 |
ial Apprentice

Joined: 27 Dec 2008 Posts: 161 Location: Warsaw (Warszawa)
|
Posted: Sat Apr 11, 2009 7:03 pm Post subject: |
|
|
SlashBeast wrote: | Skoro to profil hardened to pewnie i kernel hardened, ale sprawdz czy na gentoo-sources (bez grsec i pax) tak samo sie dzieje. |
jesli masz na mysli, ze mam hardened-sources to nie - ja instaluje 'emerge gentoo-sources' |
|
Back to top |
|
 |
ial Apprentice

Joined: 27 Dec 2008 Posts: 161 Location: Warsaw (Warszawa)
|
Posted: Sun Apr 12, 2009 1:45 am Post subject: |
|
|
Chcę Was poinformować, że po zainstalowaniu xorg-server-1.6 problem zniknął! Wszystko teraz chodzi bardzo ładnie i szybko (odpukać). Sam nie wiem czy się cieszyć czy wściekać, że tak długo się męczyłem nad wersją 1.5 - dla mnie gołym okiem widać która z nich jest stabilna...
Tylko jeszcze proszę o wyjaśnienie dlaczego zaleciacie aby xorg-server-1.6 uruchamiać na jądrze gentoo-sources-2.6.29-r1 co jest jeszcze niestabilne? Ja mam ciągle ostatnie stabilne jądro i X chodzi mi dobrze. |
|
Back to top |
|
 |
Spaulding Apprentice


Joined: 16 Apr 2006 Posts: 159 Location: /dev/vagina
|
Posted: Sun Apr 12, 2009 10:07 am Post subject: |
|
|
[SOLVED] do tematu dodaj. |
|
Back to top |
|
 |
ial Apprentice

Joined: 27 Dec 2008 Posts: 161 Location: Warsaw (Warszawa)
|
Posted: Sun Apr 12, 2009 3:00 pm Post subject: |
|
|
Spaulding wrote: | [SOLVED] do tematu dodaj. |
no nie wiem czy [SOLVED] skoro wersja "stabilna" 1.5 nie działa poprawnie a wersja 1.6 która nie jest oznaczona jako stabilna nie wykazuje takiego poważnego buga...
IMHO byłoby [SOLVED] gdyby udało się znaleźć przyczynę i umieć ją usunąć, i to w wersji oficjalnie stabilnej, nie uważacie? |
|
Back to top |
|
 |
Spaulding Apprentice


Joined: 16 Apr 2006 Posts: 159 Location: /dev/vagina
|
Posted: Sun Apr 12, 2009 3:07 pm Post subject: |
|
|
[HALF-SOLVED] |
|
Back to top |
|
 |
SlashBeast Retired Dev


Joined: 23 May 2006 Posts: 2922
|
Posted: Sun Apr 12, 2009 9:06 pm Post subject: |
|
|
Raczej SOLVED, solucja jest upgrade do xorg-servera 1.6 który jest w _oficjalnym_ overlay'u x11 |
|
Back to top |
|
 |
Qlawy Apprentice

Joined: 11 Jul 2006 Posts: 200
|
Posted: Mon Apr 13, 2009 7:34 pm Post subject: |
|
|
ial wrote: | Chcę Was poinformować, że po zainstalowaniu xorg-server-1.6 problem zniknął! Wszystko teraz chodzi bardzo ładnie i szybko (odpukać). Sam nie wiem czy się cieszyć czy wściekać, że tak długo się męczyłem nad wersją 1.5 - dla mnie gołym okiem widać która z nich jest stabilna...
Tylko jeszcze proszę o wyjaśnienie dlaczego zaleciacie aby xorg-server-1.6 uruchamiać na jądrze gentoo-sources-2.6.29-r1 co jest jeszcze niestabilne? Ja mam ciągle ostatnie stabilne jądro i X chodzi mi dobrze. |
ponieważ 2.6.29 ma "poprawnie" działający Kernel Mode Setting |
|
Back to top |
|
 |
SlashBeast Retired Dev


Joined: 23 May 2006 Posts: 2922
|
Posted: Mon Apr 13, 2009 9:23 pm Post subject: |
|
|
Nie tylko KMS ale tez GEM. 2.6.29 po prostu dziala. |
|
Back to top |
|
 |
ial Apprentice

Joined: 27 Dec 2008 Posts: 161 Location: Warsaw (Warszawa)
|
Posted: Tue Apr 14, 2009 6:30 pm Post subject: |
|
|
Po pierwsze, to już zauważyłem problem z xorg-server-1.6, a mianowicie nie chce uruchomić równolegle drugiego trybu graficznego (np. dla innego konta użytkownika). Owszem na konsolę tekstową (Alt+Ctrl+Fn) bez problemu ale jak tam uruchomię startx to "myśli", zwiecha przez 2-3 sekundy aby zakończyć niczym, w /var/log/Xorg.2.log widać m.in. coś takiego:
Code: | (II) [drm] DRM interface version 1.0
(EE) [drm] Could not set DRM device bus ID.
(EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI.
(II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) intel(0): Setting dot clock to 108.0 MHz [ 0x10 0x2 0x20 ] [ 18 4 2 ]
(II) intel(0): chose watermark 0x22210000: (tab.freq 108.0)
(II) intel(0): xf86BindGARTMemory: bind key 8 at 0x00000000 (pgoffset 0)
(WW) intel(0): xf86BindGARTMemory: binding of gart memory with key 8
at offset 0x0 failed (Device or resource busy)
Fatal server error:
AddScreen/ScreenInit failed for driver 0 |
co z tym zrobić?
Po drugie co to jest GEM???
Po trzecie to z tego co widzę http://en.gentoo-wiki.com/wiki/Kernel_Mode_Setting#Kernel_Mode_Setting to KMS ma obsługę tylko dla i915 w tym jądrze? |
|
Back to top |
|
 |
SlashBeast Retired Dev


Joined: 23 May 2006 Posts: 2922
|
Posted: Tue Apr 14, 2009 8:06 pm Post subject: |
|
|
O GEM dowiesz sie przy uzyciu google, co do KMS to i915 to nazwa modulu DRM dla inteli >=i915 czyli 945, 950, 965 i tak dalej.
Sterownik intela nie jest jeszcze wolny od bledow, nie uda Ci sie wystartowac drugiej sesji Xow nawet jak wywalisz load glx, drm itp z xorg.conf. Przy starych xach 1.4.2 i wtedy aktualnym sterowniku intela o ile druga sesja wstawala, to juz bez akceleracji. |
|
Back to top |
|
 |
ial Apprentice

Joined: 27 Dec 2008 Posts: 161 Location: Warsaw (Warszawa)
|
Posted: Thu Apr 16, 2009 2:37 pm Post subject: |
|
|
SlashBeast wrote: | Sterownik intela nie jest jeszcze wolny od bledow, nie uda Ci sie wystartowac drugiej sesji Xow nawet jak wywalisz load glx, drm itp z xorg.conf. Przy starych xach 1.4.2 i wtedy aktualnym sterowniku intela o ile druga sesja wstawala, to juz bez akceleracji. | W typowej pracy to nie jest takie ważne, a szczególnie gdy ktoś zaczyna drugą sesję X-ów, żeby mieć akcelerację 3D. (Do czego to się przydaje poza grami? Do jakichś "3D tour" na portalach turystycznych?) Czy w najbliższej przyszłości można się spodziewać, że będzie możliwość wystartowania 2-giej, 3-ciej itd. sesji graficznej? |
|
Back to top |
|
 |
|