Hi, I think the first maybe is better this way: "What do you mean? You don't know?" I think "What do you mean you don't know?" is ok, but I'm not completely sure. I think it means "What do you mean by saying that you don't know?"
- I don't know? - What? What do you mean you don't know? You mean you never did anything like that?