PURPOSE: This phase II trial is studying how well giving bevacizumab together with erlotinib works after radiation therapy and temozolomide in treating patients with newly diagnosed glioblastoma multiforme or gliosarcoma.