0

Recently I've tried to compile kernel with grsec patch to increase security of my machine. Compilation went even smoothly, but after running new kernel system runs until xserver starts.

Here's tailed dmesg:

[ 43.753694] [drm:radeon_cs_ioctl] ERROR Invalid command stream !
[ 45.917078] Forbidden register 0x4028 in cs at 40
[ 45.917082] [drm:radeon_cs_ioctl] ERROR Invalid command stream !
[ 45.918384] Forbidden register 0x4028 in cs at 40
[ 45.918387] [drm:radeon_cs_ioctl] ERROR Invalid command stream !
[ 45.918654] Forbidden register 0x4028 in cs at 40
[ 45.918656] [drm:radeon_cs_ioctl] ERROR Invalid command stream !

Steps which I've compiled kernel source:
1) instaled needed packages for compiling kernel source
2) downloaded matching kernel version for grsec and unpacked to /usr/src/
3) applied grsec patch
4) copied and loaded config of current kernel from /boot
5) compiled and made .deb package
6) installed and rebooted

Any advice for this problem? I cannot run xserver letting network connect to my wifi network with wpa2.

1
  • You've accepted the answer given but it does not solve your problem, have you solved it yourself or do you still need an answer? Feb 24, 2012 at 10:08

2 Answers 2

1

Did you remove your old kernel from grub? If not, boot into that kernel. (For future reference, leave your old kernel in grub until you try a new kernel.)

Right now, I'd suggest booting from a LiveCD, chrooting, and restoring the default kernel to get you back into your system. It's a similar process to restoring Grub (documented here: https://help.ubuntu.com/community/GRUB2) but you'll want to redo the kernel rather than grub.

1
  • No David, I've left old kernel for backup so I can boot system on old one and works find. I'm wondering whats the problem with -grsec kernel and how to resolve xorg not working properly :)
    – Darj
    Jul 16, 2011 at 6:28
0

Apply: paxctl -c -m /usr/bin/Xorg

http://pax.grsecurity.net/paxctl-0.7.tar.bz2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .