To clear the path to Stark Mountain in Pokémon Diamond, Pearl, and Platinum, you'll need to accomplish two things: complete the Battle Tower at least once and finish the Sinnoh Pokédex. Once both are done, the guards will step aside and let you through.
A helpful tip: A powerful level 70 Pokémon awaits at the summit, but you'll need the help of a mysterious old man to obtain a Magma Stone. After reaching the top, visit his house next to the Pokémon Center in the Survival Area and speak with him. He'll return the Magma Stone, and when you head back up Stark Mountain, the Pokémon will be waiting for you.