1 = He had no knowledge of who knew him, and who didn't.
2 = He might have had knowledge of who knew him and who didn't, if he had paid attention to this, but at this time, he did not notice.
Perhaps he was too preoccupied by other thoughts to turn his attention to this distinction.