I need a method or procedure to avoid kernel panics on my mac os x lion machine. Though all the softwares on my machine are upto date and there are no external disks connected to my machine, but why the kernel panics are caused in my machine. How to troubleshoot this and how to fix this permanently? Due to this, am unable to turn off my mac system in short time. Please provide a fix. Thank you.