Old English cnocian (West Saxon cnucian), "to pound, beat; knock (on a door)," likely of imitative origin. Figurative meaning "deprecate, put down" is from 1892. Related: Knocked; knocking. Of engines from 1869. To knock back (a drink) "swallow quickly or at a gulp" is from 1931. Many phrases are in reference to the auctioneer's hammer, for example knock down (v.) "dispose of (something) at auction" (1760).
knee n.
"joint between the principal bones of the leg," Old English cneo, cneow "knee," from Proto-Germanic *knewa- (source also of Old Norse kne, Old Saxon kneo, Old Frisian kni, Middle Dutch cnie, Dutch knie, Old High German kniu, German Knie, Gothic kniu), from PIE root *genu- (1) "knee; angle." For pronunciation, see kn-.
To be across (someone's) knee in reference to spanking is from 1866. Knee-breeches is from 1827; knee-pants is from 1858. Knee-slapper "funny joke" is from 1955.