Genesis of chronic pain