Barcelona showed no sign of nerves to dismiss Werder Bremen 2-0 in their must-win final Champions League Group A match on Tuesday night.
A stuttering campaign saw the holders facing elimination from the competition, with Bremen needing only a point to progress at Barca's expense.
But a Ronaldinho free-kick gave the home side a 13th-minute lead and Eidur Gudjohnsen finished a flowing move five minutes later to put the European champions into the last 16 alongside group winners Chelsea.
Roma joined Barca in the knockout stages after inflicting Valencia's only defeat of their Group D campaign.
The Italian giants only needed a draw to progress but Christian Panucci's close-range header ensured a 1-0 win to send them into the winter break on a high.
Shakhtar Donetsk were hoping to overhaul Roma but in the end had to make do with preventing Olympiacos knocking them out of Europe altogether.
Shakhtar's Greek opponents needed to win to qualify for the remainder of the UEFA Cup but Francelino Matuzalem gave the Ukrainians a half-time lead.
Neri Alberto Castillo levelled shortly after the restart and Razvan Rat was sent off for a second yellow card late on but Shakhtar held firm to finish third in the group.
Bayern Munich won Group B despite conceding a stoppage-time equaliser to Inter Milan, whose 11-game winning streak came to an end.
Roy Makaay looked to have won it when he showed great control and a fine finish shortly past the hour mark, but Patrick Vieira netted a last-gasp leveller for Inter, who qualify for the knockout phase as runners-up.
Spartak Moscow were the only side to gain anything from the evening's football, a 3-1 win at Sporting Lisbon seeing them snatch Group B's UEFA Cup spot.
Roman Pavluchenko and Maxim Kalinichenko put the visitors in control before Carlos Bueno pulled one back to give the home side hope.
However, Denis Boyarintsev's late third for the Russians was enough to see them consign Sporting to bottom spot and European elimination.
With nothing to play for in Group C, second-placed PSV Eindhoven slumped to their second straight defeat, going down 3-1 at home to Bordeaux.
Already in the last 16, PSV allowed their French opponents - who were themselves already guaranteed UEFA Cup football - to storm into a 3-0 half-time lead.
Julien Faubert, Stephane Dalmat and former Nottingham Forest striker Jean Claude Darcheville got the goals, while Alex netted a late consolation for the Dutch champions.