I listen to a lot of bands when I'm writing, all rock/hard rock -- bands like Alter Bridge, Corrosion of Conformity, Disturbed, Foo Fighters, Lostprophets, Metallica, Puddle of Mudd, Rammstein, Staind, and even some W.A.S.P. Plus others.
I do find, though, that I can't listen to new songs when writing because invariably I end up listening to the song (because it's new to me) instead of getting lost in my writing. To me, the songs I know and love and listen to often are the background noise I need to block out the real world and live in my fictional one.