On the D80, is there a safety shift type of thing which will override the settings if that's going to result in over/under exposure? This might be a reason why you tell it to open the shutter for thirty seconds and it does something else.
I'd not use the self-timer at all until you're happy that the camera is doing what you expect - all it does is delay the opening of the shutter and, although this can be useful to reduce camera shake, with a thirty second exposure a bit of movement at the very beginning isn't going to be catastrophic.
Try a thirty second exposure with the lens cap on (instant darkness!) and, if this works as expected, repeat it with the lens cap off and see whether the shutter open time stays the same as before.
-------------------- John
Who could suppose that angels move the stars, or be so superstitious as to suppose that because one cannot see one's soul at the end of a microscope, it does not exist?