modprobe: ERROR: could not insert 'i915': No such device.
Posted: Sun Nov 09, 2014 12:01 pm
Please have a look, i'm attempting to compile grsec to work for a desktop system.
Despite having disabled CONFIG_GRKERNSEC_MEM ( restrict /dev/kmem, /dev/mem .... ) the i915 module is still not loading.
modprobe i915
insmod /lib/modules/3.2.64-grsec/kernel/drivers/gpu/drm/i915/i915.ko
modprobe: ERROR: could not insert 'i915': No such device
I'm a bit clueless on how to diagnose this. RBAC is disabled.
sysctl -a | grep pax
kernel.pax.softmode = 1
sysctl -a | grep grsec
kernel.grsecurity.linking_restrictions = 1
kernel.grsecurity.deter_bruteforce = 1
kernel.grsecurity.fifo_restrictions = 1
kernel.grsecurity.ptrace_readexec = 1
kernel.grsecurity.consistent_setxid = 1
kernel.grsecurity.ip_blackhole = 1
kernel.grsecurity.lastack_retries = 4
kernel.grsecurity.rwxmap_logging = 1
kernel.grsecurity.signal_logging = 1
kernel.grsecurity.forkfail_logging = 1
kernel.grsecurity.timechange_logging = 1
kernel.grsecurity.chroot_deny_shmat = 1
kernel.grsecurity.chroot_deny_unix = 1
kernel.grsecurity.chroot_deny_mount = 1
kernel.grsecurity.chroot_deny_fchdir = 1
kernel.grsecurity.chroot_deny_chroot = 1
kernel.grsecurity.chroot_deny_pivot = 1
kernel.grsecurity.chroot_enforce_chdir = 1
kernel.grsecurity.chroot_deny_chmod = 1
kernel.grsecurity.chroot_deny_mknod = 1
kernel.grsecurity.chroot_restrict_nice = 1
kernel.grsecurity.chroot_caps = 1
kernel.grsecurity.chroot_deny_sysctl = 1
kernel.grsecurity.tpe = 1
kernel.grsecurity.tpe_gid = 21005
kernel.grsecurity.tpe_invert = 1
kernel.grsecurity.tpe_restrict_all = 1
kernel.grsecurity.socket_all = 1
kernel.grsecurity.socket_all_gid = 21004
kernel.grsecurity.socket_client = 1
kernel.grsecurity.socket_client_gid = 21003
kernel.grsecurity.socket_server = 1
kernel.grsecurity.socket_server_gid = 21002
kernel.grsecurity.audit_mount = 1
kernel.grsecurity.dmesg = 1
kernel.grsecurity.chroot_findtask = 1
kernel.grsecurity.resource_logging = 1
kernel.grsecurity.harden_ptrace = 1
kernel.grsecurity.harden_ipc = 1
kernel.grsecurity.grsec_lock = 0
kernel.grsecurity.deny_new_usb = 0
kernel.osrelease = 3.2.64-grsec
Despite having disabled CONFIG_GRKERNSEC_MEM ( restrict /dev/kmem, /dev/mem .... ) the i915 module is still not loading.
modprobe i915
insmod /lib/modules/3.2.64-grsec/kernel/drivers/gpu/drm/i915/i915.ko
modprobe: ERROR: could not insert 'i915': No such device
I'm a bit clueless on how to diagnose this. RBAC is disabled.
sysctl -a | grep pax
kernel.pax.softmode = 1
sysctl -a | grep grsec
kernel.grsecurity.linking_restrictions = 1
kernel.grsecurity.deter_bruteforce = 1
kernel.grsecurity.fifo_restrictions = 1
kernel.grsecurity.ptrace_readexec = 1
kernel.grsecurity.consistent_setxid = 1
kernel.grsecurity.ip_blackhole = 1
kernel.grsecurity.lastack_retries = 4
kernel.grsecurity.rwxmap_logging = 1
kernel.grsecurity.signal_logging = 1
kernel.grsecurity.forkfail_logging = 1
kernel.grsecurity.timechange_logging = 1
kernel.grsecurity.chroot_deny_shmat = 1
kernel.grsecurity.chroot_deny_unix = 1
kernel.grsecurity.chroot_deny_mount = 1
kernel.grsecurity.chroot_deny_fchdir = 1
kernel.grsecurity.chroot_deny_chroot = 1
kernel.grsecurity.chroot_deny_pivot = 1
kernel.grsecurity.chroot_enforce_chdir = 1
kernel.grsecurity.chroot_deny_chmod = 1
kernel.grsecurity.chroot_deny_mknod = 1
kernel.grsecurity.chroot_restrict_nice = 1
kernel.grsecurity.chroot_caps = 1
kernel.grsecurity.chroot_deny_sysctl = 1
kernel.grsecurity.tpe = 1
kernel.grsecurity.tpe_gid = 21005
kernel.grsecurity.tpe_invert = 1
kernel.grsecurity.tpe_restrict_all = 1
kernel.grsecurity.socket_all = 1
kernel.grsecurity.socket_all_gid = 21004
kernel.grsecurity.socket_client = 1
kernel.grsecurity.socket_client_gid = 21003
kernel.grsecurity.socket_server = 1
kernel.grsecurity.socket_server_gid = 21002
kernel.grsecurity.audit_mount = 1
kernel.grsecurity.dmesg = 1
kernel.grsecurity.chroot_findtask = 1
kernel.grsecurity.resource_logging = 1
kernel.grsecurity.harden_ptrace = 1
kernel.grsecurity.harden_ipc = 1
kernel.grsecurity.grsec_lock = 0
kernel.grsecurity.deny_new_usb = 0
kernel.osrelease = 3.2.64-grsec