The past two weeks, 3 times my computer has completely frozen (nothing responds and the image is frozen on screen) and the caps lock key's light will be blinking. I think it's a kernel panic but I'm not sure what's causing it.

How do i diagnose what's causing it? What do I look at? Commands? Log files?

openSUSE 42.1
Linux 4.7.2-1
KDE
Lenovo X1 Carbon 4th gen