Hamilton won his seventh career pole position, with a time of 1:26.714 in the third session. Second was Kubica, who was a tenth of a second behind Hamilton. Kovalainen was third, with Massa fourth, four-tenths slower than Hamilton in the third stage. Heidfeld, Trulli, Rosberg and Coulthard completed the top eight positions. In contrast to Massa's fourth place, his teammate, Räikkönen finished qualifying in 16th place. His Ferrari car suffered a fuel pump problem at the end of stage one, with the Ferrari team unable to fix the problem before the second session. Webber in the Red Bull and Sebastian Vettel in the Toro Rosso also suffered problems, with Webber spinning off in session two due to brake failure, leaving him down in 15th. Vettel was scheduled to be in the third session, but his Toro Rosso suffered oil pump failure, preventing him from setting a time in the session. Timo Glock in a Toyota finished qualifying in ninth position, however, he was demoted to 19th after being given two five-place grid penalties. His first five-place penalty was a result of a gearbox change, while his second five-place penalty was for impeding Webber during the session. Adrian Sutil spun and stalled during his final in first qualifying and damaged his chassis.