X not working on kernel 2.6.24.5-grsec
Posted: Sat May 03, 2008 9:52 pm
Hello everyone, first of all I'd like to congratulate the development team for doing such a good work.
Second of all, I'd like to ask if someone had similar problems to mines.
I'm running a Debian 4.0 system mostly for desktop use with a 2.6.18-6 kernel. I downloaded the 2.6.24.5 archive, patched it with grsec, and compiled + installed it.
Everything is fine, I can boot it, but I have some problems after. I'm running virtualbox on this system which has a few modules at startup to provide networking to the VM's and other features. I get a *modprobe failed, check dmesg for more info on the new kernel, but that's not my problem. I have a Nvidia GeForce 8500 GT video card which works perfectly under the 2.6.18 with Nvidia's drivers (installed with Envy - http://www.albertomilone.com/nvidia_scripts1.html ). As soon as X is trying to start, I get errors containing: "dlopen: cannot enable executable stack as shared object requires" for nvidia's .so, libglx.so and a few others. I have tried chpax -sprm'ing them but that didn't work, no change at all. Also I noticed that when i tried to launch the widely known Lynx browser I get the same error for liblz.so.1. My question is what's causing it and how could I fix it ? Do I need to disable any grsec policies ?
I have attached my config for the 2.6.24 kernel, it's mostly a make oldconfig + the new stuff I was prompted for, including grsec..
http://pastebin.com/m6c52cb85
EDIT1: I have disabled PAX_MPROTECT feature in the kernel config, rebuilt it and the same problem...so it's not a mprotect issue.
Thanks in advance.
Second of all, I'd like to ask if someone had similar problems to mines.
I'm running a Debian 4.0 system mostly for desktop use with a 2.6.18-6 kernel. I downloaded the 2.6.24.5 archive, patched it with grsec, and compiled + installed it.
Everything is fine, I can boot it, but I have some problems after. I'm running virtualbox on this system which has a few modules at startup to provide networking to the VM's and other features. I get a *modprobe failed, check dmesg for more info on the new kernel, but that's not my problem. I have a Nvidia GeForce 8500 GT video card which works perfectly under the 2.6.18 with Nvidia's drivers (installed with Envy - http://www.albertomilone.com/nvidia_scripts1.html ). As soon as X is trying to start, I get errors containing: "dlopen: cannot enable executable stack as shared object requires" for nvidia's .so, libglx.so and a few others. I have tried chpax -sprm'ing them but that didn't work, no change at all. Also I noticed that when i tried to launch the widely known Lynx browser I get the same error for liblz.so.1. My question is what's causing it and how could I fix it ? Do I need to disable any grsec policies ?
I have attached my config for the 2.6.24 kernel, it's mostly a make oldconfig + the new stuff I was prompted for, including grsec..
http://pastebin.com/m6c52cb85
EDIT1: I have disabled PAX_MPROTECT feature in the kernel config, rebuilt it and the same problem...so it's not a mprotect issue.
Thanks in advance.