grsecurity vs.Debian vs. NVIDIA 340.96

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

grsecurity vs.Debian vs. NVIDIA 340.96

Postby acf4umpb » Mon Feb 08, 2016 9:03 am

How can I use the graphical interface with the grsecurity?

The following additional packages will be installed:
libgl1-nvidia-glx libgl1-nvidia-glx:i386
The following packages will be upgraded:
libgl1-nvidia-glx libgl1-nvidia-glx:i386
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
12 not fully installed or removed.
Need to get 0 B/14.2 MB of archives.
After this operation, 5,486 kB disk space will be freed.
Do you want to continue? [Y/n] y
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 220844 files and directories currently installed.)
Preparing to unpack .../libgl1-nvidia-glx_352.79-1_amd64.deb ...
De-configuring libgl1-nvidia-glx:i386 (340.96-4) ...
dpkg: error processing archive /var/cache/apt/archives/libgl1-nvidia-glx_352.79-1_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 128
Preparing to unpack .../libgl1-nvidia-glx_352.79-1_i386.deb ...
De-configuring libgl1-nvidia-glx:amd64 (340.96-4) ...
dpkg: error processing archive /var/cache/apt/archives/libgl1-nvidia-glx_352.79-1_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 128
Processing triggers for libc-bin (2.21-7) ...
Processing triggers for glx-alternative-nvidia (0.7.1) ...
Processing triggers for update-glx (0.7.1) ...
Processing triggers for glx-alternative-nvidia (0.7.1) ...
Processing triggers for libc-bin (2.21-7) ...
Processing triggers for initramfs-tools (0.120) ...
update-initramfs: Generating /boot/initrd.img-4.3.4-grsec
E: Sub-process /usr/bin/dpkg returned an error code (1)


Xorg.0.log:

[ 6895.659]
X.Org X Server 1.17.3
Release Date: 2015-10-26
[ 6895.663] X Protocol Version 11, Revision 0
[ 6895.664] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[ 6895.665] Current Operating System: Linux 4.3.4-grsec #1 SMP Mon Jan 25 01:08:32 BRST 2016 x86_64
[ 6895.666] Build Date: 27 October 2015 11:41:02PM
[ 6895.667] xorg-server 2:1.17.3-2 (http://www.debian.org/support)
[ 6895.668] Current version of pixman: 0.33.6
[ 6895.670] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 6895.670] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 6895.675] (==) Log file: "/home/user/.local/share/xorg/Xorg.0.log", Time: Mon Jan 25 13:12:41 2016
[ 6895.676] (==) Using config file: "/etc/X11/xorg.conf"
[ 6895.677] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 6895.677] (==) ServerLayout "Layout0"
[ 6895.677] (**) |-->Screen "Screen0" (0)
[ 6895.677] (**) | |-->Monitor "Monitor0"
[ 6895.677] (**) | |-->Device "Device0"
[ 6895.677] (**) |-->Input Device "Keyboard0"
[ 6895.677] (**) |-->Input Device "Mouse0"
[ 6895.677] (==) Automatically adding devices
[ 6895.677] (==) Automatically enabling devices
[ 6895.677] (==) Automatically adding GPU devices
[ 6895.677] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 6895.677] Entry deleted from font path.
[ 6895.677] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 6895.677] Entry deleted from font path.
[ 6895.677] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/Type1".
[ 6895.677] Entry deleted from font path.
[ 6895.677] (Run 'mkfontdir' on "/usr/share/fonts/X11/Type1").
[ 6895.677] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 6895.677] Entry deleted from font path.
[ 6895.677] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/100dpi,
built-ins
[ 6895.677] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 6895.677] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 6895.678] (WW) Disabling Keyboard0
[ 6895.678] (WW) Disabling Mouse0
[ 6895.678] (II) Loader magic: 0x6873409de0
[ 6895.678] (II) Module ABI versions:
[ 6895.678] X.Org ANSI C Emulation: 0.4
[ 6895.678] X.Org Video Driver: 19.0
[ 6895.678] X.Org XInput driver : 21.0
[ 6895.678] X.Org Server Extension : 9.0
[ 6895.680] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 6895.682] (--) PCI: (0:2:0:0) 10de:0647:106b:00bc rev 161, Mem @ 0xe4000000/16777216, 0xc0000000/268435456, 0xe2000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288
[ 6895.682] (--) PCI:*(0:3:0:0) 10de:0863:106b:00bb rev 177, Mem @ 0xe6000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x00001000/128, BIOS @ 0x????????/131072
[ 6895.682] (II) LoadModule: "glx"
[ 6895.682] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[ 6895.699] (II) Module glx: vendor="NVIDIA Corporation"
[ 6895.699] compiled for 4.0.2, module version = 1.0.0
[ 6895.699] Module class: X.Org Server Extension
[ 6895.699] (II) NVIDIA GLX Module 340.96 Sun Nov 8 22:06:18 PST 2015
[ 6895.699] (II) LoadModule: "nvidia"
[ 6895.699] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 6895.700] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 6895.700] compiled for 4.0.2, module version = 1.0.0
[ 6895.700] Module class: X.Org Video Driver
[ 6895.700] (II) NVIDIA dlloader X Driver 340.96 Sun Nov 8 21:46:28 PST 2015
[ 6895.700] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 6895.700] (++) using VT number 1

[ 6895.700] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 6895.700] (II) Loading sub module "fb"
[ 6895.700] (II) LoadModule: "fb"
[ 6895.700] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 6895.700] (II) Module fb: vendor="X.Org Foundation"
[ 6895.700] compiled for 1.17.3, module version = 1.0.0
[ 6895.700] ABI class: X.Org ANSI C Emulation, version 0.4
[ 6895.700] (WW) Unresolved symbol: fbGetGCPrivateKey
[ 6895.700] (II) Loading sub module "wfb"
[ 6895.700] (II) LoadModule: "wfb"
[ 6895.700] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 6895.700] (II) Module wfb: vendor="X.Org Foundation"
[ 6895.700] compiled for 1.17.3, module version = 1.0.0
[ 6895.700] ABI class: X.Org ANSI C Emulation, version 0.4
[ 6895.700] (II) Loading sub module "ramdac"
[ 6895.700] (II) LoadModule: "ramdac"
[ 6895.700] (II) Module "ramdac" already built-in
[ 6895.706] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 6895.706] (EE) NVIDIA: system's kernel log for additional error messages and
[ 6895.706] (EE) NVIDIA: consult the NVIDIA README for details.
[ 6895.706] (EE) No devices detected.
[ 6895.706] (EE)
Fatal server error:
[ 6895.706] (EE) no screens found(EE)
[ 6895.706] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 6895.706] (EE) Please also check the log file at "/home/user/.local/share/xorg/Xorg.0.log" for additional information.
[ 6895.706] (EE)
acf4umpb
 
Posts: 1
Joined: Mon Feb 08, 2016 8:37 am

Re: grsecurity vs.Debian vs. NVIDIA 340.96

Postby PaX Team » Mon Feb 08, 2016 10:33 am

depending on your kernel configuration, the nvidia driver may need extra patches to work with a grsec kernel (i host them at https://grsecurity.net/~paxguy1/), so you should talk to your distro packager guys.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm


Return to grsecurity support

cron