Unknown. Perhaps borrowed from Kimbundu kixima (“cistern, tank”).
Practice speaking and memorizing "cachimbo" and many other words and sentences in Portuguese.