Tuesday, April 21, 2020

i915 Resetting rcs0 for hang on rcs0

Recently I had an issue with linux freezing.
Actually I was trying to run an application based on zoom communicator. When joining a conference I had 48 seconds of freeze interrupted with short periods of responsiveness.
`cat /var/log/kern.log` showed lines with `Resetting rcs0 for hang on rcs0`
Same in dmesg.
Root cause is in the kernel and something is buggy there. Best option would be to fix the issue. Another option is to use older kernel module. I have choosen 3rd - to use older kernel.

`apt install linux-image-5.3.0-40-generic`
 ...
linux-image-5.3.0-40-generic set to manually installed.
 ...
This way grub autoremove shouldn't auto-remove this kernel and I should be able to run linux using this older kernel... a better option would be to use older driver or fix the issue...
Next step:
`sudo editor /etc/defaults/grub`
GRUB_TIMEOUT set to something above default 2 so that you can enter the menu... at the cost of longer startup.
I have 'splash' option so I removed that as well.

Then `sudo grub-set-default 'Ubuntu, with Linux 5.3.0-40-generic'`
followed by update-grub

Then reboot.