Diagnostic procedures using the drug EF5 to detect the presence of oxygen in tumor cells may help to plan effective treatment for solid tumors. This phase I trial is studying how well EF5 works in detecting the presence of oxygen in tumor cells in patients with solid tumors that can be biopsied or removed by surgery