Kernel panics are caused by a number of things. Hardware is usually suspect, but also bad or misbehaving software can do the same thing. If your machine is getting constant kernel panics (won't boot at all, not even in safe mode) then you can probably suspect a hardware problem.
Regards.