Sunday, September 24, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  1] [ 0]  / answers: 1 / hits: 643  / 8 Months ago, sun, february 12, 2023, 1:16:14

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.

More From » xorg


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: but you'll want to redo the kernel rather than grub.

[#44212] Sunday, February 12, 2023, 8 Months  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 39
Total Questions: 106
Total Answers: 117

Location: Finland
Member since Sat, Dec 5, 2020
3 Years ago