Patients receive entinostat orally (PO) daily on days 1, 8, 15, and 22 and imatinib mesylate PO twice daily on days 1-28 (days 4-28 of course 1). Courses repeat every 28 days in the absence of disease progression or unacceptable toxicity.