I had the same problem with a non-jailbroken 3.0. It was a hardware problem and Apple exchanged the phone with no hassle.
What I would do is let the phone power down completely, then drop by the Apple store and describe the problem. They will try and power it up and when that doesn't work will, if my experience is anything to go by, just replace the phone.