Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 761  / 1 Year 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

 Answers
6

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.


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

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

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