For me nostalgia always involves a little pain.

Homesickness can be resolved by returning home (although that may not be an acceptable option). Nostalgia, to me, is a memory of things, times, people, that cannot be brought back or revisited and that is where the sadness lies.