PURPOSE: This phase II trial is studying how well giving lapatinib together with topotecan works in treating patients with ovarian epithelial cancer or primary peritoneal cancer that did not respond to cisplatin or carboplatin.