PURPOSE: This phase I/II trial is studying the side effects and best dose of arsenic trioxide and temozolomide when given together with radiation therapy and to see how well they work in treating patients with malignant glioma that has been removed by surgery.