Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HARDENED + xorg-1.5 = ALT, CTRL, SHIFT zwiecha [HALF-SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
ial
Apprentice
Apprentice


Joined: 27 Dec 2008
Posts: 161
Location: Warsaw (Warszawa)

PostPosted: Sat Apr 11, 2009 4:36 pm    Post subject: HARDENED + xorg-1.5 = ALT, CTRL, SHIFT zwiecha [HALF-SOLVED] Reply with quote

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
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sat Apr 11, 2009 6:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
ial
Apprentice
Apprentice


Joined: 27 Dec 2008
Posts: 161
Location: Warsaw (Warszawa)

PostPosted: Sat Apr 11, 2009 7:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
ial
Apprentice
Apprentice


Joined: 27 Dec 2008
Posts: 161
Location: Warsaw (Warszawa)

PostPosted: Sun Apr 12, 2009 1:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Spaulding
Apprentice
Apprentice


Joined: 16 Apr 2006
Posts: 159
Location: /dev/vagina

PostPosted: Sun Apr 12, 2009 10:07 am    Post subject: Reply with quote

[SOLVED] do tematu dodaj.
Back to top
View user's profile Send private message
ial
Apprentice
Apprentice


Joined: 27 Dec 2008
Posts: 161
Location: Warsaw (Warszawa)

PostPosted: Sun Apr 12, 2009 3:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Spaulding
Apprentice
Apprentice


Joined: 16 Apr 2006
Posts: 159
Location: /dev/vagina

PostPosted: Sun Apr 12, 2009 3:07 pm    Post subject: Reply with quote

[HALF-SOLVED]
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sun Apr 12, 2009 9:06 pm    Post subject: Reply with quote

Raczej SOLVED, solucja jest upgrade do xorg-servera 1.6 który jest w _oficjalnym_ overlay'u x11
Back to top
View user's profile Send private message
Qlawy
Apprentice
Apprentice


Joined: 11 Jul 2006
Posts: 200

PostPosted: Mon Apr 13, 2009 7:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Mon Apr 13, 2009 9:23 pm    Post subject: Reply with quote

Nie tylko KMS ale tez GEM. 2.6.29 po prostu dziala.
Back to top
View user's profile Send private message
ial
Apprentice
Apprentice


Joined: 27 Dec 2008
Posts: 161
Location: Warsaw (Warszawa)

PostPosted: Tue Apr 14, 2009 6:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Tue Apr 14, 2009 8:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
ial
Apprentice
Apprentice


Joined: 27 Dec 2008
Posts: 161
Location: Warsaw (Warszawa)

PostPosted: Thu Apr 16, 2009 2:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum