PURPOSE: This phase II trial is studying the side effects and how well giving bevacizumab together with temozolomide and external beam radiation therapy works when given as first-line therapy in treating patients with newly diagnosed glioblastoma multiforme or gliosarcoma.