I have a sample driver with intentional null pointer access. When I load driver, my ubunut 18.04 with 4.15.0-55-generic kernel is not showing up any stack trace in dmesg or dmesg -w or in /var/log/kern.log file.
I have other Ubuntu system with the same config, where it is not hanging up and it is showing proper kernel oops in dmesg or /var/log/kern.log.
I want to fix the problem exactly what is causing and what setting is making kernel to hang up forever.
I tried reinstallation of linuxcrashdump kdump and kexec-tools. But still problem is there.
Later, I compare with the working Ubuntu and non working Ubuntu. In working system, there is no Linux-crashdump, kdump-tools and kexec-tools.