View previous topic :: View next topic |
Author |
Message |
aka.doode n00b
Joined: 16 May 2005 Posts: 45 Location: Sweden
|
Posted: Thu Jun 23, 2005 3:53 pm Post subject: Hardened X.org: Blank screen, IO error 104 [SOLVED] |
|
|
Yes, I have searched the forums, and read quite a lot of the posts but I just haven't found a solution to this.
So I re-installed gentoo (stage1), with hardened flags in make.conf and used gentoo-sources-2.6.11-hardened-r14. At first I got lots of ELF errors when doing a "startx", but after having emerged x11 with "dlloader" this wasn't a problem. But would X.org load? Nope. All I get is a blank screen, with a text cursor flashing.
New flags used during this re-installation:
Code: | CFLAG -fstack-protector-all, USE hardened pic dlloader (for x11) |
nvidia-kenerl and nvidia-glx are installed, nvidia module is loaded, opengl-update nvidia has been run and the xorg.config is correct AFAIK.
The error I get is:
Code: | XIO: fatal IO error 104 (Connection reset by peer) on X server ":0:0"
after 0 requests (0 known processed) with 0 events remaining. |
The only error in Xorg.0.log is this:
Code: | (WW) Open APM failed (/dev/apm_bios) (no such file or directory) |
Is that error really the problem? It seems unlikely.. Any ideas?
"And I would do anything for you..." (almost) if you could help me with this *sighs*
Last edited by aka.doode on Tue Jun 28, 2005 1:47 pm; edited 1 time in total |
|
Back to top |
|
|
aka.doode n00b
Joined: 16 May 2005 Posts: 45 Location: Sweden
|
Posted: Thu Jun 23, 2005 5:32 pm Post subject: |
|
|
Had I been a Good Human Being I would have remembered to disable some of the flags on /usr/bin/Xorg using paxctl. I have done that now, and although X.org still won't load, the error message is now somewhat more clear, and there's no blank screen.
Code: | Fatal server error:
Caught on signal 11. Server aborting.
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0:0"
after 0 requests (0 known processed) with 0 events remaining. |
Time for some forum searching! |
|
Back to top |
|
|
aka.doode n00b
Joined: 16 May 2005 Posts: 45 Location: Sweden
|
Posted: Tue Jun 28, 2005 1:46 pm Post subject: |
|
|
After having compiled X.org using the "static" flag, and then realized that the nvidia driver doesn't work at all with hardened gentoo (right now/then) I wiped the disk and reinstalled again, without hardened flags/kernel. I'll just wait until things are a bit more mature. |
|
Back to top |
|
|
didl Retired Dev
Joined: 09 Sep 2003 Posts: 1106 Location: Pittsburgh, PA
|
Posted: Tue Jun 28, 2005 2:00 pm Post subject: |
|
|
Xorg and hardened work just fine for me
Admittedly, I don't use the binary nvidia drivers, hence I don't know about
how well they play with hardened at the moment.
In any case, make sure to NOT disable privileged I/O, otherwise
Xorg won't be happy.
Code: |
# CONFIG_GRKERNSEC_IO is not set
|
Your initial error looks like it was caused by exactly this. |
|
Back to top |
|
|
|
|
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
|
|