"I did not know no pain" is incorrect sentence because of double negative. Your version "i did not know pain" is correct))) Also "i knew no pain" is possible (Verb "know" is irregular). So, you understood correctly, but the sentence mixed up your thoughts :)