1520s, probably related to whine and ultimately imitative (compare Latin hinnire).
whimwham
whine
whiney
whinge
whinner
whinny
whip
whiplash
whipper-snapper
whippet
whipping